/* =============================================================
   HACKSPRINT 3.0 — GLOBAL DESIGN SYSTEM & STYLESHEET
   Living Digital World · Neo-Brutalist Visual Identity · COMPASS × GLUE
   ============================================================= */

/* === DESIGN TOKENS === */
:root {
  /* Brand Accent Colors */
  --blue:         #4285F4;
  --blue-dark:    #1967D2;
  --blue-light:   #E8F0FE;
  --red:          #EA4335;
  --red-dark:     #C5221F;
  --red-light:    #FCE8E6;
  --yellow:       #FBBC04;
  --yellow-dark:  #F29900;
  --yellow-light: #FEF7E0;
  --green:        #34A853; /* Primary Dominant Brand Color */
  --green-dark:   #1E8E3E;
  --green-mid:    #2D9E4A;
  --green-light:  #E6F4EA;
  --forest:       #0D3320;

  /* Neutral Surfaces & Ink */
  --gray-0:   #FFFFFF;
  --gray-50:  #FAFAF9;
  --gray-100: #F5F3EE; /* Paper Background */
  --gray-150: #EFECE6;
  --gray-200: #E0DDD6;
  --gray-300: #C8C4BC;
  --gray-400: #A09C96;
  --gray-500: #6B6864;
  --gray-600: #4A4844;
  --gray-700: #2C2A28;
  --gray-800: #1A1918;
  --gray-900: #0A0A0A; /* Heavy Black Ink */

  --ink:         var(--gray-900);
  --paper:       var(--gray-100);
  --surface:     var(--gray-0);
  --surface-alt: var(--gray-150);
  --line:        var(--gray-200);
  --muted:       var(--gray-500);

  /* Typography */
  --display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:    'Space Mono', monospace;

  --leading-tight:  0.88;
  --leading-snug:   1.05;
  --leading-normal: 1.35;
  --leading-loose:  1.65;

  --tracking-tight:   -0.045em;
  --tracking-snug:    -0.025em;
  --tracking-normal:   0;
  --tracking-wide:     0.05em;
  --tracking-wider:    0.08em;
  --tracking-widest:   0.12em;

  /* Spacing Scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-7:  28px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-14: 56px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Borders & Shadows (Neo-Brutalist Architecture) */
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   8px;
  --radius-full: 9999px;

  --border-ink:     2.5px solid var(--ink);
  --border-card:    2px solid var(--ink);
  --border-thin:    1px solid var(--line);

  --shadow-hard-sm: 3px 3px 0 var(--ink);
  --shadow-hard:    5px 5px 0 var(--ink);
  --shadow-hard-lg: 8px 8px 0 var(--ink);
  --shadow-green:   5px 5px 0 var(--green);
  --shadow-blue:    5px 5px 0 var(--blue);
  --shadow-red:     5px 5px 0 var(--red);
  --shadow-yellow:  5px 5px 0 var(--yellow);

  /* Easing & Timing */
  --ease-standard:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);

  --dur-fast:   150ms;
  --dur-base:   240ms;
  --dur-slow:   400ms;
  --dur-reveal: 600ms;

  /* Z-Index Hierarchy */
  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 50;
  --z-nav:     100;
  --z-modal:   200;

  /* Layout Containers */
  --section-y: clamp(28px, 3.5vw, 48px);
  --section-x: clamp(20px, 5vw, 64px);
  --content-max: 1240px;
}

/* =============================================================
   BASE RESETS & GLOBAL SETUP
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: var(--leading-loose);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  background: none;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
}
em {
  font-style: normal;
}

/* Max content wrapper for all sections */
.section-pad {
  padding: var(--section-y) var(--section-x);
}
.section-pad > * {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

/* Subtle architectural page grid */
.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-base);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.18;
  contain: strict;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: calc(var(--z-nav) + 10);
  padding: var(--sp-2) var(--sp-4);
  background: var(--ink);
  color: var(--paper);
  font: 700 11px var(--mono);
  letter-spacing: var(--tracking-wide);
  border: 2px solid var(--green);
  transition: top var(--dur-fast) var(--ease-standard);
}
.skip-link:focus {
  top: var(--sp-2);
}

/* =============================================================
   ANNOUNCEMENT BANNER
   ============================================================= */
.announcement {
  position: relative;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 10px var(--section-x);
  background: var(--ink);
  color: var(--paper);
  font: 600 11px var(--mono);
  letter-spacing: var(--tracking-wide);
  border-bottom: 1.5px solid var(--gray-800);
}
.announcement a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 1px;
  transition: color var(--dur-fast) var(--ease-standard);
}
.announcement a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.4; }
}

/* =============================================================
   FLOATING NEO-BRUTALIST PILL NAVBAR (OVER ANIMATED SCENE)
   ============================================================= */
.site-header {
  position: fixed;
  top: clamp(10px, 1.8vh, 18px);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-nav);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 18px);
  padding: 0 8px 0 clamp(14px, 1.6vw, 20px);
  width: auto;
  max-width: calc(100vw - 32px);
  height: clamp(50px, 5.8vh, 56px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  white-space: nowrap;
  box-sizing: border-box;
  transition:
    transform var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard),
    background var(--dur-base) var(--ease-standard);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 4px 4px 0 var(--ink), 0 8px 24px rgba(10, 10, 10, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  border-right: 2px solid var(--line);
  padding-right: clamp(10px, 1.2vw, 16px);
  white-space: nowrap;
}
.brand-logo {
  height: clamp(26px, 3.2vh, 30px);
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-accent {
  color: var(--green);
}

.desktop-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.9vw, 14px);
  flex-shrink: 0;
  white-space: nowrap;
}
.desktop-nav a:not(.nav-cta-btn) {
  position: relative;
  font: 800 clamp(11px, 0.85vw, 12.5px) var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 4px 3px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.desktop-nav a:not(.nav-cta-btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--green);
  transition: width var(--dur-base) var(--ease-standard);
}
.desktop-nav a:not(.nav-cta-btn):hover {
  color: var(--green-dark);
  transform: translateY(-1px);
}
.desktop-nav a:not(.nav-cta-btn).active {
  color: var(--green);
}
.desktop-nav a:not(.nav-cta-btn).active::after {
  width: 100%;
}

/* Neo-Brutalist Register CTA Pill */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font: 800 clamp(10.5px, 0.8vw, 12px) var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  background: var(--green);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  padding: 6px clamp(12px, 1.2vw, 16px);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard);
}
.nav-cta-btn:hover {
  background: var(--green-dark);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
  color: #FFFFFF !important;
}
.nav-cta-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: var(--sp-2);
  width: 44px;
  height: 44px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  transition: transform var(--dur-base) var(--ease-standard), opacity var(--dur-base) var(--ease-standard);
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* =============================================================
   MOBILE NAVIGATION DRAWER — NEO-BRUTALIST OVERHAUL
   ============================================================= */
.mobile-nav {
  position: fixed;
  inset: 66px 0 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(10, 10, 10, 0.08) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  z-index: calc(var(--z-nav) - 1);
  padding: 14px 16px calc(36px + env(safe-area-inset-bottom, 20px));
  border-top: 2.5px solid var(--ink);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

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

@media (min-width: 1041px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Event Meta Card */
.mnav-event-card {
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mnav-event-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mnav-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  border: 1.5px solid var(--green);
  padding: 3px 8px;
  font: 700 11px var(--mono);
  color: var(--green-dark);
  letter-spacing: 0.04em;
}

.mnav-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7);
  animation: mnavPulse 1.8s infinite;
}

@keyframes mnavPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(52, 168, 83, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}

.mnav-date-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 700 11px var(--mono);
  color: var(--ink);
  letter-spacing: 0.04em;
}

.mnav-date-tag i {
  color: var(--green);
}

.mnav-event-bottom {
  display: flex;
  align-items: center;
}

.mnav-venue-line {
  font: 600 11.5px/1.3 var(--body);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mnav-venue-line i {
  color: var(--green);
  font-size: 12px;
}

/* Nav Links Cards — Simple 4-Item Menu (Just Names) */
.mnav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mnav-simple-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 0;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.mnav-simple-name {
  font: 800 clamp(16px, 4.2vw, 18px) / 1.2 var(--display);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.mnav-simple-card i {
  font-size: 14px;
  color: var(--ink);
  transition: transform 0.15s ease;
}

.mnav-simple-card:hover i {
  transform: translateX(3px);
}

.mnav-simple-card:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
  background-color: var(--green-light);
}

.mnav-simple-card.active {
  border-color: var(--green);
  border-left-width: 6px;
  background-color: #F3FAF5;
}

.mnav-simple-card.active .mnav-simple-name {
  color: var(--green-dark);
}

.mnav-simple-card.active i {
  color: var(--green);
  transform: translateX(2px);
}

/* Primary Register Item */
.mnav-simple-card.mnav-simple-cta {
  background: var(--green);
  color: #FFFFFF !important;
  box-shadow: 3.5px 3.5px 0 var(--ink);
}

.mnav-simple-card.mnav-simple-cta .mnav-simple-name {
  color: #FFFFFF !important;
  font-weight: 900;
}

.mnav-simple-card.mnav-simple-cta i {
  color: #FFFFFF !important;
}

.mnav-simple-card.mnav-simple-cta:hover {
  background-color: var(--green);
}

.mnav-simple-card.mnav-simple-cta:active {
  background-color: var(--green-dark);
}

.mnav-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 10px 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.mnav-link-card:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
  background-color: var(--green-light);
}

.mnav-link-card.active {
  border-color: var(--green);
  border-left-width: 6px;
  background-color: #F3FAF5;
}

.mnav-link-card.active .mnav-title {
  color: var(--green-dark);
}

.mnav-link-card.active .mnav-arrow {
  color: var(--green);
  transform: translateX(3px);
}

.mnav-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mnav-num {
  font: 700 11px var(--mono);
  color: var(--muted);
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  padding: 2px 5px;
  line-height: 1;
}

.mnav-link-card.active .mnav-num {
  color: var(--green-dark);
  background: var(--green-light);
  border-color: var(--green);
}

.mnav-icon-box {
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink);
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mnav-link-card:active .mnav-icon-box,
.mnav-link-card.active .mnav-icon-box {
  background: var(--green);
  color: #FFFFFF;
  border-color: var(--ink);
}

.mnav-text-block {
  display: flex;
  flex-direction: column;
}

.mnav-title {
  font: 800 15px/1.2 var(--display);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.mnav-desc {
  font: 500 11px/1.2 var(--mono);
  color: var(--muted);
  margin-top: 2px;
}

.mnav-arrow {
  font-size: 13px;
  color: var(--muted);
  transition: transform 0.15s ease, color 0.15s ease;
}

.mnav-link-card:hover .mnav-arrow {
  color: var(--ink);
  transform: translateX(2px);
}

/* Primary Register Card in Mobile Nav */
.mnav-link-card.mnav-cta-card {
  background: var(--green);
  border: 2px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  color: #FFFFFF !important;
}

.mnav-link-card.mnav-cta-card:hover {
  background-color: var(--green);
}

.mnav-link-card.mnav-cta-card:active {
  transform: translate(2px, 2px);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  background-color: var(--green-dark);
}

.mnav-link-card.mnav-cta-card .mnav-title {
  color: #FFFFFF !important;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.mnav-link-card.mnav-cta-card .mnav-desc {
  color: rgba(255, 255, 255, 0.9) !important;
}

.mnav-link-card.mnav-cta-card .mnav-cta-icon {
  background: #FFFFFF !important;
  color: var(--green-dark) !important;
  border: 1.5px solid var(--ink);
}

.mnav-link-card.mnav-cta-card .mnav-arrow {
  color: #FFFFFF !important;
}

/* Primary Register CTA Card */
.mnav-register-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 12px 14px;
  text-decoration: none;
  color: #FFFFFF !important;
  margin-top: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.mnav-register-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  background-color: var(--green-dark);
}

.mnav-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mnav-cta-badge {
  font: 700 10px var(--mono);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
}

.mnav-cta-title {
  font: 900 16px/1.1 var(--display);
  letter-spacing: 0.02em;
  color: #FFFFFF;
}

.mnav-cta-icon-box {
  width: 34px;
  height: 34px;
  background: #FFFFFF;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.mnav-register-cta:active .mnav-cta-icon-box {
  transform: translateX(2px);
}

/* Quick Action Utility Row */
.mnav-quick-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.mnav-pill-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  padding: 9px 12px;
  text-decoration: none;
  color: var(--ink);
  font: 700 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mnav-pill-link:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
  background: var(--gray-100);
}

.mnav-pill-link i {
  color: var(--green);
  font-size: 13px;
}

/* Footer Note */
.mnav-foot-note {
  text-align: center;
  padding-top: 6px;
  font: 700 10px var(--mono);
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Toast */
.nav-toast {
  position: fixed;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + var(--sp-8)));
  z-index: var(--z-modal);
  background: var(--ink);
  color: var(--paper);
  font: 600 13px var(--mono);
  padding: 12px 24px;
  border: 2px solid var(--green);
  box-shadow: var(--shadow-hard);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: transform var(--dur-base) var(--ease-decelerate), opacity var(--dur-base) var(--ease-decelerate);
}
.nav-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* =============================================================
   BUTTONS & CTAs (NEO-BRUTALIST HARD SHADOWS)
   ============================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 15px 30px;
  font: 700 13px var(--mono);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border: var(--border-ink);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-hard);
  transition:
    transform  var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard),
    background var(--dur-fast) var(--ease-standard);
}
.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hard-lg);
}
.button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button-primary {
  background: var(--green);
  color: white;
}
.button-primary:hover {
  background: var(--green-dark);
}

.button-ghost {
  background: var(--surface);
  color: var(--ink);
}
.button-ghost:hover {
  background: var(--green-light);
}

.button-dark {
  background: var(--ink);
  color: white;
}
.button-dark:hover {
  background: var(--green);
  border-color: var(--ink);
}

.button-light {
  background: white;
  color: var(--ink);
}
.button-light:hover {
  background: var(--yellow);
}

.button-outline {
  background: transparent;
  color: var(--ink);
}
.button-outline:hover {
  background: var(--ink);
  color: white;
}

.text-link {
  font: 700 12px var(--mono);
  letter-spacing: var(--tracking-wide);
  color: var(--ink);
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
  transition: border-color var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.text-link:hover {
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.text-link-light {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
.text-link-light:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

/* =============================================================
   SECTION EYEBROWS & HEADINGS
   ============================================================= */
.eyebrow {
  font: 700 11px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}
.eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 2.5px;
  background: var(--green);
  flex-shrink: 0;
}

/* Standardized Section Headings - Unified typography defined in Section Typography */

/* =============================================================
   REVEAL ANIMATIONS (PROGRESSIVE ENHANCEMENT — NEVER TRAPS VISIBILITY)
   ============================================================= */
.reveal {
  opacity: 1;
  transform: none;
}
.js-reveal-ready .reveal.will-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-reveal) var(--ease-decelerate), transform var(--dur-reveal) var(--ease-decelerate);
}
.js-reveal-ready .reveal.will-animate.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay {
  transition-delay: 140ms;
}

/* =============================================================
   HERO SCENE — LIVING GREEN DIGITAL FOREST (S4 NATURE EDITION)
   ============================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  height: 100svh;
  max-height: 1050px;
  overflow: hidden;
  background: #DFF2E3;
  border-bottom: var(--border-ink);
}

@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    height: auto;
    max-height: none;
    overflow-x: clip;
  }
}

.hero-world {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Sky Background Gradient */
.hw-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(52, 168, 83, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 45% 35% at 15% 20%, rgba(66, 133, 244, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 35% 28% at 85% 15%, rgba(251, 188, 4, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, #D5EED8 0%, #E8F5EC 50%, #C4E6CB 100%);
}

/* Top Hanging Canopy Vines (Framing Screen Corners) */
.hw-canopy {
  position: absolute;
  top: -10px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(10, 10, 10, 0.08));
}
.hw-canopy svg {
  display: block;
  width: 100%;
  height: auto;
}
.hw-canopy-left {
  left: -10px;
  width: clamp(180px, 22vw, 320px);
  transform-origin: top left;
  animation: canopy-sway-left 8s ease-in-out infinite alternate;
}
.hw-canopy-right {
  right: -10px;
  width: clamp(180px, 22vw, 320px);
  transform-origin: top right;
  animation: canopy-sway-right 9s ease-in-out infinite alternate 0.8s;
}

@keyframes canopy-sway-left {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(1.8deg) scale(1.02); }
  100% { transform: rotate(-1.2deg) scale(0.99); }
}
@keyframes canopy-sway-right {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(-1.8deg) scale(1.02); }
  100% { transform: rotate(1.2deg) scale(0.99); }
}

/* Illustrated Drifting Cartoon Clouds */
.hw-clouds {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.hw-cloud {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(10, 10, 10, 0.04));
}
.hw-cloud svg {
  display: block;
}
.hw-cloud-1 {
  top: 7%;
  width: clamp(120px, 13vw, 190px);
  animation: cloud-drift-1 65s linear infinite;
  opacity: 0.92;
}
.hw-cloud-2 {
  top: 19%;
  width: clamp(95px, 10vw, 150px);
  animation: cloud-drift-2 78s linear infinite -30s;
  opacity: 0.88;
}
.hw-cloud-3 {
  top: 4%;
  width: clamp(80px, 8vw, 120px);
  animation: cloud-drift-3 92s linear infinite -55s;
  opacity: 0.82;
}

@keyframes cloud-drift-1 {
  0%   { transform: translateX(-240px); }
  100% { transform: translateX(calc(100vw + 240px)); }
}
@keyframes cloud-drift-2 {
  0%   { transform: translateX(-200px); }
  100% { transform: translateX(calc(100vw + 200px)); }
}
@keyframes cloud-drift-3 {
  0%   { transform: translateX(-160px); }
  100% { transform: translateX(calc(100vw + 160px)); }
}

/* 3-Layer Rolling Green Forest Hills */
.hw-hills {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
.hw-scroll-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  width: 200%;
}
.hw-terrain-svg {
  flex: 0 0 50%;
  width: 50%;
  display: block;
}
.hw-scroll-far {
  height: clamp(140px, 20vh, 240px);
  animation: env-scroll-fwd 48s linear infinite;
}
.hw-scroll-mid {
  height: clamp(110px, 16vh, 190px);
  animation: env-scroll-rev 30s linear infinite;
}
.hw-scroll-fore {
  height: clamp(85px, 12vh, 150px);
  animation: env-scroll-fwd 18s linear infinite;
}

@keyframes env-scroll-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes env-scroll-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Asymmetrical Lush Cartoon Forest Trees */
.hw-forest-trees {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}
.hw-forest-tree {
  position: absolute;
  bottom: 0;
  filter: drop-shadow(0 6px 12px rgba(10, 10, 10, 0.08));
}
.hw-forest-tree svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.hw-tree-left {
  left: -15px;
  bottom: 0;
  width: clamp(160px, 20vw, 290px);
}
.hw-tree-right-mid {
  right: 95px;
  bottom: 12px;
  width: clamp(90px, 11vw, 150px);
  opacity: 0.88;
}
.hw-tree-right-fore {
  right: 15px;
  bottom: 0;
  width: clamp(110px, 13vw, 180px);
}

.hw-tree-trunk {
  transform: none !important;
}

/* Tree Crown Organic Canopy Breeze */
.hw-tree-crown {
  transform-box: fill-box;
  transform-origin: 50% 85%;
}
.hw-crown-left {
  animation: tree-canopy-sway-left 5.8s ease-in-out infinite alternate;
}
.hw-crown-right-mid {
  animation: tree-canopy-sway-right 7.2s ease-in-out infinite alternate 1.2s;
}
.hw-crown-right-fore {
  animation: tree-canopy-sway-right 6.2s ease-in-out infinite alternate 0.4s;
}

@keyframes tree-canopy-sway-left {
  0%   { transform: rotate(-2.5deg) scale(1, 1); }
  50%  { transform: rotate(2deg) scale(1.02, 0.99); }
  100% { transform: rotate(-1.8deg) scale(0.99, 1.01); }
}

@keyframes tree-canopy-sway-right {
  0%   { transform: rotate(2.5deg) scale(1, 1); }
  50%  { transform: rotate(-2deg) scale(1.02, 0.99); }
  100% { transform: rotate(1.8deg) scale(0.99, 1.01); }
}

/* Falling / Swirling Forest Leaves */
.hw-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.hw-leaf {
  position: absolute;
  display: block;
  width: 16px;
  height: 20px;
}
.hw-leaf svg {
  width: 100%;
  height: 100%;
}
.hw-leaf-1 { top: -20px; left: 8%;  animation: leaf-fall-1 8.5s ease-in infinite 0s; }
.hw-leaf-2 { top: -20px; left: 18%; animation: leaf-fall-2 11s  ease-in infinite 1.8s; }
.hw-leaf-3 { top: -20px; left: 28%; animation: leaf-fall-3 9.5s ease-in infinite 3.2s; }
.hw-leaf-4 { top: -20px; left: 40%; animation: leaf-fall-1 12.5s ease-in infinite 0.5s; }
.hw-leaf-5 { top: -20px; left: 52%; animation: leaf-fall-2 8s   ease-in infinite 4.2s; }
.hw-leaf-6 { top: -20px; left: 65%; animation: leaf-fall-3 10.5s ease-in infinite 2s; }
.hw-leaf-7 { top: -20px; left: 78%; animation: leaf-fall-1 9s   ease-in infinite 5.5s; }
.hw-leaf-8 { top: -20px; left: 88%; animation: leaf-fall-2 8.5s ease-in infinite 1.2s; }

@keyframes leaf-fall-1 {
  0%   { transform: translate(0, -20px) rotate(0deg); opacity: 0; }
  6%   { opacity: 0.95; }
  100% { transform: translate(50px, 105vh) rotate(380deg); opacity: 0; }
}
@keyframes leaf-fall-2 {
  0%   { transform: translate(0, -20px) rotate(0deg); opacity: 0; }
  6%   { opacity: 0.95; }
  100% { transform: translate(-60px, 105vh) rotate(-340deg); opacity: 0; }
}
@keyframes leaf-fall-3 {
  0%   { transform: translate(0, -20px) rotate(0deg); opacity: 0; }
  6%   { opacity: 0.95; }
  100% { transform: translate(35px, 105vh) rotate(440deg); opacity: 0; }
}

/* Foreground Wildflowers & Grass (Full-Width Bottom Strip) */
.hw-flowers {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
  transform-origin: bottom center;
  animation: flower-sway 4s ease-in-out infinite alternate;
}
.hw-flower-strip {
  width: 100%;
  height: clamp(40px, 5.5vh, 70px);
  display: block;
}

@keyframes flower-sway {
  0%   { transform: skewX(0deg); }
  50%  { transform: skewX(1deg); }
  100% { transform: skewX(-0.8deg); }
}

/* =============================================================
   FOREGROUND INTERACTIVE ANIME CHARACTERS LAYER (BOY & GIRL)
   ============================================================= */
.hero-characters-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 25; /* Elevated above hero-stage (z-index: 2) */
  overflow: visible;
}

/* Mobile / Responsive Screen: Centered boy planted right on the marquee top border, enlarged */
.hw-student-wrap {
  position: absolute;
  bottom: clamp(-14px, -2.5vw, -8px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(170px, 46vw, 225px);
  height: clamp(260px, 70vw, 345px);
  z-index: 26;
  pointer-events: auto !important;
  cursor: pointer !important;
  transform-origin: bottom center;
  animation: studentIdleMobile 2.8s ease-in-out infinite alternate;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
}

.hw-student-wrap:hover {
  transform: translateX(-50%) !important; /* Keep centered, remove hover increase size effect */
}

.hw-student-wrap:active,
.hw-student-wrap.is-pressed {
  transform: translateX(-50%) translateY(2px) !important; /* Subtle tactile feedback without size change */
}

/* Hide girl on mobile / responsive screens */
.hw-girl-wrap {
  display: none !important;
  position: absolute;
  bottom: 0px;
  right: clamp(10px, 3.5vw, 40px);
  width: clamp(85px, 20vw, 135px);
  height: clamp(130px, 30vw, 205px);
  z-index: 26;
  pointer-events: auto !important;
  cursor: pointer !important;
  transform-origin: bottom center;
  animation: girlIdleMobile 3.1s ease-in-out infinite alternate 0.4s;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
}

.hw-girl-wrap:hover {
  transform: translateY(-4px) scale(1.03);
}

.hw-student-img,
.hw-girl-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto !important;
  cursor: pointer !important;
  filter: drop-shadow(0 6px 14px rgba(10, 10, 10, 0.22));
  transition: transform 0.14s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hw-student-wrap:active .hw-student-img,
.hw-girl-wrap:active .hw-girl-img,
.hw-student-wrap.is-pressed .hw-student-img,
.hw-girl-wrap.is-pressed .hw-girl-img {
  transform: scale(0.95) translateY(3px);
}

.hw-student-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

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

@keyframes studentIdleDesktop {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

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

@keyframes girlIdleDesktop {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

.hw-student-sparkle {
  transform-origin: 60px 14px;
  animation: studentSparkle 2s ease-in-out infinite alternate;
}

@keyframes studentSparkle {
  0%   { transform: scale(0.85) rotate(0deg); opacity: 0.5; }
  100% { transform: scale(1.15) rotate(12deg); opacity: 1; }
}

/* Comic Speech Bubbles & Dynamic Dialogue System */
.hw-speech-bubble {
  position: absolute;
  bottom: calc(100% - 4px);
  background: #FFFFFF;
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  border-radius: 0;
  padding: 5px 11px;
  white-space: nowrap;
  font: 800 11px var(--mono);
  letter-spacing: 0.03em;
  color: var(--ink);
  user-select: none;
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 0;
  visibility: hidden;
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.85);
  transition: opacity 0.22s ease-out,
              transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              background-color 0.2s ease,
              box-shadow 0.2s ease;
  z-index: 10;
}

/* Active Speaking State */
.hw-speech-bubble.is-speaking {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Pop Bounce on Speech / User Click */
.hw-speech-bubble.pop {
  transform: translateX(-50%) translateY(-4px) scale(1.14) !important;
  background: var(--yellow) !important;
  box-shadow: 3.5px 3.5px 0 var(--ink) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Mobile Alignment for Speech Bubbles */
.hw-student-wrap .hw-speech-bubble {
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.85);
  font-size: clamp(10px, 2.8vw, 11px);
  padding: 5px 10px;
}

.hw-student-wrap .hw-speech-bubble.is-speaking {
  transform: translateX(-50%) translateY(0) scale(1);
}

.hw-student-wrap .hw-speech-bubble.pop {
  transform: translateX(-50%) translateY(-4px) scale(1.14) !important;
}

.hw-girl-wrap .hw-speech-bubble {
  right: 0;
  left: auto;
}

.hw-student-wrap .hw-speech-bubble .hw-speech-tail {
  left: 50%;
  transform: translateX(-50%);
}
.hw-student-wrap .hw-speech-bubble .hw-speech-tail-inner {
  left: 50%;
  transform: translateX(-50%);
}

.hw-girl-wrap .hw-speech-bubble .hw-speech-tail {
  right: 36px;
  left: auto;
  transform: none;
}
.hw-girl-wrap .hw-speech-bubble .hw-speech-tail-inner {
  right: 37px;
  left: auto;
  transform: none;
}

.hw-speech-tail {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--ink);
}

.hw-speech-tail-inner {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #FFFFFF;
}

/* Tap to Chat Interactive Hint Badge */
.hw-char-hint {
  position: absolute;
  top: 98%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #FFFFFF;
  font: 800 9.5px var(--mono);
  letter-spacing: 0.04em;
  padding: 3px 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  border-radius: 2px;
  box-shadow: 1.5px 1.5px 0 var(--yellow);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 12;
}

.hw-student-wrap:hover .hw-char-hint,
.hw-girl-wrap:hover .hw-char-hint,
.hw-student-wrap:focus-visible .hw-char-hint,
.hw-girl-wrap:focus-visible .hw-char-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
}

/* Sound Toggle Button — Responsive/Mobile: Bottom Right, Small Speaker Icon, No Words */
.hw-sound-pill {
  position: absolute;
  bottom: clamp(14px, 2.5vh, 22px);
  right: clamp(14px, 4vw, 22px);
  left: auto;
  transform: none;
  z-index: 35 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  touch-action: manipulation;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.hw-sound-pill .hw-sound-icon {
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* Hide text words on responsive/mobile screen */
.hw-sound-pill .hw-sound-text {
  display: none !important;
}

.hw-sound-pill:hover,
.hw-sound-pill:focus-visible {
  transform: translateY(-2px);
  background: var(--yellow) !important;
  box-shadow: 2.5px 2.5px 0 var(--ink) !important;
}

.hw-sound-pill:active {
  transform: translateY(1px) scale(0.92);
  box-shadow: 1px 1px 0 var(--ink) !important;
}

.hw-sound-pill.is-muted {
  background: #F1F3F4 !important;
  color: #5F6368 !important;
  border-color: #5F6368 !important;
  box-shadow: 1.5px 1.5px 0 #5F6368 !important;
}

@media (min-width: 900px) {
  .hw-student-wrap {
    left: clamp(110px, 13vw, 260px) !important;
    bottom: 0px !important;
    transform: none !important;
    width: clamp(140px, 12vw, 175px) !important;
    height: clamp(210px, 18vw, 260px) !important;
    animation: studentIdleDesktop 2.8s ease-in-out infinite alternate;
  }

  .hw-student-wrap:hover {
    transform: translateY(-4px) scale(1.03) !important;
  }

  .hw-student-wrap:active,
  .hw-student-wrap.is-pressed {
    transform: translateY(2px) scale(0.96) !important;
  }

  .hw-girl-wrap {
    display: block !important; /* Visible on desktop screen */
    right: clamp(110px, 13vw, 260px) !important;
    left: auto !important;
    width: clamp(140px, 12vw, 175px) !important;
    height: clamp(210px, 18vw, 260px) !important;
    animation: girlIdleDesktop 3.1s ease-in-out infinite alternate 0.4s;
  }

  .hw-girl-wrap:hover {
    transform: translateY(-4px) scale(1.03) !important;
  }

  .hw-girl-wrap:active,
  .hw-girl-wrap.is-pressed {
    transform: translateY(2px) scale(0.96) !important;
  }

  /* Centered Desktop Speech Bubbles */
  .hw-student-wrap .hw-speech-bubble,
  .hw-girl-wrap .hw-speech-bubble {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(8px) scale(0.85);
    font-size: 11.5px;
    padding: 6px 13px;
  }

  .hw-student-wrap .hw-speech-bubble.is-speaking,
  .hw-girl-wrap .hw-speech-bubble.is-speaking {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .hw-student-wrap .hw-speech-bubble.pop,
  .hw-girl-wrap .hw-speech-bubble.pop {
    transform: translateX(-50%) translateY(-4px) scale(1.14) !important;
  }

  .hw-student-wrap .hw-speech-bubble .hw-speech-tail,
  .hw-girl-wrap .hw-speech-bubble .hw-speech-tail {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .hw-student-wrap .hw-speech-bubble .hw-speech-tail-inner,
  .hw-girl-wrap .hw-speech-bubble .hw-speech-tail-inner {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  /* Sound Toggle Pill on Desktop: Restored to Center Pill with Text Words (100% UNCHANGED) */
  .hw-sound-pill {
    position: absolute !important;
    bottom: clamp(12px, 2.2vh, 24px) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    height: auto !important;
    border-radius: 999px !important;
    padding: 5px 14px !important;
    font: 800 11px var(--mono) !important;
    letter-spacing: 0.04em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-shadow: 2.5px 2.5px 0 var(--ink) !important;
  }

  .hw-sound-pill .hw-sound-icon {
    font-size: 12px !important;
  }

  .hw-sound-pill .hw-sound-text {
    display: inline !important; /* Words restored on desktop */
  }

  .hw-sound-pill:hover,
  .hw-sound-pill:focus-visible {
    transform: translateX(-50%) translateY(-2px) !important;
    background: var(--yellow) !important;
    box-shadow: 3.5px 3.5px 0 var(--ink) !important;
  }

  .hw-sound-pill:active {
    transform: translateX(-50%) translateY(1px) scale(0.96) !important;
    box-shadow: 1px 1px 0 var(--ink) !important;
  }

  .hw-sound-pill.is-muted {
    background: #F1F3F4 !important;
    color: #5F6368 !important;
    border-color: #5F6368 !important;
    box-shadow: 2px 2px 0 #5F6368 !important;
  }

  /* Desktop Screen: Keep "Explore the Hackathon" button visible */
  .hero-btn-explore,
  .hero-actions .button-ghost[href="#about"] {
    display: inline-flex !important;
  }
}

/* Pulsing Spores */
.hw-nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hw-node {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.hw-node-blue   { background: var(--blue);   width: 14px; height: 14px; top: 48%; left: 18%;  animation: node-pulse 3.2s ease-in-out infinite; }
.hw-node-red    { background: var(--red);    width: 12px; height: 12px; top: 54%; right: 24%; animation: node-pulse 4.7s ease-in-out infinite 0.8s; }
.hw-node-yellow { background: var(--yellow); width: 16px; height: 16px; top: 44%; left: 54%;  animation: node-pulse 3.9s ease-in-out infinite 1.5s; }
.hw-node-green  { background: var(--green);  width: 18px; height: 18px; top: 50%; right: 40%; animation: node-pulse 5.3s ease-in-out infinite 0.3s; }

@keyframes node-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.5; }
}

/* =============================================================
   S3-STYLE MARQUEE TICKER BANNER
   ============================================================= */
.marquee-banner {
  background: var(--yellow);
  border-top: var(--border-ink);
  border-bottom: var(--border-ink);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  font: 900 13px var(--mono);
  letter-spacing: var(--tracking-wider);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  position: relative;
  z-index: var(--z-raised);
  display: flex;
  user-select: none;
}
.marquee-track {
  display: inline-flex !important;
  flex-shrink: 0;
  width: max-content !important;
  gap: 0 !important;
  will-change: transform;
  animation: marquee-scroll 32s linear infinite !important;
}
.marquee-content {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 32px;
  padding-right: 32px;
}
.marquee-item {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.marquee-sep {
  display: inline-block;
  font-size: 14px;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1;
}
.marquee-track span {
  display: inline-block;
}
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* =============================================================
   HERO CONTENT STAGE (VIEWPORT-FITTED & IMPACTFUL)
   ============================================================= */
.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  flex: 1;
  padding-top: clamp(74px, 8.4vh, 86px);
  padding-bottom: clamp(14px, 2vh, 24px);
  padding-left: clamp(14px, 3.5vw, 32px);
  padding-right: clamp(14px, 3.5vw, 32px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Hero Heading Wrapper & Pop-Out Orbital Composition */
.hero-heading-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 960px;
}

.popout-orbit-container {
  position: absolute;
  inset: -20px -40px;
  pointer-events: none;
  z-index: 4;
}

.popout-item {
  position: absolute;
  pointer-events: auto;
  cursor: default;
  opacity: 0;
  will-change: transform, opacity;
  user-select: none;
}

.popout-art {
  display: block;
  filter: drop-shadow(3px 3px 0 var(--ink));
  transition: transform 0.25s var(--ease-spring), filter 0.25s var(--ease-spring);
}
.popout-item:hover .popout-art {
  transform: scale(1.2) rotate(6deg);
  filter: drop-shadow(5px 5px 0 var(--ink));
}

/* Individual Popout Burst-Out Placement & Continuous Orbital Motion */
.popout-bulb {
  top: -16px;
  left: clamp(-10px, 3.5vw, 40px);
  width: clamp(38px, 4.5vw, 54px);
  animation:
    popout-burst-1 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards,
    popout-orbit-1 6.5s ease-in-out 1.1s infinite alternate;
}
.popout-puzzle {
  top: 36%;
  left: clamp(-28px, -1.8vw, 12px);
  width: clamp(42px, 4.8vw, 58px);
  animation:
    popout-burst-3 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards,
    popout-orbit-3 5.8s ease-in-out 1.3s infinite alternate;
}
.popout-team {
  bottom: -14px;
  left: clamp(-6px, 3.5vw, 45px);
  width: clamp(46px, 5.2vw, 64px);
  animation:
    popout-burst-6 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards,
    popout-orbit-6 7.5s ease-in-out 1.5s infinite alternate;
}

.popout-rocket {
  top: -16px;
  right: clamp(-10px, 3.5vw, 40px);
  width: clamp(40px, 4.6vw, 56px);
  animation:
    popout-burst-2 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards,
    popout-orbit-2 7.2s ease-in-out 1.2s infinite alternate;
}
.popout-target {
  top: 36%;
  right: clamp(-28px, -1.8vw, 12px);
  width: clamp(40px, 4.6vw, 56px);
  animation:
    popout-burst-5 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards,
    popout-orbit-5 6.2s ease-in-out 1.4s infinite alternate;
}
.popout-laptop {
  bottom: -14px;
  right: clamp(-6px, 3.5vw, 45px);
  width: clamp(44px, 5vw, 60px);
  animation:
    popout-burst-4 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards,
    popout-orbit-4 6.8s ease-in-out 1.6s infinite alternate;
}

.popout-sparkle-1 {
  top: 10%;
  left: 20%;
  width: 20px;
  animation: popout-burst-1 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards, popout-orbit-3 4.5s ease-in-out 1.7s infinite alternate;
}
.popout-sparkle-2 {
  bottom: 12%;
  right: 22%;
  width: 20px;
  animation: popout-burst-2 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards, popout-orbit-6 4.5s ease-in-out 1.8s infinite alternate;
}
.popout-sparkle-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(1.5px 1.5px 0 var(--ink));
}

/* Burst-Out Intro Keyframes (Explosive Pop Outward from Center) */
@keyframes popout-burst-1 {
  0%   { opacity: 0; transform: translate(40px, 30px) scale(0) rotate(-15deg); }
  70%  { opacity: 1; transform: translate(-4px, -4px) scale(1.15) rotate(4deg); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(-3deg); }
}
@keyframes popout-burst-2 {
  0%   { opacity: 0; transform: translate(-40px, 30px) scale(0) rotate(15deg); }
  70%  { opacity: 1; transform: translate(4px, -4px) scale(1.15) rotate(-4deg); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(3deg); }
}
@keyframes popout-burst-3 {
  0%   { opacity: 0; transform: translate(30px, 0) scale(0) rotate(-45deg); }
  70%  { opacity: 1; transform: translate(-6px, 0) scale(1.2) rotate(15deg); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
}
@keyframes popout-burst-4 {
  0%   { opacity: 0; transform: translate(-30px, -30px) scale(0) rotate(20deg); }
  70%  { opacity: 1; transform: translate(4px, 4px) scale(1.15) rotate(-3deg); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(2deg); }
}
@keyframes popout-burst-5 {
  0%   { opacity: 0; transform: translate(-30px, 0) scale(0) rotate(30deg); }
  70%  { opacity: 1; transform: translate(6px, 0) scale(1.15) rotate(-5deg); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(2deg); }
}
@keyframes popout-burst-6 {
  0%   { opacity: 0; transform: translate(30px, -30px) scale(0) rotate(-45deg); }
  70%  { opacity: 1; transform: translate(-4px, 4px) scale(1.2) rotate(15deg); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
}

/* Continuous Orbital Floating Keyframes */
@keyframes popout-orbit-1 {
  0%   { transform: translate(0, 0) rotate(-3deg); }
  50%  { transform: translate(6px, -10px) rotate(2deg); }
  100% { transform: translate(-6px, 6px) rotate(-4deg); }
}
@keyframes popout-orbit-2 {
  0%   { transform: translate(0, 0) rotate(3deg); }
  50%  { transform: translate(-8px, -8px) rotate(-2deg); }
  100% { transform: translate(6px, 7px) rotate(4deg); }
}
@keyframes popout-orbit-3 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(6px, 8px) rotate(18deg) scale(1.08); }
  100% { transform: translate(-6px, -6px) rotate(-12deg) scale(0.95); }
}
@keyframes popout-orbit-4 {
  0%   { transform: translate(0, 0) rotate(2deg); }
  50%  { transform: translate(8px, 6px) rotate(-2deg); }
  100% { transform: translate(-6px, -8px) rotate(3deg); }
}
@keyframes popout-orbit-5 {
  0%   { transform: translate(0, 0) rotate(2deg); }
  50%  { transform: translate(-6px, 9px) rotate(-3deg); }
  100% { transform: translate(5px, -7px) rotate(3deg); }
}
@keyframes popout-orbit-6 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(6px, -6px) rotate(-15deg) scale(1.08); }
  100% { transform: translate(-5px, 8px) rotate(12deg) scale(0.95); }
}

/* HERO TITLE — IMPACTFUL (HACKSPRINT 3.0) */
.hero-stage h1 {
  font: 900 clamp(4.6rem, 11vw, 9.6rem) / 0.86 var(--display);
  letter-spacing: -0.05em;
  margin: 0 0 clamp(6px, 1vh, 12px);
  color: var(--ink);
}
.h1-line {
  display: block;
}
.h1-line-1 {
  color: var(--ink);
}
.h1-line-2 {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
}
.h1-g { color: var(--blue); }
.h1-d { color: var(--red); }
.h1-g2 { color: var(--yellow-dark); }
.h1-s4 { color: var(--green); margin-left: clamp(10px, 1.8vw, 24px); }

/* Government Engineering College Hassan Banner */
.hero-college-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.8vh, 8px);
  margin: 0 auto clamp(6px, 1.2vh, 14px);
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 100%;
}

.hero-college-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 14px);
  background: transparent;
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 7px clamp(18px, 2.4vw, 32px);
  border-radius: 9999px;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
  cursor: default;
  max-width: min(100%, 960px);
}

.hero-college-badge:hover {
  transform: translateY(-2px);
  box-shadow: 3.5px 3.5px 0 var(--green);
  border-color: var(--green);
}

.clg-title {
  font: 800 clamp(18px, 2.1vw, 26px) / 1.2 var(--display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.hero-dept-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.clg-dept {
  font: 700 clamp(15.5px, 1.7vw, 21.5px) / 1.3 var(--display);
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--green-dark);
  white-space: nowrap;
}

.dept-desktop {
  display: inline;
}

.dept-mobile {
  display: none;
}

.clg-dot-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 10px rgba(52, 168, 83, 0.75);
  animation: live-dot-pulse 2s infinite ease-in-out;
}

@keyframes live-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

/* COMPASS x GLUE Presents Banner */
.hero-presents-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto clamp(6px, 1.2vh, 14px);
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-presents-img {
  width: clamp(210px, 52vw, 420px);
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(10, 10, 10, 0.07));
}

/* Single-Line HackSprint 3.0 Heading */
.hero-stage h1.hero-heading-single,
#hero-heading.hero-heading-single {
  font: 900 clamp(1.85rem, 7.8vw, 6rem) / 0.96 var(--display) !important;
  letter-spacing: -0.04em !important;
  margin: 0 0 clamp(8px, 1.4vh, 16px) !important;
  color: var(--ink);
  white-space: nowrap !important;
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  width: 100%;
  text-align: center;
}

.h1-line-single {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.h1-line-single .h1-s4 {
  color: var(--green) !important;
  margin-left: clamp(8px, 1.8vw, 22px) !important;
}

.hero-lede {
  font: 700 clamp(0.95rem, 2.1vw, 1.45rem) / 1.35 var(--display);
  color: var(--ink);
  max-width: 580px;
  margin: 0 auto clamp(8px, 1.3vh, 16px);
  padding: 0 12px;
  text-align: center;
}

/* Date Highlight Card (Neo-Brutalist Sticker Card) */
.hero-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(10px, 1.6vh, 20px);
  border: 2.5px solid var(--ink);
  background: #FFFFFF;
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring);
}
.hero-stats:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--green);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: clamp(8px, 1.1vh, 12px) clamp(18px, 3.5vw, 36px);
}
.stat-val {
  font: 900 clamp(1.2rem, 3.2vw, 1.95rem) / 1 var(--display);
  letter-spacing: 0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.stat-label {
  font: 800 clamp(9px, 1.3vw, 11px) var(--mono);
  letter-spacing: 0.14em;
  color: var(--green-dark);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 18px);
  flex-wrap: wrap;
  width: 100%;
}
.hero-actions .button {
  padding: clamp(12px, 1.4vh, 15px) clamp(22px, 2.5vw, 34px);
  font: 800 clamp(11.5px, 1.15vw, 13.5px) var(--mono);
  letter-spacing: 0.06em;
  border-width: 2.5px;
  border-color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero-actions .button-primary {
  background: var(--green);
  color: #FFFFFF;
  box-shadow: 4px 4px 0 var(--ink);
}
.hero-actions .button-primary:hover {
  background: var(--green-dark);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
}
.hero-actions .button-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.hero-actions .button-ghost:hover {
  background: #FFFFFF;
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-2px, -2px);
}

/* Mobile / Responsive Screen ONLY (< 900px): Hide "Explore the Hackathon" button */
@media (max-width: 899px) {
  .hero-btn-explore,
  .hero-actions .button-ghost[href="#about"] {
    display: none !important;
  }
}

/* =============================================================
   STANDARDIZED SECTION TYPOGRAPHY (CRISP & BALANCED)
   ============================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 11px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: clamp(6px, 1vh, 12px);
}
.eyebrow-rule {
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--green);
}

/* All Section Headings Across Home Page — Unified Size on Desktop & Responsive */
section h2,
.section-intro h2,
.foundation-head h2,
.foundation-copy h2,
.rulebook-head h2,
.problem-head h2,
.timeline-head h2,
.rewards-head h2,
.organizers h2,
.organizers .section-intro h2,
.sponsors h2,
.sponsor-top h2,
.venue h2,
.venue-head h2,
.faq h2,
.faq .section-intro h2,
.countdown-heading h2,
.countdown-state,
#countdown-label,
#about-heading,
#rulebook-heading,
#problem-heading,
#timeline-heading,
#rewards-heading,
#org-heading,
#sponsors-heading,
#venue-heading,
#faq-heading {
  font: 900 clamp(1.85rem, 3.4vw, 2.75rem) / 1.1 var(--display) !important;
  letter-spacing: -0.03em !important;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: clamp(10px, 1.5vh, 18px);
}

/* Green highlight styling on em for all headings */
section h2 em,
.section-intro h2 em,
.foundation-head h2 em,
.foundation-copy h2 em,
.rulebook-head h2 em,
.problem-head h2 em,
.timeline-head h2 em,
.rewards-head h2 em,
.organizers h2 em,
.organizers .section-intro h2 em,
.sponsors h2 em,
.sponsor-top h2 em,
.venue h2 em,
.venue-head h2 em,
.faq h2 em,
.faq .section-intro h2 em,
#about-heading em,
#rulebook-heading em,
#problem-heading em,
#timeline-heading em,
#rewards-heading em,
#org-heading em,
#sponsors-heading em,
#venue-heading em,
#faq-heading em {
  font-style: normal;
  color: var(--green);
}

/* =============================================================
   COUNTDOWN SECTION (PRECISION DIGITS — BALANCED PROPORTIONS)
   ============================================================= */
.countdown-section {
  border-bottom: var(--border-ink);
  position: relative;
  background: var(--paper);
}
.countdown-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
}
.countdown-heading {
  max-width: 920px;
  margin: 0 auto clamp(20px, 3vh, 32px);
  width: 100%;
  box-sizing: border-box;
}
.countdown-state {
  letter-spacing: -0.025em;
  margin-top: var(--sp-2);
}
.countdown-section[data-state="before"] .countdown-state { color: var(--green); }
.countdown-section[data-state="during"] .countdown-state { color: var(--green); }
.countdown-section[data-state="after"]  .countdown-state { color: var(--muted); }

/* =============================================================
   COUNTDOWN SECTION (NEO-BRUTALIST CHRONOMETER DECK)
   ============================================================= */
.clock-deck-card {
  background: var(--surface);
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: var(--radius-sm);
  padding: clamp(20px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.clock-deck-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--ink);
}

.clock-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1.5px dashed var(--line);
  padding-bottom: 14px;
}

.clock-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8F5E9;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
}

.clock-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  border: 1px solid var(--ink);
  display: inline-block;
  animation: clockPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes clockPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.clock-status-label {
  font: 800 11px var(--mono);
  letter-spacing: 0.08em;
  color: #1B5E20;
}

.clock-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 11px var(--mono);
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* Digits row with physical scoreboard tiles */
.countdown-digits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 22px);
  width: 100%;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Tactile Scoreboard Card */
.cd-slot {
  position: relative;
  width: clamp(74px, 12vw, 118px);
  height: clamp(80px, 12vw, 114px);
  background: #FFFFFF;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mechanical split flap horizontal groove */
.cd-split-groove {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(10, 10, 10, 0.12);
  z-index: 5;
  pointer-events: none;
}

/* The digits inside the tile */
.cd-cur, .cd-next {
  font: 900 clamp(2.4rem, 5.2vw, 4.4rem) / 1 var(--display);
  letter-spacing: -0.03em;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
}

.cd-cur {
  color: var(--ink);
  opacity: 1;
  z-index: 2;
}

/* cd-next is strictly hidden when idle to avoid overlapping/blurring */
.cd-next {
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

/* Days prominent green accent */
[data-cd-unit="days"] .cd-cur,
[data-cd-unit="days"] .cd-next {
  color: var(--green);
}

/* Animations during flipping */
@keyframes cd-flip-out {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(-40%); opacity: 0; }
}
@keyframes cd-flip-in {
  from { transform: translateY(40%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cd-slot.flipping .cd-cur {
  animation: cd-flip-out 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.cd-slot.flipping .cd-next {
  opacity: 1;
  animation: cd-flip-in 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Colon Separator Blocks */
.cd-sep-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 2px;
}
.cd-sep-dot {
  width: 7px;
  height: 7px;
  background: var(--ink);
  border-radius: 50%;
}

/* Unit Label Pills */
.cd-unit-tag {
  font: 800 11px var(--mono);
  letter-spacing: 0.12em;
  padding: 3px 10px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 2px;
  text-transform: uppercase;
}
.cd-tag-green {
  background: var(--green);
  color: #FFFFFF;
}

/* Chronometer Footer */
.clock-deck-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1.5px dashed var(--line);
  padding-top: 14px;
}
.clock-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 13px / 1.4 var(--body);
  color: var(--gray-600);
}
.meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.countdown-section[data-state="after"] .countdown-digits { display: none; }

.cd-sr-summary {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================
   02 / FOUNDATION (ABOUT) & PROGRESSION TRACK
   ============================================================= */
.foundation {
  border-bottom: var(--border-ink);
}
.foundation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.foundation-text {
  margin-top: var(--sp-4);
}
.big-copy {
  font: 700 clamp(1.08rem, 1.55vw, 1.4rem) / 1.45 var(--body);
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 580px;
  margin-bottom: 12px;
}
.about-more-text {
  display: inline;
}
.about-support {
  font: 400 14px / 1.55 var(--body);
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 16px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.principle-card {
  background: var(--surface);
  border: var(--border-card);
  box-shadow: var(--shadow-hard-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.principle-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
}
.principle-num {
  font: 700 10px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
}
.principle-card h3 {
  font: 800 clamp(1.05rem, 1.25vw, 1.25rem) var(--display);
  letter-spacing: -0.01em;
  margin: 4px 0 2px;
}
.principle-card h3.accent-blue   { color: var(--blue); }
.principle-card h3.accent-red    { color: var(--red); }
.principle-card h3.accent-yellow { color: var(--yellow-dark); }
.principle-card h3.accent-green  { color: var(--green); }
.principle-card p {
  font: 400 13px / 1.45 var(--body);
  color: var(--gray-600);
}
.principle-card::before {
  content: '';
  display: block;
  height: 3.5px;
  width: 28px;
  margin-bottom: 4px;
  background: var(--line);
  transition: width var(--dur-slow) var(--ease-decelerate);
}
.principle-card.accent-blue::before   { background: var(--blue); }
.principle-card.accent-red::before    { background: var(--red); }
.principle-card.accent-yellow::before { background: var(--yellow); }
.principle-card.accent-green::before  { background: var(--green); }
.principle-card.visible-accent::before { width: 100%; }

/* Quick Event Facts Card (Neo-Brutalist White Pill/Box) */
.about-facts-card {
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-5);
  margin: var(--sp-4) 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-fact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 14px / 1.4 var(--body);
  color: var(--ink);
}
.fact-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--green);
  flex-shrink: 0;
}
.fact-dot-blue,
.fact-dot-red,
.fact-dot-yellow,
.fact-dot-green  { background: var(--green); }
.fact-detail {
  color: var(--muted);
  font-size: 13px;
  margin-left: 4px;
}

/* =============================================================
   02 / FOUNDATION (ABOUT) - ARCHIVE SHOWCASE & POLAROID COLLAGE
   ============================================================= */
.foundation-graphic {
  position: sticky;
  top: calc(70px + var(--sp-6));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-4);
  padding-top: 0;
  width: 100%;
  max-width: 530px;
}

/* Archival Header Pill */
.archive-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
}
.archive-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
}
.archive-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  border: 1px solid var(--ink);
  flex-shrink: 0;
}
.archive-badge-text {
  font: 700 11px var(--mono);
  letter-spacing: 0.08em;
  color: var(--ink);
}
.archive-badge-count {
  font: 700 11px var(--mono);
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* Polaroid Photo Frame Collage */
.polaroid-collage {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-top: 8px;
  margin-bottom: var(--sp-2);
}
.polaroid-card {
  position: relative;
  background: #FFFFFF;
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 4px;
  padding: 10px 10px 14px 10px;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, z-index 0s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  user-select: none;
}
.polaroid-card:hover {
  transform: translateY(-8px) scale(1.05) rotate(0deg) !important;
  box-shadow: 9px 9px 0 var(--ink);
  z-index: 25;
}
.polaroid-1 {
  transform: rotate(-3deg);
  grid-column: 1;
}
.polaroid-2 {
  transform: rotate(3.5deg);
  grid-column: 2;
  margin-top: 10px;
}
.polaroid-3 {
  transform: rotate(-1.5deg);
  grid-column: 1 / span 2;
  width: 100%;
  max-width: 430px;
  margin: -14px auto 0;
  z-index: 2;
}

/* Washi Tape / Masking Tape Sticker */
.washi-tape {
  position: absolute;
  top: -11px;
  height: 18px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  z-index: 3;
}
.washi-tape-left {
  left: 20px;
  width: 58px;
  transform: rotate(-5deg);
  background: #FBBC04;
  opacity: 0.92;
}
.washi-tape-right {
  right: 20px;
  width: 58px;
  transform: rotate(4deg);
  background: #34A853;
  opacity: 0.88;
}
.washi-tape-center {
  left: 50%;
  width: 70px;
  transform: translateX(-50%) rotate(-1deg);
  background: #FBBC04;
  opacity: 0.92;
}

.polaroid-img-box {
  width: 100%;
  height: 185px;
  background-color: #0A0A0A;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 6px;
}
.polaroid-3 .polaroid-img-box {
  height: 220px;
}
.polaroid-img-1 {
  background: url('images/hacksprint-stage.jpg') center 25% / cover no-repeat;
}
.polaroid-img-2 {
  background: url('images/hacksprint-winners.jpg') center center / cover no-repeat;
}
.polaroid-img-3 {
  background: url('images/hacksprint-community.jpg') center 30% / cover no-repeat;
}

.polaroid-tag {
  font: 800 8.5px var(--mono);
  letter-spacing: 0.05em;
  background: rgba(10, 10, 10, 0.9);
  color: #FFFFFF;
  padding: 3px 6px;
  border-radius: 2px;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.polaroid-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}
.polaroid-caption {
  font: 700 12px / 1.3 var(--mono);
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.01em;
}
.polaroid-sub {
  font: 700 9px var(--mono);
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* Archival Note & Legacy Badge */
.archive-note-card {
  width: 100%;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--sp-2);
}
.archive-note-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.note-pin {
  font-size: 15px;
  line-height: 1;
}
.note-title {
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--ink);
  text-transform: uppercase;
}
.archive-note-text {
  font: 400 13px / 1.5 var(--body);
  color: var(--gray-600);
  margin: 0;
}
.archive-note-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1.5px dashed var(--line);
  margin-top: 2px;
}
.archive-stat-item {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.stat-num {
  color: var(--green);
  font: 800 13px var(--mono);
}
.stat-lbl {
  color: var(--muted);
  font: 600 10px var(--mono);
  text-transform: uppercase;
}
.archive-stat-sep {
  color: var(--line);
  font-size: 11px;
}

/* Deprecated progression track elements completely hidden */
.prog-track,
.prog-label {
  display: none !important;
}

/* =============================================================
   03 / RULEBOOK FOR HACKSPRINT 3.0 (SIMPLE LINEAR POINTS DESIGN)
   ============================================================= */
.rulebook {
  border-bottom: var(--border-ink);
}
.rulebook-head {
  margin-bottom: var(--sp-6);
}
.rulebook-sub {
  font: 400 15px / 1.55 var(--body);
  color: var(--gray-600);
  max-width: 720px;
  margin-top: 10px;
}

/* Single Simple Points Container */
.rules-simple-container {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
  max-width: 960px;
}
.rules-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rule-point-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1.5px solid var(--line);
  transition: background var(--dur-fast) var(--ease-standard);
}
.rule-point-item:last-child {
  border-bottom: none;
}
.rule-point-item:hover {
  background: rgba(52, 168, 83, 0.03);
}
.rule-point-num {
  font: 800 12px var(--mono);
  letter-spacing: 0.06em;
  color: var(--green);
  background: rgba(52, 168, 83, 0.1);
  border: 1.5px solid rgba(52, 168, 83, 0.4);
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.rule-point-text {
  font: 500 14.5px / 1.55 var(--body);
  color: var(--gray-700);
  margin: 0;
  flex: 1;
}
.rule-point-text strong {
  color: var(--ink);
  font-weight: 700;
}

/* =============================================================
   04 / ON-SPOT CHALLENGE & PROBLEM STATEMENTS (MINIMAL & IMPACTFUL)
   ============================================================= */
.problem-statements {
  border-bottom: var(--border-ink);
}
.problem-head {
  margin-bottom: var(--sp-6);
}
.onspot-reveal-card {
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: var(--radius-sm);
  padding: clamp(24px, 4vw, 36px);
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.onspot-reveal-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.onspot-reveal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.onspot-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 11px var(--mono);
  letter-spacing: 0.08em;
  padding: 4px 12px;
  background: #FFF8E1;
  color: #B06000;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
}
.onspot-venue-pill {
  font: 700 11px var(--mono);
  color: var(--muted);
  letter-spacing: 0.06em;
}
.onspot-reveal-heading {
  font: 900 clamp(1.35rem, 2.4vw, 2rem) / 1.2 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.onspot-reveal-desc {
  font: 400 clamp(14px, 1.05vw, 15.5px) / 1.6 var(--body);
  color: var(--gray-600);
  margin: 0;
  max-width: 780px;
}
.onspot-chips-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1.5px solid var(--line);
}
.onspot-chip {
  font: 700 11.5px var(--mono);
  letter-spacing: 0.04em;
  padding: 5px 12px;
  background: #FAFAFA;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
}
.oi-feat-icon {
  font-size: 20px;
  line-height: 1;
}
.oi-feature-box h4 {
  font: 800 15px var(--display);
  letter-spacing: var(--tracking-snug);
  color: var(--ink);
  margin: 0;
}
.oi-feature-box p {
  font: 400 13px / 1.5 var(--body);
  color: var(--gray-600);
  margin: 0;
}
.domain-tag {
  font: 700 12px var(--mono);
  letter-spacing: var(--tracking-wide);
  border: var(--border-card);
  padding: 10px 20px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-hard-sm);
  cursor: default;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard);
}
.domain-tag:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
  background: var(--green-light);
  border-color: var(--green-dark);
}
.domain-tag[data-color="blue"]:hover   { background: var(--blue-light);   border-color: var(--blue); }
.domain-tag[data-color="green"]:hover  { background: var(--green-light);  border-color: var(--green); }
.domain-tag[data-color="yellow"]:hover { background: var(--yellow-light); border-color: var(--yellow-dark); }
.domain-tag[data-color="red"]:hover    { background: var(--red-light);    border-color: var(--red); }

/* =============================================================
   04 / THE JOURNEY
   ============================================================= */
.journey {
  border-bottom: var(--border-ink);
}
.rounds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.round-card {
  background: var(--surface);
  border: var(--border-card);
  box-shadow: var(--shadow-hard);
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 5px solid var(--ink);
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.round-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-lg);
}
.round-card.round-blue { border-top-color: var(--blue); }
.round-card.round-red  { border-top-color: var(--red); }
.round-index {
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
}
.round-card h3 {
  font: 900 clamp(1.35rem, 2.2vw, 1.85rem) / 1.1 var(--display);
  letter-spacing: -0.02em;
}
.round-card.round-blue h3 { color: var(--blue); }
.round-card.round-red  h3 { color: var(--red); }
.round-tagline {
  font: 700 13.5px / var(--leading-normal) var(--display);
  color: var(--ink);
}
.round-card p {
  font: 400 13px / 1.5 var(--body);
  color: var(--gray-600);
}
.round-meta {
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
  margin-top: 4px;
}
.round-deadline {
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-wide);
  color: var(--blue);
}
.round-card.round-red .round-deadline { color: var(--red); }
.round-note {
  font: 500 12px / 1.45 var(--body);
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 8px;
  margin-top: 4px;
}

/* Connected Stage Rail */
.stage-rail-wrap {
  margin-top: 24px;
  padding: 16px var(--sp-6);
  border: var(--border-card);
  box-shadow: var(--shadow-hard-sm);
  background: var(--surface);
  overflow-x: auto;
}
.stage-rail {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-width: 480px;
}
.stage-rail::before {
  content: '';
  position: absolute;
  top: 50%; left: 24px; right: 24px;
  height: 2px;
  background: var(--line);
  transform: translateY(-50%);
  z-index: 0;
}
.stage-rail::after {
  content: '';
  position: absolute;
  top: 50%; left: 24px;
  width: 0;
  height: 2.5px;
  background: var(--green);
  transform: translateY(-50%);
  transition: width 800ms var(--ease-decelerate);
  z-index: 1;
}
.stage-rail.rail-filled::after {
  width: calc(100% - 48px);
}
.stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  position: relative;
  z-index: 2;
}
.stage-node {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: var(--border-card);
  box-shadow: var(--shadow-hard-sm);
  background: var(--surface);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color var(--dur-slow) var(--ease-standard), background var(--dur-slow) var(--ease-standard);
}
.stage-node::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: var(--radius-full);
  background: var(--line);
  transition: background var(--dur-slow) var(--ease-standard), transform var(--dur-slow) var(--ease-spring);
}
.stage-item.stage-active[data-color="blue"]   .stage-node { border-color: var(--blue);   background: var(--blue-light); }
.stage-item.stage-active[data-color="red"]    .stage-node { border-color: var(--red);    background: var(--red-light); }
.stage-item.stage-active[data-color="yellow"] .stage-node { border-color: var(--yellow); background: var(--yellow-light); }
.stage-item.stage-active[data-color="green"]  .stage-node { border-color: var(--green);  background: var(--green-light); }
.stage-item.stage-active[data-color="blue"]   .stage-node::before { background: var(--blue);   transform: scale(1.2); }
.stage-item.stage-active[data-color="red"]    .stage-node::before { background: var(--red);    transform: scale(1.2); }
.stage-item.stage-active[data-color="yellow"] .stage-node::before { background: var(--yellow); transform: scale(1.2); }
.stage-item.stage-active[data-color="green"]  .stage-node::before { background: var(--green);  transform: scale(1.2); }
.stage-label {
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
  white-space: nowrap;
}
.stage-item.stage-active .stage-label {
  color: var(--ink);
}

/* =============================================================
   05 / EVENT TIMELINE & 24-HOUR SPRINT SCHEDULE
   ============================================================= */
.timeline-section {
  border-bottom: var(--border-ink);
  background: var(--bg);
  position: relative;
}

.timeline-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 860px) {
  .timeline-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.timeline-head-desc {
  max-width: 560px;
  font: 400 clamp(14px, 1.2vw, 15.5px) / 1.55 var(--body);
  color: var(--muted);
  margin: 0;
}

/* Timeline Control Bar: Filter Tabs + 24H Meta Badge */
.timeline-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  padding: 12px 16px;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: var(--radius-sm);
}

.timeline-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tl-tab-btn {
  appearance: none;
  -webkit-appearance: none;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 4px;
  padding: 7px 14px;
  font: 800 11.5px var(--mono);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tl-tab-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
  background: #FFFFFF;
}

.tl-tab-btn.active {
  background: var(--ink);
  color: #FFFFFF;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.tl-tab-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  border: 1.5px solid currentColor;
}

.tl-tab-dot.green {
  background: var(--green);
}

.tl-tab-dot.yellow {
  background: var(--yellow);
}

.timeline-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 11.5px var(--mono);
  color: var(--ink);
  background: #E8F0FE;
  border: 1.5px solid var(--ink);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7);
  animation: pulseDotGreen 1.8s infinite;
}

@keyframes pulseDotGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(52, 168, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}

/* Timeline Track Spine & Cards */
.timeline-track-wrap {
  position: relative;
  padding: 6px 0 16px;
}

.timeline-spine {
  position: absolute;
  left: 19px;
  top: 18px;
  bottom: 30px;
  width: 4px;
  background: var(--ink);
  z-index: 1;
  border-radius: 2px;
}

.timeline-cards-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.tl-item {
  position: relative;
  padding-left: 52px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.tl-item.is-hidden {
  display: none !important;
}

.tl-node-flag {
  position: absolute;
  left: 9px;
  top: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 2px 2px 0 var(--ink);
}

.tl-flag-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}

.tl-item[data-accent="blue"] .tl-flag-dot { background: var(--blue); }
.tl-item[data-accent="green"] .tl-flag-dot { background: var(--green); }
.tl-item[data-accent="yellow"] .tl-flag-dot { background: var(--yellow); }
.tl-item[data-accent="red"] .tl-flag-dot { background: var(--red); }
.tl-item[data-accent="ink"] .tl-flag-dot { background: var(--ink); }

.tl-flag-dot.hero-dot {
  background: var(--red);
  width: 11px;
  height: 11px;
  animation: pulseDotRed 1.6s infinite;
}

@keyframes pulseDotRed {
  0% { transform: scale(1); }
  50% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

.tl-flag-dot.trophy-dot {
  background: var(--yellow);
  width: 11px;
  height: 11px;
}

/* Individual Timeline Card */
.tl-card {
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: var(--radius-sm);
  padding: clamp(16px, 2.4vw, 22px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tl-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5.5px 5.5px 0 var(--ink);
}

.tl-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1.5px dashed var(--line);
  padding-bottom: 10px;
}

.tl-time-box {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.tl-clock-icon {
  color: var(--ink);
  font-size: 13px;
}

.tl-time-val {
  font: 800 clamp(12.5px, 1.2vw, 14.5px) var(--mono);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 3px 9px;
  border-radius: 3px;
  box-shadow: 1.5px 1.5px 0 var(--ink);
  letter-spacing: 0.02em;
}

.tl-day-pill {
  font: 800 10px var(--mono);
  letter-spacing: 0.06em;
  background: var(--ink);
  color: #FFFFFF;
  padding: 3.5px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.tl-day-pill.hero-pill {
  background: var(--red);
  color: #FFFFFF;
}

.tl-tag-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tl-category-tag {
  font: 800 10px var(--mono);
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  box-shadow: 1.5px 1.5px 0 var(--ink);
  text-transform: uppercase;
}

.tl-category-tag.tag-blue { background: var(--blue-light); color: var(--blue); }
.tl-category-tag.tag-green { background: var(--green-light); color: var(--green-dark); }
.tl-category-tag.tag-yellow { background: var(--yellow-light); color: var(--yellow-dark); }
.tl-category-tag.tag-red { background: var(--red-light); color: var(--red); }
.tl-category-tag.tag-ink { background: #F1F5F9; color: var(--ink); }

.tl-venue-tag {
  font: 700 11px var(--mono);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tl-item-title {
  font: 800 clamp(15.5px, 1.8vw, 19px) / 1.3 var(--display);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.tl-item-desc {
  font: 400 clamp(13px, 1.1vw, 14.5px) / 1.55 var(--body);
  color: var(--muted);
  margin: 0;
}

/* Hero Cards Styling */
.card-hero-spot {
  background: #FFFDF4;
  border: 2.5px solid var(--ink);
  box-shadow: 4.5px 4.5px 0 var(--ink);
}

.card-hero-spot:hover {
  box-shadow: 6.5px 6.5px 0 var(--ink);
}

.card-freeze-alert {
  background: #FFF8F8;
  border-color: var(--ink);
}

.card-hero-finale {
  background: #FBFFFA;
  border: 2.5px solid var(--ink);
  box-shadow: 4.5px 4.5px 0 var(--ink);
}

.card-hero-finale:hover {
  box-shadow: 6.5px 6.5px 0 var(--ink);
}

.tl-hero-ribbon {
  margin: -clamp(16px, 2.4vw, 22px) -clamp(16px, 2.4vw, 22px) 4px;
  padding: 6px 14px;
  font: 900 11px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--ink);
  background: var(--red);
  color: #FFFFFF;
}

.tl-hero-ribbon.finale-ribbon {
  background: var(--yellow);
  color: var(--ink);
}

@media (min-width: 768px) {
  .timeline-spine {
    left: 23px;
  }
  .tl-node-flag {
    left: 13px;
  }
  .tl-item {
    padding-left: 62px;
  }
}

/* =============================================================
   06 / MORE THAN A HACKATHON (EXPERIENCE)
   ============================================================= */
.experience {
  border-bottom: var(--border-ink);
}
.exp-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.exp-card {
  background: var(--surface);
  border: var(--border-card);
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.exp-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-lg);
}
.exp-graphic {
  position: relative;
  height: 120px;
  overflow: hidden;
  border-bottom: var(--border-card);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: var(--surface-alt);
}
.exp-graphic svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.exp-body {
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.exp-index {
  font: 700 10px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
}
.exp-card h3 {
  font: 800 clamp(1.05rem, 1.35vw, 1.3rem) / 1.2 var(--display);
  letter-spacing: -0.01em;
}
.exp-card p {
  font: 400 12.5px / 1.45 var(--body);
  color: var(--gray-600);
}
.exp-graphic-mentor .g-ring-outer { fill: none; stroke: var(--blue); stroke-width: 1.5; opacity: 0.3; }
.exp-graphic-mentor .g-ring-mid   { fill: none; stroke: var(--blue); stroke-width: 1.5; opacity: 0.6; }
.exp-graphic-mentor .g-ring-inner { fill: none; stroke: var(--blue); stroke-width: 2; }
.exp-graphic-mentor .g-arrow      { stroke: var(--blue); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.exp-graphic-mentor .g-dot        { fill: var(--blue); }
.exp-graphic-network .g-edge      { stroke: var(--red); stroke-width: 1.5; opacity: 0.5; }
.exp-graphic-network .g-node      { fill: var(--surface); stroke: var(--red); stroke-width: 2; }
.exp-graphic-network .g-node-fill { fill: var(--red); }
.exp-graphic-events .g-dot-b { fill: var(--blue); }
.exp-graphic-events .g-dot-r { fill: var(--red); }
.exp-graphic-events .g-dot-y { fill: var(--yellow); }
.exp-graphic-events .g-dot-g { fill: var(--green); }
.exp-graphic-events .g-rule  { stroke: var(--line); stroke-width: 1.5; }
.exp-graphic-build .g-bracket    { stroke: var(--green); stroke-width: 2.5; fill: none; stroke-linecap: square; }
.exp-graphic-build .g-bar-bg     { fill: var(--line); }
.exp-graphic-build .g-bar-fill   { fill: var(--green); }
.exp-graphic-build .g-bar-fill-2 { fill: var(--green); opacity: 0.5; }
.exp-graphic-build .g-dot        { fill: var(--green); }

/* =============================================================
   07 / REWARDS & PERKS
   ============================================================= */
.rewards {
  border-bottom: var(--border-ink);
}
.rewards-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(20px, 3vw, 48px);
  margin-bottom: 20px;
}
#rewards-heading {
  font: 900 clamp(1.35rem, 5.2vw, 3.8rem) / 1.15 var(--display) !important;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  margin: var(--sp-4) 0 0;
}
#rewards-heading em {
  color: var(--green);
  font-style: normal;
  white-space: nowrap;
}
.rewards-note {
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
  max-width: 220px;
  text-align: right;
  line-height: var(--leading-loose);
  padding: 6px 12px;
  border: var(--border-card);
  background: var(--surface);
}
.prize-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.prize-card {
  background: var(--surface);
  border: var(--border-card);
  box-shadow: var(--shadow-hard);
  padding: clamp(20px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 5px solid var(--ink);
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.prize-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-lg);
}
.prize-card[data-color="yellow"] { border-top-color: var(--yellow); }
.prize-card[data-color="blue"]   { border-top-color: var(--blue); }
.prize-card[data-color="red"]    { border-top-color: var(--red); }
.prize-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.prize-ribbon-icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  filter: drop-shadow(1.5px 1.5px 0 var(--ink));
  transition: transform var(--dur-fast) var(--ease-spring), color var(--dur-fast);
}
.prize-card:hover .prize-ribbon-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--ink);
}
.prize-card[data-color="yellow"] .prize-ribbon-icon { color: var(--yellow-dark); }
.prize-card[data-color="blue"]   .prize-ribbon-icon { color: var(--blue); }
.prize-card[data-color="red"]    .prize-ribbon-icon { color: var(--red); }
.prize-index {
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
}
.prize-card h3 {
  font: 900 clamp(1.25rem, 1.8vw, 1.65rem) / 1.15 var(--display);
  letter-spacing: -0.015em;
}
.prize-card[data-color="yellow"] h3 { color: var(--yellow-dark); }
.prize-card[data-color="blue"]   h3 { color: var(--blue); }
.prize-card[data-color="red"]    h3 { color: var(--red); }
.prize-desc {
  font: 400 13px / 1.45 var(--body);
  color: var(--gray-600);
  flex: 1;
}
.prize-amount {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.prize-amount-value[data-pending] {
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
  background: var(--surface-alt);
  padding: 6px 14px;
  border: 1.5px dashed var(--line);
}

.perks-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.perk-item {
  background: var(--surface);
  border: var(--border-card);
  box-shadow: var(--shadow-hard-sm);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.perk-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
}
.perk-index {
  font: 700 10px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
}
.perk-dot {
  display: block;
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  margin-bottom: 2px;
}
.perk-item[data-color="blue"]   .perk-dot { background: var(--blue); }
.perk-item[data-color="red"]    .perk-dot { background: var(--red); }
.perk-item[data-color="yellow"] .perk-dot { background: var(--yellow); }
.perk-item[data-color="green"]  .perk-dot { background: var(--green); }
.perk-item h3 {
  font: 800 clamp(0.9rem, 1.1vw, 1.05rem) / var(--leading-snug) var(--display);
  letter-spacing: -0.01em;
}
.perk-item p {
  font: 400 12px / 1.4 var(--body);
  color: var(--gray-600);
}

/* =============================================================
   08 / MARK YOUR CALENDAR (DETAILS)
   ============================================================= */
.details {
  border-bottom: var(--border-ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.details-card {
  border: var(--border-card);
  box-shadow: var(--shadow-hard);
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
}
.date-lockup {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 16px 0;
}
.date-lockup strong {
  font: 900 clamp(2.8rem, 5.5vw, 4.6rem) / 0.85 var(--display);
  letter-spacing: -0.04em;
  color: var(--green);
}
.date-lockup span {
  font: 700 11.5px var(--mono);
  line-height: 1.5;
  color: var(--muted);
}
.details-date-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-wide);
  color: var(--green-dark);
}
.details-copy > p {
  font: 500 14px / var(--leading-loose) var(--body);
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 18px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
}

/* =============================================================
   09 / FROM THE ARCHIVES & LIGHTBOX
   ============================================================= */
.archives {
  border-bottom: var(--border-ink);
}
.archives-lede {
  font: 400 clamp(13.5px, 1.2vw, 15.5px) / 1.55 var(--body);
  color: var(--gray-600);
  max-width: 540px;
  margin-bottom: 20px;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 64px);
}
.archive-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-bottom: var(--border-card);
  padding-bottom: 16px;
}
.archive-heading span {
  font: 700 11px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
}
.archive-heading h3 {
  font: 800 clamp(1.3rem, 2vw, 1.8rem) var(--display);
  letter-spacing: var(--tracking-tight);
}
.archive-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: repeat(2, 160px);
  gap: 12px;
  margin-top: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border: var(--border-card);
  box-shadow: var(--shadow-hard-sm);
  background: var(--surface);
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.gallery-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hard);
  z-index: var(--z-raised);
}
.gallery-feature {
  grid-row: span 2;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-ph-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.gallery-ph-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-2) var(--sp-3);
  font: 700 10px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
  background: linear-gradient(transparent, var(--surface) 70%);
  pointer-events: none;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.lightbox.lb-open {
  opacity: 1;
  pointer-events: auto;
}
.lb-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  max-width: min(90vw, 960px);
  width: 100%;
}
.lb-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 2px solid var(--gray-700);
  background: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-caption {
  font: 700 11px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--gray-400);
  text-align: center;
}
.lb-counter {
  position: absolute;
  bottom: calc(-1 * var(--sp-8));
  left: 50%;
  transform: translateX(-50%);
  font: 700 11px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--gray-500);
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: var(--gray-900);
  border: 2px solid var(--gray-600);
  color: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--ink);
  border-color: var(--green);
  color: var(--green);
}
.lb-close { top: var(--sp-5); right: var(--sp-5); width: 44px; height: 44px; font-size: 20px; }
.lb-prev  { left: var(--sp-5); top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 24px; }
.lb-next  { right: var(--sp-5); top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 24px; }

/* =============================================================
   10 / ORGANIZERS & 11 / SPONSORS
   ============================================================= */
.organizers, .sponsors {
  border-bottom: var(--border-ink);
}

/* =============================================================
   CONTACT THE ORGANIZERS — NEO-BRUTALIST SECTION
   ============================================================= */
/* =============================================================
   CONTACT THE ORGANIZERS — 3 CARDS + SOCIAL ACTION PILLS
   ============================================================= */
.org-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.org-person-card {
  background: var(--surface);
  border: var(--border-card);
  border-top: 5px solid var(--green);
  box-shadow: var(--shadow-hard);
  border-radius: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring), border-color 0.2s;
}

.org-person-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-lg);
  border-color: var(--green);
}

.org-card-top {
  display: flex;
  align-items: center;
}

.org-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 10.5px var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 0;
  border: 1.5px solid var(--ink);
}

.faculty-tag {
  background: #E8F0FE;
  color: var(--blue-dark);
  border-color: var(--blue);
}

.president-tag,
.student-tag {
  background: #FEF3C7;
  color: #92400E;
  border-color: #D97706;
}

.vp-tag,
.lead-tag {
  background: #DCFCE7;
  color: #166534;
  border-color: #16A34A;
}

.treasurer-tag {
  background: #EDE9FE;
  color: #5B21B6;
  border-color: #7C3AED;
}

.org-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.org-person-name {
  font: 900 clamp(20px, 2.2vw, 24px)/1.1 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.org-person-role {
  font: 500 13px/1.4 var(--body);
  color: var(--muted);
  margin: 0;
}

.org-card-bottom {
  margin-top: 4px;
}

.org-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FAFAF9;
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  border-radius: 0;
  padding: 10px 14px;
  font: 700 13px var(--mono);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.org-phone-btn i {
  color: var(--green);
  font-size: 13px;
}

.org-phone-btn:hover {
  background: var(--green);
  color: #FFFFFF;
  transform: translate(-1px, -1px);
  box-shadow: 3.5px 3.5px 0 var(--ink);
}

.org-phone-btn:hover i {
  color: #FFFFFF;
}

.org-phone-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* Social Buttons Row Below the 3 Cards */
.org-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  justify-content: flex-start;
}

.org-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: 0;
  padding: 12px 20px;
  font: 800 12.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.org-action-pill.wa-pill i.fa-whatsapp {
  color: #25D366;
  font-size: 17px;
}

.org-action-pill.wa-pill:hover {
  background: #E8F5E9;
  border-color: #1B5E20;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.org-action-pill.ig-pill i.fa-instagram {
  color: #E1306C;
  font-size: 17px;
}

.org-action-pill.ig-pill:hover {
  background: #FCE4EC;
  border-color: #C2185B;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.org-action-pill:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

@media (max-width: 600px) {
  .org-social-actions {
    flex-direction: column;
  }
  .org-action-pill {
    width: 100%;
    box-sizing: border-box;
  }
}
.coming-panel {
  margin-top: 20px;
  border: var(--border-card);
  box-shadow: var(--shadow-hard);
  min-height: 180px;
  padding: clamp(20px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.coming-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
}
.coming-panel strong {
  font: 900 clamp(1.6rem, 3.2vw, 2.5rem) / 1.05 var(--display);
  letter-spacing: -0.02em;
}
.coming-panel p {
  font: 400 13.5px / 1.5 var(--body);
  color: var(--gray-600);
  max-width: 420px;
}

.sponsor-empty {
  margin-top: 20px;
  border: var(--border-card);
  box-shadow: var(--shadow-hard);
  background: var(--surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sponsor-empty-svg {
  width: 100%;
  max-width: 600px;
  height: auto;
}
.sponsor-empty-label {
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
}

/* Sponsor Tiers & Cards */
.sponsor-tier {
  margin-top: 24px;
}
.sponsor-tier-label {
  font: 700 11px var(--mono);
  letter-spacing: var(--tracking-widest);
  color: var(--muted);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sponsor-card {
  background: var(--surface);
  border: var(--border-card);
  box-shadow: var(--shadow-hard);
  border-radius: 4px;
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring);
}
.sponsor-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-lg);
}
.sponsor-card a,
.sponsor-card div {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.sponsor-logo {
  max-height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* =============================================================
   12 / WHERE WE BUILD (VENUE)
   ============================================================= */
.venue {
  border-bottom: var(--border-ink);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(24px, 4.5vw, 64px);
  align-items: start;
}
.venue-name {
  font: 900 clamp(1.35rem, 2vw, 1.8rem) / 1.2 var(--display);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 14px;
  margin-bottom: 6px;
}
.venue-location {
  font: 500 14.5px / 1.5 var(--body);
  color: var(--gray-600);
  margin-bottom: 14px;
}
.venue-meta {
  font: 800 11px var(--mono);
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.6;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 16px;
}
.venue-amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 6px;
}
.venue-amenity-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 11px var(--mono);
  color: var(--ink);
  background: #FAFAFA;
  border: 1.5px solid var(--ink);
  padding: 7px 11px;
  border-radius: 4px;
  box-shadow: 2px 2px 0 var(--ink);
}
.venue-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.venue-map-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: var(--radius-sm);
  background: var(--surface);
  position: relative;
}
.venue-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.venue-directions-btn {
  font: 800 11.5px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =============================================================
   13 / FAQ ACCORDION
   ============================================================= */
.faq {
  border-bottom: var(--border-ink);
}
.faq-list {
  max-width: 880px;
  margin: 18px 0 0 auto;
  border-top: var(--border-ink);
}
.faq-item {
  border-bottom: 1.5px solid var(--line);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  padding: 14px 0;
  text-align: left;
  color: var(--ink);
  font: 700 clamp(13px, 1.1vw, 15px) var(--display);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-standard);
}
.faq-question:hover {
  color: var(--green);
}
.faq-question span:last-child {
  font: 700 1.25rem var(--mono);
  transition: transform var(--dur-base) var(--ease-standard);
  flex-shrink: 0;
  color: var(--green);
}
.faq-question[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
  color: var(--red);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-standard);
}
.faq-answer > div {
  overflow: hidden;
}
.faq-answer p {
  margin: 0 0 16px;
  font: 400 13.5px / 1.55 var(--body);
  color: var(--gray-600);
  max-width: 680px;
}
.faq-answer[hidden] {
  display: grid;
  visibility: hidden;
}
.faq-answer.open {
  grid-template-rows: 1fr;
  visibility: visible;
}

/* =============================================================
   14 / MAKE YOUR MOVE (FINAL CTA)
   ============================================================= */
.final-cta {
  background: var(--ink);
  color: var(--paper);
  border-bottom: var(--border-ink);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
}
.final-cta-inner {
  max-width: 960px;
}
.final-cta h2 {
  font: 900 clamp(2.4rem, 5vw, 4.2rem) / 0.95 var(--display);
  letter-spacing: -0.03em;
  margin: 20px 0;
}
.final-cta h2 em {
  color: var(--green);
}
.final-cta p {
  font: 700 11.5px var(--mono);
  line-height: 1.6;
  color: var(--gray-400);
  letter-spacing: var(--tracking-wide);
}
.final-cta .button-light {
  box-shadow: 5px 5px 0 var(--green);
}
.final-cta .button-light:hover {
  box-shadow: 8px 8px 0 var(--green);
}

/* =============================================================
   15 / STAY IN THE LOOP (REGISTER)
   ============================================================= */
.register {
  border-bottom: var(--border-ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4.5vw, 60px);
  align-items: center;
}
.register-inner h2 {
  font: 900 clamp(1.85rem, 3.2vw, 2.75rem) / 1.08 var(--display);
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
}
.register-inner h2 em {
  color: var(--green);
}
.register-inner p {
  font: 400 13.5px / 1.55 var(--body);
  color: var(--gray-600);
  max-width: 440px;
  margin-bottom: 20px;
}
.scribble {
  display: block;
  font: 900 clamp(1.4rem, 2.5vw, 2.1rem) / 1.1 var(--display);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}
.color-bars {
  display: none !important;
}

/* =============================================================
   MINIMAL CLEAN FOOTER
   ============================================================= */
.site-footer {
  background: var(--surface);
  border-top: var(--border-ink);
  padding: 40px var(--section-x) 32px;
}
.footer-container {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-tagline {
  font: 500 13px / 1.5 var(--body);
  color: var(--gray-600);
  margin: 0;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  font: 800 11.5px var(--mono);
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--dur-fast) var(--ease-standard);
}
.footer-nav a:hover {
  color: var(--green);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1.5px solid var(--line);
}
.footer-credit {
  font: 700 12px var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0;
}
.footer-credit strong {
  color: var(--green-dark);
}
.footer-copy {
  font: 500 12px var(--mono);
  color: var(--muted);
  margin: 0;
}

/* Floating Back to Top Button (Right Bottom) */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 900 18px var(--display);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard),
              visibility var(--dur-base) var(--ease-standard),
              background var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-fast) var(--ease-standard);
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top-btn:hover {
  background: var(--green);
  color: #FFFFFF;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.back-to-top-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

/* =============================================================
   CUSTOM CURSOR (NORMAL BROWSER CURSOR RESTORED)
   ============================================================= */
.cur-dot, .cur-ring {
  display: none !important;
}

/* =============================================================
   RESPONSIVE DESIGN (ALL VIEWPORTS)
   ============================================================= */
@media (max-width: 1023px) and (min-width: 768px) {
  .hero {
    justify-content: flex-start;
  }
  .hero-stage {
    justify-content: flex-start;
    padding-top: 78px;
  }
  /* Remove clouds on responsive screen only clouds */
  .hw-clouds {
    display: none !important;
  }
  .hero-stage h1.hero-heading-single,
  #hero-heading.hero-heading-single {
    font-size: clamp(2.8rem, 7.2vw, 5rem) !important;
    letter-spacing: -0.04em !important;
  }
  .hero-presents-img {
    width: clamp(280px, 46vw, 390px);
  }
  .popout-bulb { width: 38px; top: 36px; left: 8px; }
  .popout-rocket { width: 38px; top: 36px; right: 8px; }
  .popout-puzzle { width: 38px; left: -6px; }
  .popout-target { width: 38px; right: -6px; }
  .popout-team { width: 44px; bottom: -10px; left: 16px; }
  .popout-laptop { width: 42px; bottom: -10px; right: 16px; }
  .perks-grid { grid-template-columns: repeat(3, 1fr); }
  .rounds { grid-template-columns: 1fr 1fr; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .details { grid-template-columns: 1fr 1fr; }
  .register { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: repeat(3, 1fr); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-obj-3, .hw-obj-6, .hw-obj-8 { display: none; }
  .hw-tree-3, .hw-tree-6 { display: none; }
}

@media (max-width: 1040px) {
  .menu-toggle { display: flex; }
  .desktop-nav { display: none; }
  .site-header {
    width: calc(100% - 24px);
    justify-content: space-between;
    padding: 0 14px 0 16px;
    top: 12px;
    height: 52px;
  }
  .brand { border-right: none; padding-right: 0; }
  /* Remove clouds on responsive screen only clouds */
  .hw-clouds {
    display: none !important;
  }
}

@media (max-width: 767px) {
  
  .hero {
    min-height: 100svh;
    height: auto;
    max-height: none;
    overflow-x: clip;
    padding-bottom: 24px;
    justify-content: flex-start;
  }
  .hero-stage {
    justify-content: flex-start;
    padding-top: clamp(84px, 11.5vh, 96px);
    padding-bottom: clamp(18px, 3vh, 32px);
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero-college-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 auto clamp(8px, 1.4vh, 14px);
  }
  /* Remove clouds on responsive screen only clouds */
  .hw-clouds {
    display: none !important;
  }
  .hero-college-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent !important;
    border: 2px solid var(--ink) !important;
    box-shadow: 2.5px 2.5px 0 var(--ink) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 6px clamp(10px, 2.8vw, 16px);
    border-radius: 9999px;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
  }
  .clg-title {
    font-size: clamp(11.5px, 3.2vw, 15px) !important;
    font-weight: 800 !important;
    letter-spacing: 0.025em;
    white-space: nowrap;
  }
  .hero-dept-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .dept-desktop {
    display: none !important;
  }
  .dept-mobile {
    display: inline !important;
  }
  .clg-dept {
    font: 700 clamp(16px, 4.6vw, 19.5px) / 1.25 var(--display);
    color: var(--green-dark);
    letter-spacing: 0.01em;
    text-transform: none;
  }
  .live-dot {
    width: 8px;
    height: 8px;
  }
  .hero-presents-wrap {
    margin: 0 auto clamp(12px, 1.8vh, 18px);
  }
  .hero-presents-img {
    width: clamp(190px, 56vw, 240px);
  }
  .hero-stage h1.hero-heading-single,
  #hero-heading.hero-heading-single {
    font-size: clamp(2.35rem, 10.8vw, 3.8rem) !important;
    letter-spacing: -0.04em !important;
    margin-bottom: clamp(14px, 2vh, 20px) !important;
    line-height: 0.96 !important;
  }
  .h1-s4 {
    margin-left: clamp(6px, 1.5vw, 12px) !important;
  }
  .hero-lede {
    font-size: clamp(0.92rem, 3.8vw, 1.15rem);
    padding: 0 8px;
    margin-bottom: clamp(16px, 2.2vh, 22px);
  }
  .hero-stats {
    box-shadow: 3.5px 3.5px 0 var(--ink);
    border-width: 2px;
    margin-bottom: clamp(20px, 2.8vh, 28px);
  }
  .hero-stat {
    padding: 9px 20px;
  }
  .stat-val {
    font-size: clamp(1.15rem, 4.8vw, 1.55rem);
  }
  .stat-label {
    font-size: clamp(8.5px, 2.4vw, 10px);
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    margin: 0 auto;
  }
  .hero-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13.5px 20px;
    font-size: 13px;
  }

  /* Pop-Out Micro Orbital Positioning on Mobile (Zero Text Overlap & Symmetrical Constellation) */
  .popout-orbit-container {
    inset: -8px -6px -16px;
    pointer-events: none;
  }
  /* 1. Bulb: Top-Left open sky beside presents banner */
  .popout-bulb {
    width: 25px;
    top: 6px;
    left: 8px;
  }
  /* 2. Rocket / Mission: Top-Right open sky beside presents banner */
  .popout-rocket {
    width: 27px;
    top: 6px;
    right: 8px;
  }
  /* 3. Puzzle: Bottom-Left open zone below title, clear of all letters */
  .popout-puzzle {
    width: 23px;
    top: auto;
    bottom: -8px;
    left: 10px;
  }
  /* 4. Target / Bullseye: Bottom-Right open zone below title, clear of all letters */
  .popout-target {
    width: 23px;
    top: auto;
    bottom: -8px;
    right: 10px;
  }
  .popout-team { display: none; }
  .popout-laptop { display: none; }
  .popout-sparkle-1 { display: none; }
  .popout-sparkle-2 { display: none; }

  /* Background Scene Scaling on Mobile — Fills lower third organically */
  .hw-canopy-left { width: clamp(85px, 20vw, 130px); left: -6px; top: -6px; }
  .hw-canopy-right { width: clamp(85px, 20vw, 130px); right: -6px; top: -6px; }
  .hw-tree-left { width: clamp(105px, 25vw, 155px); left: -10px; opacity: 0.9; }
  .hw-tree-right-fore { width: clamp(100px, 23vw, 145px); right: 8px; opacity: 0.9; }
  .hw-tree-right-mid { width: clamp(80px, 19vw, 120px); right: 62px; opacity: 0.82; }
  .hw-scroll-far { height: clamp(125px, 21vh, 185px); }
  .hw-scroll-mid { height: clamp(100px, 17vh, 150px); }
  .hw-scroll-fore { height: clamp(78px, 13vh, 120px); }
  .hw-flower-strip { height: clamp(38px, 6vh, 52px); }

  /* Clock Deck Neo-Brutalist Mobile Optimization */
  .clock-deck-card {
    padding: clamp(16px, 4vw, 24px) clamp(12px, 3.5vw, 20px);
    gap: 16px;
    box-shadow: 4px 4px 0 var(--ink);
    border-width: 2px;
  }
  .clock-deck-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 12px;
  }
  .clock-status-pill {
    padding: 4px 10px;
    gap: 6px;
    max-width: 100%;
  }
  .clock-status-label {
    font-size: clamp(8.5px, 2.3vw, 10.5px);
    letter-spacing: 0.06em;
  }
  .clock-location-pill {
    font-size: clamp(9.5px, 2.4vw, 11px);
  }

  /* 4-Column Grid on Mobile so all 4 units NEVER wrap and stay in 1 solid row */
  .countdown-digits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(6px, 1.8vw, 12px);
    width: 100%;
    align-items: center;
    justify-items: center;
  }
  .cd-sep-block {
    display: none !important; /* Hide separator dots on mobile to guarantee a clean 4-unit row */
  }
  .cd-unit {
    width: 100%;
    gap: 6px;
  }
  .cd-slot {
    width: 100%;
    max-width: 82px;
    aspect-ratio: 1 / 1.05;
    height: auto;
    min-height: 56px;
    box-shadow: 3px 3px 0 var(--ink);
    border-width: 2px;
  }
  .cd-cur, .cd-next {
    font-size: clamp(1.4rem, 6.2vw, 2.2rem);
    letter-spacing: -0.025em;
  }
  .cd-unit-tag {
    font-size: clamp(7.5px, 2.1vw, 9.5px);
    padding: 2.5px 4px;
    letter-spacing: 0.08em;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    border-radius: 2px;
  }
  .clock-deck-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 12px;
  }
  .clock-meta-item {
    font-size: clamp(11.5px, 2.6vw, 12.5px);
    line-height: 1.35;
  }

  .foundation-layout { grid-template-columns: 1fr; }
  .about-more-text { display: none !important; }
  .foundation-graphic { position: static; max-width: 100%; margin-top: var(--sp-6); }
  .polaroid-collage { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto var(--sp-3); }
  .polaroid-1, .polaroid-2, .polaroid-3 { grid-column: 1; transform: rotate(0deg); margin: 0 0 16px 0; max-width: 100%; }
  .archive-note-card { max-width: 100%; }
  .rule-point-item { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px 16px; }
  .principles { grid-template-columns: 1fr; }
  .rounds { grid-template-columns: 1fr; }
  .stage-rail { flex-direction: column; align-items: flex-start; }
  .stage-rail::before { top: 20px; bottom: 20px; left: 22px; right: auto; width: 2px; height: auto; }
  .stage-rail::after { top: 20px; left: 22px; width: 2.5px; height: 0; }
  .stage-rail.rail-filled::after { width: 2.5px; height: calc(100% - 40px); }
  .stage-item { flex-direction: row; align-items: center; padding: 0 0 var(--sp-6) 0; gap: var(--sp-4); }

  .tl-desktop { display: none; }
  .tl-entries-v { display: flex; }

  .exp-grid { grid-template-columns: 1fr; }
  .prize-grid { grid-template-columns: 1fr; }
  .rewards-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rewards-note { text-align: left; max-width: 100%; align-self: flex-start; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .details { grid-template-columns: 1fr; }
  .archive-grid, .venue, .register { grid-template-columns: 1fr; }
  .archive-gallery { grid-template-rows: repeat(2, 120px); }
  .faq-list { margin-top: 40px; margin-left: 0; }
  /* Responsive Minimal Footer — Event Name + Designed By only */
  .site-footer {
    padding: 22px var(--section-x) 20px;
  }
  .footer-container {
    gap: 10px;
    align-items: center;
    text-align: center;
  }
  .footer-top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  .footer-brand .brand {
    padding-right: 0;
    border-right: none;
  }
  .footer-tagline {
    display: none !important;
  }
  .footer-nav {
    display: none !important; /* NO LINKS ON RESPONSIVE SCREEN */
  }
  .footer-bottom {
    padding-top: 8px;
    border-top: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .footer-copy {
    display: none !important;
  }
  .footer-credit {
    font: 700 12px var(--mono);
    text-align: center;
  }
  .back-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .hw-obj-3, .hw-obj-4, .hw-obj-6, .hw-obj-7, .hw-obj-8 { display: none; }
  .hw-tree-2, .hw-tree-3, .hw-tree-5, .hw-tree-6 { display: none; }
  .hw-leaf-3, .hw-leaf-4, .hw-leaf-7, .hw-leaf-8, .hw-leaf-9, .hw-leaf-10 { display: none; }
}

@media (max-width: 380px) {
  :root { --section-x: 14px; }
  .hero-stage {
    padding-top: 78px;
  }
  .hw-clouds {
    display: none !important;
  }
  .hero-stage h1.hero-heading-single,
  #hero-heading.hero-heading-single {
    font-size: clamp(1.95rem, 9.6vw, 2.45rem) !important;
    letter-spacing: -0.035em !important;
  }
  .clg-title {
    font-size: clamp(11.2px, 3.1vw, 12.8px) !important;
  }
  .hero-presents-img {
    width: 200px;
  }
  .hero-stats {
    padding: 0;
  }
  .stat-val {
    font-size: 1.15rem;
  }
  .stat-label {
    font-size: 8px;
  }
  .perks-grid { grid-template-columns: 1fr; }
  .date-lockup strong { font-size: clamp(2.8rem, 14vw, 4rem); }

  /* Chronometer deck ultra-compact screens refinement (down to 320px) */
  .clock-deck-card {
    padding: 14px 10px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .countdown-digits {
    gap: 4px;
  }
  .cd-slot {
    min-height: 48px;
    box-shadow: 2px 2px 0 var(--ink);
    border-width: 2px;
  }
  .cd-cur, .cd-next {
    font-size: 1.25rem;
  }
  .cd-unit-tag {
    font-size: 7px;
    padding: 2px 2px;
    letter-spacing: 0.05em;
  }
  .clock-status-label {
    font-size: 8px;
  }
  .clock-location-pill {
    font-size: 8.5px;
  }
  .clock-meta-item {
    font-size: 10.5px;
  }
}

/* =============================================================
   REDUCED MOTION (STOPS MOTION · PRESERVES ALL VISUALS)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast:   0ms;
    --dur-base:   0ms;
    --dur-slow:   0ms;
    --dur-reveal: 0ms;
  }
  *:not(.marquee-track):not(.marquee-track *),
  *:not(.marquee-track):not(.marquee-track *)::before,
  *:not(.marquee-track):not(.marquee-track *)::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track {
    animation: marquee-scroll 24s linear infinite !important;
    animation-duration: 24s !important;
    animation-iteration-count: infinite !important;
  }
  .hw-scroll-far, .hw-scroll-mid, .hw-scroll-fore,
  .hw-cloud, .hw-obj, .hw-node,
  .hw-tree, .hw-leaf {
    animation: none !important;
  }
  .reveal, .reveal.will-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =============================================================
   ACCESSIBLE FOCUS STATES
   ============================================================= */
.faq-question:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
footer a:focus-visible,
.menu-toggle:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav a:focus-visible,
.skip-link:focus,
.gallery-item:focus-visible,
.org-social:focus-visible,
.modal-close-btn:focus-visible,
.modal-action-btn:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 4px;
}

/* =============================================================
   POSTPONED ANNOUNCEMENT MODAL & NOTICES
   ============================================================= */

/* Body scroll lock when modal open */
body.modal-open {
  overflow: hidden;
}

/* Modal Overlay Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
  opacity: 0;
  visibility: hidden;
  cursor: default;
  transition: opacity 0.28s var(--ease-standard), visibility 0.28s var(--ease-standard);
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

/* Modal Dialog Window */
.modal-dialog {
  position: relative;
  background: var(--surface);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 0;
  max-width: 560px;
  width: 100%;
  overflow: hidden;
  cursor: default;
  transform: translateY(22px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.modal-backdrop.is-active .modal-dialog {
  transform: translateY(0) scale(1);
}

/* Modal Top Color Accent Bar */
.modal-top-accent {
  display: block;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, #22C55E 0%, #10B981 25%, #06B6D4 50%, #3B82F6 75%, #F59E0B 100%);
  border-bottom: 2px solid var(--ink);
}

/* Modal Close Button */
.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 22px / 1 var(--mono);
  color: var(--ink);
  cursor: pointer;
  z-index: 10;
  transition:
    transform  var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard),
    background var(--dur-fast) var(--ease-standard),
    color      var(--dur-fast) var(--ease-standard);
}

.modal-close-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--red-light);
  color: var(--red);
}

.modal-close-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* Modal Inner Content */
.modal-content {
  padding: clamp(22px, 3.8vw, 34px);
}

/* Live Pill Badge */
.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8F5E9;
  color: #14532D;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 0;
  padding: 4px 12px;
  font: 800 11px / 1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
  animation: live-dot-pulse 2s infinite ease-in-out;
}

/* Modal Title */
.modal-title {
  font: 900 clamp(1.65rem, 3.8vw, 2.3rem) / 1.06 var(--display);
  letter-spacing: -0.035em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-title .modal-title-accent {
  color: var(--green);
  display: inline-block;
}

/* Modal Lead Copy */
.modal-lead {
  font: 500 clamp(0.92rem, 1.35vw, 1.02rem) / 1.5 var(--body);
  color: #334155;
  margin-bottom: 18px;
}

/* Modal Facts Grid */
.modal-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.modal-fact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  border-radius: 0;
  padding: 9px 12px;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}

.modal-fact-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3.5px 3.5px 0 var(--green);
}

.modal-fact-icon {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--ink);
  background: #FFFFFF;
  border-radius: 0;
  color: var(--green);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  transition: all var(--dur-fast) var(--ease-standard);
}

.modal-fact-card:hover .modal-fact-icon {
  background: var(--green);
  color: #FFFFFF;
}

.modal-fact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.modal-fact-label {
  font: 800 9.5px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
}

.modal-fact-val {
  font: 800 clamp(11.5px, 1.25vw, 13px) var(--display);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.modal-btn-register {
  flex: 1.4;
  justify-content: center;
  text-align: center;
  padding: 13px 18px;
  font: 800 13.5px var(--mono);
  text-decoration: none;
  border-width: 2.5px;
  border-color: var(--ink);
  border-radius: 0;
}

.modal-btn-explore {
  flex: 1;
  justify-content: center;
  text-align: center;
  padding: 13px 16px;
  font: 800 13px var(--mono);
  border-width: 2.5px;
  border-color: var(--ink);
  cursor: pointer;
  border-radius: 0;
}

@media (max-width: 520px) {
  .modal-content {
    padding: 22px 16px 20px;
  }
  .modal-title {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
  }
  .modal-facts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }
  .modal-fact-card {
    padding: 8px 10px;
    gap: 8px;
  }
  .modal-fact-icon {
    font-size: 18px;
  }
  .modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  .modal-btn-register,
  .modal-btn-explore {
    width: 100%;
    flex: none;
    padding: 13px 16px;
  }
}

/* =============================================================
   COUNTDOWN POSTPONED NOTICE CARD (Under 01 / The Clock is Running)
   ============================================================= */
.countdown-postponed-card {
  background: var(--surface);
  border: var(--border-ink);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius-sm);
  padding: clamp(22px, 3.5vw, 36px);
  position: relative;
  max-width: 820px;
  margin-top: 14px;
}

.countdown-postponed-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
}

.cp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-light);
  color: var(--red-dark);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font: 700 10.5px var(--mono);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.cp-badge-postponed {
  font: 800 11px var(--mono);
  letter-spacing: var(--tracking-wider);
  background: var(--ink);
  color: var(--yellow);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.cp-title {
  font: 800 clamp(1.25rem, 2.4vw, 1.75rem) / 1.25 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.cp-desc {
  font: 400 clamp(0.92rem, 1.3vw, 1.05rem) / 1.55 var(--body);
  color: var(--gray-600);
  margin-bottom: 18px;
}

.cp-meta-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 24px);
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: var(--border-thin);
}

.cp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13px var(--mono);
  color: var(--ink);
}

/* =============================================================
   TIMELINE POSTPONED NOTICE (Under 05 / The Road Ahead)
   ============================================================= */
.tl-postponed-notice {
  background: var(--surface);
  border: var(--border-card);
  box-shadow: var(--shadow-hard-sm);
  padding: 16px 20px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 640px;
}

.tl-postponed-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  border: 1px solid var(--ink);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font: 700 10px var(--mono);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  flex-shrink: 0;
}

.tl-postponed-text {
  font: 500 13.5px / 1.45 var(--body);
  color: var(--ink);
  margin: 0;
}
