@font-face {
  font-family: "JuniorDisplay";
  src: url("fonts/NeueMetanaNext-SemiBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1c1024;
  --deep: #0e1328;
  --night: #090d1e;
  --white: #ffffff;
  --orange: #ef8054;
  --pink: #d94d9d;
  --green: #44d889;
  --turquoise: #5cc8dc;
  --yellow: #dbe57f;
  --violet: #8f60a8;
  --text-soft: rgba(255, 255, 255, 0.76);
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  min-height: 86px;
  padding: 18px 56px;
  background: rgba(14, 19, 40, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.logo img {
  width: auto;
  height: 48px;
  display: block;
  object-fit: contain;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 22px;
}

.menu a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.menu a[aria-current="page"],
.menu a:hover {
  color: var(--yellow);
}

.hero {
  min-height: calc(100vh - 86px);
  position: relative;
  background: var(--deep);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 100%;
  transform: scale(1.01);
  transform-origin: center 100%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 13, 30, 0.62), rgba(9, 13, 30, 0.08) 54%, rgba(9, 13, 30, 0.34)),
    linear-gradient(0deg, rgba(9, 13, 30, 0.44), transparent 64%),
    radial-gradient(circle at 18% 34%, rgba(219, 229, 127, 0.08), transparent 30%),
    radial-gradient(circle at 78% 28%, rgba(217, 77, 157, 0.08), transparent 32%);
}

.hero-content,
.section-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 92px;
  padding-bottom: 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "JuniorDisplay", Arial, Helvetica, sans-serif;
  max-width: 960px;
  margin: 0;
  font-size: clamp(58px, 8.5vw, 122px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title-row {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-right: 250px;
}

.hero-time-badge {
  width: clamp(168px, 12vw, 210px);
  aspect-ratio: 1 / 1;
  padding: 24px 20px;
  position: absolute;
  right: 0;
  bottom: 6px;
  z-index: 2;
  background: rgba(28, 16, 36, 0.62);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.72);
  outline: 5px solid rgba(217, 77, 157, 0.70);
  outline-offset: -13px;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.28),
    0 0 30px rgba(217, 77, 157, 0.20),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateX(34%) rotate(-4deg);
}

.hero-time-badge span,
.hero-time-badge em {
  color: var(--yellow);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 2.4px;
  line-height: 1;
  text-transform: uppercase;
}

.hero-time-badge strong {
  margin: 5px 0;
  color: var(--white);
  font-family: "JuniorDisplay", Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

@media (min-width: 769px) {
  .hero-time-badge {
    right: 118px;
    bottom: -104px;
    transform: rotate(-4deg);
  }
}

.hero-subtitle {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.35;
  font-weight: 800;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.path-link {
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}

.button-primary,
.path-link {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(219, 229, 127, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.button:hover,
.path-link:hover {
  transform: translateY(-2px);
}

.section-inner {
  padding-top: 96px;
  padding-bottom: 96px;
}

main > section:not(.hero) {
  position: relative;
  overflow: hidden;
}

h2,
h3,
p {
  margin: 0;
}

h2 {
  max-width: 880px;
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

p {
  font-size: 18px;
  line-height: 1.56;
}

.intro {
  background:
    linear-gradient(rgba(18, 13, 36, 0.88), rgba(11, 22, 49, 0.88)),
    url("images/retino home.png") center / cover no-repeat,
    radial-gradient(circle at 14% 10%, rgba(217, 77, 157, 0.18), transparent 34%),
    linear-gradient(135deg, #120d24 0%, #0b1631 58%, #21142e 100%);
}

.showcase {
  background:
    linear-gradient(rgba(18, 13, 36, 0.84), rgba(11, 22, 49, 0.84)),
    url("images/retino home.png") center / cover no-repeat,
    radial-gradient(circle at 14% 10%, rgba(217, 77, 157, 0.18), transparent 34%),
    linear-gradient(135deg, #120d24 0%, #0b1631 58%, #21142e 100%);
}

.quick-facts,
.orientation,
.signup {
  background:
    radial-gradient(circle at 82% 16%, rgba(92, 200, 220, 0.16), transparent 34%),
    linear-gradient(145deg, #0e1328 0%, #171033 48%, #090d1e 100%);
}

.paths {
  background:
    radial-gradient(circle at 12% 16%, rgba(239, 128, 84, 0.18), transparent 34%),
    radial-gradient(circle at 80% 8%, rgba(219, 229, 127, 0.12), transparent 30%),
    linear-gradient(145deg, #15101c 0%, #0b2236 100%);
}

.intro-grid,
.orientation-grid,
.showcase-grid,
.signup-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 58px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 20px;
  color: var(--text-soft);
}

.intro-copy strong,
.intro-copy .text-yellow {
  color: var(--yellow);
  font-weight: 900;
}

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

.facts-grid article {
  min-height: 248px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.facts-grid span,
.path-copy span {
  display: block;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.facts-grid strong {
  display: block;
  margin-top: 24px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  font-weight: 900;
}

.facts-grid p {
  margin-top: 18px;
  color: var(--text-soft);
}

.paths-head {
  max-width: 860px;
  margin-bottom: 56px;
}

.paths-head p:not(.section-kicker) {
  max-width: 680px;
  margin-top: 24px;
  color: var(--text-soft);
}

.path-list {
  display: grid;
  gap: 34px;
}

.path-card {
  --accent: var(--yellow);
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  cursor: pointer;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), rgba(255, 255, 255, 0.07));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.path-card:nth-child(even) {
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
}

.path-rec {
  --accent: var(--orange);
}

.path-sing {
  --accent: var(--pink);
}

.path-choir {
  --accent: var(--turquoise);
}

.path-reading {
  --accent: var(--yellow);
}

.path-media {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  background: var(--accent);
}

.path-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid color-mix(in srgb, var(--accent) 64%, rgba(255, 255, 255, 0.36));
  pointer-events: none;
}

.path-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(9, 13, 30, 0.42), rgba(9, 13, 30, 0.10)),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 26%, transparent), transparent 58%),
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(9, 13, 30, 0.36));
}

.path-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.64) contrast(0.92) brightness(0.88);
  opacity: 0.82;
  transition:
    transform 0.72s ease,
    opacity 0.72s ease,
    filter 0.72s ease;
}

.path-card:hover .path-media img {
  transform: scale(1.045);
  opacity: 0.94;
  filter: saturate(0.86) contrast(0.96) brightness(0.92);
}

.path-rec .path-media img {
  object-position: center;
}

.path-sing .path-media img {
  object-position: 58% center;
}

.path-choir .path-media img {
  object-position: center;
}

.path-reading .path-media img {
  object-position: 46% center;
}

.path-copy {
  padding: clamp(30px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-left: 8px solid var(--accent);
}

.path-copy span {
  color: var(--accent);
}

.path-copy h3 {
  max-width: 700px;
  margin-top: 18px;
  font-size: clamp(34px, 4.7vw, 64px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.path-copy p {
  max-width: 680px;
  margin-top: 24px;
  color: var(--text-soft);
}

.path-details {
  width: 100%;
  max-width: 720px;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.path-details div {
  min-height: 120px;
  padding: 18px;
  background: color-mix(in srgb, var(--accent) 24%, rgba(255, 255, 255, 0.08));
  border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent);
}

.path-details dt {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.path-details dd {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  line-height: 1.38;
}

.path-link {
  margin-top: 32px;
  background: var(--accent);
}

.path-card .path-link {
  --cta-a: color-mix(in srgb, var(--accent) 92%, var(--white));
  --cta-b: color-mix(in srgb, var(--accent) 74%, var(--deep));
  --cta-outline: color-mix(in srgb, var(--accent) 82%, rgba(255, 255, 255, 0.22));
  --cta-glow: color-mix(in srgb, var(--accent) 48%, transparent);
}

.path-rec .path-link,
.path-reading .path-link {
  color: var(--deep);
}

.path-sing .path-link,
.path-choir .path-link {
  color: var(--white);
}

.paths-actions {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.paths-teachers-link {
  --cta-a: var(--turquoise);
  --cta-b: var(--pink);
  --cta-outline: rgba(92, 200, 220, 0.78);
  --cta-glow: rgba(92, 200, 220, 0.38);
}

.orientation-copy p:not(.section-kicker),
.showcase-copy p,
.signup-grid > div > p {
  margin-top: 22px;
  color: var(--text-soft);
}

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

.orientation-board article,
.orientation-choice {
  min-height: 170px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  appearance: none;
  font: inherit;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.orientation-choice:hover,
.orientation-choice:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(219, 229, 127, 0.58);
  transform: translateY(-3px);
  outline: none;
}

.orientation-board span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.35;
}

.orientation-board strong {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.orientation-board article:nth-child(1) strong,
.orientation-choice:nth-child(1) strong {
  color: var(--orange);
}

.orientation-board article:nth-child(2) strong,
.orientation-choice:nth-child(2) strong {
  color: var(--pink);
}

.orientation-board article:nth-child(3) strong,
.orientation-choice:nth-child(3) strong {
  color: var(--turquoise);
}

.orientation-board article:nth-child(4) strong,
.orientation-choice:nth-child(4) strong {
  color: var(--yellow);
}

.showcase-grid {
  align-items: center;
}

.showcase-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background-image: url("images/sivainscena.jpg");
  background-size: auto 112%;
  background-position: 12% 50%;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    var(--shadow),
    inset 0 0 0 10px rgba(255, 255, 255, 0.035);
  animation: showcaseImagePan 12s ease-in-out infinite alternate;
}

.showcase-image::before,
.showcase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.showcase-image::before {
  background:
    linear-gradient(90deg, rgba(18, 13, 36, 0.72), transparent 28%, transparent 70%, rgba(18, 13, 36, 0.68)),
    linear-gradient(0deg, rgba(9, 13, 30, 0.42), transparent 42%, rgba(217, 77, 157, 0.10)),
    radial-gradient(circle at 28% 18%, rgba(219, 229, 127, 0.16), transparent 34%),
    radial-gradient(circle at 76% 74%, rgba(92, 200, 220, 0.18), transparent 34%);
  opacity: 0.82;
}

.showcase-image::after {
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%) skewX(-10deg);
  animation: showcaseImageReveal 5.8s ease-in-out infinite;
}

@keyframes showcaseImagePan {
  0% {
    background-position: 10% 50%;
  }

  50% {
    background-position: 58% 47%;
  }

  100% {
    background-position: 88% 52%;
  }
}

@keyframes showcaseImageReveal {
  0%,
  26% {
    transform: translateX(-120%) skewX(-10deg);
    opacity: 0;
  }

  48% {
    opacity: 1;
  }

  72%,
  100% {
    transform: translateX(310%) skewX(-10deg);
    opacity: 0;
  }
}

.signup-form {
  min-width: 0;
  padding: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 22px;
  box-shadow: var(--shadow);
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  font-size: 17px;
  line-height: 1.2;
  padding: 14px;
  outline: none;
}

.signup-form select option {
  color: var(--ink);
}

.signup-form textarea {
  min-height: 170px;
  resize: vertical;
}

.signup-form input::placeholder,
.signup-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(219, 229, 127, 0.16);
}

.full {
  grid-column: 1 / -1;
}

.signup-form label.full {
  padding-bottom: 0;
}

.signup-form .button {
  width: 100%;
  border: 0;
  min-height: 58px;
  margin-top: 34px;
  margin-bottom: 0;
  transform: none;
  position: static;
}

body.js-scroll-motion .hero-image {
  transform: scale(var(--hero-scale, 1.02)) translate3d(0, var(--hero-y, 0px), 0);
  transform-origin: center;
  will-change: transform;
}

body.js-scroll-motion .hero-shade {
  opacity: var(--hero-shade-opacity, 1);
}

body.js-scroll-motion .hero-content > * {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  animation: heroRise 0.95s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

body.js-scroll-motion .hero-content > :nth-child(2) {
  animation-delay: 0.12s;
}

body.js-scroll-motion .hero-content > :nth-child(3) {
  animation-delay: 0.24s;
}

body.js-scroll-motion .hero-content > :nth-child(4) {
  animation-delay: 0.36s;
}

body.js-scroll-motion .scroll-scene > .section-inner {
  transform: translate3d(0, var(--section-y, 18px), 0);
  transition:
    transform 0.5s ease-out,
    opacity 0.5s ease-out;
  will-change: transform, opacity;
}

body.js-scroll-motion .scroll-scene.is-leaving > .section-inner {
  opacity: 0.58;
  transform: translate3d(0, -34px, 0) scale(0.985);
}

body.js-scroll-motion .reveal-item {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  filter: blur(8px);
  transition:
    opacity 0.85s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.85s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.85s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0s);
}

body.js-scroll-motion .section-kicker.reveal-item,
body.js-scroll-motion h2.reveal-item {
  transform: translate3d(-28px, 42px, 0);
}

body.js-scroll-motion article.reveal-item,
body.js-scroll-motion .signup-form label.reveal-item {
  transform: translate3d(0, 52px, 0) scale(0.965);
}

body.js-scroll-motion .is-visible .reveal-item {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

body.js-scroll-motion .is-leaving .reveal-item {
  opacity: 0.42;
  transform: translate3d(0, -20px, 0) scale(0.985);
  filter: blur(2px);
  transition-delay: 0s;
}

@keyframes heroRise {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1040px) {
  .site-header {
    min-height: 76px;
    padding: 16px 24px;
  }

  .menu {
    display: none;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo img {
    height: 40px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content,
  .section-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .intro-grid,
  .orientation-grid,
  .showcase-grid,
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .facts-grid,
  .orientation-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-card,
  .path-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .path-media {
    min-height: 360px;
  }

  .path-copy {
    border-left: 0;
    border-top: 8px solid var(--accent);
  }

  .signup-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 660px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section-inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .facts-grid,
  .orientation-board {
    grid-template-columns: 1fr;
  }

  .path-copy {
    padding: 28px 22px 32px;
  }

  .path-media,
  .showcase-image {
    min-height: 320px;
  }

  .path-details {
    grid-template-columns: 1fr;
  }

  .path-details div {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  body.js-scroll-motion .hero-image,
  body.js-scroll-motion .hero-content > *,
  body.js-scroll-motion .scroll-scene > .section-inner,
  body.js-scroll-motion .reveal-item {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

h2,
h3 {
  font-family: "JuniorDisplay", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.path-copy h3 {
  font-size: clamp(29px, 4vw, 52px);
  line-height: 0.98;
}

.hero h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

main p:not(.section-kicker),
blockquote {
  text-align: justify;
  text-align-last: left;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.showcase-grid {
  grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 54px;
}

.showcase-image {
  min-height: 640px;
  background-size: cover;
  background-position: center;
  animation: none;
}

.showcase-image::after {
  display: none;
  animation: none;
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-image {
    min-height: 420px;
  }
}

/* Cinearte neon hover */
h2 {
  --cinearte-glow-core: rgba(219, 229, 127, 0.96);
  --cinearte-glow-a: rgba(217, 77, 157, 0.72);
  --cinearte-glow-b: rgba(92, 200, 220, 0.62);
  --cinearte-glow-c: rgba(239, 128, 84, 0.50);
  cursor: default;
}

h2:hover {
  color: var(--white);
  text-shadow:
    0 0 7px var(--cinearte-glow-core),
    0 0 18px var(--cinearte-glow-a),
    0 0 34px var(--cinearte-glow-b),
    0 0 58px var(--cinearte-glow-c),
    0 0 78px rgba(143, 96, 168, 0.42);
}

/* CTA neon treatment */
.button,
.path-link,
.orientation-choice,
.signup-form .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.88);
  outline: 4px solid var(--cta-outline, rgba(217, 77, 157, 0.76));
  outline-offset: -10px;
  background:
    linear-gradient(135deg, var(--cta-a, var(--yellow)), var(--cta-b, var(--turquoise)));
  color: var(--deep);
  box-shadow:
    0 0 18px var(--cta-glow, rgba(219, 229, 127, 0.46)),
    0 18px 42px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    outline-color 0.3s ease;
}

.button-secondary,
.orientation-choice:nth-child(even) {
  --cta-a: var(--orange);
  --cta-b: var(--pink);
  --cta-outline: rgba(92, 200, 220, 0.76);
  --cta-glow: rgba(239, 128, 84, 0.46);
  color: var(--white);
}

.button::before,
.path-link::before,
.orientation-choice::before,
.signup-form .button::before {
  content: "";
  position: absolute;
  inset: -65%;
  z-index: auto;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.44) 50%, transparent 66%);
  opacity: 0.6;
  transform: translateX(-24%) rotate(-8deg);
  transition:
    opacity 0.32s ease,
    transform 0.56s cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover,
.path-link:hover,
.orientation-choice:hover,
.signup-form .button:hover {
  background:
    linear-gradient(135deg, var(--cta-a, var(--yellow)), var(--cta-b, var(--turquoise)));
  color: var(--deep);
  transform: translateY(-3px) scale(1.035);
  outline-color: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.34),
    0 0 30px var(--cta-glow, rgba(219, 229, 127, 0.46)),
    0 22px 54px rgba(0, 0, 0, 0.30);
}

.button-secondary:hover,
.orientation-choice:nth-child(even):hover {
  color: var(--white);
}

.button:hover::before,
.path-link:hover::before,
.orientation-choice:hover::before,
.signup-form .button:hover::before {
  opacity: 0.95;
  transform: translateX(18%) rotate(8deg);
}

/* SHARED MOBILE RESPONSIVE */

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 1024px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
  }

  .site-header {
    min-height: 84px;
    padding: 0 32px;
    flex-direction: row;
  }

  .mobile-menu-toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    background: rgba(14, 19, 40, 0.94);
    color: var(--white);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0;
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
    display: block;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    z-index: 40;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px;
    background: rgba(14, 19, 40, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  }

  .site-header.is-menu-open .menu {
    display: grid;
  }

  .menu a {
    min-height: 46px;
    padding: 14px 12px;
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .menu a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 768px) {
  .site-header {
    min-height: 72px;
    padding: 0 18px;
  }

  .logo img {
    height: 40px;
  }

  .menu {
    left: 14px;
    right: 14px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-content,
  .section-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 78px);
    line-height: 0.88;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .path-link,
  .orientation-choice,
  .signup-form .button {
    width: 100%;
    min-height: 50px;
  }

  .intro-grid,
  .facts-grid,
  .orientation-grid,
  .showcase-grid,
  .signup-grid,
  .signup-form {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 0.98;
  }

  main p:not(.section-kicker),
  blockquote {
    font-size: 16px;
    line-height: 1.48;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(42px, 16vw, 60px);
  }

  h2 {
    font-size: clamp(27px, 9.5vw, 36px);
  }
}

/* MOBILE HERO TITLE SAFETY */

@media (max-width: 768px) {
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-top: 54px;
    padding-bottom: 78px;
    overflow: hidden;
  }

  .hero h1,
  .hero-subtitle,
  .hero-actions {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .hero-title-row {
    width: 100%;
    padding-right: 0;
    display: grid;
    gap: 18px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 0.92;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero-time-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: 142px;
    transform: rotate(-3deg);
  }

  .hero-time-badge strong {
    font-size: 27px;
  }

  .hero-subtitle {
    font-size: 17px;
    line-height: 1.38;
    text-align: left;
    text-align-last: left;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(31px, 10vw, 42px);
  }
}

/* ORIENTATION CARDS READABILITY */

.orientation-choice {
  --choice-accent: var(--turquoise);
  min-height: 186px;
  background:
    linear-gradient(135deg, rgba(18, 13, 36, 0.96), rgba(35, 11, 37, 0.94)),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--choice-accent) 42%, transparent), transparent 42%);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  outline-color: color-mix(in srgb, var(--choice-accent) 76%, rgba(255, 255, 255, 0.18));
  box-shadow:
    0 0 18px color-mix(in srgb, var(--choice-accent) 32%, transparent),
    0 18px 46px rgba(0, 0, 0, 0.34);
}

.orientation-choice:nth-child(1) {
  --choice-accent: var(--orange);
}

.orientation-choice:nth-child(2) {
  --choice-accent: var(--pink);
}

.orientation-choice:nth-child(3) {
  --choice-accent: var(--turquoise);
}

.orientation-choice:nth-child(4) {
  --choice-accent: var(--yellow);
}

.orientation-choice:hover,
.orientation-choice:focus-visible {
  background:
    linear-gradient(135deg, rgba(28, 16, 36, 0.98), rgba(14, 19, 40, 0.96)),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--choice-accent) 48%, transparent), transparent 44%);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.88);
  outline-color: color-mix(in srgb, var(--choice-accent) 86%, rgba(255, 255, 255, 0.22));
}

.orientation-choice::before {
  opacity: 0.28;
}

.orientation-board span,
.orientation-choice span {
  color: var(--white);
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.25;
  font-weight: 900;
}

.orientation-board strong,
.orientation-choice strong,
.orientation-choice:nth-child(1) strong,
.orientation-choice:nth-child(2) strong,
.orientation-choice:nth-child(3) strong,
.orientation-choice:nth-child(4) strong {
  color: var(--white);
  font-size: clamp(36px, 3.4vw, 54px);
  line-height: 0.95;
  text-shadow: 0 0 18px color-mix(in srgb, var(--choice-accent) 44%, transparent);
}

.orientation-choice:nth-child(1) strong {
  font-size: clamp(30px, 2.8vw, 44px);
}

/* Text-only yellow harmonization */
.section-kicker,
.intro-copy .text-yellow,
.menu a[aria-current="page"],
.menu a:hover {
  color: #DBE57F !important;
}

/* Laboratori CTA color tuning */
.paths-teachers-link,
.paths-teachers-link:hover {
  --cta-a: var(--turquoise);
  --cta-b: var(--pink);
  --cta-outline: rgba(92, 200, 220, 0.78);
  --cta-glow: rgba(92, 200, 220, 0.38);
  color: var(--white);
}

.path-card .path-link,
.path-card .path-link:hover {
  --cta-a: color-mix(in srgb, var(--accent) 92%, var(--white));
  --cta-b: color-mix(in srgb, var(--accent) 74%, var(--deep));
  --cta-outline: color-mix(in srgb, var(--accent) 82%, rgba(255, 255, 255, 0.22));
  --cta-glow: color-mix(in srgb, var(--accent) 48%, transparent);
}

.path-rec .path-link,
.path-rec .path-link:hover,
.path-reading .path-link,
.path-reading .path-link:hover {
  color: var(--deep);
}

.path-sing .path-link,
.path-sing .path-link:hover,
.path-choir .path-link,
.path-choir .path-link:hover {
  color: var(--white);
}
