:root {
  --primary: #4f6fb6;
  --primary-dark: #2f4e9d;
  --accent: #6c8edb;
  --accent-2: #89a7e7;
  --bg: #f2f4f7;
  --surface: #ffffff;
  --surface-2: #e9eef8;
  --ink: #111111;
  --muted: #5a5a5a;
  --card-dark: #1f1f1f;
  --white: #ffffff;
  --ring: #ffbf47;
  --shadow: 0 12px 40px rgba(25, 42, 89, 0.12);
  --shadow-lg: 0 24px 70px rgba(25, 42, 89, 0.18);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1200px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3fb 100%);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 1000;
}
.skip-link:focus { top: 16px; }

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

.topbar {
  background: #0d1d3f;
  color: #dfe8fb;
  font-size: 0.92rem;
}
.topbar .inner,
.header .inner,
.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}
.topbar .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  padding: 10px 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(79, 111, 182, 0.14);
}
.header .inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-family: Poppins, Inter, sans-serif;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
  box-shadow: 0 8px 24px rgba(79, 111, 182, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brand:hover .brand-mark {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(79, 111, 182, 0.45);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 10px;
}
.brand-mark::after {
  inset: 18px 10px 10px 18px;
  background: rgba(255,255,255,0.18);
  border-width: 0;
}
.brand-text small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.nav-toggle:hover { background: rgba(0,0,0,0.05); }
.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
}
.nav a {
  text-decoration: none;
  color: #21304e;
  font-weight: 600;
}
.nav a[aria-current="page"] {
  color: var(--primary-dark);
}

.btn, .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover, .button-link:hover { transform: translateY(-2px); }
.btn:focus-visible, .button-link:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(79, 111, 182, 0.35);
}
.btn-primary:hover { box-shadow: 0 18px 40px rgba(79, 111, 182, 0.42); }
.btn-secondary {
  color: var(--primary-dark);
  border: 1.5px solid rgba(79,111,182,0.25);
  background: rgba(255,255,255,0.75);
}
.btn-ghost {
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.08);
}

.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 10% 20%, rgba(137,167,231,0.35), transparent 32%),
    radial-gradient(circle at 90% 18%, rgba(255,255,255,0.17), transparent 26%),
    linear-gradient(135deg, #4f6fb6 0%, #2f4e9d 58%, #243d7d 100%);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 85%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  right: -130px;
  top: 20px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 38%, transparent 68%);
  filter: blur(8px);
}
.hero .container {
  position: relative;
  padding: 96px 0 78px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 700;
  letter-spacing: .02em;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfe0ff;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.12);
}
.hero h1,
.page-hero h1 {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 18px 0 18px;
}
.hero h1 { font-size: clamp(2.7rem, 5vw, 5rem); max-width: 12ch; }
.hero-rotator {
  display: inline-grid;
  min-width: 4.8ch;
  position: relative;
  vertical-align: baseline;
}
.hero-rotator-word {
  display: inline-block;
  color: #dce7ff;
  text-shadow: 0 0 24px rgba(220,231,255,0.28);
}
.hero-rotator-word.is-changing {
  animation: heroWordSwap .48s ease;
}
@keyframes heroWordSwap {
  0% { opacity: .2; transform: translateY(.35em) scale(.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.hero p {
  max-width: 62ch;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.92);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 26px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
}
.stat strong {
  display: block;
  font-size: 1.25rem;
  font-family: Poppins, Inter, sans-serif;
}
.stat span { color: rgba(255,255,255,0.85); font-size: 0.94rem; }

.hero-art {
  position: relative;
  min-height: 520px;
}
.orb, .panel, .float-card {
  position: absolute;
  border-radius: 28px;
}
.orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(4px);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.92), rgba(255,255,255,0.12));
  opacity: 0.18;
}
.orb-a { top: 12px; right: 20px; }
.orb-b { bottom: 40px; left: 10px; width: 120px; height: 120px; }
.panel {
  inset: 62px 12px 36px 64px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.07));
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.38), transparent 18%),
    linear-gradient(transparent 78%, rgba(255,255,255,0.08) 78%),
    linear-gradient(90deg, transparent 78%, rgba(255,255,255,0.08) 78%);
  background-size: auto, 100% 72px, 72px 100%;
}
.panel-lines {
  position: absolute;
  inset: 22px;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 16px;
}
.panel-lines span {
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.12);
}
.float-card {
  padding: 18px;
  background: rgba(255,255,255,0.96);
  color: #10203c;
  box-shadow: 0 18px 45px rgba(16, 32, 60, 0.18);
  backdrop-filter: blur(12px);
}
.float-card strong {
  display: block;
  font-family: Poppins, Inter, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.float-card small { color: #4d5f83; display: block; }
.float-card.one { top: 22px; left: 18px; width: 240px; }
.float-card.two { right: 0; bottom: 98px; width: 240px; }
.float-card.three { left: 100px; bottom: 0; width: 220px; background: #111c36; color: var(--white); }
.float-card.three small { color: #d6def5; }

main section { padding: 88px 0; }
.section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
}
.section-header h2,
.cta h2,
.page-hero h1 {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 0;
}
.section-header p,
.lead {
  max-width: 60ch;
  color: var(--muted);
  margin: 0;
}
.kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(79,111,182,0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.card h3 {
  font-family: Poppins, Inter, sans-serif;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3rem;
}
.card p { margin: 0; color: var(--muted); }
.card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), rgba(108,142,219,0));
  opacity: .85;
}
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: .9rem;
}
.card-badge::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
}

.feature-grid .card:nth-child(1) { grid-column: span 4; }
.feature-grid .card:nth-child(2) { grid-column: span 4; }
.feature-grid .card:nth-child(3) { grid-column: span 4; }
.feature-grid .card:nth-child(4) { grid-column: span 12; display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center; }

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.story-panel {
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.story-panel.dark {
  background: linear-gradient(145deg, #111c36, #1f3772);
  color: var(--white);
}
.story-panel.dark p { color: rgba(255,255,255,0.85); }
.story-panel.light {
  background: linear-gradient(180deg, #ffffff, #f5f8ff);
  border: 1px solid rgba(79,111,182,0.12);
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.checklist li {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.checklist li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  flex: 0 0 28px;
}
.story-panel.light .checklist li::before {
  background: #eef3ff;
  border-color: rgba(79,111,182,0.12);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.metric {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #eff4fd);
  border: 1px solid rgba(79,111,182,0.12);
  box-shadow: var(--shadow);
}
.metric strong {
  display: block;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--primary-dark);
}
.metric span { color: var(--muted); }

.event-card,
.cta {
  position: relative;
  overflow: hidden;
}
.event-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  background: #111c36;
  color: var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}
.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(137,167,231,0.38), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent 50%);
}
.event-visual {
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.2), transparent 26%),
    linear-gradient(135deg, #26458c, #4f6fb6);
  position: relative;
}
.event-visual::before,
.event-visual::after {
  content: "";
  position: absolute;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.18);
}
.event-visual::before {
  inset: 46px 56px auto 56px;
  height: 150px;
  background: rgba(255,255,255,0.12);
}
.event-visual::after {
  inset: auto 70px 50px 70px;
  height: 64px;
  background: rgba(255,255,255,0.18);
}
.event-copy { position: relative; padding: 34px; }
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 700;
  font-size: .92rem;
}
.event-copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin: 8px 0 12px; font-family: Poppins, Inter, sans-serif; }
.event-copy p { color: rgba(255,255,255,0.87); }


.event-card {
  grid-template-columns: minmax(320px, .95fr) minmax(320px, 1.05fr);
  align-items: stretch;
}
.event-showcase {
  position: relative;
  padding: 36px;
  background:
    radial-gradient(circle at 18% 18%, rgba(137,167,231,0.38), transparent 24%),
    linear-gradient(145deg, #1b3170, #294993 55%, #365ab1);
}
.event-showcase::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 26px;
  width: 120px;
  height: 90px;
  border-top: 2px dashed rgba(255,255,255,0.24);
  border-right: 2px dashed rgba(255,255,255,0.24);
  border-top-right-radius: 80px;
  opacity: .7;
}
.event-stage {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 28px 54px rgba(10,20,48,0.28);
}
.event-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 95%);
}
.event-stage-screen {
  position: absolute;
  inset: 28px 28px 112px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(233,238,248,0.95));
  box-shadow: 0 26px 36px rgba(11,20,46,0.22);
  padding: 20px;
}
.event-stage-bars { display: flex; gap: 8px; margin-bottom: 18px; }
.event-stage-bars span { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.event-stage-bars span:first-child { background: #4f6fb6; }
.event-stage-bars span:nth-child(2) { background: #89a7e7; }
.event-stage-lines { display: grid; gap: 12px; }
.event-stage-lines span { height: 18px; border-radius: 999px; background: linear-gradient(90deg, rgba(79,111,182,0.22), rgba(79,111,182,0.08)); }
.event-stage-lines span:nth-child(1) { width: 82%; }
.event-stage-lines span:nth-child(2) { width: 64%; }
.event-stage-lines span:nth-child(3) { width: 90%; }
.event-stage-lines span:nth-child(4) { width: 58%; }
.skill-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .02em;
  color: #17356f;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 12px 26px rgba(11,20,46,0.18);
}
.skill-tag.html { top: 24px; left: 24px; }
.skill-tag.css { top: 82px; right: 28px; }
.skill-tag.js { bottom: 116px; left: 24px; }
.event-info-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(10,21,48,0.9);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 36px rgba(10,20,48,0.28);
}
.event-info-card strong { display:block; font-family: Poppins, Inter, sans-serif; font-size: 1.1rem; margin-bottom: 10px; }
.event-info-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: rgba(255,255,255,0.82); }
.event-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin: 22px 0 26px;
}
.event-highlights div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.event-highlights strong { display: block; margin-bottom: 6px; font-family: Poppins, Inter, sans-serif; }
.event-highlights span { color: rgba(255,255,255,0.84); }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(79,111,182,0.12);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.quote blockquote {
  margin: 0 0 20px;
  font-size: 1.03rem;
  color: #22324c;
}
.quote footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
}
.quote strong { color: var(--ink); }

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.logo-tile {
  min-height: 96px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(79,111,182,0.12);
  box-shadow: var(--shadow);
  color: #42577f;
  font-family: Poppins, Inter, sans-serif;
  font-weight: 700;
}

.cta {
  background: linear-gradient(135deg, #101b36, #29478f 58%, #4f6fb6);
  color: var(--white);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.55;
}
.cta .inner {
  position: relative;
  padding: 56px 34px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.cta p { color: rgba(255,255,255,0.9); max-width: 60ch; margin: 12px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(79,111,182,0.12), rgba(47,78,157,0.06));
  border-bottom: 1px solid rgba(79,111,182,0.1);
}
.page-hero .container { padding: 72px 0 52px; }
.page-hero p { max-width: 64ch; color: var(--muted); font-size: 1.05rem; }
.breadcrumbs {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; color: #516689; font-weight: 600;
}
.breadcrumbs a { text-decoration: none; color: inherit; }

.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.stack { display: grid; gap: 18px; }
.form-card { background: rgba(255,255,255,0.88); border: 1px solid rgba(79,111,182,0.12); border-radius: 28px; box-shadow: var(--shadow); padding: 28px; }
label { display: block; font-weight: 700; margin-bottom: 8px; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(79,111,182,0.2);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}
textarea { min-height: 150px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.helper { color: var(--muted); font-size: .93rem; margin-top: 8px; }

.footer {
  background: #0c1630;
  color: #d7e0f5;
  margin-top: 88px;
}
.footer .inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 24px;
}
.footer h3, .footer h4 {
  margin-top: 0;
  color: var(--white);
  font-family: Poppins, Inter, sans-serif;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer a { color: inherit; text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.lift {
  transition: transform .3s ease, box-shadow .3s ease;
}
.lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(25,42,89,0.14);
}

@media (max-width: 1050px) {
  .hero .container,
  .story,
  .two-col,
  .event-card,
  .feature-grid .card:nth-child(4),
  .cta .inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-art { min-height: 420px; }
  .hero h1 { max-width: none; }
  .hero .container { gap: 32px; }
  .metrics, .testimonials, .logo-row { grid-template-columns: repeat(2, 1fr); }
  .feature-grid .card:nth-child(1), .feature-grid .card:nth-child(2), .feature-grid .card:nth-child(3) { grid-column: span 12; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute;
    right: 16px;
    top: calc(100% + 8px);
    width: min(92vw, 340px);
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(79,111,182,0.14);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .nav ul { flex-direction: column; gap: 14px; }
  .hero .container { padding: 76px 0 54px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-stats .stat { padding: 14px; }
  .hero-stats .stat strong { font-size: 1.1rem; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .testimonials, .logo-row { grid-template-columns: 1fr; }
  .section-header { align-items: start; flex-direction: column; }
}

@media (max-width: 600px) {
  body { font-size: 0.98rem; }
  .topbar .inner { justify-content: start; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .btn, .button-link { width: 100%; }
  .hero-stats, .metrics, .form-grid { grid-template-columns: 1fr; }
  .card, .form-card, .story-panel, .event-copy { padding: 22px; }
  .panel { inset: 52px 0 26px 22px; }
  .float-card.one { width: 210px; }
  .float-card.two { width: 210px; }
  .float-card.three { left: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


@media (max-width: 1200px) {
  :root { --max: 1120px; }
  .hero .container { gap: 28px; }
  .hero-art { min-height: 470px; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: 2; min-height: 360px; }
  .event-card { grid-template-columns: 1fr; }
  .event-showcase { min-height: 420px; }
  .event-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.35rem, 10vw, 3.4rem); }
  .hero p { font-size: 1rem; }
  .hero .container { padding: 66px 0 46px; }
  .hero-art { min-height: 300px; }
  .float-card.one, .float-card.two, .float-card.three { width: min(100%, 210px); }
  .float-card.one { left: 10px; top: 10px; }
  .float-card.two { right: 8px; bottom: 82px; }
  .float-card.three { left: 14px; bottom: 8px; }
  .event-showcase { padding: 18px; }
  .event-stage { min-height: 320px; }
  .event-stage-screen { inset: 20px 20px 112px; }
  .event-info-card { left: 14px; right: 14px; bottom: 14px; }
  .skill-tag { min-width: 58px; padding: 8px 12px; font-size: .8rem; }
  .header .inner { min-height: 72px; }
  .container, .header .inner, .topbar .inner, .footer .inner { width: min(calc(100% - 24px), var(--max)); }
  main section { padding: 68px 0; }
}
