.intellectum-story {
  --in-ink: #202252;
  --in-indigo: #3e4193;
  --in-violet: #b56aff;
  --in-cyan: #16c0d7;
  --in-coral: #ff6a6b;
  --in-yellow: #fbbc1b;
  --in-paper: #f7f8fd;
  --in-white: #ffffff;
  --in-line: rgba(32, 34, 82, 0.13);
  --in-shadow: 0 28px 80px rgba(32, 34, 82, 0.14);
  overflow: clip;
  background: var(--in-paper);
  color: var(--in-ink);
  font-family: "Atkinson Hyperlegible", "Nunito", ui-sans-serif, system-ui, sans-serif;
}

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

.intellectum-story h1,
.intellectum-story h2,
.intellectum-story h3 {
  font-family: "Bricolage Grotesque", "Poppins", ui-sans-serif, system-ui, sans-serif;
  text-wrap: balance;
}

.intellectum-story p {
  text-wrap: pretty;
}

[data-primary-only-content] {
  display: none;
}

html.kindergarten-disabled [data-kindergarten-content] {
  display: none !important;
}

html.kindergarten-disabled [data-primary-only-content] {
  display: revert;
}

.kindergarten-disabled .intellectum-hero__proof {
  grid-template-columns: 1fr;
}

.kindergarten-disabled .intellectum-hero__proof div + div {
  padding-left: 0;
  border-left: 0;
}

.kindergarten-disabled .intellectum-levels__panel {
  grid-template-columns: 1fr;
}

.kindergarten-disabled .intellectum-form__options .intellectum-form__option:not([data-kindergarten-content]) {
  border-color: rgba(62, 65, 147, 0.32);
  background: rgba(62, 65, 147, 0.08);
}

.intellectum-shell {
  width: min(calc(100% - clamp(2rem, 7vw, 7rem)), 80rem);
  margin-inline: auto;
}

.intellectum-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: color-mix(in srgb, var(--in-indigo) 72%, transparent);
  font-family: "Bricolage Grotesque", "Poppins", ui-sans-serif, sans-serif;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.intellectum-kicker::before {
  width: 0.75rem;
  height: 0.75rem;
  flex: none;
  border-radius: 62% 38% 44% 56%;
  background: var(--in-cyan);
  content: "";
  transform: rotate(18deg);
}

.intellectum-kicker--light {
  color: rgba(255, 255, 255, 0.7);
}

.intellectum-kicker--light::before {
  background: var(--in-yellow);
}

.intellectum-button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Bricolage Grotesque", "Poppins", ui-sans-serif, sans-serif;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.intellectum-button svg {
  width: 1rem;
  height: 1rem;
}

.intellectum-button--primary {
  background: var(--in-indigo);
  box-shadow: 0 14px 30px rgba(62, 65, 147, 0.22);
  color: #fff;
}

.intellectum-button--secondary {
  border-color: rgba(62, 65, 147, 0.24);
  background: rgba(255, 255, 255, 0.62);
  color: var(--in-indigo);
}

.intellectum-button:hover {
  transform: translateY(-2px);
}

.intellectum-button--primary:hover {
  background: var(--in-ink);
  box-shadow: 0 18px 38px rgba(32, 34, 82, 0.26);
}

.intellectum-button:focus-visible,
.intellectum-stage-choice:focus-visible,
.intellectum-filter:focus-visible,
.intellectum-form input:focus-visible,
.intellectum-form textarea:focus-visible,
.intellectum-form button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--in-cyan) 72%, white);
  outline-offset: 4px;
}

.intellectum-hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(8.2rem, 12vw, 10.5rem) 0 clamp(5rem, 8vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(22, 192, 215, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 6%, rgba(181, 106, 255, 0.14), transparent 30rem),
    linear-gradient(145deg, #fbfbff 0%, #f3f0fb 58%, #f4f7fb 100%);
}

.intellectum-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(62, 65, 147, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 65, 147, 0.055) 1px, transparent 1px);
  background-size: 5.25rem 5.25rem;
  mask-image: linear-gradient(90deg, #000, transparent 65%);
  content: "";
}

.intellectum-hero__path {
  position: absolute;
  right: -3rem;
  bottom: -2rem;
  width: min(61rem, 66vw);
  height: auto;
  opacity: 0.58;
  pointer-events: none;
}

.intellectum-piece-pattern {
  position: absolute;
  width: clamp(14rem, 20vw, 22rem);
  aspect-ratio: 1;
  opacity: 0.13;
  pointer-events: none;
}

.intellectum-piece-pattern span {
  position: absolute;
  display: block;
  filter: drop-shadow(0 0.55rem 1rem rgba(32, 34, 82, 0.1));
}

.intellectum-piece-pattern span:nth-child(1) {
  top: 2%;
  left: 27%;
  width: 23%;
  height: 21%;
  background: var(--in-coral);
  clip-path: polygon(50% 0, 96% 35%, 79% 94%, 21% 94%, 4% 35%);
  transform: rotate(-9deg);
}

.intellectum-piece-pattern span:nth-child(2) {
  top: 0;
  right: 8%;
  width: 27%;
  height: 24%;
  border-radius: 58% 42% 63% 37% / 45% 58% 42% 55%;
  background: var(--in-cyan);
  transform: rotate(16deg);
}

.intellectum-piece-pattern span:nth-child(3) {
  top: 31%;
  left: 0;
  width: 28%;
  height: 25%;
  border-radius: 52% 48% 34% 66% / 42% 35% 65% 58%;
  background: var(--in-yellow);
  transform: rotate(-12deg);
}

.intellectum-piece-pattern span:nth-child(4) {
  top: 30%;
  left: 39%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--in-violet);
}

.intellectum-piece-pattern span:nth-child(5) {
  top: 29%;
  right: 0;
  width: 27%;
  aspect-ratio: 1;
  background: var(--in-yellow);
  clip-path: polygon(50% 0, 62% 34%, 98% 27%, 70% 52%, 91% 83%, 56% 68%, 31% 98%, 35% 61%, 0 48%, 38% 40%);
  transform: rotate(8deg);
}

.intellectum-piece-pattern span:nth-child(6) {
  bottom: 1%;
  left: 4%;
  width: 29%;
  height: 26%;
  border-radius: 59% 41% 28% 72% / 42% 43% 57% 58%;
  background: var(--in-cyan);
  transform: rotate(26deg);
}

.intellectum-piece-pattern span:nth-child(7) {
  bottom: 0;
  left: 40%;
  width: 23%;
  aspect-ratio: 1;
  border-radius: 18%;
  background: var(--in-violet);
}

.intellectum-piece-pattern span:nth-child(8) {
  right: 2%;
  bottom: 1%;
  width: 27%;
  aspect-ratio: 1;
  background: var(--in-coral);
  clip-path: polygon(50% 0, 61% 26%, 85% 15%, 74% 39%, 100% 50%, 74% 61%, 85% 85%, 61% 74%, 50% 100%, 39% 74%, 15% 85%, 26% 61%, 0 50%, 26% 39%, 15% 15%, 39% 26%);
  transform: rotate(10deg);
}

.intellectum-piece-pattern--hero {
  top: 6.5rem;
  right: -2.5rem;
  width: clamp(20rem, 31vw, 34rem);
  opacity: 0.17;
  transform: rotate(-8deg);
}

.intellectum-piece-pattern--kindergarten {
  top: 1.5rem;
  right: max(-5rem, -4vw);
  transform: rotate(12deg);
}

.intellectum-piece-pattern--primary {
  top: 2.5rem;
  left: max(-5.5rem, -4vw);
  opacity: 0.11;
  transform: rotate(-13deg);
}

.intellectum-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(20rem, 0.88fr) minmax(34rem, 1.12fr);
  align-items: center;
  gap: clamp(2.8rem, 6vw, 6.5rem);
}

.intellectum-hero h1 {
  max-width: 12ch;
  margin: 1.25rem 0 1.5rem;
  color: var(--in-indigo);
  font-size: clamp(3.65rem, 6.4vw, 7rem);
  font-weight: 680;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.intellectum-hero__lead {
  max-width: 37rem;
  margin: 0;
  color: rgba(32, 34, 82, 0.75);
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.58;
}

.intellectum-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.intellectum-hero__proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 34rem;
  margin: 2.4rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--in-line);
}

.intellectum-hero__proof div {
  padding-right: 1.1rem;
}

.intellectum-hero__proof div + div {
  padding-left: 1.1rem;
  border-left: 1px solid var(--in-line);
}

.intellectum-hero__proof dt,
.intellectum-hero__proof dd {
  margin: 0;
}

.intellectum-hero__proof dt {
  color: var(--in-indigo);
  font-family: "Bricolage Grotesque", "Poppins", ui-sans-serif, sans-serif;
  font-size: 0.9rem;
  font-weight: 750;
}

.intellectum-hero__proof dd {
  margin-top: 0.25rem;
  color: rgba(32, 34, 82, 0.58);
  font-size: 0.82rem;
}

.intellectum-hero__media {
  position: relative;
  min-height: clamp(34rem, 54vw, 45rem);
  isolation: isolate;
}

.intellectum-hero__media::before {
  position: absolute;
  inset: 1.5rem 0 3rem 3rem;
  border: 1px solid rgba(62, 65, 147, 0.1);
  border-radius: 5rem 2rem 6rem 2rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(22, 192, 215, 0.18), transparent 11rem),
    radial-gradient(circle at 80% 78%, rgba(181, 106, 255, 0.15), transparent 13rem),
    rgba(255, 255, 255, 0.42);
  content: "";
  transform: rotate(-2deg);
}

.intellectum-hero-scene {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--in-shadow);
}

.intellectum-hero-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intellectum-hero-scene--primary {
  inset: 3% 0 12% 8%;
  z-index: 1;
  border-radius: 2.2rem 6rem 2.8rem 3.8rem;
  background: var(--in-indigo);
  transform: rotate(1.4deg);
}

.intellectum-hero-scene--primary img {
  object-position: 52% center;
}

.intellectum-hero-scene--kindergarten {
  inset: 51% 48% 0 -3%;
  z-index: 2;
  border-radius: 3.5rem 1.6rem 3.8rem 2rem;
  background: var(--in-cyan);
  transform: rotate(-4.5deg);
}

.intellectum-hero-scene--kindergarten img {
  object-position: 48% center;
}

.intellectum-hero-scene figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.14rem;
  max-width: calc(100% - 2rem);
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 0.9rem 1.4rem 1rem 1.2rem;
  background: rgba(24, 27, 74, 0.78);
  box-shadow: 0 10px 28px rgba(18, 20, 58, 0.18);
  backdrop-filter: blur(14px);
  color: #fff;
}

.intellectum-hero-scene figcaption span {
  color: var(--in-yellow);
  font-family: "Bricolage Grotesque", "Poppins", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intellectum-hero-scene figcaption strong {
  font-family: "Bricolage Grotesque", "Poppins", sans-serif;
  font-size: 0.84rem;
  line-height: 1.15;
}

.intellectum-hero-live {
  position: absolute;
  top: 0;
  right: -0.75rem;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.12rem 0.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 1.2rem 2.2rem 1.2rem 1.8rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(32, 34, 82, 0.16);
  backdrop-filter: blur(16px);
  color: var(--in-indigo);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.intellectum-hero-live strong {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.intellectum-hero-live__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--in-coral);
  box-shadow: 0 0 0 0.35rem rgba(255, 106, 107, 0.16);
}

.kindergarten-disabled .intellectum-hero-scene--primary {
  inset: 2% 0 3% 5%;
}

.intellectum-levels {
  position: relative;
  z-index: 4;
  margin-top: -2.25rem;
}

.intellectum-levels__panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(62, 65, 147, 0.13);
  border-radius: 1.8rem;
  background: rgba(62, 65, 147, 0.12);
  box-shadow: 0 24px 70px rgba(32, 34, 82, 0.13);
}

.intellectum-stage-choice {
  position: relative;
  min-height: 10rem;
  padding: clamp(1.45rem, 3vw, 2.1rem);
  background: rgba(255, 255, 255, 0.92);
  color: var(--in-ink);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.intellectum-stage-choice::after {
  position: absolute;
  right: 1.5rem;
  bottom: 1.35rem;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "↘";
  font-size: 1rem;
  transition: transform 180ms ease;
}

.intellectum-stage-choice:hover::after {
  transform: translate(0.18rem, 0.18rem);
}

.intellectum-stage-choice--kg:hover,
.intellectum-stage-choice--kg.is-active {
  background: #dcf8fb;
}

.intellectum-stage-choice--primary:hover,
.intellectum-stage-choice--primary.is-active {
  background: #ece8fb;
}

.intellectum-stage-choice__number {
  color: rgba(32, 34, 82, 0.46);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.intellectum-stage-choice h2 {
  margin: 0.55rem 0 0.45rem;
  color: var(--in-indigo);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1;
}

.intellectum-stage-choice p {
  max-width: 34rem;
  margin: 0;
  padding-right: 3rem;
  color: rgba(32, 34, 82, 0.65);
  line-height: 1.48;
}

.intellectum-manifesto {
  padding: clamp(7rem, 11vw, 10rem) 0;
}

.intellectum-manifesto__grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.65fr) minmax(25rem, 1.35fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}

.intellectum-manifesto h2 {
  margin: 0;
  color: var(--in-indigo);
  font-size: clamp(2.4rem, 5.3vw, 5.3rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intellectum-manifesto__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.intellectum-manifesto__list li {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-top: 1px solid var(--in-line);
}

.intellectum-manifesto__list li:last-child {
  border-bottom: 1px solid var(--in-line);
}

.intellectum-manifesto__list span {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--in-indigo);
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.72rem;
  font-weight: 750;
}

.intellectum-manifesto__list strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.1rem;
}

.intellectum-manifesto__list p {
  margin: 0;
  color: rgba(32, 34, 82, 0.66);
  line-height: 1.55;
}

.intellectum-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 11vw, 10rem) 0;
  scroll-margin-top: 5.5rem;
}

.intellectum-stage > .intellectum-shell {
  position: relative;
  z-index: 1;
}

.intellectum-stage--kindergarten {
  background: linear-gradient(180deg, #e7fafb 0%, var(--in-paper) 26%, var(--in-paper) 100%);
}

.intellectum-stage--primary {
  background: linear-gradient(180deg, #eeebfb 0%, var(--in-paper) 26%, var(--in-paper) 100%);
}

.intellectum-stage__intro {
  display: grid;
  grid-template-columns: minmax(19rem, 0.82fr) minmax(28rem, 1.18fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.intellectum-stage__intro--reverse {
  grid-template-columns: minmax(28rem, 1.18fr) minmax(19rem, 0.82fr);
}

.intellectum-stage__intro--reverse .intellectum-stage__copy {
  order: 2;
}

.intellectum-stage__intro--reverse .intellectum-stage__visual {
  order: 1;
}

.intellectum-stage__copy h2 {
  margin: 1rem 0 1.2rem;
  color: var(--in-indigo);
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  font-weight: 660;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.intellectum-stage__copy > p:not(.intellectum-kicker) {
  max-width: 36rem;
  margin: 0;
  color: rgba(32, 34, 82, 0.7);
  font-size: 1.05rem;
  line-height: 1.62;
}

.intellectum-stage__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.intellectum-stage__facts li {
  padding: 0.58rem 0.8rem;
  border: 1px solid rgba(62, 65, 147, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.64);
  color: var(--in-indigo);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.78rem;
  font-weight: 720;
}

.intellectum-stage__visual {
  position: relative;
  min-height: clamp(26rem, 46vw, 38rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--in-shadow);
}

.intellectum-stage--kindergarten .intellectum-stage__visual {
  border-radius: 4rem 1.8rem 4.5rem 2.4rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 106, 107, 0.16), transparent 13rem),
    #fffdf7;
}

.intellectum-stage--primary .intellectum-stage__visual {
  border-radius: 2rem 5rem 2.8rem 4rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(181, 106, 255, 0.16), transparent 16rem),
    #fdfdff;
}

.intellectum-stage__visual::before,
.intellectum-stage__visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.intellectum-stage__visual::before {
  top: 1.6rem;
  right: 1.6rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.35rem 0.8rem 0.4rem 0.7rem;
  background: var(--in-yellow);
  transform: rotate(18deg);
}

.intellectum-stage__visual::after {
  left: 2rem;
  bottom: 1.8rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--in-cyan);
}

.intellectum-stage__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(92%, 46rem);
  height: auto;
  object-fit: contain;
}

.intellectum-library {
  margin-top: clamp(5rem, 9vw, 8rem);
}

.intellectum-library__head {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(22rem, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: 2rem;
}

.intellectum-library__head h3 {
  max-width: 12ch;
  margin: 0;
  color: var(--in-indigo);
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.intellectum-library__intro {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: rgba(32, 34, 82, 0.64);
  line-height: 1.55;
}

.intellectum-library__tools {
  justify-self: end;
  width: min(100%, 42rem);
}

.intellectum-library__label,
.intellectum-filter-status {
  margin: 0;
  color: rgba(32, 34, 82, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intellectum-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.intellectum-filter {
  min-height: 2.7rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(62, 65, 147, 0.18);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(32, 34, 82, 0.7);
  font: 700 0.8rem/1 "Atkinson Hyperlegible", sans-serif;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.intellectum-filter[aria-pressed="true"] {
  border-color: var(--in-indigo);
  background: var(--in-indigo);
  color: #fff;
}

.intellectum-filter-status {
  min-height: 1em;
  margin-top: 0.8rem;
  text-align: right;
}

.intellectum-games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.intellectum-game {
  position: relative;
  display: flex;
  min-height: 31rem;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(62, 65, 147, 0.12);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(32, 34, 82, 0.08);
  transition: opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.intellectum-game:nth-child(5n + 2) {
  border-radius: 2.8rem 1.4rem 2rem 1.4rem;
}

.intellectum-game:nth-child(5n + 4) {
  border-radius: 1.4rem 2.8rem 1.4rem 2.2rem;
}

.intellectum-game:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(32, 34, 82, 0.13);
}

.intellectum-game:focus-visible {
  border-color: color-mix(in srgb, var(--in-cyan) 68%, var(--in-indigo));
  outline: 3px solid color-mix(in srgb, var(--in-cyan) 72%, white);
  outline-offset: 5px;
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(32, 34, 82, 0.13);
}

.intellectum-game.is-dimmed {
  opacity: 0.28;
  transform: scale(0.985);
  filter: grayscale(0.72);
}

.intellectum-game__visual {
  position: relative;
  min-height: 18rem;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background:
    linear-gradient(rgba(62, 65, 147, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 65, 147, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #ffffff, #f2f2f9);
  background-size: 2.8rem 2.8rem, 2.8rem 2.8rem, auto;
}

.intellectum-stage--kindergarten .intellectum-game__visual {
  background:
    radial-gradient(circle at 82% 15%, rgba(22, 192, 215, 0.12), transparent 8rem),
    linear-gradient(145deg, #fffdf8, #f2fbfb);
}

.intellectum-game__visual > img {
  display: block;
}

.intellectum-game__visual > img:first-of-type,
.intellectum-game__product {
  position: relative;
  z-index: 3;
  width: min(100%, 22rem);
  max-height: 15.5rem;
  opacity: 0;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(32, 34, 82, 0.12));
  transform: translateY(0.45rem) scale(0.92) rotate(-1deg);
  transition: opacity 280ms ease, transform 340ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 280ms ease;
}

.intellectum-game__visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--play-scene);
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 1;
  filter: saturate(0.94) contrast(1.02);
  transform: scale(1);
  transition: opacity 300ms ease, transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 300ms ease;
}

.intellectum-game__visual::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(248, 248, 252, 0.93);
  content: "";
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 260ms ease;
}

.intellectum-game__scene-cue {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 4;
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.5rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.45rem 1.2rem rgba(32, 34, 82, 0.12);
  backdrop-filter: blur(10px);
  color: var(--in-indigo);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.intellectum-game__scene-cue .is-active {
  display: none;
}

.intellectum-game:hover .intellectum-game__product,
.intellectum-game:focus-visible .intellectum-game__product,
.intellectum-game.is-product-visible .intellectum-game__product {
  opacity: 1;
  filter: drop-shadow(0 18px 18px rgba(32, 34, 82, 0.14));
  transform: none;
}

.intellectum-game:hover .intellectum-game__visual::before,
.intellectum-game:focus-visible .intellectum-game__visual::before,
.intellectum-game.is-product-visible .intellectum-game__visual::before {
  opacity: 1;
}

.intellectum-game:hover .intellectum-game__visual::after,
.intellectum-game:focus-visible .intellectum-game__visual::after,
.intellectum-game.is-product-visible .intellectum-game__visual::after {
  opacity: 0.16;
  filter: saturate(0.7) blur(2px);
  transform: scale(1.035);
}

.intellectum-game:hover .intellectum-game__scene-cue,
.intellectum-game:focus-visible .intellectum-game__scene-cue,
.intellectum-game.is-product-visible .intellectum-game__scene-cue {
  background: var(--in-indigo);
  color: #fff;
  transform: translateY(-0.12rem);
}

.intellectum-game:hover .intellectum-game__scene-cue .is-rest,
.intellectum-game:focus-visible .intellectum-game__scene-cue .is-rest,
.intellectum-game.is-product-visible .intellectum-game__scene-cue .is-rest {
  display: none;
}

.intellectum-game:hover .intellectum-game__scene-cue .is-active,
.intellectum-game:focus-visible .intellectum-game__scene-cue .is-active,
.intellectum-game.is-product-visible .intellectum-game__scene-cue .is-active {
  display: inline;
}

#kindergarten .intellectum-game:nth-child(1) { --play-scene: url("../assets/intellectum/generated/kindergarten-butterflies-play.webp"); }
#kindergarten .intellectum-game:nth-child(2) { --play-scene: url("../assets/intellectum/generated/cards/kindergarten-road-guide-play.webp"); }
#kindergarten .intellectum-game:nth-child(3) { --play-scene: url("../assets/intellectum/generated/cards/kindergarten-colorful-pieces-play.webp"); }
#kindergarten .intellectum-game:nth-child(4) { --play-scene: url("../assets/intellectum/generated/cards/kindergarten-architect-play.webp"); }
#kindergarten .intellectum-game:nth-child(5) { --play-scene: url("../assets/intellectum/generated/cards/kindergarten-shapes-play.webp"); }
#kindergarten .intellectum-game:nth-child(6) { --play-scene: url("../assets/intellectum/generated/cards/kindergarten-sticks-play.webp"); }
#kindergarten .intellectum-game:nth-child(7) { --play-scene: url("../assets/intellectum/generated/cards/kindergarten-creative-pattern-play.webp"); }
#kindergarten .intellectum-game:nth-child(8) { --play-scene: url("../assets/intellectum/generated/cards/kindergarten-find-it-fast-play.webp"); }
#kindergarten .intellectum-game:nth-child(9) { --play-scene: url("../assets/intellectum/generated/cards/kindergarten-3d-triangle-play.webp"); }

#primary-games .intellectum-game:nth-child(1) { --play-scene: url("../assets/intellectum/generated/cards/primary-roadway-play.webp"); }
#primary-games .intellectum-game:nth-child(2) { --play-scene: url("../assets/intellectum/generated/cards/primary-planko-play.webp"); }
#primary-games .intellectum-game:nth-child(3) { --play-scene: url("../assets/intellectum/generated/primary-spido-play.webp"); }
#primary-games .intellectum-game:nth-child(4) { --play-scene: url("../assets/intellectum/generated/cards/primary-matrix-play.webp"); }
#primary-games .intellectum-game:nth-child(5) { --play-scene: url("../assets/intellectum/generated/cards/primary-tangramus-play.webp"); }
#primary-games .intellectum-game:nth-child(6) { --play-scene: url("../assets/intellectum/generated/cards/primary-cubemind-play.webp"); }
#primary-games .intellectum-game:nth-child(7) { --play-scene: url("../assets/intellectum/generated/cards/primary-cosmoform-play.webp"); }
#primary-games .intellectum-game:nth-child(8) { --play-scene: url("../assets/intellectum/generated/cards/primary-formus-play.webp"); }
#primary-games .intellectum-game:nth-child(9) { --play-scene: url("../assets/intellectum/generated/cards/primary-zippy-play.webp"); }
#primary-games .intellectum-game:nth-child(10) { --play-scene: url("../assets/intellectum/primary-stories/primary-fronten-strategy-v2.webp"); }
#primary-games .intellectum-game:nth-child(11) { --play-scene: url("../assets/intellectum/generated/cards/primary-kodmaster-play.webp"); }
#primary-games .intellectum-game:nth-child(12) { --play-scene: url("../assets/intellectum/primary-stories/primary-kolonies-strategy-v2.webp"); }
#primary-games .intellectum-game:nth-child(13) { --play-scene: url("../assets/intellectum/generated/cards/primary-designus-play.webp"); }

.intellectum-game__index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  z-index: 4;
  border-radius: 50%;
  background: var(--in-indigo);
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.68rem;
  font-weight: 750;
}

.intellectum-stage--kindergarten .intellectum-game__index {
  background: var(--in-cyan);
  color: var(--in-ink);
}

.intellectum-game__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.5rem;
}

.intellectum-game__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.intellectum-game__meta span {
  padding: 0.38rem 0.55rem;
  border-radius: 0.55rem;
  background: rgba(62, 65, 147, 0.08);
  color: var(--in-indigo);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.intellectum-game h4 {
  margin: 0;
  color: var(--in-indigo);
  font-family: "Bricolage Grotesque", "Poppins", sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.intellectum-game__description {
  margin: 0.75rem 0 1rem;
  color: rgba(32, 34, 82, 0.67);
  font-size: 0.91rem;
  line-height: 1.5;
}

.intellectum-game__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.intellectum-game__skills li {
  padding: 0.38rem 0.54rem;
  border: 1px solid rgba(62, 65, 147, 0.12);
  border-radius: 0.5rem;
  color: rgba(32, 34, 82, 0.68);
  font-size: 0.68rem;
  font-weight: 700;
}

.intellectum-play-story {
  display: grid;
  grid-template-columns: minmax(28rem, 1.22fr) minmax(18rem, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(5rem, 9vw, 8rem);
}

.intellectum-play-story--reverse {
  grid-template-columns: minmax(18rem, 0.78fr) minmax(28rem, 1.22fr);
}

.intellectum-play-story--reverse .intellectum-play-story__media {
  order: 2;
}

.intellectum-play-story__media {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border-radius: 1.8rem 4rem 2.5rem 3.2rem;
  box-shadow: var(--in-shadow);
}

.intellectum-play-story--reverse .intellectum-play-story__media {
  border-radius: 4rem 1.8rem 3.4rem 2.2rem;
}

.intellectum-play-story__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intellectum-play-story__copy h3 {
  margin: 0.9rem 0 1rem;
  color: var(--in-indigo);
  font-size: clamp(2.35rem, 4.2vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.intellectum-play-story__copy > p:not(.intellectum-kicker) {
  margin: 0;
  color: rgba(32, 34, 82, 0.68);
  line-height: 1.62;
}

.intellectum-play-story__notes {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.intellectum-play-story__notes li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(32, 34, 82, 0.76);
  line-height: 1.45;
}

.intellectum-play-story__notes li::before {
  width: 0.68rem;
  height: 0.68rem;
  flex: none;
  margin-top: 0.35rem;
  border-radius: 50% 35% 58% 42%;
  background: var(--in-coral);
  content: "";
}

.intellectum-method {
  position: relative;
  padding: clamp(7rem, 11vw, 10rem) 0;
  overflow: hidden;
  background: var(--in-ink);
  color: #fff;
}

.intellectum-method::before {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    radial-gradient(circle at 10% 10%, rgba(22, 192, 215, 0.4), transparent 26rem),
    radial-gradient(circle at 90% 80%, rgba(181, 106, 255, 0.36), transparent 28rem);
  content: "";
}

.intellectum-method__inner {
  position: relative;
  z-index: 1;
}

.intellectum-method__head {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(23rem, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.intellectum-method h2 {
  max-width: 11ch;
  margin: 0.9rem 0 0;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.intellectum-method__lead {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.62;
}

.intellectum-method__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 4rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.intellectum-method__steps li {
  position: relative;
  padding: 2rem 1.6rem 0 0;
}

.intellectum-method__steps li + li {
  padding-left: 1.6rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.intellectum-method__number {
  display: block;
  margin-bottom: 2.8rem;
  color: var(--in-yellow);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.intellectum-method__steps h3 {
  margin: 0;
  font-size: 1.35rem;
}

.intellectum-method__steps p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.55;
}

.intellectum-contact {
  padding: clamp(7rem, 11vw, 10rem) 0;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 187, 27, 0.18), transparent 21rem),
    radial-gradient(circle at 12% 88%, rgba(22, 192, 215, 0.14), transparent 24rem),
    var(--in-paper);
  scroll-margin-top: 6rem;
}

.intellectum-contact__grid {
  display: grid;
  grid-template-columns: minmax(20rem, 0.82fr) minmax(28rem, 1.18fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.intellectum-contact__copy h2 {
  max-width: 11ch;
  margin: 1rem 0 1.2rem;
  color: var(--in-indigo);
  font-size: clamp(2.8rem, 5.1vw, 5.1rem);
  font-weight: 650;
  letter-spacing: -0.058em;
  line-height: 0.95;
}

.intellectum-contact__copy > p:not(.intellectum-kicker) {
  max-width: 35rem;
  margin: 0;
  color: rgba(32, 34, 82, 0.68);
  font-size: 1.05rem;
  line-height: 1.6;
}

.intellectum-contact__direct {
  display: inline-block;
  margin-top: 1.7rem;
  color: var(--in-indigo);
  font-weight: 750;
  text-underline-offset: 0.25em;
}

.intellectum-form {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(62, 65, 147, 0.13);
  border-radius: 1.5rem 3.2rem 1.8rem 2.2rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--in-shadow);
}

.intellectum-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.intellectum-form label,
.intellectum-form legend {
  color: var(--in-indigo);
  font-size: 0.8rem;
  font-weight: 750;
}

.intellectum-form label {
  display: grid;
  gap: 0.45rem;
}

.intellectum-form__wide {
  grid-column: 1 / -1;
}

.intellectum-form input,
.intellectum-form textarea {
  width: 100%;
  border: 1px solid rgba(62, 65, 147, 0.16);
  border-radius: 0.85rem;
  background: rgba(247, 245, 239, 0.72);
  color: var(--in-ink);
  font: 400 1rem/1.4 "Atkinson Hyperlegible", sans-serif;
}

.intellectum-form input {
  min-height: 3.2rem;
  padding: 0 0.9rem;
}

.intellectum-form textarea {
  min-height: 7.5rem;
  resize: vertical;
  padding: 0.85rem 0.9rem;
}

.intellectum-form input::placeholder,
.intellectum-form textarea::placeholder {
  color: rgba(32, 34, 82, 0.42);
}

.intellectum-form__stage {
  margin: 1.1rem 0 0;
  padding: 0;
  border: 0;
}

.intellectum-form__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.intellectum-form__option {
  position: relative;
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 0.45rem !important;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(62, 65, 147, 0.14);
  border-radius: 0.75rem;
  background: var(--in-paper);
  cursor: pointer;
}

.intellectum-form__option input {
  width: 1rem;
  min-height: 0;
  height: 1rem;
  margin: 0;
  accent-color: var(--in-indigo);
}

.intellectum-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.intellectum-form .lead-form__submit {
  min-height: 3.2rem;
  padding: 0.95rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--in-indigo);
  box-shadow: 0 12px 28px rgba(62, 65, 147, 0.2);
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
}

.intellectum-form .lead-form__submit:hover {
  background: var(--in-ink);
}

.intellectum-form__consent {
  margin: 0;
  color: rgba(32, 34, 82, 0.48);
  font-size: 0.68rem;
  line-height: 1.4;
}

.intellectum-form__consent a {
  color: inherit;
  text-underline-offset: 0.2em;
}

/* Primary editorial story */
.primary-editorial-hero {
  position: relative;
  min-height: clamp(38rem, 72vw, 58rem);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  margin-bottom: clamp(6rem, 10vw, 9rem);
  overflow: hidden;
  border-radius: 2.2rem 7rem 2.2rem 4rem;
  background: var(--in-ink);
  box-shadow: 0 38px 100px rgba(32, 34, 82, 0.22);
}

.primary-editorial-hero > img,
.primary-editorial-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.primary-editorial-hero > img {
  z-index: -2;
  object-fit: cover;
}

.primary-editorial-hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 24, 58, 0.9) 0%, rgba(18, 24, 58, 0.58) 39%, rgba(18, 24, 58, 0.04) 73%),
    linear-gradient(0deg, rgba(18, 24, 58, 0.62), transparent 44%);
}

.primary-editorial-hero__copy {
  width: min(47rem, 68%);
  padding: clamp(2rem, 6vw, 5.5rem);
  color: #fff;
}

.primary-editorial-hero__copy h2 {
  max-width: 10ch;
  margin: 1rem 0 1.25rem;
  color: #fff;
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-weight: 670;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.primary-editorial-hero__copy > p:not(.intellectum-kicker) {
  max-width: 34rem;
  margin: 0 0 1.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.55;
}

.intellectum-button--light {
  border-color: #fff;
  background: #fff;
  color: var(--in-ink);
}

.intellectum-button--light:hover {
  border-color: var(--in-yellow);
  background: var(--in-yellow);
  color: var(--in-ink);
}

.primary-editorial-hero__note {
  position: absolute;
  right: clamp(1.4rem, 4vw, 3rem);
  bottom: clamp(1.4rem, 4vw, 3rem);
  margin: 0;
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.primary-campaign {
  margin: clamp(7rem, 12vw, 11rem) 0;
}

.primary-campaign__head,
.primary-discovery__head {
  display: grid;
  grid-template-columns: 0.55fr 1.35fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.primary-campaign__head h3,
.primary-discovery__head h3 {
  scroll-margin-top: 7rem;
  margin: 0;
  color: var(--in-indigo);
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 660;
  letter-spacing: -0.058em;
  line-height: 0.94;
}

.primary-campaign__head > p:last-child,
.primary-discovery__head > p:last-child {
  margin: 0;
  color: rgba(32, 34, 82, 0.66);
  line-height: 1.6;
}

.primary-campaign__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.primary-campaign__tile {
  position: relative;
  min-height: 31rem;
  margin: 0;
  overflow: hidden;
  background: var(--in-indigo);
}

.primary-campaign__tile--grid {
  grid-row: 1 / 3;
  min-height: 64rem;
  border-radius: 1.8rem 5.5rem 2.6rem 3.8rem;
}

.primary-campaign__tile--paper {
  border-radius: 4.5rem 1.5rem 2.8rem 1.5rem;
}

.primary-campaign__tile--warm {
  border-radius: 1.5rem 2.8rem 5rem 2rem;
}

.primary-campaign__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.primary-campaign__tile:hover img,
.primary-discovery__card:hover img {
  transform: scale(1.025);
}

.primary-campaign__tile figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 1rem;
  background: rgba(18, 24, 58, 0.72);
  backdrop-filter: blur(14px);
  color: #fff;
}

.primary-campaign__tile figcaption strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
}

.primary-campaign__tile figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.primary-learning-space {
  display: grid;
  grid-template-columns: minmax(28rem, 1.05fr) minmax(20rem, 0.95fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin: clamp(7rem, 12vw, 11rem) 0;
}

.primary-learning-space__room {
  position: sticky;
  top: 7rem;
  min-height: 52rem;
  margin: 0;
  overflow: hidden;
  border-radius: 5.5rem 1.8rem 4rem 2.2rem;
  box-shadow: var(--in-shadow);
}

.primary-learning-space__room img,
.primary-learning-space__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.primary-learning-space__copy {
  padding-top: clamp(2rem, 6vw, 6rem);
}

.primary-learning-space__copy > h3 {
  scroll-margin-top: 7rem;
  margin: 1rem 0 1.2rem;
  color: var(--in-indigo);
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  font-weight: 660;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.primary-learning-space__copy > p:not(.intellectum-kicker) {
  margin: 0;
  color: rgba(32, 34, 82, 0.68);
  font-size: 1.04rem;
  line-height: 1.62;
}

.primary-learning-space dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 2rem 0 3rem;
  border-block: 1px solid var(--in-line);
}

.primary-learning-space dl div {
  padding: 1.25rem 0.65rem;
}

.primary-learning-space dl div + div {
  border-left: 1px solid var(--in-line);
}

.primary-learning-space dt {
  color: var(--in-coral);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.2rem;
  font-weight: 720;
  line-height: 1;
}

.primary-learning-space dd {
  margin: 0.35rem 0 0;
  color: rgba(32, 34, 82, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-learning-space__portrait {
  position: relative;
  min-height: 31rem;
  margin: 0;
  overflow: hidden;
  border-radius: 1.6rem 4.8rem 2rem 3rem;
}

.primary-learning-space__portrait figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  color: var(--in-indigo);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.85rem;
  font-weight: 720;
}

.primary-discovery {
  margin: clamp(8rem, 13vw, 12rem) 0 clamp(5rem, 9vw, 8rem);
}

#primary-games {
  scroll-margin-top: 7rem;
}

.primary-discovery__gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 5rem;
  gap: 1rem;
}

.primary-discovery__card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--in-ink);
}

.primary-discovery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.primary-discovery__card--matrix {
  grid-column: 1 / 7;
  grid-row: span 6;
  border-radius: 1.8rem 4.5rem 2rem 3rem;
}

.primary-discovery__card--tower {
  grid-column: 7 / 10;
  grid-row: span 8;
  border-radius: 4rem 1.5rem 2.5rem 1.5rem;
}

.primary-discovery__card--dusk {
  grid-column: 10 / 13;
  grid-row: span 8;
  border-radius: 1.5rem 3.8rem 1.5rem 2.5rem;
}

.primary-discovery__card--mosaic {
  grid-column: 1 / 7;
  grid-row: span 7;
  border-radius: 3.5rem 1.5rem 4rem 2rem;
}

.primary-discovery__card--team {
  grid-column: 7 / 11;
  grid-row: span 8;
  border-radius: 1.5rem 3.5rem 2rem 4rem;
}

.primary-discovery__card--focus {
  grid-column: 11 / 13;
  grid-row: span 8;
  border-radius: 3.5rem 1.5rem 3rem 1.5rem;
}

.primary-discovery__card figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  background: rgba(18, 24, 58, 0.76);
  backdrop-filter: blur(12px);
  color: #fff;
}

.primary-discovery__card figcaption span {
  color: var(--in-yellow);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-discovery__card figcaption strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.82rem;
  line-height: 1.25;
}

/* Primary learning territories: context + exact product + skill */
.primary-territories {
  margin: clamp(8rem, 13vw, 12rem) 0;
  scroll-margin-top: 7rem;
}

.primary-territories__head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.primary-territories__head h3 {
  max-width: 14ch;
  margin: 1rem 0 0;
  color: var(--in-indigo);
  font-size: clamp(3rem, 5.9vw, 6.1rem);
  font-weight: 660;
  letter-spacing: -0.062em;
  line-height: 0.9;
}

.primary-territories__head > p {
  margin: 0;
  color: rgba(32, 34, 82, 0.66);
  font-size: 1.04rem;
  line-height: 1.62;
}

.primary-territory-nav {
  position: sticky;
  z-index: 5;
  top: 5.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 3.5rem 0 0;
  overflow: hidden;
  border: 1px solid rgba(62, 65, 147, 0.15);
  border-radius: 1.2rem;
  background: rgba(248, 245, 238, 0.9);
  box-shadow: 0 14px 36px rgba(32, 34, 82, 0.08);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.primary-territory-nav::-webkit-scrollbar {
  display: none;
}

.primary-territory-nav a {
  display: flex;
  min-height: 4.2rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  color: var(--in-indigo);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.78rem;
  font-weight: 740;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.primary-territory-nav a + a {
  border-left: 1px solid rgba(62, 65, 147, 0.12);
}

.primary-territory-nav a:hover,
.primary-territory-nav a:focus-visible {
  background: var(--in-indigo);
  color: #fff;
}

.primary-territory-nav span {
  color: var(--in-coral);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.primary-territory {
  --territory-accent: var(--in-coral);
  --territory-soft: #ffe7df;
  padding-top: clamp(7rem, 12vw, 11rem);
  scroll-margin-top: 10rem;
}

.primary-territory--patterns {
  --territory-accent: #2676d9;
  --territory-soft: #dcecff;
}

.primary-territory--logic {
  --territory-accent: #ea8f00;
  --territory-soft: #fff0bd;
}

.primary-territory--strategy {
  --territory-accent: #3f9f83;
  --territory-soft: #d9f2e8;
}

.primary-territory__header {
  display: grid;
  grid-template-columns: minmax(10rem, 0.45fr) minmax(22rem, 1.15fr) minmax(17rem, 0.55fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.primary-territory__header > p:first-child {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--in-indigo);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.primary-territory__header > p:first-child span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--territory-accent);
  color: #fff;
  font-size: 0.65rem;
}

.primary-territory__header h3 {
  margin: 0;
  color: var(--in-indigo);
  font-size: clamp(2.65rem, 5vw, 5.15rem);
  font-weight: 660;
  letter-spacing: -0.058em;
  line-height: 0.92;
}

.primary-territory__header > p:last-child {
  margin: 0;
  color: rgba(32, 34, 82, 0.64);
  line-height: 1.58;
}

.primary-game-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  align-items: center;
}

.primary-game-feature__scene {
  position: relative;
  min-height: clamp(38rem, 58vw, 51rem);
  margin: 0;
  overflow: hidden;
  border-radius: 2rem 6rem 2.5rem 4rem;
  background: var(--in-ink);
  box-shadow: 0 30px 80px rgba(32, 34, 82, 0.18);
}

.primary-game-feature--reverse .primary-game-feature__scene {
  grid-column: 2;
  border-radius: 6rem 2rem 4rem 2.5rem;
}

.primary-game-feature__scene::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, rgba(20, 24, 55, 0.34), transparent);
  content: "";
  pointer-events: none;
}

.primary-game-feature__scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.primary-game-feature:hover .primary-game-feature__scene img {
  transform: scale(1.018);
}

.primary-game-feature__product {
  position: relative;
  z-index: 2;
  display: grid;
  margin-left: clamp(-7rem, -7vw, -4rem);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid rgba(62, 65, 147, 0.12);
  border-top: 0.55rem solid var(--territory-accent);
  border-radius: 1.4rem 3.6rem 1.8rem 2.4rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 65px rgba(32, 34, 82, 0.2);
  backdrop-filter: blur(18px);
}

.primary-game-feature--reverse .primary-game-feature__product {
  grid-row: 1;
  grid-column: 1;
  margin-right: clamp(-7rem, -7vw, -4rem);
  margin-left: 0;
  border-radius: 3.6rem 1.4rem 2.4rem 1.8rem;
}

.primary-game-feature__eyebrow {
  margin: 0;
  color: var(--territory-accent);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-game-feature__product > img {
  width: min(100%, 20rem);
  max-height: 16rem;
  justify-self: center;
  margin: 1rem 0 0.75rem;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(32, 34, 82, 0.14));
}

.primary-game-feature__product h4,
.primary-game-story__copy h4,
.primary-product-duo h4 {
  margin: 0;
  color: var(--in-indigo);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.primary-game-feature__product h4 {
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  line-height: 0.95;
}

.primary-game-feature__product div > p {
  margin: 0.7rem 0 0;
  color: rgba(32, 34, 82, 0.68);
  line-height: 1.5;
}

.primary-game-feature__product ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.primary-game-feature__product li {
  padding: 0.4rem 0.55rem;
  border-radius: 0.55rem;
  background: var(--territory-soft);
  color: var(--in-indigo);
  font-size: 0.68rem;
  font-weight: 750;
}

.primary-game-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.primary-game-story {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 1.8rem 4rem 2rem 3rem;
  background: var(--territory-soft);
}

.primary-game-story:nth-child(even) {
  border-radius: 4rem 1.8rem 3rem 2rem;
}

.primary-game-story figure {
  min-height: clamp(27rem, 39vw, 36rem);
  margin: 0;
  overflow: hidden;
}

.primary-game-story figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.primary-game-story:hover figure img {
  transform: scale(1.025);
}

.primary-game-story__copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(7rem, 0.38fr) minmax(0, 0.62fr);
  gap: 1rem;
  align-items: center;
  min-height: 13rem;
  margin-top: -2rem;
  padding: 1.25rem;
  border-radius: 2rem 2rem 0 0;
  background: rgba(255, 255, 255, 0.96);
}

.primary-game-story__copy > img {
  width: 100%;
  max-height: 10rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(32, 34, 82, 0.12));
}

.primary-game-story__copy p,
.primary-product-duo p {
  margin: 0 0 0.35rem;
  color: var(--territory-accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-game-story__copy h4,
.primary-product-duo h4 {
  font-size: 1.75rem;
}

.primary-game-story__copy span,
.primary-product-duo span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(32, 34, 82, 0.64);
  font-size: 0.82rem;
  line-height: 1.45;
}

.primary-strategy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.primary-game-story--wide figure {
  min-height: 47rem;
}

.primary-game-story--wide figure img {
  object-position: center 30%;
}

.primary-product-duo {
  display: grid;
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
}

.primary-product-duo article {
  display: grid;
  grid-template-columns: minmax(9rem, 0.45fr) minmax(0, 0.55fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1.15rem, 2.4vw, 1.8rem);
  overflow: hidden;
  border: 1px solid rgba(62, 65, 147, 0.1);
  border-radius: 1.5rem 3.6rem 1.8rem 2.4rem;
  background:
    radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--territory-accent) 15%, transparent), transparent 12rem),
    #fff;
}

.primary-product-duo article:nth-child(2) {
  border-radius: 3.6rem 1.5rem 2.4rem 1.8rem;
}

.primary-product-duo article > img {
  width: 100%;
  max-height: 13rem;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(32, 34, 82, 0.12));
}

.primary-classroom-rhythm {
  display: grid;
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--in-line);
  list-style: none;
}

.primary-classroom-rhythm li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--in-line);
}

.primary-classroom-rhythm li > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--in-indigo);
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.64rem;
  font-weight: 780;
}

.primary-classroom-rhythm strong {
  color: var(--in-indigo);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.08rem;
}

.primary-classroom-rhythm p {
  margin: 0.3rem 0 0;
  color: rgba(32, 34, 82, 0.62);
  font-size: 0.87rem;
  line-height: 1.45;
}

/* Primary-only opening: an editorial classroom campaign rather than a product gallery. */
.kindergarten-disabled .intellectum-hero {
  min-height: 0;
  padding: 0;
  background: #172344;
}

.kindergarten-disabled .intellectum-hero::before {
  display: none;
}

.primary-home-hero {
  position: relative;
  min-height: clamp(48rem, 94svh, 64rem);
  overflow: hidden;
  background: #172344;
  isolation: isolate;
}

.primary-home-hero__backdrop,
.primary-home-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.primary-home-hero__backdrop {
  z-index: -3;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1.012);
}

.primary-home-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(15, 23, 52, 0.94) 0%, rgba(15, 23, 52, 0.8) 31%, rgba(15, 23, 52, 0.32) 59%, rgba(15, 23, 52, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 23, 52, 0.76) 0%, transparent 38%, rgba(15, 23, 52, 0.2) 100%);
}

.primary-home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(26rem, 1.05fr) minmax(19rem, 0.72fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(8.5rem, 13vh, 11rem) clamp(7rem, 11vh, 9rem);
}

.primary-home-hero__copy {
  max-width: 50rem;
}

.primary-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: #d4f2e7;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.primary-home-hero__eyebrow::before {
  width: 1.9rem;
  height: 2px;
  background: #f7bd45;
  content: "";
}

.primary-home-hero h1 {
  max-width: 8.8ch;
  margin: 1.2rem 0 1.35rem;
  color: #fff;
  font-size: clamp(4.6rem, 8.7vw, 8.7rem);
  font-weight: 680;
  letter-spacing: -0.075em;
  line-height: 0.83;
  text-shadow: 0 0.12em 0.65em rgba(8, 13, 38, 0.18);
}

.primary-home-hero__lead {
  max-width: 41rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.55;
}

.primary-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2rem;
}

.primary-home-hero__button {
  border-color: #f7bd45;
  background: #f7bd45;
  color: #172344;
  box-shadow: 0 18px 42px rgba(8, 13, 38, 0.22);
}

.primary-home-hero__button:hover {
  border-color: #fff;
  background: #fff;
  color: #172344;
}

.primary-home-hero__text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.88rem;
  font-weight: 720;
  text-decoration: none;
  transition: border-color 180ms ease, gap 180ms ease;
}

.primary-home-hero__text-link:hover {
  gap: 0.85rem;
  border-color: #f7bd45;
}

.primary-home-hero__text-link:focus-visible,
.primary-home-hero__scroll:focus-visible,
.primary-overview__territories a:focus-visible {
  outline: 3px solid #f7bd45;
  outline-offset: 5px;
}

.primary-home-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.primary-home-hero__proof span {
  color: #f7bd45;
}

.primary-home-hero__collection {
  align-self: end;
  width: min(100%, 27rem);
  justify-self: end;
  margin: 0 0 1.5rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 1.4rem 3.4rem 1.8rem 2.3rem;
  background: rgba(17, 28, 64, 0.62);
  box-shadow: 0 28px 70px rgba(5, 11, 35, 0.26);
  backdrop-filter: blur(18px);
}

.primary-home-hero__collection img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(4, 9, 30, 0.2));
}

.primary-home-hero__collection figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 0.2rem 0.6rem 0.55rem;
  color: #fff;
}

.primary-home-hero__collection figcaption span {
  color: #f7bd45;
  font-size: 0.65rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-home-hero__collection figcaption strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.92rem;
  line-height: 1.3;
}

.primary-home-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.primary-home-hero__scroll b {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #f7bd45;
}

/* The post-hero binds children, the product family and the page structure together. */
.primary-overview {
  position: relative;
  padding: clamp(7rem, 11vw, 10rem) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 12%, rgba(246, 186, 67, 0.22), transparent 24rem),
    linear-gradient(145deg, #f5ead4 0%, #f7f4eb 50%, #e3f1ea 100%);
}

.primary-overview::before {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(27, 43, 72, 0.2) 0.7px, transparent 0.7px);
  background-size: 1.15rem 1.15rem;
  mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
  content: "";
}

.primary-overview__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(27rem, 1.05fr) minmax(24rem, 0.95fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.primary-overview__visual {
  position: relative;
  min-height: clamp(38rem, 52vw, 48rem);
}

.primary-overview__visual figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 30px 74px rgba(31, 42, 70, 0.16);
}

.primary-overview__children {
  inset: 0 23% 13% 0;
  border-radius: 4.5rem 1.7rem 3.4rem 2.2rem;
  background: #7fc6b4;
  transform: rotate(-1.5deg);
}

.primary-overview__children img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.primary-overview__children figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  max-width: 18rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 0.9rem 1.6rem 1rem 1.25rem;
  background: rgba(24, 34, 67, 0.77);
  backdrop-filter: blur(12px);
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.primary-overview__product {
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 63%;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid rgba(62, 65, 147, 0.11);
  border-radius: 1.4rem 3.5rem 1.7rem 2.4rem;
  background: rgba(255, 255, 255, 0.94);
  transform: rotate(2deg);
}

.primary-overview__product > span {
  display: block;
  color: #3e4193;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-overview__product img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.primary-overview__copy h2 {
  max-width: 10ch;
  margin: 1.15rem 0 1.3rem;
  color: #293565;
  font-size: clamp(3.5rem, 6vw, 6.2rem);
  font-weight: 660;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.primary-overview__lead {
  max-width: 38rem;
  margin: 0;
  color: rgba(31, 42, 70, 0.68);
  font-size: 1.02rem;
  line-height: 1.58;
}

.primary-overview__territories {
  display: grid;
  margin-top: 2.2rem;
  border-top: 1px solid rgba(41, 53, 101, 0.15);
}

.primary-overview__territories a {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr 2.2rem;
  gap: 1rem;
  align-items: center;
  min-height: 4.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(41, 53, 101, 0.15);
  color: #293565;
  text-decoration: none;
  transition: padding 200ms ease, color 200ms ease;
}

.primary-overview__territories a::before {
  position: absolute;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.primary-overview__territories a:nth-child(1) { color: #c34d54; }
.primary-overview__territories a:nth-child(2) { color: #2d7e7d; }
.primary-overview__territories a:nth-child(3) { color: #4a51a4; }
.primary-overview__territories a:nth-child(4) { color: #9b6715; }

.primary-overview__territories a:hover {
  padding-left: 1rem;
}

.primary-overview__territories a:hover::before {
  opacity: 1;
}

.primary-overview__territories span {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.primary-overview__territories strong {
  color: #293565;
  font-size: 0.91rem;
  font-weight: 650;
}

.primary-overview__territories b {
  justify-self: end;
  color: rgba(41, 53, 101, 0.38);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.kindergarten-disabled .intellectum-stage--primary {
  padding-top: 0;
}

.kindergarten-disabled .primary-territories {
  margin-top: 0;
  padding-top: clamp(7rem, 10vw, 9rem);
}

.primary-strategy-grid--stories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.primary-strategy-grid--stories .primary-game-story figure {
  min-height: clamp(23rem, 31vw, 31rem);
}

.primary-strategy-grid--stories .primary-game-story:first-child figure img {
  object-position: center 28%;
}

.primary-strategy-grid--stories .primary-game-story__copy {
  grid-template-columns: minmax(5.8rem, 0.36fr) minmax(0, 0.64fr);
  min-height: 14.5rem;
}

.intellectum-motion-ready [data-intellectum-reveal] {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.intellectum-motion-ready [data-intellectum-reveal].is-in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .primary-home-hero__inner {
    grid-template-columns: minmax(25rem, 1fr) minmax(16rem, 0.56fr);
    gap: 2rem;
  }

  .primary-home-hero__collection {
    width: min(100%, 23rem);
  }

  .primary-overview__grid {
    grid-template-columns: minmax(24rem, 1fr) minmax(22rem, 0.92fr);
    gap: 3rem;
  }

  .primary-strategy-grid--stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-strategy-grid--stories .primary-game-story:first-child {
    grid-column: 1 / -1;
  }

  .intellectum-hero__grid {
    grid-template-columns: minmax(18rem, 0.9fr) minmax(28rem, 1.1fr);
    gap: 2rem;
  }

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

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

  .primary-campaign__head,
  .primary-discovery__head {
    grid-template-columns: 0.65fr 1.35fr;
  }

  .primary-campaign__head > p:last-child,
  .primary-discovery__head > p:last-child {
    grid-column: 2;
  }

  .primary-learning-space {
    grid-template-columns: minmax(22rem, 1fr) minmax(19rem, 0.9fr);
  }

  .primary-territory__header {
    grid-template-columns: 0.42fr 1.12fr 0.62fr;
    gap: 1.5rem;
  }

  .primary-game-feature__product {
    margin-left: -3.5rem;
  }

  .primary-game-feature--reverse .primary-game-feature__product {
    margin-right: -3.5rem;
  }

  .primary-game-story__copy {
    grid-template-columns: 7.5rem 1fr;
  }

  .intellectum-method__steps li:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 860px) {
  .primary-home-hero {
    min-height: 60rem;
  }

  .primary-home-hero__backdrop {
    object-position: 58% center;
  }

  .primary-home-hero__shade {
    background:
      linear-gradient(90deg, rgba(15, 23, 52, 0.93) 0%, rgba(15, 23, 52, 0.67) 68%, rgba(15, 23, 52, 0.28) 100%),
      linear-gradient(0deg, rgba(15, 23, 52, 0.84) 0%, transparent 48%);
  }

  .primary-home-hero__inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2rem;
    padding-bottom: 5.5rem;
  }

  .primary-home-hero__collection {
    width: min(23rem, 70vw);
    justify-self: start;
    margin: 0;
  }

  .primary-overview__grid {
    grid-template-columns: 1fr;
  }

  .primary-overview__visual {
    width: min(100%, 42rem);
    min-height: 40rem;
  }

  .intellectum-hero {
    min-height: auto;
  }

  .intellectum-hero__grid,
  .intellectum-manifesto__grid,
  .intellectum-stage__intro,
  .intellectum-stage__intro--reverse,
  .intellectum-library__head,
  .intellectum-play-story,
  .intellectum-play-story--reverse,
  .intellectum-method__head,
  .intellectum-contact__grid {
    grid-template-columns: 1fr;
  }

  .intellectum-hero h1 {
    max-width: 10ch;
  }

  .intellectum-hero__media {
    min-height: 34rem;
  }

  .intellectum-stage__intro--reverse .intellectum-stage__copy,
  .intellectum-stage__intro--reverse .intellectum-stage__visual,
  .intellectum-play-story--reverse .intellectum-play-story__media {
    order: initial;
  }

  .intellectum-stage__visual {
    min-height: 28rem;
  }

  .intellectum-library__tools {
    justify-self: start;
    width: 100%;
  }

  .intellectum-filter-status {
    text-align: left;
  }

  .intellectum-play-story__media {
    min-height: 29rem;
  }

  .primary-editorial-hero__copy {
    width: min(40rem, 88%);
  }

  .primary-campaign__grid,
  .primary-learning-space {
    grid-template-columns: 1fr;
  }

  .primary-campaign__tile--grid {
    grid-row: auto;
    min-height: 42rem;
  }

  .primary-learning-space__room {
    position: relative;
    top: auto;
    min-height: 45rem;
  }

  .primary-learning-space__copy {
    padding-top: 0;
  }

  .primary-discovery__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 26rem;
  }

  .primary-discovery__card--matrix,
  .primary-discovery__card--tower,
  .primary-discovery__card--dusk,
  .primary-discovery__card--mosaic,
  .primary-discovery__card--team,
  .primary-discovery__card--focus {
    grid-column: auto;
    grid-row: auto;
  }

  .primary-territories__head,
  .primary-territory__header,
  .primary-game-feature,
  .primary-strategy-grid {
    grid-template-columns: 1fr;
  }

  .primary-strategy-grid--stories .primary-game-story:first-child {
    grid-column: auto;
  }

  .primary-territories__head h3 {
    max-width: 12ch;
  }

  .primary-territory-nav {
    grid-template-columns: repeat(4, minmax(13rem, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .primary-game-feature--reverse .primary-game-feature__scene,
  .primary-game-feature--reverse .primary-game-feature__product {
    grid-row: auto;
    grid-column: auto;
  }

  .primary-game-feature__scene,
  .primary-game-feature--reverse .primary-game-feature__scene {
    min-height: 38rem;
    border-radius: 2rem 4rem 2rem 3rem;
  }

  .primary-game-feature__product,
  .primary-game-feature--reverse .primary-game-feature__product {
    width: calc(100% - 2rem);
    margin: -5.5rem auto 0;
  }

  .primary-game-pair {
    grid-template-columns: 1fr;
  }

  .primary-game-story figure {
    min-height: 34rem;
  }

  .primary-game-story--wide figure {
    min-height: 42rem;
  }

  .primary-product-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .primary-product-duo article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .intellectum-shell {
    width: min(calc(100% - 1.35rem), 80rem);
  }

  .intellectum-hero {
    padding-top: 7.2rem;
  }

  .kindergarten-disabled .intellectum-hero {
    padding-top: 0;
  }

  .primary-home-hero {
    min-height: 53rem;
  }

  .primary-home-hero__backdrop {
    object-position: 57% center;
  }

  .primary-home-hero__shade {
    background:
      linear-gradient(90deg, rgba(15, 23, 52, 0.93), rgba(15, 23, 52, 0.48)),
      linear-gradient(0deg, rgba(15, 23, 52, 0.91) 0%, rgba(15, 23, 52, 0.36) 68%, rgba(15, 23, 52, 0.24) 100%);
  }

  .primary-home-hero__inner {
    min-height: 53rem;
    align-content: end;
    padding-block: 7.5rem 5.3rem;
  }

  .primary-home-hero h1 {
    max-width: 8ch;
    font-size: clamp(3.7rem, 18vw, 5.15rem);
    line-height: 0.86;
  }

  .primary-home-hero__lead {
    font-size: 1rem;
  }

  .primary-home-hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.7rem;
  }

  .primary-home-hero__text-link {
    justify-content: center;
  }

  .primary-home-hero__proof {
    margin-top: 1.35rem;
  }

  .primary-home-hero__collection,
  .primary-home-hero__scroll span {
    display: none;
  }

  .primary-overview {
    padding-block: 5.8rem;
  }

  .primary-overview__visual {
    min-height: 31rem;
  }

  .primary-overview__children {
    inset: 0 12% 14% 0;
    border-radius: 2.6rem 1.2rem 2.2rem 1.5rem;
  }

  .primary-overview__children figcaption {
    left: 0.8rem;
    bottom: 0.8rem;
    max-width: 13rem;
    font-size: 0.72rem;
  }

  .primary-overview__product {
    width: 70%;
    padding: 0.6rem;
    border-radius: 1rem 2.4rem 1.2rem 1.6rem;
  }

  .primary-overview__copy h2 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .primary-overview__territories a {
    grid-template-columns: 4.2rem 1fr 1.5rem;
    gap: 0.65rem;
  }

  .intellectum-piece-pattern--hero {
    top: 8rem;
    right: -6rem;
    width: 20rem;
    opacity: 0.065;
  }

  .intellectum-piece-pattern--kindergarten,
  .intellectum-piece-pattern--primary {
    width: 13rem;
    opacity: 0.08;
  }

  .intellectum-hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .intellectum-hero__actions,
  .intellectum-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .intellectum-button,
  .intellectum-form .lead-form__submit {
    width: 100%;
  }

  .intellectum-hero__proof {
    grid-template-columns: 1fr;
  }

  .intellectum-hero__proof div + div {
    margin-top: 0.85rem;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--in-line);
    border-left: 0;
  }

  .intellectum-hero__media {
    min-height: 30rem;
  }

  .intellectum-hero__media::before {
    inset: 1rem 0 2.5rem 1.5rem;
    border-radius: 3.5rem 1.5rem 4rem 1.5rem;
  }

  .intellectum-hero-scene--primary {
    inset: 0 0 18% 8%;
    border-radius: 1.6rem 4rem 2rem 2.8rem;
  }

  .intellectum-hero-scene--kindergarten {
    inset: 55% 38% 0 0;
    border-radius: 2.5rem 1.2rem 2.8rem 1.4rem;
  }

  .intellectum-hero-live {
    top: -0.35rem;
    right: 0;
  }

  .intellectum-levels {
    margin-top: -1rem;
  }

  .intellectum-levels__panel {
    grid-template-columns: 1fr;
  }

  .intellectum-stage-choice {
    min-height: 9.2rem;
  }

  .intellectum-manifesto,
  .intellectum-stage,
  .intellectum-method,
  .intellectum-contact {
    padding-block: 5.6rem;
  }

  .intellectum-manifesto__list li {
    grid-template-columns: 2.5rem 1fr;
  }

  .intellectum-stage__copy h2,
  .intellectum-method h2,
  .intellectum-contact__copy h2 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .intellectum-stage__visual {
    min-height: 22rem;
  }

  .intellectum-games {
    grid-template-columns: 1fr;
  }

  .intellectum-game {
    min-height: 0;
  }

  .intellectum-game__visual {
    min-height: 17rem;
  }

  .intellectum-play-story__media {
    min-height: 23rem;
  }

  .primary-editorial-hero {
    min-height: 43rem;
    margin-inline: -0.15rem;
    border-radius: 1.5rem 3.5rem 1.5rem 2.5rem;
  }

  .primary-editorial-hero > img {
    object-position: 62% center;
  }

  .primary-editorial-hero__shade {
    background: linear-gradient(0deg, rgba(18, 24, 58, 0.94) 0%, rgba(18, 24, 58, 0.56) 58%, rgba(18, 24, 58, 0.08) 100%);
  }

  .primary-editorial-hero__copy {
    width: 100%;
    padding: 2rem 1.35rem 4.3rem;
  }

  .primary-editorial-hero__copy h2 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .primary-editorial-hero__note {
    right: 1.2rem;
    bottom: 1.5rem;
    writing-mode: initial;
  }

  .primary-campaign__head,
  .primary-discovery__head {
    grid-template-columns: 1fr;
  }

  .primary-campaign__head > p:last-child,
  .primary-discovery__head > p:last-child {
    grid-column: auto;
  }

  .primary-campaign__head h3,
  .primary-discovery__head h3,
  .primary-learning-space__copy > h3 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .primary-campaign__tile,
  .primary-campaign__tile--grid {
    min-height: 25rem;
  }

  .primary-learning-space__room {
    min-height: 34rem;
  }

  .primary-learning-space__portrait {
    min-height: 27rem;
  }

  .primary-discovery__gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 28rem;
  }

  .primary-discovery__card--team,
  .primary-discovery__card--tower,
  .primary-discovery__card--dusk {
    min-height: 35rem;
  }

  .primary-territories {
    margin-block: 6rem;
  }

  .primary-territories__head h3,
  .primary-territory__header h3 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .primary-territory-nav {
    top: 4.7rem;
    margin-inline: -0.65rem;
    border-radius: 0;
  }

  .primary-territory {
    padding-top: 6.5rem;
    scroll-margin-top: 9rem;
  }

  .primary-game-feature__scene,
  .primary-game-feature--reverse .primary-game-feature__scene {
    min-height: 29rem;
  }

  .primary-game-feature__product,
  .primary-game-feature--reverse .primary-game-feature__product {
    width: calc(100% - 1rem);
    margin-top: -3.5rem;
    padding: 1.2rem;
    border-radius: 1.2rem 2.6rem 1.5rem 1.8rem;
  }

  .primary-game-feature__product > img {
    max-height: 12rem;
  }

  .primary-game-pair,
  .primary-strategy-grid {
    gap: 0.8rem;
  }

  .primary-game-story,
  .primary-game-story:nth-child(even) {
    border-radius: 1.4rem 2.8rem 1.6rem 2rem;
  }

  .primary-game-story figure,
  .primary-game-story--wide figure {
    min-height: 27rem;
  }

  .primary-game-story__copy {
    grid-template-columns: 6.5rem 1fr;
    min-height: 11.5rem;
    padding: 1rem;
  }

  .primary-game-story__copy h4,
  .primary-product-duo h4 {
    font-size: 1.5rem;
  }

  .primary-product-duo {
    grid-template-columns: 1fr;
  }

  .primary-product-duo article {
    grid-template-columns: 8rem 1fr;
  }

  .intellectum-method__steps {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .intellectum-method__steps li,
  .intellectum-method__steps li + li,
  .intellectum-method__steps li:nth-child(3) {
    padding: 1.35rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .intellectum-method__number {
    margin-bottom: 1.1rem;
  }

  .intellectum-form__grid {
    grid-template-columns: 1fr;
  }

  .intellectum-form__wide {
    grid-column: auto;
  }
}

@media (hover: none) {
  .intellectum-game.supports-product-tap .intellectum-game__visual {
    cursor: pointer;
  }

  .intellectum-game.supports-product-tap:not(.is-product-visible):hover .intellectum-game__product {
    opacity: 0;
    filter: drop-shadow(0 18px 18px rgba(32, 34, 82, 0.12));
    transform: translateY(0.45rem) scale(0.92) rotate(-1deg);
  }

  .intellectum-game.supports-product-tap:not(.is-product-visible):hover .intellectum-game__visual::before {
    opacity: 0;
  }

  .intellectum-game.supports-product-tap:not(.is-product-visible):hover .intellectum-game__visual::after {
    opacity: 1;
    filter: saturate(0.94) contrast(1.02);
    transform: scale(1);
  }

  .intellectum-game.supports-product-tap:not(.is-product-visible):hover .intellectum-game__scene-cue {
    background: rgba(255, 255, 255, 0.9);
    color: var(--in-indigo);
    transform: none;
  }

  .intellectum-game.supports-product-tap:not(.is-product-visible):hover .intellectum-game__scene-cue .is-rest {
    display: inline;
  }

  .intellectum-game.supports-product-tap:not(.is-product-visible):hover .intellectum-game__scene-cue .is-active {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intellectum-story *,
  .intellectum-story *::before,
  .intellectum-story *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .intellectum-motion-ready [data-intellectum-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Primary refinement: every visual now moves from classroom scene to product to action. */
.primary-home-hero__collection {
  align-self: center;
  width: min(100%, 30rem);
  margin: 1.25rem 0 0;
  padding: 1rem;
  border-radius: 1.5rem 3.2rem 1.8rem 2.2rem;
  background: linear-gradient(145deg, rgba(15, 25, 59, 0.88), rgba(28, 38, 79, 0.62));
}

.primary-home-hero__collection-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0.2rem 0.85rem;
}

.primary-home-hero__collection-head p {
  display: grid;
  gap: 0.15rem;
  margin: 0;
}

.primary-home-hero__collection-head p span {
  color: #f7bd45;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-home-hero__collection-head p strong {
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
}

.primary-home-hero__collection-head > a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-home-hero__game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.primary-home-hero__game-grid a {
  --game-accent: #16c0d7;
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 6.4rem;
  grid-template-rows: 1fr auto;
  gap: 0.2rem;
  align-items: center;
  padding: 0.45rem 0.35rem 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem 1.25rem 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-home-hero__game-grid a::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--game-accent);
  content: "";
}

.primary-home-hero__game-grid a.is-build { --game-accent: #ff6a6b; }
.primary-home-hero__game-grid a.is-pattern { --game-accent: #49b7a3; }
.primary-home-hero__game-grid a.is-logic { --game-accent: #7f8cff; }
.primary-home-hero__game-grid a.is-strategy { --game-accent: #f7bd45; }

.primary-home-hero__game-grid a:hover {
  border-color: color-mix(in srgb, var(--game-accent) 75%, white);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-0.18rem);
}

.primary-home-hero__game-grid a:focus-visible,
.primary-home-hero__collection-head > a:focus-visible,
.primary-game-feature__link:focus-visible {
  outline: 3px solid #f7bd45;
  outline-offset: 3px;
}

.primary-home-hero__game-grid img,
.primary-home-hero__collection .primary-home-hero__game-grid img {
  width: 100%;
  height: 3.7rem;
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px rgba(3, 8, 25, 0.28));
  transition: transform 180ms ease;
}

.primary-home-hero__game-grid a:hover img {
  transform: scale(1.07) rotate(-1deg);
}

.primary-home-hero__game-grid a > span {
  overflow: hidden;
  font-size: 0.61rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-overview__visual {
  min-height: 0;
}

.primary-overview__visual figure,
.primary-overview__children {
  position: relative;
  inset: auto;
}

.primary-overview__children {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4rem 1.7rem 3rem 2.2rem;
  transform: none;
}

.primary-overview__children figcaption {
  top: 1.15rem;
  bottom: auto;
}

.primary-overview__facts {
  position: absolute;
  right: -1rem;
  bottom: 1.2rem;
  z-index: 2;
  display: grid;
  width: min(92%, 28rem);
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 1.2rem 2.4rem 1.3rem 1.7rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 48px rgba(31, 42, 70, 0.2);
  backdrop-filter: blur(16px);
  list-style: none;
}

.primary-overview__facts li {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0.7rem;
  text-align: center;
}

.primary-overview__facts li + li {
  border-left: 1px solid rgba(41, 53, 101, 0.12);
}

.primary-overview__facts strong {
  color: #3e4193;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.primary-overview__facts span {
  color: rgba(41, 53, 101, 0.62);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-game-feature {
  grid-template-columns: minmax(0, 1.18fr) minmax(19rem, 0.82fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: stretch;
}

.primary-game-feature__scene,
.primary-game-feature--reverse .primary-game-feature__scene {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 2rem 4.5rem 2.4rem 3.2rem;
}

.primary-game-feature--reverse .primary-game-feature__scene {
  border-radius: 4.5rem 2rem 3.2rem 2.4rem;
}

.primary-game-feature__product,
.primary-game-feature--reverse .primary-game-feature__product {
  width: auto;
  align-content: center;
  margin: 0;
  padding: clamp(1.15rem, 2vw, 1.7rem);
  border-top-width: 0.38rem;
  border-radius: 1.4rem 3rem 1.7rem 2.1rem;
  background:
    radial-gradient(circle at 85% 15%, var(--territory-soft), transparent 13rem),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(32, 34, 82, 0.15);
}

.primary-game-feature--reverse .primary-game-feature__product {
  border-radius: 3rem 1.4rem 2.1rem 1.7rem;
}

.primary-game-feature__product > img {
  width: min(100%, 15rem);
  max-height: 12.5rem;
  margin: 0.6rem 0 0.65rem;
  transition: transform 240ms ease;
}

.primary-game-feature__product:hover > img {
  transform: translateY(-0.2rem) rotate(-1deg);
}

.primary-game-feature__product h4 {
  font-size: clamp(2rem, 3.1vw, 3rem);
}

.primary-game-feature__product div > p {
  font-size: 0.94rem;
}

.primary-game-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding-bottom: 0.22rem;
  border-bottom: 1px solid color-mix(in srgb, var(--territory-accent) 55%, transparent);
  color: var(--territory-accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-territory--strategy .primary-game-feature__scene img {
  object-position: 66% center;
}

.primary-learning-space__room {
  min-height: 0;
  aspect-ratio: 4 / 5;
  align-self: start;
}

.primary-learning-space__room img {
  display: block;
}

.intellectum-method {
  padding-block: clamp(6rem, 9vw, 8.5rem);
}

.intellectum-method__spotlight {
  display: grid;
  grid-template-columns: minmax(20rem, 0.78fr) minmax(28rem, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.intellectum-method__head {
  display: block;
}

.intellectum-method__lead {
  margin-top: 1.5rem;
}

.intellectum-method__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.6rem 4.2rem 1.9rem 2.7rem;
  background: #b8d8ca;
  box-shadow: 0 28px 70px rgba(5, 11, 35, 0.32);
}

.intellectum-method__visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(11, 19, 48, 0.72), transparent);
  content: "";
}

.intellectum-method__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intellectum-method__visual figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.15rem;
  left: 1.2rem;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
}

.intellectum-method__visual figcaption span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.intellectum-method__visual figcaption strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intellectum-method__marker {
  position: absolute;
  z-index: 3;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(10, 17, 43, 0.18);
  color: #293565;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.intellectum-method__marker::after {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f7bd45;
  content: "";
}

.intellectum-method__marker--focus {
  top: 20%;
  left: 18%;
}

.intellectum-method__marker--focus::after {
  right: -1.1rem;
  bottom: -0.7rem;
}

.intellectum-method__marker--reason {
  top: 32%;
  right: 16%;
}

.intellectum-method__marker--reason::after {
  bottom: -1rem;
  left: -0.55rem;
}

.intellectum-method__steps {
  margin-top: 2.5rem;
}

.intellectum-contact {
  padding-block: clamp(6rem, 9vw, 8rem);
}

.intellectum-contact__grid {
  grid-template-columns: minmax(22rem, 0.95fr) minmax(28rem, 1.05fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: stretch;
}

.intellectum-contact__copy {
  position: relative;
  display: flex;
  min-height: 42rem;
  align-items: end;
  padding: clamp(1.6rem, 4vw, 3rem);
  overflow: hidden;
  border-radius: 3.8rem 1.5rem 2.7rem 1.8rem;
  background: #172344;
  box-shadow: var(--in-shadow);
  isolation: isolate;
}

.intellectum-contact__copy::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(15, 23, 52, 0.94) 0%, rgba(15, 23, 52, 0.52) 55%, rgba(15, 23, 52, 0.12) 100%),
    linear-gradient(90deg, rgba(15, 23, 52, 0.36), transparent);
  content: "";
}

.intellectum-contact__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

.intellectum-contact__copy-content {
  position: relative;
  z-index: 1;
}

.intellectum-contact__copy h2 {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(2.8rem, 4.8vw, 4.9rem);
}

.intellectum-contact__copy-content > p:not(.intellectum-kicker):not(.intellectum-contact__trust) {
  max-width: 31rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.58;
}

.intellectum-contact__direct {
  color: #fff;
  text-decoration-color: #f7bd45;
}

.intellectum-contact__trust {
  max-width: 30rem;
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
}

.intellectum-form {
  align-self: stretch;
}

#primary-games .intellectum-game {
  scroll-margin-top: 8rem;
}

#primary-games .intellectum-game:target {
  box-shadow: 0 0 0 4px #f7bd45, 0 28px 65px rgba(32, 34, 82, 0.2);
}

@media (max-width: 1080px) {
  .primary-home-hero__collection {
    width: min(100%, 26rem);
  }

  .primary-home-hero__game-grid a {
    min-height: 5.8rem;
  }

  .primary-home-hero__game-grid img,
  .primary-home-hero__collection .primary-home-hero__game-grid img {
    height: 3.1rem;
  }

  .primary-game-feature__product,
  .primary-game-feature--reverse .primary-game-feature__product {
    margin: 0;
  }

  .intellectum-method__spotlight {
    grid-template-columns: minmax(18rem, 0.82fr) minmax(24rem, 1.18fr);
    gap: 2.2rem;
  }
}

@media (max-width: 860px) {
  .primary-home-hero {
    min-height: auto;
  }

  .primary-home-hero__inner {
    min-height: 58rem;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    padding-block: 8rem 5.5rem;
  }

  .primary-home-hero__copy,
  .primary-home-hero__actions {
    min-width: 0;
    max-width: 100%;
  }

  .primary-home-hero__collection {
    width: 100%;
    min-width: 0;
    max-width: none;
    justify-self: stretch;
  }

  .primary-home-hero__game-grid {
    display: flex;
    width: 100%;
    min-width: 0;
    margin-inline: -0.2rem;
    padding: 0.2rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .primary-home-hero__game-grid::-webkit-scrollbar {
    display: none;
  }

  .primary-home-hero__game-grid a {
    min-width: 6.3rem;
    scroll-snap-align: start;
  }

  .primary-overview__visual {
    width: min(100%, 36rem);
    min-height: 0;
    justify-self: center;
  }

  .primary-overview__children {
    aspect-ratio: 1 / 1;
  }

  .primary-game-feature,
  .primary-game-feature--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }

  .primary-game-feature__scene,
  .primary-game-feature--reverse .primary-game-feature__scene {
    min-width: 0;
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .primary-game-feature__product,
  .primary-game-feature--reverse .primary-game-feature__product {
    min-width: 0;
    width: 100%;
    margin: 0;
  }

  .primary-learning-space__room {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .intellectum-method__spotlight,
  .intellectum-contact__grid {
    grid-template-columns: 1fr;
  }

  .intellectum-method__visual {
    aspect-ratio: 16 / 9;
  }

  .intellectum-contact__copy {
    min-height: 34rem;
  }
}

@media (max-width: 640px) {
  .primary-home-hero__inner {
    min-height: 0;
    padding-block: 8rem 4.8rem;
  }

  .primary-home-hero__collection {
    display: block;
    margin-top: 0.25rem;
    padding: 0.75rem;
    border-radius: 1.2rem 2rem 1.3rem 1.6rem;
  }

  .primary-home-hero__collection-head p strong {
    font-size: 0.9rem;
  }

  .primary-overview__children {
    inset: auto;
    aspect-ratio: 1 / 1;
  }

  .primary-overview__facts {
    right: -0.35rem;
    bottom: 0.65rem;
    width: calc(100% - 1rem);
  }

  .primary-overview__facts li {
    padding: 0.75rem 0.35rem;
  }

  .primary-game-feature__scene,
  .primary-game-feature--reverse .primary-game-feature__scene {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .primary-game-feature__product,
  .primary-game-feature--reverse .primary-game-feature__product {
    margin-top: 0;
    padding: 1.15rem;
  }

  .primary-learning-space__room {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 2.8rem 1.2rem 2.2rem 1.5rem;
  }

  .intellectum-method__visual {
    aspect-ratio: 4 / 3;
    border-radius: 1.3rem 2.8rem 1.5rem 2rem;
  }

  .intellectum-method__visual figcaption {
    display: grid;
  }

  .intellectum-method__marker--reason {
    right: 8%;
  }

  .intellectum-contact__copy {
    min-height: 29rem;
    padding: 1.4rem;
    border-radius: 2.8rem 1.2rem 2rem 1.5rem;
  }

  .intellectum-contact__copy h2 {
    font-size: clamp(2.65rem, 13vw, 3.8rem);
  }
}

/* Primary tablet polish: visual territory index and consistent story cards */
.primary-territory-filmstrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.primary-territory-filmstrip__item {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #202252;
  box-shadow: 0 16px 38px rgba(32, 34, 82, 0.13);
  color: #fff;
  text-decoration: none;
}

.primary-territory-filmstrip__item::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 52, 0.86) 100%);
  content: "";
}

.primary-territory-filmstrip__item::before {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: var(--filmstrip-accent, #ff6d6a);
  content: "";
}

.primary-territory-filmstrip__item.is-pattern { --filmstrip-accent: #13b6c8; }
.primary-territory-filmstrip__item.is-logic { --filmstrip-accent: #ffbd3e; }
.primary-territory-filmstrip__item.is-strategy { --filmstrip-accent: #3ba889; }

.primary-territory-filmstrip__item img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.primary-territory-filmstrip__item span {
  position: absolute;
  inset: auto 1rem 1rem;
  display: grid;
  gap: 0.12rem;
}

.primary-territory-filmstrip__item b {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  line-height: 1;
}

.primary-territory-filmstrip__item small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
}

.primary-territory-filmstrip__item:hover img,
.primary-territory-filmstrip__item:focus-visible img {
  transform: scale(1.045);
}

.primary-territory-filmstrip__item:focus-visible {
  outline: 3px solid #f7bd45;
  outline-offset: 3px;
}

.primary-home-hero__collection-head > a {
  flex: none;
  white-space: nowrap;
}

.primary-game-pair,
.primary-strategy-grid--stories {
  align-items: stretch;
}

.primary-game-pair .primary-game-story,
.primary-strategy-grid--stories .primary-game-story {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  align-content: start;
}

.primary-game-pair .primary-game-story figure,
.primary-strategy-grid--stories .primary-game-story figure {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.primary-game-pair .primary-game-story__copy,
.primary-strategy-grid--stories .primary-game-story__copy {
  height: 100%;
}

@media (min-width: 861px) and (max-width: 1100px) {
  .primary-home-hero {
    min-height: auto;
  }

  .primary-home-hero__inner {
    min-height: 61rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-content: end;
    padding-block: 8.5rem 5.5rem;
  }

  .primary-home-hero__copy {
    width: min(100%, 47rem);
    max-width: none;
  }

  .primary-home-hero__collection {
    width: 100%;
    max-width: none;
    margin: 0;
    justify-self: stretch;
  }

  .primary-home-hero__collection-head {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .primary-home-hero__collection-head p {
    min-width: 0;
  }

  .primary-home-hero__game-grid {
    display: flex;
    width: 100%;
    padding: 0.2rem 0.15rem 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .primary-home-hero__game-grid::-webkit-scrollbar {
    display: none;
  }

  .primary-home-hero__game-grid a {
    flex: 0 0 7rem;
    min-height: 6.25rem;
    scroll-snap-align: start;
  }

  .primary-territory-filmstrip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-territory-filmstrip__item {
    aspect-ratio: 16 / 9;
  }

  .primary-game-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-strategy-grid--stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-strategy-grid--stories .primary-game-story--zippy {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .primary-strategy-grid--stories .primary-game-story--zippy figure {
    height: 100%;
    aspect-ratio: auto;
  }

  .primary-strategy-grid--stories .primary-game-story--zippy .primary-game-story__copy {
    min-height: 0;
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 860px) {
  .primary-territory-filmstrip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-territory-filmstrip__item {
    aspect-ratio: 16 / 10;
  }

  .primary-game-pair .primary-game-story figure,
  .primary-strategy-grid--stories .primary-game-story figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .primary-strategy-grid--stories .primary-game-story--zippy {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
}

@media (max-width: 640px) {
  .primary-territory-filmstrip {
    display: flex;
    margin-right: calc((100vw - 100%) / -2);
    padding: 0.15rem calc((100vw - 100%) / 2) 0.75rem 0.15rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .primary-territory-filmstrip::-webkit-scrollbar {
    display: none;
  }

  .primary-territory-filmstrip__item {
    flex: 0 0 79%;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
  }

  .primary-game-pair .primary-game-story__copy,
  .primary-strategy-grid--stories .primary-game-story__copy {
    height: auto;
  }
}
