:root {
  color-scheme: light;
  --night: #10172a;
  --night-soft: #18233b;
  --blue: #2148ff;
  --blue-bright: #4665ff;
  --lime: #d8ff43;
  --coral: #ff6244;
  --paper: #f6f7fb;
  --white: #fff;
  --muted: #a9b3c7;
  --line: #dfe3ed;
  --shell: 1280px;
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body.modern-site {
  margin: 0;
  background: var(--paper);
  color: var(--night);
  font-size: 16px;
  line-height: 1.6;
}

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

.modern-site a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.modern-site a:focus-visible,
.modern-site button:focus-visible,
.modern-site select:focus-visible,
.modern-site input:focus-visible,
.modern-menu summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.modern-shell {
  width: min(var(--shell), calc(100% - clamp(32px, 8vw, 112px)));
  margin-inline: auto;
}

.modern-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.modern-skip {
  position: absolute;
  z-index: 50;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--night);
  font-weight: 700;
}

.modern-skip:focus {
  transform: translateY(0);
}

.modern-header {
  position: relative;
  z-index: 10;
  background: #fff;
}

.modern-header__inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.modern-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.modern-brand img {
  width: clamp(150px, 18vw, 210px);
  height: auto;
}

.modern-brand > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.modern-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.modern-nav > a:not(.modern-button) {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.modern-nav > a:not(.modern-button):hover {
  color: var(--blue);
}

.modern-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lime);
  color: var(--night);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.modern-button:hover {
  transform: translateY(-2px);
  background: #e7ff8c;
}

.modern-button--nav {
  min-height: 44px;
  padding: 10px 17px;
  background: var(--night);
  color: var(--white);
}

.modern-button--nav:hover {
  background: var(--blue);
  color: var(--white);
}

.modern-button--ghost {
  border-color: rgb(255 255 255 / 45%);
  background: transparent;
  color: var(--white);
}

.modern-button--ghost:hover {
  background: rgb(255 255 255 / 10%);
}

.modern-button--lime {
  background: var(--lime);
}

.modern-button--blue {
  background: var(--blue);
  color: var(--white);
}

.modern-button--blue:hover {
  background: var(--blue-bright);
  color: var(--white);
}

.modern-menu {
  display: none;
}

.modern-hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
  isolation: isolate;
}

.modern-hero__glow {
  position: absolute;
  z-index: -1;
  top: -28%;
  right: -5%;
  width: 72vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(33 72 255 / 36%) 0, rgb(33 72 255 / 8%) 43%, transparent 70%);
}

.modern-hero__grid {
  display: grid;
  min-height: 620px;
  grid-template-columns: 1fr 0.94fr;
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding-block: clamp(64px, 8vw, 106px);
}

.modern-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.modern-live-dot,
.modern-kicker > span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgb(216 255 67 / 16%);
}

.modern-hero h1,
.modern-section-heading h2,
.modern-facility h2,
.modern-start h2 {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(47px, 6.4vw, 84px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

.modern-hero h1 span {
  color: var(--lime);
}

.modern-hero__description {
  max-width: 510px;
  margin: 24px 0 0;
  color: #d6dced;
  font-size: clamp(16px, 1.4vw, 19px);
}

.modern-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.modern-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: #c3cad8;
  font-size: 11px;
  font-weight: 700;
  list-style: none;
}

.modern-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-proof li span {
  color: var(--lime);
  font-size: 16px;
}

.modern-hero__visual {
  position: relative;
  width: min(100%, 560px);
  justify-self: end;
}

.modern-hero__image {
  overflow: hidden;
  height: clamp(340px, 42vw, 520px);
  transform: rotate(2deg);
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 42% 42% 22px 22px;
  background: #536445;
  box-shadow: 0 25px 90px rgb(0 0 0 / 30%);
}

.modern-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}

.modern-float-card {
  position: absolute;
  right: -4%;
  bottom: 9%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 14px;
  min-width: 240px;
  padding: 14px 16px;
  transform: rotate(-2deg);
  background: var(--white);
  color: var(--night);
  box-shadow: 7px 8px 0 var(--coral);
}

.modern-float-card span {
  grid-column: 1;
  color: var(--blue);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.modern-float-card b {
  grid-column: 1;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.modern-float-card i {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--blue);
  font-size: 23px;
  font-style: normal;
}

.modern-speed-tag {
  position: absolute;
  top: 1%;
  right: -7%;
  display: grid;
  width: 98px;
  aspect-ratio: 1;
  place-content: center;
  transform: rotate(10deg);
  border: 6px solid var(--night);
  border-radius: 50%;
  background: var(--lime);
  color: var(--night);
  font-size: 14px;
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
}

.modern-marquee {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  overflow: hidden;
  padding-inline: 5vw;
  background: var(--lime);
  color: var(--night);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.modern-marquee b {
  color: var(--coral);
  font-size: 20px;
}

.modern-section {
  padding-block: clamp(72px, 9vw, 112px);
}

.modern-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 32px;
}

.modern-kicker--dark {
  color: var(--blue);
}

.modern-kicker--dark > span {
  box-shadow: 0 0 0 5px rgb(33 72 255 / 12%);
}

.modern-section-heading h2,
.modern-facility h2,
.modern-start h2 {
  font-size: clamp(40px, 5.5vw, 66px);
  line-height: 1.02;
}

.modern-section-heading h2 em,
.modern-start h2 em {
  color: var(--blue);
  font-style: normal;
}

.modern-section-heading > p {
  max-width: 390px;
  margin: 0 0 4px;
  color: #5d6577;
  font-size: 14px;
}

.modern-class-tools {
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 28px rgb(16 23 42 / 5%);
}

.modern-search {
  display: flex;
  min-width: 200px;
  min-height: 48px;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #6a7387;
}

.modern-search > span {
  font-size: 25px;
  line-height: 1;
}

.modern-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--night);
  font: inherit;
  font-size: 13px;
}

.modern-search input::placeholder {
  color: #7b8496;
  opacity: 1;
}

.modern-search kbd {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #677186;
  font: 10px "Segoe UI", sans-serif;
}

.modern-filter-label {
  display: grid;
  min-width: 142px;
  gap: 5px;
  color: #596277;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.modern-filter-label select {
  width: 100%;
  min-height: 42px;
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--night);
  font: 600 12px "Segoe UI", sans-serif;
}

.modern-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-block: 18px 22px;
}

.modern-chip {
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid #d9deea;
  border-radius: 999px;
  background: transparent;
  color: #4c5569;
  cursor: pointer;
  font: 700 11px "Segoe UI", sans-serif;
}

.modern-chip:hover,
.modern-chip.is-active {
  border-color: var(--night);
  background: var(--night);
  color: var(--white);
}

.modern-result-count {
  margin-left: auto;
  color: #687186;
  font-size: 11px;
  font-weight: 700;
}

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

.modern-class-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 6px 20px rgb(16 23 42 / 4%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.modern-class-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgb(16 23 42 / 11%);
}

.modern-class-card[hidden] {
  display: none;
}

.modern-class-card__image {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
  background: #dfe5ed;
}

.modern-class-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.modern-class-card:hover .modern-class-card__image img {
  transform: scale(1.035);
}

.modern-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 5px;
  background: var(--lime);
  color: var(--night);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.modern-class-card__body {
  padding: 17px;
}

.modern-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modern-card-meta span {
  padding: 4px 8px;
  border-radius: 99px;
  background: #edf0ff;
  color: #233fbd;
  font-size: 9px;
  font-weight: 800;
}

.modern-card-meta span + span {
  background: #eef1f5;
  color: #4e586c;
}

.modern-class-card h3 {
  margin: 12px 0 6px;
  font-size: 18px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.modern-class-card__body > p {
  min-height: 61px;
  margin: 0;
  color: #5d6577;
  font-size: 12px;
}

.modern-schedule {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  color: #37435c;
  font-size: 10px;
  font-weight: 700;
}

.modern-schedule span {
  color: var(--blue);
  font-size: 16px;
  line-height: 1.2;
}

.modern-card-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--night);
  color: var(--white) !important;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.modern-card-link:hover {
  background: var(--blue);
}

.modern-card-link span {
  color: var(--lime);
  font-size: 17px;
}

.modern-empty {
  padding: 30px;
  border: 1px dashed #aeb7c9;
  border-radius: 12px;
  color: #596277;
  text-align: center;
}

.modern-empty[hidden] {
  display: none;
}

.modern-disclaimer {
  margin: 18px 0 0;
  color: #697286;
  font-size: 10px;
}

.modern-events {
  padding-block: clamp(72px, 9vw, 108px);
  background: var(--night);
  color: var(--white);
}

.modern-section-heading--events {
  align-items: center;
}

.modern-section-heading--events h2 em {
  color: var(--lime);
  font-style: normal;
}

.modern-calendar-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modern-calendar-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
}

.modern-calendar-controls button:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.modern-calendar-controls > span {
  min-width: 120px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.modern-event-layout {
  display: grid;
  min-height: 0;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 24px;
}

.modern-calendar {
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 16px;
  background: #151e33;
}

.modern-calendar__weekdays,
.modern-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.modern-calendar__weekdays {
  margin-bottom: 8px;
}

.modern-calendar__weekdays span {
  color: #aeb8cc;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}

.modern-calendar__days button,
.modern-calendar__days > span {
  display: grid;
  min-width: 0;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #e8ebf2;
  font: 600 11px "Segoe UI", sans-serif;
}

.modern-calendar__days > span {
  opacity: 0;
}

.modern-calendar__days button {
  cursor: pointer;
}

.modern-calendar__days button:hover {
  border-color: rgb(255 255 255 / 38%);
}

.modern-calendar__days button.is-trial {
  background: #38d996;
  color: #10251c;
  font-weight: 900;
}

.modern-calendar__days button.is-seminar {
  background: #ffd34e;
  color: #30250a;
  font-weight: 900;
}

.modern-calendar__days button.is-trial.is-seminar {
  background: linear-gradient(135deg, #38d996 50%, #ffd34e 50%);
}

.modern-calendar__days button.is-selected {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.modern-calendar__days button.is-today:not(.is-event) {
  border-color: var(--lime);
}

.modern-calendar__legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  color: #b8c1d1;
  font-size: 9px;
}

.modern-calendar__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modern-calendar__legend-item::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
}

.modern-calendar__legend-item--trial::before {
  background: #38d996;
}

.modern-calendar__legend-item--seminar::before {
  background: #ffd34e;
}

.modern-event-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
}

.modern-event-search {
  flex: 1 1 280px;
  max-width: 460px;
  border-color: rgb(255 255 255 / 22%);
  background: #151e33;
  color: var(--white);
}

.modern-event-search input {
  color: var(--white);
}

.modern-event-search input::placeholder {
  color: #b8c1d1;
}

.modern-event-filter-label {
  min-width: 150px;
  flex: 1 1 150px;
  color: #d5dbea;
}

.modern-event-filter-label select {
  min-height: 48px;
  border-color: rgb(255 255 255 / 22%);
  background: #151e33;
  color: var(--white);
}

.modern-event-filter-label input {
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 9px;
  background: #151e33;
  color: var(--white);
  color-scheme: dark;
  font: 600 12px "Segoe UI", sans-serif;
}

.modern-event-tools .modern-calendar__legend {
  margin-left: auto;
}

.modern-event-tools .modern-result-count {
  margin-left: 0;
  color: #d5dbea;
}

#event-empty {
  border-color: rgb(255 255 255 / 35%);
  color: #d5dbea;
}

.modern-event-list {
  display: grid;
  min-height: 0;
  max-height: min(560px, 70vh);
  gap: 10px;
  align-self: start;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  padding: 2px 10px 2px 2px;
  scrollbar-color: #74839d #151e33;
  scrollbar-width: auto;
}

.modern-event-list::-webkit-scrollbar {
  width: 14px;
}

.modern-event-list::-webkit-scrollbar-track {
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
  background: #27334a;
}

.modern-event-list::-webkit-scrollbar-thumb {
  min-height: 40px;
  border: 3px solid #151e33;
  border-radius: 999px;
  background: #aab8d0;
}

.modern-event-list:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.modern-event-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  padding: 17px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-left: 4px solid #74839d;
  border-radius: 13px;
  background: #151e33;
}

.modern-event-card[data-event-type="trial"] {
  border-color: rgb(56 217 150 / 65%);
  border-left-color: #38d996;
  background: #102a25;
}

.modern-event-card[data-event-type="seminar"] {
  border-color: rgb(255 211 78 / 65%);
  border-left-color: #ffd34e;
  background: #30270f;
}

.modern-event-card[hidden] {
  display: none;
}

.modern-event-date {
  display: grid;
  width: 56px;
  height: 64px;
  align-content: center;
  justify-items: center;
  border-radius: 9px;
  background: var(--lime);
  color: var(--night);
  line-height: 1.1;
}

.modern-event-date span {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.modern-event-date b {
  font-size: 25px;
  letter-spacing: -0.06em;
}

.modern-event-type {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  background: #263247;
  color: var(--white);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.modern-event-card[data-event-type="trial"] .modern-event-date {
  background: #38d996;
  color: #10251c;
}

.modern-event-card[data-event-type="seminar"] .modern-event-date {
  background: #ffd34e;
  color: #30250a;
}

.modern-event-card[data-event-type="trial"] .modern-event-type {
  background: #38d996;
  color: #10251c;
}

.modern-event-card[data-event-type="trial"] .modern-event-card__copy > a {
  color: #64e6aa;
}

.modern-event-card[data-event-type="seminar"] .modern-event-type {
  background: #ffd34e;
  color: #30250a;
}

.modern-event-card[data-event-type="seminar"] .modern-event-card__copy > a {
  color: #ffd34e;
}

.modern-event-card h3 {
  margin: 4px 0;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.modern-event-card p {
  margin: 4px 0 8px;
  color: #bec7d7;
  font-size: 10px;
}

.modern-event-card__copy > a {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.modern-event-card__copy > a:hover {
  text-decoration: underline;
}

.modern-disclaimer--events {
  color: #aab5c9;
}

.modern-facility {
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.modern-facility__grid {
  display: grid;
  min-height: 620px;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: clamp(48px, 9vw, 120px);
  padding-block: clamp(72px, 9vw, 112px);
}

.modern-facility__map {
  padding: clamp(12px, 1.6vw, 20px);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 22px 56px rgb(7 14 32 / 22%);
}

.modern-facility__map-link {
  display: block;
}

.modern-facility__map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.modern-facility__map-caption {
  display: block;
  padding-top: 12px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.modern-facility__map-link:hover .modern-facility__map-caption {
  text-decoration: underline;
}

.modern-facility__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modern-button--facility {
  border: 1px solid rgb(255 255 255 / 65%);
  background: transparent;
  color: var(--white);
}

.modern-button--facility:hover {
  background: rgb(255 255 255 / 12%);
}

.modern-facility h2 {
  font-size: clamp(42px, 5vw, 62px);
}

.modern-facility__copy > p:not(.modern-kicker) {
  max-width: 450px;
  margin: 20px 0;
  color: #e0e5ff;
  font-size: 14px;
}

.modern-facility-stats {
  display: flex;
  gap: clamp(20px, 4vw, 50px);
  margin: 28px 0;
}

.modern-facility-stats > div {
  display: grid;
  gap: 4px;
}

.modern-facility-stats b {
  color: var(--lime);
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.modern-facility-stats span {
  max-width: 140px;
  color: #e0e5ff;
  font-size: 10px;
  font-weight: 700;
}

.modern-start {
  padding-block: clamp(72px, 9vw, 110px);
  background: #eff1f8;
}

.modern-start__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.modern-start__inner > div > p:last-child {
  max-width: 500px;
  margin: 18px 0 0;
  color: #5d6577;
  font-size: 13px;
}

.modern-footer {
  position: relative;
  padding-block: 26px;
  background: var(--night);
  color: #c0c8d7;
}

.modern-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 26px;
}

.modern-brand--footer img {
  width: 150px;
}

.modern-brand--footer > span {
  color: var(--lime);
}

.modern-footer__inner > p,
.modern-footer__links {
  margin: 0;
  font-size: 10px;
}

.modern-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.modern-footer__links a {
  color: #f1f3f7;
}

.modern-app-prompt {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 12px;
  background: var(--night-soft);
  color: var(--white);
  box-shadow: 0 15px 40px rgb(0 0 0 / 26%);
  font-size: 12px;
  font-weight: 700;
}

.modern-app-prompt[hidden] {
  display: none;
}

.modern-app-prompt button {
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  background: var(--lime);
  color: var(--night);
  cursor: pointer;
  font: 800 11px "Segoe UI", sans-serif;
}

.modern-app-prompt button:last-child {
  padding: 4px 8px;
  background: transparent;
  color: var(--white);
  font-size: 20px;
}

.modern-network-status {
  position: fixed;
  z-index: 29;
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  transform: translateY(150%);
  border-radius: 8px;
  background: var(--coral);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.modern-network-status.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 920px) {
  .modern-brand > span {
    display: none;
  }

  .modern-nav {
    gap: 18px;
  }

  .modern-hero__grid {
    gap: 32px;
  }

  .modern-hero h1 {
    font-size: clamp(48px, 6vw, 62px);
  }

  .modern-class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modern-facility__grid {
    gap: 45px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 20px;
  }

  .modern-shell {
    width: calc(100% - 36px);
  }

  .modern-header__inner {
    min-height: 72px;
  }

  .modern-brand img {
    width: min(48vw, 180px);
  }

  .modern-nav {
    display: none;
  }

  .modern-menu {
    position: relative;
    display: block;
  }

  .modern-menu summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 10px 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
  }

  .modern-menu summary::-webkit-details-marker {
    display: none;
  }

  .modern-menu summary span {
    font-size: 20px;
  }

  .modern-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: -4px;
    display: grid;
    width: min(250px, calc(100vw - 36px));
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 14px 34px rgb(16 23 42 / 16%);
  }

  .modern-menu nav a {
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .modern-menu nav a:hover {
    background: #eff1ff;
  }

  .modern-hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 58px 68px;
  }

  .modern-hero h1 {
    font-size: clamp(48px, 11.5vw, 70px);
  }

  .modern-hero__visual {
    width: min(90%, 470px);
    justify-self: center;
  }

  .modern-hero__image {
    height: clamp(300px, 88vw, 420px);
  }

  .modern-speed-tag {
    width: 82px;
    font-size: 12px;
  }

  .modern-float-card {
    right: -6%;
    min-width: 210px;
    padding: 11px 13px;
  }

  .modern-float-card b {
    font-size: 16px;
  }

  .modern-marquee {
    justify-content: flex-start;
  }

  .modern-marquee span:nth-of-type(n + 3),
  .modern-marquee b:nth-of-type(n + 3) {
    display: none;
  }

  .modern-section-heading,
  .modern-section-heading--events,
  .modern-start__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .modern-section-heading {
    margin-bottom: 26px;
  }

  .modern-class-tools {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    padding: 11px;
  }

  .modern-search {
    min-width: 100%;
  }

  .modern-search kbd {
    display: none;
  }

  .modern-filter-label {
    min-width: 0;
    flex: 1;
  }

  .modern-result-count {
    width: 100%;
    margin: 0;
  }

  .modern-class-grid {
    gap: 12px;
  }

  .modern-class-card__image {
    height: 150px;
  }

  .modern-class-card__body {
    padding: 12px;
  }

  .modern-class-card__body > p {
    min-height: 0;
    font-size: 11px;
  }

  .modern-class-card h3 {
    font-size: 15px;
  }

  .modern-card-meta span {
    padding: 4px 6px;
    font-size: 8px;
  }

  .modern-schedule {
    font-size: 9px;
  }

  .modern-card-link {
    min-height: 38px;
    padding: 8px;
    font-size: 9px;
  }

  .modern-chip-row {
    gap: 7px;
  }

  .modern-chip {
    padding-inline: 10px;
    font-size: 10px;
  }

  .modern-event-layout {
    grid-template-columns: 1fr;
  }

  .modern-event-tools {
    flex-wrap: wrap;
  }

  .modern-event-tools .modern-calendar__legend {
    margin-left: 0;
  }

  .modern-section-heading--events .modern-calendar-controls {
    align-self: stretch;
    justify-content: space-between;
  }

  .modern-calendar {
    padding: 12px;
  }

  .modern-event-card {
    grid-template-columns: 52px 1fr;
    gap: 11px;
    padding: 13px;
  }

  .modern-event-date {
    width: 50px;
    height: 58px;
  }

  .modern-facility__grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .modern-facility__map {
    width: 90%;
    margin-inline: auto;
  }

  .modern-facility-stats {
    gap: 28px;
  }

  .modern-start__inner {
    align-items: flex-start;
  }

  .modern-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .modern-app-prompt {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
  }

  .modern-network-status {
    right: 10px;
    bottom: 10px;
    left: 10px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .modern-shell {
    width: calc(100% - 28px);
  }

  .modern-class-grid {
    grid-template-columns: 1fr;
  }

  .modern-class-card__image {
    height: 190px;
  }

  .modern-class-card__body > p {
    min-height: auto;
  }

  .modern-chip-row {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
