.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}
.skip:focus { top: 10px; }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.topbar__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand img { width: 136px; }
.topnav { display: flex; gap: 22px; margin-inline: auto; }
.topnav a {
  padding: 6px 0;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.topnav a:hover { border-color: var(--crimson); }
.topbar__end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.topnav + .topbar__end { margin-left: 0; }
.topbar__cta { white-space: nowrap; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #f8fbff 0%, #edf5fc 48%, #dcebf8 100%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 56px;
  padding-block: 56px 64px;
}
.hero__copy { padding-bottom: 190px; }
.pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--crimson);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}
.hero h1 {
  margin-top: 22px;
  color: var(--navy);
  font-size: clamp(2.15rem, 4.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
}
.rule {
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 22px;
  border-radius: 2px;
  background: var(--crimson);
}
.hero__lead {
  max-width: 34em;
  margin-top: 20px;
  color: #2c4563;
  font-size: 1.08rem;
  line-height: 1.5;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1.5px solid #9dbfe0;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.72);
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 650;
}
.chips .icon { color: var(--navy); }
.tagline {
  margin-top: 28px;
  color: #567091;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.hero__skyline {
  position: absolute;
  left: max(0px, calc(50% - 680px));
  bottom: 0;
  width: min(760px, 58%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 68%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 68%, transparent 100%);
}

/* Registration card */
.register {
  align-self: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.register__title {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}
.register__sub { margin-top: 2px; color: var(--muted); font-size: 14.5px; }

.seats {
  margin-block: 18px 20px;
  padding: 14px 16px 16px;
  border-radius: var(--radius);
  background: var(--ice);
}
.seats__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.seats__left { color: var(--navy); font-size: 14px; font-weight: 600; }
.seats__left strong {
  color: var(--crimson);
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.seats__taken { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.seats__taken b { color: var(--navy); font-variant-numeric: tabular-nums; }
.seats__grid {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 3px;
  margin-top: 12px;
}
.seats__grid span {
  aspect-ratio: 1;
  border-radius: 3px;
  background: #c4d9ee;
  transition: background-color 0.3s;
  transition-delay: calc(var(--i, 0) * 5ms);
}
.seats__grid span.on { background: var(--navy); }

#reg-form, #auth-form { display: grid; gap: 14px; }

/* Account */
.acct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7fbff;
  font-size: 14px;
}
.acct__who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--navy);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.acct__who .icon { width: 18px; height: 18px; }
.linkbtn {
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 650;
  text-align: inherit;
  cursor: pointer;
}
.linkbtn:hover { text-decoration: underline; }
.authmode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--ice);
}
.authmode button {
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}
.authmode button[aria-pressed="true"] {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 3px rgb(15 58 110 / 0.2);
}
.auth__hint { margin-block: 12px 14px; color: #33496a; font-size: 14px; line-height: 1.4; }
.field__help { color: var(--muted); font-size: 13px; line-height: 1.35; }
.field input[readonly] { background: var(--ice); color: #33496a; cursor: default; }
.field input[readonly]:hover { border-color: var(--line-strong); }
.captcha { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.captcha img {
  flex: 1 1 auto;
  width: 0;
  max-width: 240px;
  height: auto;
  min-height: 48px;
  padding-inline: 8px;
  box-sizing: content-box;
  border: 1.5px solid var(--line-strong);
  border-radius: 11px;
  background: var(--white);
}
.captcha__reload {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 11px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.captcha__reload:hover { background: var(--ice); border-color: var(--navy); }
.forgot { font-size: 13.5px; line-height: 1.35; text-align: center; }
.forgot a { color: var(--blue); font-weight: 600; text-decoration: none; }
.forgot a:hover { text-decoration: underline; }
.loading { display: grid; gap: 14px; padding-block: 4px; }
.loading span {
  height: 48px;
  border-radius: 11px;
  background: var(--ice);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  50% { opacity: 0.45; }
}
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}
.consent .icon { width: 15px; height: 15px; margin-top: 1px; }

.state { padding-block: 4px 2px; text-align: center; }
.state h3 {
  margin-top: 12px;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}
.state h3:focus { outline: none; }
.state p { margin-top: 6px; color: #33496a; }
.state p.state__note { color: var(--muted); font-size: 13.5px; }
.state__login { display: block; margin: 12px auto 0; text-align: center; }
.state__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
}
.state__icon .icon { width: 28px; height: 28px; stroke-width: 2.2; }
.state__icon--crimson { background: var(--rose); color: var(--crimson); }
.summary {
  display: grid;
  gap: 8px;
  margin-block: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--ice);
  text-align: left;
}
.summary dt { color: var(--muted); font-size: 12.5px; }
.summary dd { color: var(--navy); font-weight: 650; overflow-wrap: anywhere; }
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 650;
  text-decoration: none;
}
.textlink:hover { text-decoration: underline; }
.textlink .icon { width: 18px; height: 18px; }

/* Sections */
.section { padding-block: 64px; }
.section--ice { background: var(--ice); }
.heading {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 26px;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.18;
  text-transform: uppercase;
  text-wrap: balance;
}
.heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 4px;
  border-radius: 2px;
  background: var(--crimson);
}
.subheading {
  margin-top: 44px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 750;
}

/* Key facts */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.fact {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.fact__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ice);
  color: var(--navy);
}
.fact dt { color: var(--muted); font-size: 13px; font-weight: 500; }
.fact dd { color: var(--navy); font-size: 1.04rem; font-weight: 700; line-height: 1.32; overflow-wrap: anywhere; }
.fact dd small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.35;
}
.fact dd.is-tba { color: var(--muted); font-weight: 550; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 18px 18px 18px 64px;
  border-radius: var(--radius);
  background: var(--ice);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--white);
  font-weight: 750;
}
.steps h4 { color: var(--navy); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.steps p { margin-top: 4px; color: #3b5070; font-size: 14.5px; line-height: 1.45; }

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 48px;
  align-items: center;
}
.about__copy > p { max-width: 42em; margin-top: 12px; color: #2c4563; }
.about__copy > .heading + p { margin-top: 0; }
.about__art { display: flex; justify-content: center; }
.about__art img {
  width: auto;
  max-height: 560px;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 10%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 10%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent);
  mask-composite: intersect;
}
.callout {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--rose-line);
  border-radius: var(--radius);
  background: var(--rose);
}
.callout__icon { color: var(--crimson); }
.callout__icon .icon { width: 30px; height: 30px; }
.callout__date { color: var(--crimson); font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
.callout p:last-child { margin-top: 2px; color: #33496a; }
.doclink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 11px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}
.doclink:hover { border-color: var(--navy); background: #f7fbff; }
.doclink small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 450; }
.doclink__arrow { color: var(--crimson); }

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}
.strip li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
}
.strip li + li { border-left: 1px solid rgb(255 255 255 / 0.22); }
.strip .icon { width: 28px; height: 28px; margin-top: 1px; stroke-width: 1.6; }
.strip h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.01em; }
.strip p { margin-top: 3px; color: #d7e5f4; font-size: 14px; line-height: 1.4; }

/* Topics */
.topics { display: grid; gap: 12px; }
.topic {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fbff;
}
.topic__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  color: var(--white);
  text-align: center;
}
.topic__num b { font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.topic__num span { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.topic--1 .topic__num { background: var(--navy); }
.topic--2 .topic__num { background: var(--blue); }
.topic--3 .topic__num { background: var(--steel); }
.topic--4 .topic__num { background: var(--teal); }
.topic__body { padding: 16px 20px; }
.topic__body > p:first-child { color: var(--ink); font-weight: 600; line-height: 1.42; }
.topic__coord { margin-top: 6px; color: var(--crimson-deep); font-size: 14px; font-weight: 600; }
.topic__coord span { color: var(--muted); font-weight: 450; }

/* Contacts */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}
.lead { margin-top: -10px; margin-bottom: 18px; color: #33496a; }
.people { display: grid; gap: 12px; }
.people li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.people__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}
.people p { color: var(--navy); font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.people a {
  color: var(--crimson);
  font-size: 1.15rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.people a:hover { text-decoration: underline; }
.venue { display: grid; gap: 10px; margin-top: 18px; }
.venue dt { color: var(--muted); font-size: 13px; }
.venue dd { color: var(--navy); font-weight: 650; }
.venue a { color: var(--blue); text-decoration: none; }
.venue a:hover { text-decoration: underline; }
.committee { display: grid; gap: 10px; }
.committee div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.committee dt { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.committee dd { margin-top: 3px; color: var(--crimson-deep); font-weight: 700; }

/* Closing band */
.band { padding-block: 26px; background: var(--crimson); color: var(--white); }
.band__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}
.band p { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }

/* Footer */
.footer { padding-top: 36px; background: var(--white); }
.footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.footer__org { max-width: 300px; }
.footer__org img { width: 150px; }
.footer__org p { margin-top: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.footer__min { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.footer__min li { display: flex; align-items: center; gap: 12px; max-width: 280px; }
.footer__min img { width: 52px; flex: none; }
.footer__min span { color: #3b5070; font-size: 12.5px; line-height: 1.35; }
.footer__line {
  margin-top: 28px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  color: #5a6f88;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1120px) {
  .topnav { display: none; }
  .topbar__end { margin-left: auto; }
  .topnav + .topbar__end { margin-left: auto; }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px 40px; }
  .hero__copy { padding-bottom: 0; }
  .hero__skyline { display: none; }
  .register { width: 100%; max-width: 560px; }
  .facts, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .about__art { display: none; }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .strip li + li { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.22); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .topbar__in { gap: 10px; min-height: 60px; }
  .brand img { width: 104px; }
  .topbar__end { gap: 8px; }
  .topbar__cta { display: none; }
  .pill { font-size: 12px; padding: 7px 14px; }
  .chips li { font-size: 14px; padding: 9px 12px; }
  .tagline { display: none; }
  .register { padding: 20px 16px; border-radius: 18px; }
  .section { padding-block: 44px; }
  .facts, .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .subheading { margin-top: 32px; }
  .topic { grid-template-columns: 64px minmax(0, 1fr); }
  .topic__num b { font-size: 1.35rem; }
  .topic__num span { font-size: 9.5px; letter-spacing: 0.02em; }
  .topic__body { padding: 14px; }
  .band__in { flex-direction: column; align-items: stretch; text-align: center; }
  .footer__in { flex-direction: column; align-items: flex-start; }
  .footer__line { letter-spacing: 0.04em; }
}
