/* ==========================================================================
   AAVISHKAR MANTHAN — Design tokens
   ========================================================================== */
:root {
  /* -- Colour system -------------------------------------------------- */
  --ink: #17181C;
  /* graphite / primary dark */
  --ink-soft: #2B2C33;
  --paper: #FBFAF8;
  /* cool near-white */
  --paper-dim: #F1EFEB;
  --line: #E4E1DA;
  --line-dark: #34353D;

  --ember: #E15320;
  /* primary accent — flame orange   */
  --ember-dim: #B7431A;
  --amber: #F0A537;
  /* secondary accent — speech gold  */
  --teal: #1B7C86;
  /* tertiary accent — dot teal      */
  --sage: #7FB06B;
  /* walkathon green                 */

  --text-1: #17181C;
  --text-2: #57585F;
  --text-inv-1: #FBFAF8;
  --text-inv-2: #ADAEB6;

  /* -- Type ------------------------------------------------------------ */
  --f-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* -- Layout ----------------------------------------------------------- */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;

  --ease: cubic-bezier(.16, .8, .24, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-1);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

::selection {
  background: var(--ember);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.hidden {
  display: none !important;
}

/* -- Eyebrow / labels --------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--ember);
  display: inline-block;
}

.eyebrow.inv {
  color: var(--amber);
}

/* -- Buttons -------------------------------------------------------------*/
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--f-mono);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform .35s var(--ease);
  flex: none;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
}

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

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost-dark:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(251, 250, 248, 0.4);
}

.btn-ghost-light:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: translateY(-2px);
}

.btn-line {
  background: transparent;
  color: var(--ember);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.btn-line::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 8px;
  height: 1px;
  background: var(--ember);
  transition: right .4s var(--ease);
}

.btn-line:hover::after {
  right: 0;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: .45;
  pointer-events: none;
}

/* ==========================================================================
   Blueprint decorative system (signature motif)
   ========================================================================== */
.tick {
  position: relative;
}

.tick::before,
.tick::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  opacity: .35;
}

.corner-frame {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
}

.corner-frame::before,
.corner-frame::after,
.corner-frame .cf-br,
.corner-frame .cf-bl {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
}

.corner-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--ember);
  border-left: 2px solid var(--ember);
}

.corner-frame::after {
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--ember);
  border-right: 2px solid var(--ember);
}

.corner-frame .cf-br {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--ember);
  border-right: 2px solid var(--ember);
}

.corner-frame .cf-bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid var(--ember);
  border-left: 2px solid var(--ember);
}

.grid-field {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.grid-field.on-light {
  background-image:
    linear-gradient(to right, rgba(23, 24, 28, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 24, 28, .05) 1px, transparent 1px);
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>* {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav.scrolled {
  padding: 12px 0;
  background: rgba(23, 24, 28, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: rgba(255, 255, 255, .08);
}

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

.brand-mark {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}

.brand-word {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--paper);
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-brand .brand {
  margin-bottom: 2px;
}

.footer-brand .brand-mark {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-brand .brand-word {
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ember);
  transition: right .35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--paper);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  align-items: center;
  justify-content: center;
  color: var(--paper);
}

.hamburger span {
  position: relative;
  width: 16px;
  height: 10px;
  display: block;
}

.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}

.hamburger span::before {
  top: 0;
}

.hamburger span::after {
  top: 100%;
}

.hamburger.is-open span::before {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.is-open span::after {
  top: 5px;
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 480;
  display: flex;
  flex-direction: column;
  padding: 96px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}

.mobile-panel.is-open {
  transform: translateY(0);
}

.mobile-panel a {
  font-family: var(--f-display);
  font-size: clamp(18px, 5vw, 26px);
  color: var(--paper);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mobile-panel .btn {
  margin-top: 28px;
  align-self: flex-start;
}

/* ==========================================================================
   Sections — shared
   ========================================================================== */
.section {
  position: relative;
  padding: clamp(72px, 11vw, 140px) 0;
}

.section-dark {
  background: var(--ink);
  color: var(--text-inv-1);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin-top: 14px;
}

.section-head p {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 17px;
  max-width: 52ch;
}

.section-dark .section-head p {
  color: var(--text-inv-2);
}

.section-foot {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.kicker-num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--text-2);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: auto;
  padding-top: clamp(110px, 13vh, 150px);
  padding-bottom: clamp(54px, 7vh, 84px);
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 82% 8%, rgba(225, 83, 32, .35), transparent 60%),
    radial-gradient(ellipse 50% 45% at 8% 92%, rgba(240, 165, 55, .16), transparent 60%),
    linear-gradient(180deg, #17181C 0%, #1D1E24 60%, #17181C 100%);
}

.hero-mark {
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 26vw, 360px);
  opacity: .85;
  filter: drop-shadow(0 24px 60px rgba(225, 83, 32, .25));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-chapter {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 78px);
  line-height: .96;
  text-transform: uppercase;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--ember);
}

.hero-sub {
  margin-top: 26px;
  max-width: 56ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-inv-2);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 640px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-meta .m-label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-inv-2);
}

.hero-meta .m-val {
  font-family: var(--f-display);
  font-size: clamp(18px, 2vw, 22px);
  margin-top: 6px;
  color: var(--paper);
}

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-inv-2);
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--ember), transparent);
  animation: scrollcue 2.2s ease-in-out infinite;
}

@keyframes scrollcue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.about-copy p {
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.pillars {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 32px;
}

.pillar {
  background: var(--paper);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.pillar .p-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ember);
  padding-top: 3px;
}

.pillar h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.pillar p {
  color: var(--text-2);
  font-size: 14.5px;
}

.about-card {
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 36px);
  background: var(--paper-dim);
}

.about-card .award {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ember);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.about-card h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-top: 12px;
  line-height: 1.15;
}

.about-card p {
  color: var(--text-2);
  margin-top: 14px;
  font-size: 15px;
}

.org-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.org-chip {
  flex: 1;
  border: 1px solid var(--line);
  padding: 16px;
  background: var(--paper);
}

.org-chip .o-name {
  font-family: var(--f-display);
  font-size: 15px;
}

.org-chip .o-desc {
  color: var(--text-2);
  font-size: 12.5px;
  margin-top: 6px;
  line-height: 1.5;
}

/* ==========================================================================
   Events grid
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  background: transparent;
  border: none;
}

.event-card {
  position: relative;
  background: var(--ink);
  padding: clamp(32px, 3.6vw, 52px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}

.event-card .ec-index {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-inv-2);
  letter-spacing: .1em;
}

.event-card .ec-logo {
  height: 52px;
  width: auto;
  margin-top: 22px;
  object-fit: contain;
  object-position: left;
}

.event-card h3 {
  display: none;
}

.event-card p {
  color: var(--text-inv-2);
  font-size: 15px;
  margin-top: 18px;
  max-width: 44ch;
}

.event-card .ec-foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.event-card .ec-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.event-card .ec-tags span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-inv-2);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 5px 9px;
}

.event-card .ec-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .24;
  pointer-events: none;
  right: -90px;
  top: -90px;
}

.event-card:nth-child(1) .ec-glow {
  background: var(--ember);
}

.event-card:nth-child(2) .ec-glow {
  background: var(--amber);
}

.event-card:nth-child(3) .ec-glow {
  background: var(--sage);
}

.event-card:nth-child(4) .ec-glow {
  background: var(--ember);
}

.event-card .ec-link {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  padding-bottom: 4px;
  transition: border-color .3s var(--ease), gap .3s var(--ease), color .3s var(--ease);
}

.event-card .ec-link svg {
  width: 13px;
  height: 13px;
  transition: transform .3s var(--ease);
}

.event-card:hover .ec-link {
  border-color: var(--ember);
  color: var(--ember);
}

.event-card:hover .ec-link svg {
  transform: translateX(4px);
}

.event-card:hover {
  background: #1D1E24;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .18);
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  50% {
    transform: translateY(-54%) scale(1.02);
  }
}

@keyframes prizeGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(240, 165, 55, 0.25));
  }

  50% {
    filter: drop-shadow(0 0 45px rgba(225, 83, 32, 0.55));
  }
}

@keyframes tagPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes buttonShine {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.hero-mark {
  animation: heroFloat 8s ease-in-out infinite;
}

.prize-figure {
  animation: prizeGlow 4s ease-in-out infinite;
}

.btn-primary {
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(25deg);
  transition: none;
}

.btn-primary:hover::after {
  animation: buttonShine 0.85s ease-in-out;
}

/* ==========================================================================
   Events list — horizontal card redesign (light section)
   ========================================================================== */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border: none;
}

.event-item {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 42px 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  border-left: 5px solid transparent;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  transition: all .4s var(--ease);
  position: relative;
}

.event-item:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.09);
}

.event-item:nth-child(1):hover {
  border-left-color: var(--ember);
}

.event-item:nth-child(2):hover {
  border-left-color: var(--amber);
}

.event-item:nth-child(3):hover {
  border-left-color: var(--sage);
}

.event-item:nth-child(4):hover {
  border-left-color: var(--ember);
}

.ei-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ei-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}

.ei-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  object-position: left;
  max-width: 300px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
  transition: transform .4s var(--ease), filter .4s var(--ease);
}

.event-item:hover .ei-logo {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
}

.ei-body {}

.ei-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ei-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-2);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 3px;
  transition: transform .3s var(--ease);
}

.event-item:hover .ei-tag {
  transform: translateY(-1px);
}

.ei-tag.ember-tag {
  color: var(--ember);
  border-color: var(--ember);
  background: rgba(225, 83, 32, .08);
  font-weight: 600;
}

.ei-tag.amber-tag {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(240, 165, 55, .1);
  font-weight: 600;
}

.ei-tag.sage-tag {
  color: var(--sage);
  border-color: var(--sage);
  background: rgba(127, 176, 107, .1);
  font-weight: 600;
}

.ei-body p {
  color: var(--text-2);
  font-size: 15.5px;
  max-width: 54ch;
  line-height: 1.68;
}

.ei-cta {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  border-bottom: 2px solid var(--line);
  padding-bottom: 6px;
  flex: none;
  transition: border-color .3s var(--ease), gap .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.ei-cta svg {
  width: 14px;
  height: 14px;
  transition: transform .3s var(--ease);
}

.event-item:hover .ei-cta {
  border-color: var(--ember);
  color: var(--ember);
  transform: translateX(3px);
}

.event-item:hover .ei-cta svg {
  transform: translateX(6px);
}

.detail-page {
  display: none;
}

.detail-page.is-active {
  display: block;
}

.detail-hero {
  position: relative;
  padding: 170px 0 80px;
  color: var(--paper);
  overflow: hidden;
}

.detail-hero .hero-bg {
  opacity: 1;
}

.detail-hero .container {
  position: relative;
  z-index: 2;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  margin-bottom: 30px;
  transition: color .3s var(--ease);
}

.detail-back:hover {
  color: var(--paper);
}

.detail-back svg {
  width: 13px;
  height: 13px;
  transform: rotate(180deg);
}

.detail-hero-logo {
  height: 90px;
  width: auto;
  margin-bottom: 26px;
}

.detail-hero h1 {
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1;
  text-transform: uppercase;
  max-width: 16ch;
}

.detail-hero .hero-sub {
  margin-top: 22px;
}

.detail-hero .hero-cta-row {
  margin-top: 36px;
}

.detail-body {
  padding: clamp(64px, 8vw, 110px) 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.detail-copy h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  margin-bottom: 16px;
}

.detail-copy .lede {
  font-size: 18px;
  color: var(--text-1);
  margin-bottom: 30px;
}

.detail-copy p {
  color: var(--text-2);
  margin-bottom: 18px;
  font-size: 16px;
}

.detail-block {
  margin-bottom: 44px;
}

.detail-block:last-child {
  margin-bottom: 0;
}

.num-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 8px;
}

.num-list li {
  background: var(--paper);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: baseline;
}

.num-list .n {
  font-family: var(--f-mono);
  color: var(--ember);
  font-size: 13px;
}

.num-list .t {
  font-size: 15px;
  color: var(--text-1);
}

.side-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--paper-dim);
  margin-bottom: 20px;
}

.side-card h4 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}

.side-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.side-fact:first-of-type {
  border-top: none;
  padding-top: 0;
}

.side-fact .k {
  color: var(--text-2);
}

.side-fact .v {
  font-family: var(--f-display);
  text-align: right;
}

.side-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.pill {
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  color: var(--text-2);
}

/* ==========================================================================
   Prize pool
   ========================================================================== */
.prize-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.prize-section .grid-field {
  opacity: .5;
}

.prize-inner {
  position: relative;
  z-index: 2;
}

.prize-eyebrow {
  justify-content: center;
}

.prize-figure {
  font-family: var(--f-display);
  font-size: clamp(72px, 16vw, 220px);
  line-height: .9;
  margin-top: 18px;
  background: linear-gradient(180deg, #fff 0%, var(--amber) 55%, var(--ember) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prize-caption {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  margin-top: 8px;
}

.prize-note {
  max-width: 52ch;
  margin: 26px auto 0;
  color: var(--text-inv-2);
  font-size: 15.5px;
}

/* ==========================================================================
   Countdown timer
   ========================================================================== */
.countdown-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.countdown-section .grid-field {
  opacity: .3;
}

.countdown-inner {
  position: relative;
  z-index: 2;
}

.countdown-eyebrow {
  justify-content: center;
}

.countdown-section h2 {
  font-size: clamp(28px, 4vw, 52px);
  margin-top: 14px;
}

.event-dates {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.date-sep {
  color: var(--ember);
  font-size: 20px;
  line-height: 1;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.cd-unit {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: clamp(20px, 3.5vw, 40px) clamp(22px, 4.5vw, 52px);
  min-width: 110px;
  text-align: center;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.cd-unit:hover {
  border-color: rgba(225, 83, 32, .5);
  background: rgba(225, 83, 32, .06);
}

.cd-num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(52px, 8.5vw, 92px);
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(180deg, #fff 0%, var(--amber) 55%, var(--ember) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cd-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  margin-top: 12px;
}

/* ==========================================================================
   Countdown timer — light variant
   ========================================================================== */
.countdown-section-light {
  background: var(--paper-dim);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.countdown-section-light .countdown-inner {
  position: relative;
  z-index: 2;
}

.countdown-section-light .countdown-eyebrow {
  justify-content: center;
}

.countdown-section-light h2 {
  font-size: clamp(28px, 4vw, 52px);
  margin-top: 14px;
  color: var(--ink);
}

.event-dates-light {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.date-sep-light {
  color: var(--ember);
  font-size: 20px;
  line-height: 1;
}

.countdown-grid-light {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.cd-unit-light {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(20px, 3.5vw, 40px) clamp(22px, 4.5vw, 52px);
  min-width: 110px;
  text-align: center;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

.cd-unit-light:hover {
  border-color: var(--ember);
  box-shadow: 0 8px 32px rgba(225, 83, 32, .12);
}

.cd-num-light {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(52px, 8.5vw, 92px);
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ember) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cd-label-light {
  display: block;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 12px;
}

/* ==========================================================================
   Sponsors (dark section) — Featured single sponsor layout
   ========================================================================== */

/* Keep old classes in case they're needed elsewhere, but hide them */
.sponsor-grid { display: none; }

/* ── Keyframes ── */
@keyframes sponsor-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes sponsor-glow-pulse {
  0%, 100% {
    opacity: .6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes shimmer-slide {
  0%   { left: -100%; }
  100% { left: 200%; }
}

@keyframes badge-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

/* ── Container ── */
.sponsor-featured {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
}

/* ── Card ── */
.sponsor-featured-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  width: min(520px, 90vw);
  padding: 52px 48px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  overflow: hidden;
  animation: sponsor-float 6s ease-in-out infinite;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  cursor: default;
}

.sponsor-featured-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(240, 165, 55, .4);
  box-shadow:
    0 0 0 1px rgba(240, 165, 55, .15),
    0 24px 80px rgba(0, 0, 0, .5),
    0 0 80px rgba(225, 83, 32, .12);
}

/* ── Ambient glow ring behind the card ── */
.sponsor-glow-ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(240, 165, 55, .18) 0%,
    rgba(225, 83, 32, .08) 40%,
    transparent 70%);
  animation: sponsor-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* ── Shimmer sweep ── */
.sponsor-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, .06) 50%,
    transparent 60%
  );
  animation: shimmer-slide 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* ── Logo image ── */
.sponsor-img-wrap {
  position: relative;
  z-index: 2;
  width: 340px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-logo-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter:
    brightness(1.05)
    drop-shadow(0 0 20px rgba(255, 255, 255, .2))
    drop-shadow(0 0 40px rgba(240, 165, 55, .12));
  transition: filter .45s var(--ease), transform .45s var(--ease);
}

.sponsor-featured-card:hover .sponsor-logo-img {
  filter:
    brightness(1.3)
    drop-shadow(0 0 28px rgba(255, 255, 255, .4))
    drop-shadow(0 0 60px rgba(240, 165, 55, .3));
  transform: scale(1.04);
}

/* ── Title Sponsor badge ── */
.sponsor-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(240, 165, 55, .12);
  border: 1px solid rgba(240, 165, 55, .35);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
}

.sponsor-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: badge-blink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Tagline beneath card ── */
.sponsor-tagline {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--text-inv-2);
  letter-spacing: .02em;
}

.sponsor-tagline strong {
  color: var(--paper);
  font-weight: 600;
}

/* ==========================================================================
   Timeline / schedule
   ========================================================================== */
.day-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  margin-bottom: 52px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.day-toggle button {
  background: transparent;
  border: none;
  padding: 13px 28px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  border-right: 1px solid var(--line);
  transition: background .3s var(--ease), color .3s var(--ease);
}

.day-toggle button:last-child {
  border-right: none;
}

.day-toggle button.active {
  background: var(--ink);
  color: var(--paper);
}

.timeline {
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--ember) 0%, var(--amber) 60%, var(--line) 100%);
  border-radius: 2px;
}

.t-day {
  display: none;
}

.t-day.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.t-row {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 0;
  border-bottom: none;
}

.t-time {
  font-family: var(--f-mono);
  font-size: 13.5px;
  color: var(--ember);
  padding-right: 24px;
  font-weight: 700;
  text-align: right;
  padding-top: 18px;
}

.t-content {
  position: relative;
  padding: 20px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .03);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.t-content:hover {
  transform: translateX(4px);
  border-color: var(--ember);
  box-shadow: 0 8px 24px rgba(225, 83, 32, .1);
}

.t-content::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ember);
  box-shadow: 0 0 0 4px rgba(225, 83, 32, .12);
  z-index: 2;
}

.t-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.t-content p {
  color: var(--text-2);
  font-size: 14.5px;
  margin-top: 6px;
  max-width: 56ch;
  line-height: 1.6;
}

/* ==========================================================================
   Register
   ========================================================================== */
.register-section {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.register-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.register-inner h2 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  margin-top: 18px;
}

.register-inner p {
  margin-top: 20px;
  color: var(--text-inv-2);
  font-size: 17px;
}

.register-big-btn {
  margin-top: 44px;
}

.register-big-btn .btn {
  padding: 20px 44px;
  font-size: 15px;
}

.register-fineprint {
  margin-top: 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-inv-2);
  letter-spacing: .04em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--text-inv-2);
  padding-top: 72px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand .brand-mark {
  height: 30px;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  max-width: 34ch;
  color: var(--text-inv-2);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.footer-social a:hover {
  background: var(--ember);
  border-color: var(--ember);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--paper);
  margin-bottom: 18px;
}

.footer-col li {
  margin-bottom: 12px;
  font-size: 14.5px;
}

.footer-col a {
  transition: color .3s var(--ease);
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-col .fc-static {
  color: var(--text-inv-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .03em;
}

/* ==========================================================================
   Responsive & Phone View Optimizations
   ========================================================================== */
@media (max-width:980px){
  .nav-links{ display:none; }
  .nav-cta .btn-primary{ display:none; }
  .hamburger{ display:flex; }
  .about-grid{ grid-template-columns:1fr; }
  .events-list{ gap:20px; }
  .event-item{
    grid-template-columns:1fr;
    gap:20px;
    padding:32px 30px;
  }
  .ei-left{ gap:12px; }
  .ei-logo{ height:72px; max-width:260px; }
  .ei-cta{ align-self:flex-start; }
  .detail-layout{ grid-template-columns:1fr; }
  .hero-meta{ grid-template-columns:repeat(3,1fr); gap:16px; }
  .hero-mark{ width:clamp(140px, 20vw, 220px); right:clamp(10px, 3vw, 30px); top:50%; transform:translateY(-50%); opacity:0.65; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .sponsor-featured-card{ width:min(440px, 88vw); padding:40px 32px; }
}

@media (max-width:640px){
  /* 1. Small Sleek Site Navigation on Phone */
  .site-nav{ padding:10px 0; background:rgba(23,24,28,0.92); backdrop-filter:blur(14px); }
  .site-nav.scrolled{ padding:8px 0; }
  .brand{ gap:8px; }
  .brand-mark{ height:22px; width:auto; display:block; flex-shrink:0; }
  .brand-word{ font-size:13px; font-weight:700; letter-spacing:0; }
  .hamburger{ width:34px; height:34px; border-radius:4px; padding:4px; }
  .hamburger span{ width:14px; height:8px; }

  /* 2. Hero Section Mobile — Remove Hero Mark Logo Completely */
  .hero{ min-height:auto; padding-top:90px; padding-bottom:44px; }
  .hero-mark{ display:none !important; }
  .hero-eyebrow-row{ flex-direction:column; align-items:flex-start; gap:6px; margin-bottom:16px; }
  .hero-chapter{
    font-size:10px;
    padding:5px 10px;
    letter-spacing:.08em;
    width:auto;
    display:inline-block;
    text-align:left;
  }
  .hero h1{
    font-size:clamp(30px, 8vw, 44px);
    line-height:1.04;
    letter-spacing:-0.02em;
  }
  .hero-sub{
    font-size:14px;
    line-height:1.6;
    margin-top:14px;
    color:var(--text-inv-2);
  }
  .hero-cta-row{ margin-top:24px; gap:10px; flex-direction:column; width:100%; }
  .hero-cta-row .btn{
    width:100%;
    justify-content:center;
    padding:14px 20px;
    font-size:12.5px;
  }
  .hero-meta{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    margin-top:30px;
    padding-top:16px;
  }
  .hero-meta > div{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    padding:10px 6px;
    border-radius:8px;
    text-align:center;
  }
  .hero-meta .m-label{ font-size:9px; letter-spacing:.04em; }
  .hero-meta .m-val{ font-size:13px; margin-top:3px; }
  .scroll-cue{ display:none; }

  /* Section Headings */
  .section{ padding:50px 0; }
  .section-head{ margin-bottom:30px; }
  .section-head h2{ font-size:clamp(24px, 6vw, 34px); line-height:1.1; }
  .section-head p{ font-size:14.5px; margin-top:10px; }

  /* Events Section Mobile */
  .events-list{ gap:14px; }
  .event-item{
    padding:22px 18px;
    border-radius:12px;
    background:#ffffff;
    box-shadow:0 4px 20px rgba(0,0,0,0.04);
    gap:12px;
  }
  .ei-left{ gap:8px; }
  .ei-num{ font-size:10.5px; }
  .ei-logo{ height:62px; max-width:200px; object-position:left; }
  .ei-cta{
    display:flex;
    width:100%;
    justify-content:space-between;
    align-items:center;
    padding:10px 14px;
    background:var(--paper-dim);
    border:1px solid var(--line);
    border-radius:6px;
    margin-top:10px;
    font-size:11.5px;
    font-weight:600;
  }
  .ei-tags{ gap:6px; margin-bottom:8px; }
  .ei-tag{ font-size:9.5px; padding:3px 8px; }
  .ei-body p{ font-size:13.5px; line-height:1.55; }

  /* Prize Pool Section Mobile */
  .prize-section{ padding:50px 0; }
  .prize-figure{ font-size:clamp(48px, 14vw, 86px); margin-top:10px; }
  .prize-caption{ font-size:11.5px; letter-spacing:.12em; }
  .prize-note{ font-size:13.5px; margin-top:14px; padding:0 6px; }

  /* Countdown Section Mobile */
  .countdown-section-light{ padding:50px 0; }
  .countdown-section-light h2{ font-size:clamp(22px, 5.5vw, 32px); }
  .event-dates-light{ font-size:11px; flex-direction:column; gap:4px; margin-top:10px; }
  .date-sep-light{ display:none; }
  .countdown-grid-light{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:6px;
    margin-top:24px;
  }
  .cd-unit-light{
    padding:14px 4px;
    border-radius:8px;
    min-width:0;
  }
  .cd-num-light{ font-size:clamp(24px, 6.5vw, 38px); }
  .cd-label-light{ font-size:8.5px; letter-spacing:.06em; margin-top:3px; }

  /* Sponsors Mobile */
  .sponsor-featured-card{ width:92vw; padding:32px 20px; border-radius:16px; }
  .sponsor-img-wrap{ width:240px; }
  .sponsor-tagline{ font-size:13px; }

  /* 3. Perfectly Settled Mobile Timeline Schedule */
  .day-toggle{ width:100%; margin-bottom:28px; border-radius:6px; }
  .day-toggle button{ flex:1; padding:11px 0; font-size:11.5px; text-align:center; }
  .timeline{ padding-left:0; }
  .timeline::before{ left:12px; top:12px; bottom:12px; width:2px; background:linear-gradient(180deg, var(--ember) 0%, var(--amber) 100%); }
  .t-day.active{ gap:16px; }
  .t-row{
    display:flex;
    flex-direction:column;
    gap:6px;
    padding:16px 18px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#ffffff;
    box-shadow:0 4px 16px rgba(0,0,0,0.03);
    margin-left:32px;
    position:relative;
  }
  .t-time{
    display:inline-flex;
    align-self:flex-start;
    font-size:11px;
    font-weight:700;
    color:var(--ember);
    background:rgba(225,83,32,0.08);
    border:1px solid rgba(225,83,32,0.2);
    padding:3px 9px;
    border-radius:4px;
    margin-bottom:2px;
    text-align:left;
  }
  .t-content{
    padding:0;
    background:transparent;
    border:none;
    box-shadow:none;
    display:flex;
    flex-direction:column;
  }
  .t-content::before{ display:none; }
  .t-row::before{
    content:'';
    position:absolute;
    left:-27px;
    top:20px;
    width:11px;
    height:11px;
    border:3px solid var(--ember);
    background:#ffffff;
    border-radius:50%;
    box-shadow:0 0 0 3px rgba(225,83,32,0.15);
    z-index:2;
  }
  .t-content h4{ font-size:15px; font-weight:700; color:var(--ink); margin-bottom:2px; }
  .t-content p{ font-size:13px; color:var(--text-2); margin-top:2px; line-height:1.5; }

  /* Register Section Mobile */
  .register-section{ padding:50px 0; }
  .register-inner h2{ font-size:clamp(26px, 6.5vw, 42px); }
  .register-inner p{ font-size:14px; margin-top:12px; }
  .register-big-btn{ margin-top:28px; }
  .register-big-btn .btn{ width:100%; justify-content:center; padding:16px 20px; }

  /* 4. Upgraded Mobile Footer */
  .site-footer{ padding-top:40px; padding-bottom:20px; background:#121317; }
  .footer-top{ display:flex; flex-direction:column; gap:24px; padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,0.08); }
  .footer-brand p{ font-size:13px; line-height:1.55; color:var(--text-inv-2); margin-top:12px; }
  .footer-social{ display:flex; gap:10px; margin-top:16px; flex-wrap:wrap; }
  .footer-social a{
    width:40px; height:40px; border-radius:8px; background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.12); display:flex; align-items:center; justify-content:center;
  }
  .footer-social a:hover{ background:var(--ember); border-color:var(--ember); }
  .footer-col h5{ font-size:11px; margin-bottom:10px; color:var(--paper); letter-spacing:0.1em; }
  .footer-col li{ margin-bottom:8px; font-size:13px; }
  .footer-bottom{ flex-direction:column; text-align:center; gap:6px; padding-top:20px; padding-bottom:10px; font-size:11px; }

  /* Event Detail Pages Mobile */
  .detail-hero{ padding:90px 0 36px; }
  .detail-hero h1{ font-size:clamp(26px, 7vw, 42px); }
  .detail-hero-logo{ height:60px; margin-bottom:16px; }
  .detail-body{ padding:40px 0; }
  .num-list li{ grid-template-columns:26px 1fr; gap:8px; padding:12px 14px; }
  .side-card{ padding:18px; border-radius:8px; }
}

@media (max-width:380px){
  .hero h1{ font-size:26px; }
  .hero-meta .m-val{ font-size:12px; }
  .event-item{ padding:18px 14px; }
  .ei-logo{ height:52px; max-width:140px; }
  .countdown-grid-light{ grid-template-columns:repeat(2, 1fr); gap:6px; }
  .cd-unit-light{ padding:12px 6px; }
  .cd-num-light{ font-size:28px; }
  .sponsor-featured-card{ padding:24px 14px; }
  .sponsor-img-wrap{ width:190px; }
}