/* ==========================================================================
   GEICONVEX 2027 — site styles
   Brand: purple + deep night + lavender paper. Georgia headings, Montserrat UI.
   ========================================================================== */

:root {
  /* brand */
  --accent: #8b35f5;
  --accent-hover: #a25cff;
  --accent-deep: #6d2ed4;
  --accent-on-dark: #c29bff;   /* purple text that stays readable on dark */
  --accent-on-light: #6f25dd;  /* purple text that stays readable on light */

  /* dark surfaces */
  --night: #0d0914;
  --night-2: #100b19;
  --panel: #15111e;
  --panel-2: #1d1728;
  --line: rgba(231, 218, 255, .14);
  --text: #f7f4fb;
  --muted: #b5acc2;

  /* light surfaces */
  --paper: #f0e8f8;
  --paper-2: #e4d9f0;
  --card-light: #ffffff;
  --ink: #17111f;
  --ink-muted: #51465c;
  --line-ink: rgba(45, 25, 64, .16);

  /* type */
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: Georgia, 'Times New Roman', serif;

  /* layout */
  --max: 1240px;
  --gutter: 24px;
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 120px);

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: .18s;
  --t-med: .32s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--accent-hover);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .875rem;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- shared pieces ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.accent { color: var(--accent-on-dark); }

.section {
  padding: var(--section-y) 0;
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, .055);
  position: relative;
}
.section.alt { background: var(--night-2); }

.section h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  margin: 18px 0 20px;
}
.section-head { max-width: 800px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p:last-child { margin-bottom: 0; }

.lead { font-size: 1.125rem; color: var(--text); max-width: 720px; }
.section p { color: var(--muted); }
.section p.lead { color: #e4dcee; }

.sub-title { font-size: 1.5rem; margin-bottom: 12px; }

/* light (paper) section variant */
.section.light {
  background: linear-gradient(180deg, var(--paper) 0%, #e9e0f3 100%);
  color: var(--ink);
  border-top: 0;
}
.section.light p { color: var(--ink-muted); }
.section.light .eyebrow,
.section.light .accent { color: var(--accent-on-light); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 10px 28px rgba(139, 53, 245, .35); }

.btn-outline { border-color: rgba(255, 255, 255, .28); color: var(--text); }
.btn-outline:hover { border-color: var(--accent-on-dark); color: var(--accent-on-dark); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #33224a; box-shadow: 0 10px 28px rgba(23, 17, 31, .25); }

.btn-ink-outline { border-color: rgba(45, 25, 64, .32); color: var(--ink); }
.btn-ink-outline:hover { border-color: var(--accent); color: var(--accent-on-light); }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper); box-shadow: 0 10px 28px rgba(13, 9, 20, .3); }

.btn-block { width: 100%; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: #e1d9ec;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 0;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med), background-color var(--t-med);
}
.card:hover { transform: translateY(-4px); border-color: rgba(139, 53, 245, .55); background: #191323; }
.card h3 { font-size: 1.4rem; margin: 18px 0 10px; }
.card p { font-size: .95rem; }

.card-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(139, 53, 245, .45);
  background: rgba(139, 53, 245, .1);
  color: var(--accent-on-dark);
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
}
.card-icon .ico { width: 22px; height: 22px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li {
  font-size: .82rem;
  color: #dcd4e7;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  border-radius: 999px;
  padding: 8px 14px;
}

.check-list { display: grid; gap: 13px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  color: #ded6e9;
  font-size: .95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(139, 53, 245, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c29bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split.top { align-items: start; }
.split.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }

.photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #4b3267 0%, #27202f 48%, #141217 100%);
  aspect-ratio: 4 / 5;
}
.photo.wide { aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(13, 9, 20, .72));
  pointer-events: none;
}
.photo figcaption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  font-family: var(--display);
  font-size: 1.05rem;
  color: #fff;
}
figure { margin: 0; }

.note {
  padding: 22px 24px;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(139, 53, 245, .13), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #dcd4e7;
  font-size: .95rem;
}

/* ---------- header / navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: rgba(249, 247, 251, .9);
  color: var(--ink);
  border-bottom: 1px solid rgba(37, 18, 54, .1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background-color var(--t-med), color var(--t-med), border-color var(--t-med);
}
.site-header.scrolled {
  background: rgba(15, 10, 23, .93);
  color: var(--text);
  border-color: var(--line);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; flex: none; padding: 8px 0; }
.brand img { height: 26px; width: auto; }
.brand .logo-on-dark { display: none; }
.site-header.scrolled .brand .logo-on-light { display: none; }
.site-header.scrolled .brand .logo-on-dark { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 22px);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links a:not(.btn) {
  position: relative;
  padding: 10px 0;
  opacity: .8;
  transition: opacity var(--t-fast), color var(--t-fast);
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.nav-links a:not(.btn):hover,
.nav-links a.active { opacity: 1; }
.nav-links a.active::after,
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .nav-register { display: none; }

.nav-cta { min-height: 44px; padding: 10px 18px; font-size: .78rem; letter-spacing: .06em; flex: none; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  place-items: center;
  flex: none;
}
.menu-toggle .ico { width: 20px; height: 20px; }
.menu-toggle .ico-close { display: none; }
.menu-toggle[aria-expanded="true"] .ico-open { display: none; }
.menu-toggle[aria-expanded="true"] .ico-close { display: block; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 56px;
  background: linear-gradient(118deg, #d7b9f2 0%, #eee5f6 38%, #e3e1ea 69%, #cfd2dc 100%);
  color: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  right: -160px;
  top: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #f8f1ff 0%, #c7a0ee 48%, #a8aebc 100%);
  opacity: .46;
  filter: blur(12px);
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -105px;
  top: 165px;
  border: 1px solid rgba(87, 44, 123, .18);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero .eyebrow { color: #4d2d73; }
.hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -.03em;
  margin: 18px 0 20px;
  color: #1c1228;
}
.hero h1 span { color: var(--accent-on-light); }
.hero-copy { max-width: 580px; font-size: 1.03rem; color: var(--ink-muted); margin-bottom: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero-secondary { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-secondary a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid rgba(45, 25, 64, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  font-size: .8rem;
  font-weight: 700;
  color: #49345f;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.hero-secondary a:hover { border-color: var(--accent); background: rgba(255, 255, 255, .7); color: var(--accent-on-light); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(63, 39, 81, .18);
}
.hero-stat { padding: 0 24px; border-right: 1px solid rgba(63, 39, 81, .18); }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.hero-stat span { display: block; font-size: .76rem; color: #63566f; font-weight: 500; }

.hero-visual { position: relative; min-height: clamp(380px, 58vh, 540px); }
.hero-image {
  position: absolute;
  inset: 0 0 28px 20px;
  border-radius: 30px 30px 110px 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #4b3267 0%, #27202f 48%, #141217 100%);
  box-shadow: 0 30px 70px rgba(52, 26, 82, .28);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(60, 20, 110, .12) 30%, rgba(13, 9, 20, .55));
}
.hero-float {
  position: absolute;
  z-index: 2;
  right: -10px;
  top: 30px;
  padding: 14px 18px;
  background: rgba(24, 15, 39, .92);
  color: #fff;
  border: 1px solid rgba(180, 121, 255, .45);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero-float strong { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.hero-float span { font-size: .74rem; color: #d6ccdf; }
.hero-sticker {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: clamp(128px, 11vw, 158px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 18px 38px rgba(109, 46, 212, .4);
}
.hero-sticker strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.hero-sticker span { max-width: 104px; margin-top: 6px; font-size: .62rem; font-weight: 700; letter-spacing: .08em; line-height: 1.35; }

/* ---------- about ---------- */

.about-points { margin-top: 28px; }
.about-points h3 { font-size: 1.3rem; margin-bottom: 18px; }

/* ---------- experience ---------- */

.xp-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.xp-card .ghost {
  position: absolute;
  right: 14px;
  top: -14px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 7.5rem;
  line-height: 1;
  letter-spacing: -.08em;
  color: rgba(255, 255, 255, .04);
  pointer-events: none;
}
.xp-card > * { position: relative; }
.xp-card h3 { font-size: 1.55rem; margin-top: 22px; }
.xp-card .tag { margin-top: auto; align-self: flex-start; }
.xp-card p { margin-bottom: 24px; }

.xp-cta {
  background: linear-gradient(150deg, #2a1650 0%, var(--panel-2) 70%);
  border-color: rgba(139, 53, 245, .5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.xp-cta h3 { font-size: 1.9rem; margin-top: 20px; }

/* ---------- who should attend ---------- */

.aud-card h3 { margin-bottom: 18px; }
.aud-wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  align-items: center;
  background: linear-gradient(120deg, rgba(139, 53, 245, .2), rgba(139, 53, 245, .04) 60%), var(--panel);
  border-color: rgba(139, 53, 245, .4);
}
.aud-wide h3 { margin: 0 0 8px; }
.aud-wide p { max-width: 820px; }

/* ---------- cities ---------- */

.city-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.city-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(194, 155, 255, .22);
  border-radius: var(--radius);
  background: radial-gradient(circle at 85% 8%, rgba(162, 92, 255, .75) 0%, transparent 52%), linear-gradient(165deg, #4a1f96 0%, #24133f 48%, #120c1c 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med);
}
.city-card:hover { transform: translateY(-4px); border-color: rgba(194, 155, 255, .6); }
.city-card:nth-child(2) { background: radial-gradient(circle at 12% 12%, rgba(162, 92, 255, .7) 0%, transparent 50%), linear-gradient(195deg, #3c1785 0%, #24133f 50%, #120c1c 100%); }
.city-card:nth-child(3) { background: radial-gradient(circle at 80% 30%, rgba(139, 53, 245, .8) 0%, transparent 48%), linear-gradient(165deg, #2d1560 0%, #1d1232 50%, #120c1c 100%); }
.city-card:nth-child(4) { background: radial-gradient(circle at 20% 28%, rgba(183, 123, 255, .65) 0%, transparent 50%), linear-gradient(195deg, #4a1f96 0%, #21123a 52%, #120c1c 100%); }
/* big airport-style city code used as the card artwork */
.city-code {
  position: absolute;
  z-index: -1;
  top: 60px;
  left: 16px;
  font-weight: 800;
  font-size: clamp(5rem, 7.4vw, 6.5rem);
  line-height: 1;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .34);
  pointer-events: none;
}
.city-country { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e4d5ff; margin-bottom: 8px; }
/* A real city photo can be dropped in later: add <img src="..." alt=""> as the first child of .city-card */
.city-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  transition: transform .7s var(--ease-out);
}
.city-card:hover > img { transform: scale(1.06); }
.city-card:has(> img)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 9, 20, .25) 0%, rgba(13, 9, 20, .5) 36%, rgba(13, 9, 20, .95) 72%);
}
.city-card:has(> img) .city-code { display: none; }
.city-date {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(13, 9, 20, .72);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.city-card h3 { font-size: 1.9rem; }
.city-sub { margin: 8px 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-on-dark); }
.city-card p { font-size: .88rem; color: #e4dcee; margin-bottom: 18px; }

/* ---------- why attend (light) ---------- */

.why-card {
  background: var(--card-light);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(45, 25, 64, .04);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med), border-color var(--t-med);
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(139, 53, 245, .5); box-shadow: 0 18px 40px rgba(73, 40, 120, .14); }
.why-card .card-icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.why-card h3 { font-size: 1.5rem; margin: 20px 0 8px; color: var(--ink); }
.why-card p { font-size: .95rem; }

/* ---------- programme ---------- */

.programme { border-top: 1px solid var(--line); }
.programme-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.programme-index { font-weight: 700; font-size: 1.05rem; color: var(--accent-on-dark); padding-top: 2px; }
.programme-row h3 { font-size: 1.2rem; letter-spacing: .01em; margin-bottom: 6px; }
.programme-row p { font-size: .93rem; }

/* ---------- packages ---------- */

.package {
  display: flex;
  flex-direction: column;
  padding: 32px;
}
.package .tag { align-self: flex-start; }
.package h3 { font-size: 1.75rem; margin: 20px 0 0; }
.package-size { margin: 8px 0 14px; font-weight: 800; font-size: 2.1rem; letter-spacing: -.04em; line-height: 1.1; color: var(--text); }
.package > p { min-height: 3.2em; }
.package ul, .tier ul { display: grid; gap: 11px; margin: 20px 0 28px; flex: 1; align-content: start; }
.package li, .tier li { position: relative; padding-left: 24px; font-size: .9rem; color: #dcd4e7; }
.package li::before, .tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 10px;
  height: 2px;
  background: var(--accent-on-dark);
}
.package li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(.52em - 4px);
  width: 2px;
  height: 10px;
  background: var(--accent-on-dark);
}
.package.featured {
  background: linear-gradient(165deg, #2a1650 0%, #1b1427 55%);
  border-color: rgba(139, 53, 245, .7);
  box-shadow: 0 24px 60px rgba(109, 46, 212, .22);
}
.package.featured .tag { border-color: rgba(194, 155, 255, .55); color: var(--accent-on-dark); background: rgba(139, 53, 245, .14); }
.package-note { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.package-note p { margin: 0; max-width: 640px; }
.package-note strong { color: var(--text); }

/* ---------- sponsorship tiers ---------- */

.tier { display: flex; flex-direction: column; padding: 32px; }
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier-num { font-weight: 700; font-size: .8rem; letter-spacing: .13em; color: #8f84a0; }
.tier h3 { font-size: 1.75rem; margin: 20px 0 10px; }
.tier .tier-label { margin: 18px 0 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-on-dark); }
.tier ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; margin-top: 14px; }
.tier.featured {
  background: linear-gradient(165deg, #2a1650 0%, #1b1427 55%);
  border-color: rgba(139, 53, 245, .7);
}
.tier.featured .tag { border-color: rgba(194, 155, 255, .55); color: var(--accent-on-dark); background: rgba(139, 53, 245, .14); }

/* ---------- partnerships ---------- */

.partner-card { display: flex; flex-direction: column; }
.partner-card h3 { font-size: 1.5rem; }
.partner-card .tier-label { margin: 20px 0 12px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-on-dark); }
.partner-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border: 1px solid rgba(139, 53, 245, .5);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(139, 53, 245, .24), rgba(139, 53, 245, .05) 65%), var(--panel);
}
.partner-cta h3 { font-size: 1.6rem; }

/* ---------- faq ---------- */

.faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-intro .btn { margin-top: 12px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-on-dark); }
.faq-item summary .ico {
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-on-dark);
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast);
}
.faq-item[open] summary .ico { transform: rotate(45deg); background: rgba(139, 53, 245, .2); }
.faq-item .faq-a { padding: 0 54px 24px 0; max-width: 700px; }
.faq-item .faq-a p { font-size: .96rem; }

/* ---------- powered by evenzer ---------- */

.evenzer-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 28px;
  background: linear-gradient(125deg, #ffffff 0%, var(--paper) 55%, #dcc8f3 100%);
  color: var(--ink);
}
.evenzer-band .eyebrow { color: var(--accent-on-light); }
.evenzer-band p { color: var(--ink-muted); }
.evenzer-logo { display: inline-block; margin: 18px 0 20px -10px; }
.evenzer-logo img { height: clamp(64px, 8vw, 92px); width: auto; }
.evenzer-band .btn { margin-top: 14px; }
.evenzer-pillars { display: grid; gap: 0; border-top: 1px solid var(--line-ink); }
.evenzer-pillars li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.evenzer-pillars span { font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--accent-on-light); }

/* ---------- final cta ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 128px) 0;
  background: radial-gradient(ellipse at 85% 10%, #a25cff 0%, transparent 55%), linear-gradient(135deg, #3c1785 0%, #6d2ed4 55%, #8b35f5 100%);
  color: #fff;
}
.final-cta::after {
  content: "27";
  position: absolute;
  right: -10px;
  bottom: -.32em;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(14rem, 34vw, 30rem);
  letter-spacing: -.1em;
  line-height: 1;
  color: rgba(255, 255, 255, .07);
  pointer-events: none;
}
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta .eyebrow { color: #eadcff; }
.final-cta .eyebrow::before { background: #fff; }
.final-cta h2 { max-width: 900px; font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: 1.02; margin: 20px 0 18px; }
.final-cta p { font-size: 1.15rem; color: #efe5ff; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.final-cta .btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.final-cta .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color var(--t-med), transform var(--t-med) var(--ease-out), background-color var(--t-med);
}
.contact-card:hover { border-color: rgba(139, 53, 245, .6); transform: translateY(-3px); background: #191323; }
.contact-card small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9d92ad; }
.contact-card strong { display: block; font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.socials-title { margin: 32px 0 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: #dcd4e7;
  transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}
.socials a:hover { border-color: var(--accent-on-dark); color: #fff; background: rgba(139, 53, 245, .16); }

/* contact form */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-form {
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-form h3 { font-size: 1.7rem; margin-bottom: 10px; }
.contact-form .form-intro { font-size: .9rem; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; align-content: start; }
.field label { font-size: .84rem; font-weight: 600; color: #e1d9ec; }
.field label .optional { font-weight: 500; color: #9d92ad; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  background: #0e0a16;
  border: 1px solid #453859;
  border-radius: 12px;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c29bff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field select option { background: #15111e; color: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #6a5788; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--accent-hover);
  box-shadow: 0 0 0 3px rgba(139, 53, 245, .35);
}
.field [aria-invalid="true"] { border-color: #ff8a8a; }
.field-error { margin: 0; font-size: .82rem; font-weight: 500; color: #ffa3a3; }
.form-summary {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 138, 138, .6);
  border-radius: 12px;
  background: rgba(255, 90, 90, .1);
  color: #ffc9c9;
  font-size: .9rem;
}
.form-summary a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.form-status { font-size: .92rem; }
.form-status:not(:empty) { margin-top: 16px; padding: 14px 16px; border-radius: 12px; }
.form-status.ok { border: 1px solid rgba(139, 53, 245, .6); background: rgba(139, 53, 245, .14); color: #efe5ff; }
.form-status.fail { border: 1px solid rgba(255, 138, 138, .6); background: rgba(255, 90, 90, .1); color: #ffc9c9; }
.form-status a { text-decoration: underline; font-weight: 600; }

/* ---------- city registration pop-up ---------- */

html.modal-open { overflow: hidden; }
.modal {
  width: min(560px, calc(100% - 32px));
  max-height: min(92dvh, 860px);
  margin: auto;
  padding: clamp(24px, 4vw, 34px);
  overflow-y: auto;
  background: #15101f;
  color: var(--text);
  border: 1px solid rgba(183, 123, 255, .4);
  border-radius: 24px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .6);
}
.modal::backdrop {
  background: rgba(8, 5, 13, .78);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
.modal[open] { animation: modal-in .28s var(--ease-out); }
.modal[open]::backdrop { animation: backdrop-in .28s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes backdrop-in { from { opacity: 0; } }
.modal .eyebrow { margin-right: 52px; }
.modal h2 { font-size: clamp(1.9rem, 5vw, 2.5rem); margin: 16px 0 10px; }
.modal .form-intro { font-size: .95rem; color: var(--muted); margin-bottom: 22px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #261c35;
  color: #fff;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.modal-close:hover { background: #33264a; border-color: var(--accent-on-dark); }
.field input[readonly] {
  background: rgba(139, 53, 245, .12);
  border-color: rgba(139, 53, 245, .45);
  color: #efe5ff;
  font-weight: 600;
  cursor: default;
}

/* ---------- footer ---------- */
.footer-brand p { margin: 8px 0 0; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9d92ad; }

.footer { padding: 48px 0 32px; background: #090610; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer .brand img { height: 28px; }
.powered { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9d92ad; }
.powered img { height: 44px; width: auto; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { font-size: .82rem; color: #b5acc2; padding: 6px 0; transition: color var(--t-fast); }
.footer-links a:hover { color: #fff; }
.footer small { font-size: .8rem; color: #8f84a0; }

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-med), transform var(--t-med) var(--ease-out), visibility var(--t-med), background-color var(--t-fast);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--accent-hover); }

/* ---------- scroll reveal (only when JS is running) ---------- */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .menu-toggle { display: grid; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--night-2);
    color: var(--text);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--t-med), transform var(--t-med) var(--ease-out), visibility var(--t-med);
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: .9; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a.active { color: var(--accent-on-dark); }
  .nav-links .nav-register { display: inline-flex; margin-top: 20px; }
}

@media (max-width: 1050px) {
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-card { min-height: 420px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier ul { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .hero { min-height: 0; padding-bottom: 64px; }
  .hero-grid, .split, .split.rev, .faq-layout, .contact-grid, .evenzer-band { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; max-width: 640px; width: 100%; margin-inline: auto; }
  .hero-float { right: 0; }
  .faq-intro { position: static; }
  .photo { aspect-ratio: 4 / 3; }
  .split .photo.order-first { order: -1; }
  .grid-2 { grid-template-columns: 1fr; }
  .tier ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud-wide { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .nav-cta { display: none; }
  .brand img { height: 22px; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-actions .btn { width: 100%; }
  .hero-secondary a { flex: 1 1 auto; justify-content: center; }
  .hero-stat { padding: 0 14px; }
  .hero-stat strong { font-size: 1.1rem; }
  .hero-stat span { font-size: .75rem; }
  .hero-visual { min-height: 380px; }
  .hero-image { inset: 0 0 24px 12px; border-radius: 24px 24px 80px 24px; }
  .hero-float { top: 16px; padding: 11px 14px; }
  .hero-sticker strong { font-size: 1.9rem; }
  .grid-3, .city-grid, .contact-cards, .field-row, .check-list.cols-2, .tier ul { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .card, .package, .tier, .why-card { padding: 24px; }
  .xp-card { min-height: 0; }
  .city-card { min-height: 400px; }
  .programme-row { grid-template-columns: 40px 1fr; gap: 10px; }
  .faq-item .faq-a { padding-right: 0; }
  .cta-buttons .btn, .package-note .btn, .partner-cta .btn { width: 100%; }
  .partner-cta { padding: 24px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .why-card:hover, .contact-card:hover { transform: none; }
  .city-card:hover > img { transform: none; }
}
