/* hallmark: v2.0.0 · project: skillcetera · genre: editorial · theme: custom (existing system) · sig: two-tone headline em split · stamp: 2026-10-26 */
/* critique: strong identity system, literal rgba/hex values scattered throughout need tokenisation; overflow-x:hidden on body must be clip */
/* waive: 38i — italic em in headings is the system's two-tone headline identity, one accent-coloured word per section heading is the signature device */
/* waive: 63a — arrows in aria-hidden spans on CTAs; pill middle-dot separators are the established label syntax for this system */
/* waive: 54 — tracked-cap pills are the project's section label language, replacing would require full system redesign */

@import url('./tokens.css');

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

html {
  background: var(--bg-root);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

button, a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.panel:focus-visible {
  outline: none;
}

img, video {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

::selection {
  background: var(--ink);
  color: var(--white);
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 120;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* Intro Backdrop & App Container (Petalyx style) */
.backdrop {
  position: fixed;
  inset: -40px;
  z-index: 0;
  background: url('/assets/discussion-forum.webp') center 50% / cover no-repeat;
  filter: blur(20px) saturate(1.1) brightness(0.92);
  transform: scale(1.25);
  pointer-events: none;
}

#app {
  position: relative;
  z-index: 1;
  background: var(--bg);
  transform-origin: 50% 50vh;
  overflow: clip;
}

body.intro #app {
  transform: scale(0.92);
  border-radius: 28px;
}

/* Shared Petalyx-style Components */
.section-shell {
  padding-inline: var(--gutter);
  max-width: 1440px;
  margin-inline: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--ink);
  letter-spacing: 0.03em;
}

.pill-esc {
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.pill-tedx {
  background: var(--red-soft);
  color: var(--red-ink);
}

.h2 {
  font-size: clamp(28px, 3.3vw, 48px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-align: center;
}

.h2 em,
.hero-headline em {
  font-style: italic;
  font-weight: 600;
  color: var(--blue);
}

.event-tedx .h2 em {
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 var(--white-25), 0 3px 10px var(--black-16);
  transition: transform 0.25s, background 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--ink-hover);
}

.btn-esc {
  background: var(--blue);
  box-shadow: inset 0 1px 0 var(--white-3), 0 4px 12px var(--blue-dim-28);
}
.btn-esc:hover {
  background: var(--blue-hover);
}

.btn-tedx {
  background: var(--red);
  box-shadow: inset 0 1px 0 var(--white-3), 0 4px 12px var(--red-dim-28);
}
.btn-tedx:hover {
  background: var(--red-hover);
}

.btn-light {
  background: var(--white-85);
  color: var(--ink);
  border: 1px solid var(--black-14);
  box-shadow: 0 2px 8px var(--black-8);
}
.btn-light:hover {
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  padding-block: 6px;
  border-bottom: 1px solid currentColor;
}

.w {
  display: inline-block;
  will-change: transform, filter, opacity;
}

.glass {
  position: absolute;
  border-radius: 12px;
  background: var(--white-18);
  border: 1px solid var(--white-58);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 var(--white-42);
}

.grid-sq {
  position: absolute;
  width: clamp(28px, 3.2vw, 46px);
  aspect-ratio: 1;
  opacity: 0.24;
  border: 1px solid var(--line);
  border-radius: 10px;
  pointer-events: none;
}

.sq-field {
  position: absolute;
  inset: 0 0 auto;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}

.hero-glass > .glass {
  opacity: 0.24;
}

/* Interactive cursor frosted squares motion */
#cursor-squares-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  overflow: hidden;
}

.cursor-sq {
  position: absolute;
  pointer-events: none;
  border-radius: 8px;
  background: var(--white-45);
  border: 1.2px solid var(--white-88);
  box-shadow: 0 4px 14px var(--black-8), inset 0 0 0 1px var(--white-45);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  backdrop-filter: blur(6px) saturate(1.2);
  will-change: transform, opacity;
  transform-origin: center center;
  animation: cursorSqPopFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cursor-sq.accent-esc {
  background: var(--blue-dim-16);
  border-color: var(--blue-dim-70);
  box-shadow: 0 4px 16px var(--blue-dim-25), inset 0 0 0 1px var(--blue-dim-35);
}

.cursor-sq.accent-tedx {
  background: var(--red-dim-15);
  border-color: var(--red-dim-70);
  box-shadow: 0 4px 16px var(--red-dim-22), inset 0 0 0 1px var(--red-dim-35);
}

@keyframes cursorSqPopFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25) rotate(var(--rot-start, -12deg));
  }
  18% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.05) rotate(var(--rot-mid, 0deg));
  }
  38% {
    opacity: 0.82;
    transform: translate(-50%, calc(-50% - 6px)) scale(1) rotate(var(--rot-mid, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% - 22px)) scale(0.6) rotate(var(--rot-end, 18deg));
  }
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  #cursor-squares-layer {
    display: none !important;
  }
}

@keyframes driftA {
  to {
    transform: translateX(26px) translateY(5px);
  }
}
@keyframes driftB {
  to {
    transform: translateX(-28px) translateY(6px);
  }
}
.drift-a {
  animation: none;
}
.drift-b {
  animation: none;
}

/* Floating Pill Navigation (.site-header.nav) */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  width: fit-content;
  max-width: calc(100% - 28px);
  height: 52px;
  margin: 0 auto -52px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--white-9);
  box-shadow: 0 0 0 1px var(--black-6), 0 8px 24px var(--black-7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.brand-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-dot {
  color: var(--red);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12.5px;
  font-weight: 500;
}

.desktop-nav a {
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current]::after {
  transform: scaleX(1);
}

.nav-esc {
  --nav-accent: var(--blue);
}
.nav-tedx {
  --nav-accent: var(--red);
}
.desktop-nav a[aria-current] {
  color: var(--nav-accent, var(--ink));
  font-weight: 600;
}

.menu-toggle {
  display: none;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav {
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  background: var(--white-98);
  border-radius: 20px;
  box-shadow: 0 14px 36px var(--black-8);
  border: 1px solid var(--line);
  padding: 14px 20px;
  display: grid;
  gap: 2px;
}

.mobile-nav a {
  padding: 11px 4px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child {
  border-bottom: none;
}

/* 1. HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--bg);
}

.cloud {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.cloud-l {
  top: -4%;
  left: -6%;
  width: min(44vw, 620px);
  height: 260px;
}
.cloud-r {
  top: 1%;
  right: -6%;
  width: min(42vw, 600px);
  height: 260px;
}

.cloud-aura {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: radial-gradient(closest-side, var(--blue-dim-16), var(--blue-dim-16) 65%, transparent 100%);
  filter: blur(16px);
}
.cloud-aura-red {
  background: radial-gradient(closest-side, var(--red-dim-15), var(--red-dim-15) 65%, transparent 100%);
}

.hero-copy {
  position: absolute;
  z-index: 6;
  top: 11%;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  text-align: center;
}

.hero-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-event-links {
  display: inline-flex;
  gap: 8px;
}

.blue-square,
.red-square {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
}
.red-square {
  background: var(--red);
}

.hero-headline {
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
  max-width: 980px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.hero-media {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: none;
  image-rendering: auto;
}
.hero:hover .hero-media img {
  filter: none;
  transform: none;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--dark-overlay) 0%, transparent 60%);
  pointer-events: none;
}

.hero-photo-overlay {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}

.image-credit {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--white-78);
}

.hero-glass {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

/* 2. ABOUT & 3 MISSIONS (Petalyx #loop 3-Panel Hover Accordion) */
.loop {
  position: relative;
  height: clamp(560px, 78vh, 680px);
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.loop-cloud {
  position: absolute;
  z-index: 3;
  top: 4vh;
  left: -4vw;
  width: min(36vw, 480px);
  height: 220px;
  pointer-events: none;
}

.loop-head {
  position: absolute;
  z-index: 4;
  top: 32px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  text-align: center;
  pointer-events: none;
}

.about-lead {
  max-width: 620px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--gray);
}

.track {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
}

.panel {
  position: relative;
  flex: 0 0 clamp(104px, 12vw, 180px);
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line);
  cursor: pointer;
  outline: none;
  transition: flex-grow 0.9s cubic-bezier(0.77, 0, 0.18, 1), background-color 0.4s;
}
.panel:last-child {
  border-right: none;
}
.panel.is-active {
  flex-grow: 1;
  cursor: default;
  background: linear-gradient(180deg, transparent 50%, var(--white-55) 100%);
}

.panel-in {
  position: absolute;
  left: clamp(16px, 2vw, 32px);
  bottom: clamp(24px, 4vh, 40px);
  display: flex;
  align-items: flex-end;
  gap: clamp(16px, 2.2vw, 32px);
  width: max-content;
}

.num {
  font-size: clamp(140px, 26vh, 260px);
  font-weight: 700;
  line-height: 0.76;
  letter-spacing: -0.07em;
  user-select: none;
}

.panel:nth-child(1) .num {
  color: var(--ink);
}
.panel:nth-child(2) .num {
  color: var(--blue);
}
.panel:nth-child(3) .num {
  color: var(--red);
}

.step {
  position: relative;
  width: min(420px, 32vw);
  padding-bottom: 6px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s, transform 0.45s ease;
}

.panel.is-active .step {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s 0.25s, transform 0.65s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.step .pill {
  margin-bottom: 12px;
}

.step h3 {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
}

/* 3 & 4. Annual event frames: normal document flow, no sticky travel or image zoom. */
.event-scene {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--line);
  scroll-margin-top: 76px;
}

.event-inner {
  position: relative;
  height: clamp(600px, 84vh, 720px);
  overflow: hidden;
  background: var(--bg);
}

.event-scene[data-motion-fit="true"] > .event-inner {
  height: var(--event-frame-height);
}

.event-counter-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.tree-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 0;
  bottom: 0;
  transform: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  pointer-events: none;
}

.tree-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.82);
  transform: none;
}

.tree-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--dark-scene-a) 0%, var(--dark-scene-b) 40%, var(--dark-scene-c) 100%);
  pointer-events: none;
}

.esc-bars {
  display: flex;
  position: absolute;
  align-items: flex-end;
  bottom: 14px;
  left: 14px;
  gap: 5px;
  height: 56px;
}
.esc-bars i {
  width: 8px;
  height: 24px;
  background: var(--blue);
  display: block;
  border-radius: 2px;
}
.esc-bars i:nth-child(2) { height: 42px; }
.esc-bars i:nth-child(3) { height: 56px; }
.esc-bars i:nth-child(4) { height: 34px; }
.esc-bars i:nth-child(5) { height: 20px; }

.tedx-frame {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-top: 5px solid var(--red);
  border-right: 5px solid var(--red);
}

.tedx-inline span {
  color: var(--red);
  font-weight: 800;
}

.stats-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 16px 20px;
}

.event-description {
  max-width: 580px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
}

.cards {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(920px, 100%);
}

.card {
  height: 134px;
  padding: 16px 20px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  -webkit-mask:
    radial-gradient(circle 15px at 0 55%, #0000 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 15px at 100% 55%, #0000 97%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 15px at 0 55%, #0000 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 15px at 100% 55%, #0000 97%, #000) right / 51% 100% no-repeat;
}

.card-esc {
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.card-tedx {
  background: var(--red-soft);
  color: var(--red-ink);
}

/* Event Scene Immersive Full Backdrop Overrides */
.event-scene .h2 {
  color: var(--white);
  text-shadow: 0 4px 24px var(--black-60);
}

.event-scene .event-description {
  max-width: 620px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--white-9);
  text-shadow: 0 2px 14px var(--black-70);
}

.event-scene .card-esc {
  background: var(--dark-card);
  color: var(--white);
  border: 1px solid var(--blue-dim-35);
  border-top: 3.5px solid var(--blue);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 16px 36px var(--shadow-scene);
}

.event-scene .card-tedx {
  background: var(--dark-card-tedx);
  color: var(--white);
  border: 1px solid var(--red-dim-35);
  border-top: 3.5px solid var(--red);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 16px 36px var(--shadow-scene);
}

.event-scene .card small {
  color: var(--white-78);
}

.event-scene .card b,
.event-scene .card strong {
  color: var(--white);
}

.event-scene .card-sub {
  color: var(--white-78);
}

.event-scene .logos {
  background: var(--dark-bar);
  border: 1px solid var(--white-22);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--white);
  box-shadow: 0 12px 32px var(--shadow-scene-35);
}

.event-scene .logo-tag,
.event-scene .event-photo-label,
.event-scene .next-event {
  color: var(--white-82);
}

.card-neutral {
  background: var(--soft);
  color: var(--ink);
}

.card small {
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.82;
  text-align: center;
  line-height: 1.3;
}

.card b,
.card strong {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.card-edition strong {
  font-size: clamp(20px, 2.2vw, 28px);
}

.card-sub {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.75;
  text-align: center;
  line-height: 1.3;
}

.cards-shadow {
  width: min(840px, 94%);
  height: 10px;
  margin-top: -10px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--black-9), transparent);
  z-index: 3;
}

.logos-wrap {
  position: relative;
  width: min(920px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}

.band {
  position: absolute;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
  top: -8px;
  width: min(480px, 66vw);
  height: 62px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: var(--white-55);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}

.logos {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white-78);
  border: 1px solid var(--black-6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.event-ghost {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--blue);
}
.event-tedx .event-ghost {
  color: var(--red);
}

.logo-tag,
.event-photo-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.next-event {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
}

/* ESC Details Bar & TEDx Seasons Selector */
.event-details {
  padding-block: 18px 28px;
  border-top: 1px solid var(--line);
}

.event-details-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.source-note {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.6;
  max-width: 760px;
}
.source-note a {
  border-bottom: 1px solid currentColor;
}

.seasons {
  --season-accent: var(--red);
  --season-tint: var(--season-tint-tedx);
  --season-border: var(--season-border-tedx);
  --season-shadow: var(--season-shadow-tedx);
  padding-block: 24px 72px;
}

.seasons[data-seasons="esc"] {
  --season-accent: var(--blue);
  --season-tint: var(--season-tint-esc);
  --season-border: var(--season-border-esc);
  --season-shadow: var(--season-shadow-esc);
}

.seasons-glass {
  padding: 28px 32px;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--season-tint) 0%, var(--white-95) 100%);
  border: 1px solid var(--season-border);
  box-shadow: 0 16px 40px var(--season-shadow);
}

.seasons-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.seasons-heading h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.seasons-heading p {
  font-size: 12px;
  color: var(--gray);
  max-width: 440px;
  line-height: 1.6;
}

.season-controls {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  padding: 5px;
  border-radius: 999px;
  background: var(--white-9);
  border: 1px solid var(--line);
}

.season-controls button {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--gray);
  transition: background 0.25s, color 0.25s;
}

.season-controls button[aria-pressed="true"] {
  background: var(--season-accent);
  color: var(--white);
}

.season-story {
  padding-top: 24px;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 16px 28px;
  align-items: center;
}

.season-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.season-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--season-accent);
}

.season-edition {
  font-size: 11px;
  color: var(--gray);
}

.season-theme {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.season-description {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
  margin-top: 6px;
}

.season-status {
  font-size: 11px;
  color: var(--gray);
  margin-top: 4px;
}

/* 5. OTHER 5 PROJECTS */
.projects {
  position: relative;
  padding-block: 84px 100px;
  border-top: 1px solid var(--line);
}

.projects-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.projects-heading .h2 {
  text-align: left;
  margin-top: 10px;
}

.projects-heading > p {
  max-width: 400px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 6%;
}

.project-item {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: padding-left 0.2s var(--motion-ease);
}
.project-item:last-child {
  border-bottom: 1px solid var(--line);
}
.project-item:hover {
  color: inherit;
}

.project-select {
  display: flex;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  gap: 16px;
}

.project-number {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  width: 22px;
}

.project-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  transition: color 0.2s;
}

.project-arrow {
  font-size: 22px;
  margin-left: auto;
  opacity: 0.3;
  transition: opacity 0.25s, transform 0.25s, color 0.25s;
}

.project-item:hover .project-arrow,
.project-item.active .project-arrow {
  opacity: 1;
  color: var(--blue);
  transform: translate(2px, -2px);
}

.project-item:hover .project-title,
.project-item.active .project-title {
  color: var(--blue);
}

.project-item > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
  margin: 10px 0 0 38px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 10px 0 0 38px;
  font-size: 11px;
  font-weight: 600;
}
.project-meta a {
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

.project-preview {
  position: sticky;
  top: 90px;
  align-self: start;
}

.project-preview-frame {
  height: 460px;
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: 0 24px 48px var(--black-8);
}

.project-preview-action {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--white-92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 600;
}

.project-preview figcaption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-top: 14px;
}
.project-preview figcaption strong {
  display: block;
  font-size: 15px;
}
.project-preview figcaption p {
  font-size: 12px;
  color: var(--gray);
  margin-top: 3px;
}

.mobile-project-image {
  display: none;
}

/* 6. COMMUNITY & MILESTONES */
.community {
  padding-block: 72px 100px;
  border-top: 1px solid var(--line);
}

.community-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.community-heading > p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.7;
}

.community-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 5%;
  align-items: start;
  margin-bottom: 44px;
}

.community-large img,
.community-small img {
  border-radius: 24px;
  height: 360px;
}

.community-small {
  margin-top: 64px;
}

.community-grid figcaption {
  font-size: 12px;
  color: var(--gray);
  margin-top: 12px;
  line-height: 1.6;
}
.community-grid figcaption strong {
  color: var(--ink);
}

.community-milestones {
  width: 100%;
}

.milestone-card strong {
  font-size: clamp(18px, 1.8vw, 23px);
}

/* 7. CONNECT / CTA (Petalyx #cta Frosted Glass Card + Falling Petals) */
.cta {
  position: relative;
  min-height: 780px;
  padding: 64px 16px 84px;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78%;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
}

.cta-img img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center 55%;
  filter: brightness(0.75) saturate(1.05);
}

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

.petal {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 8px;
  border-radius: 80% 0 80% 0;
  opacity: 0.85;
  animation: none;
}

@keyframes fall {
  to {
    transform: translate(var(--dx), 110vh) rotate(540deg);
  }
}

.cta-card {
  position: relative;
  z-index: 4;
  width: min(860px, 100%);
  padding: 40px 32px 42px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(to bottom, var(--white-96) 0%, var(--white-86) 55%, var(--white-72) 100%);
  border: 1px solid var(--white-82);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 30px 60px var(--shadow-sm);
}

.cta-card .h2 {
  margin: 14px 0 12px;
}

.status-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--black-14);
  color: var(--ink);
  margin-bottom: 10px;
}

.cta-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-deep);
  max-width: 600px;
  margin: 0 auto 20px;
}

.connect-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--black-14);
  text-align: left;
}

.contact-card {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--white-68);
  border: 1px solid var(--black-6);
}

.contact-card h3 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-card .contact-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray);
  margin-top: 4px;
}

.contact-card a {
  border-bottom: 1px solid var(--black-25);
}

/* FOOTER (Petalyx 3-column grid + animated SVG ring/dots) */
#footer {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding: 36px var(--gutter) 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  row-gap: 24px;
}

.footer-brand-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.f-logo {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  text-decoration: none;
  border-radius: 50%;
  transition: transform var(--motion-fast) var(--motion-ease), filter var(--motion-fast) ease;
}
.f-logo:hover {
  transform: scale(1.08) rotate(4deg);
  filter: drop-shadow(0 6px 16px var(--red-dim-28));
}
.f-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.footer-brand {
  font-size: 22px;
}

.footer-tagline {
  font-size: 11.5px;
  color: var(--gray);
  line-height: 1.5;
  margin-top: 2px;
}

.f-links {
  display: flex;
  gap: 20px;
  font-size: 12.5px;
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: center;
}
.f-links a:hover {
  text-decoration: underline;
}

.f-social {
  display: flex;
  gap: 16px;
  justify-self: end;
  align-items: center;
}
.f-social a {
  display: inline-flex;
  width: 20px;
  height: 20px;
}
.f-social svg {
  width: 20px;
  height: 20px;
}

.f-copy {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--gray);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
  .site-header {
    gap: 18px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    height: 118px;
    padding: 12px 14px;
    gap: 4px;
  }
  .event-inner {
    height: auto;
    min-height: 680px;
    padding: 64px 0 220px;
  }
  .band {
    display: none;
  }
  .logos {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .project-preview {
    display: none;
  }
  .mobile-project-image {
    display: block;
    height: 240px;
    border-radius: 18px;
    margin-top: 16px;
  }
  .contact-directory {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 24px);
    justify-content: space-between;
    gap: 12px;
  }
  .desktop-nav {
    display: none;
  }
  .header-connect {
    margin-left: auto;
    height: 34px;
    padding: 0 14px;
    font-size: 12px;
  }
  .menu-toggle {
    display: flex;
    border: 0;
    width: 34px;
    height: 34px;
    padding: 8px 5px;
    flex-direction: column;
    justify-content: space-around;
    background: transparent;
  }
  .menu-toggle span {
    height: 1.5px;
    width: 22px;
    background: var(--ink);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero {
    height: 100svh;
    min-height: 580px;
  }
  .hero-copy {
    top: 11%;
    gap: 10px;
  }
  .hero-media {
    height: 54%;
  }
  .hero-photo-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .loop {
    height: auto;
    min-height: 0;
    padding: 72px 0 36px;
  }
  .loop-head {
    position: relative;
    top: auto;
  }
  .track {
    position: relative;
    inset: auto;
    flex-direction: column;
    margin-top: 32px;
  }
  .panel {
    flex: none;
    height: auto;
    overflow: visible;
    border-right: none;
    border-top: 1px solid var(--line);
    cursor: auto;
  }
  .panel-in {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    padding: 24px 16px;
    gap: 18px;
  }
  .num {
    font-size: 110px;
  }
  .step,
  .panel.is-active .step {
    opacity: 1;
    transform: none;
    filter: none;
    width: auto;
  }

  .seasons-glass {
    padding: 22px 18px;
  }
  .season-story {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .community-small {
    margin-top: 0;
  }

  .cta-card {
    padding: 28px 18px 32px;
  }

  #footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-brand-col {
    flex-direction: column;
  }
  .f-social {
    justify-self: center;
  }
  .f-copy {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  .drift-a,
  .drift-b,
  .petal {
    animation: none !important;
  }
  .petals {
    display: none;
  }
}
