/* Front page (ET + EN home) */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  height: 690px;
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(157, 0, 224, 0.55), transparent 55%),
    linear-gradient(160deg, var(--dark) 0%, var(--primary) 60%, var(--indigo) 130%);
  color: #fff;
  padding-block: 0;
}
.hero .hero__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: var(--pad);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(157, 0, 224, 0.45), transparent 55%),
    linear-gradient(160deg, rgba(22, 8, 48, 0.72) 0%, rgba(46, 15, 88, 0.55) 60%, rgba(160, 24, 130, 0.5) 130%);
  pointer-events: none;
}

/* Ride tiles */
.tiles__grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (max-width: 820px) {
  .hero {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
  }
}
.tile {
  overflow: hidden;
}
.tile__media {
  position: relative;
  aspect-ratio: auto;
  height: clamp(220px, 28vw, 280px);
  overflow: hidden;
}
.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.tile__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 3vw, 24px);
  background: linear-gradient(to top, rgba(22, 8, 48, 0.85), transparent);
}
.tile__sub { color: #fff; }
#soidud .tile__body {
  align-items: flex-end;
  text-align: right;
}
.tile__body h2 {
  color: #fff;
  margin: 0;
}
.tile .btn--outline {
  align-self: flex-start;
  min-width: 8.125rem;
  text-align: center;
  margin-top: 0;
  color: #fff;
  border-color: #fff;
}
#soidud .tile .btn--outline {
  align-self: flex-end;
}
.tile .btn--outline:hover { background: var(--neon); color: var(--primary); border-color: var(--neon); }

/* Feature bands */
.feature { color: #fff; }
.feature--school {
  position: relative;
  overflow: hidden;
  padding-block: 0;
  height: 690px;
  background:
    linear-gradient(120deg, rgba(22, 8, 48, 0.75), rgba(46, 15, 88, 0.65)),
    url('https://imagedelivery.net/NYz-2vHFqLAZVXv3jgdQ2Q/7ba6a62e-7e49-4ce2-bfd4-1c6ad95a0f00/HQ') center 30% / cover no-repeat;
}
.feature--school .feature__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  max-width: 760px;
  display: flex;
  align-items: flex-end;
  padding-inline: var(--pad);
  padding-bottom: var(--pad);
}
.feature--rsx {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  padding-block: 0;
  height: 690px;
}
.feature--rsx .feature__media {
  margin: 0;
  height: 100%;
}
.feature--rsx .feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature--rsx .feature__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(22, 8, 48, 0.85), rgba(160, 24, 130, 0.55));
  pointer-events: none;
}
.feature--rsx .feature__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: 760px;
  display: flex;
  align-items: flex-end;
  padding-inline: var(--pad);
  padding-bottom: var(--pad);
}
.feature--rsx h2 {
  font-size: clamp(40px, 8vw, 72px);
}
.feature__inner { max-width: 760px; }
.feature h2 { color: #fff; }
.feature__kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--neon);
  font-weight: 700;
}
.feature p { color: #ffffff; }
.feature .btn--outline { color: #fff; }

/* Contact */
.contact { background: #f6f3fc; }
.contact__inner {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .contact__inner { grid-template-columns: 0.8fr 1.2fr; }
}
.contact__inner a:hover { color: var(--purple); }
