/* Innovel Full Stack landing page tokens */
:root {
  --color-red: #d22028;
  --color-red-dark: #a3050d;
  --color-red-deep: #6c1015;
  --color-red-soft: #f8e9e9;
  --color-blue: #2a398d;
  --color-blue-dark: #1c2b7c;
  --color-navy: #122133;
  --color-black: #000;
  --color-white: #fff;
  --color-surface: #f5f5f5;
  --color-input: #f0f0f0;
  --color-muted: rgba(0, 0, 0, 0.51);
  --color-muted-white: rgba(255, 255, 255, 0.76);
  --color-line: rgba(0, 0, 0, 0.11);
  --font-body: "Lato", sans-serif;
  --font-form: "Roboto", sans-serif;
  --font-phone: "Inter", sans-serif;
  --radius-sm: 10px;
  --radius-md: 15px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 4px rgba(0, 0, 0, 0.25);
  --shadow-form: 0 6px 8.7px 1px rgba(0, 0, 0, 0.34);
  --shadow-image: 0 8px 10.1px rgba(0, 0, 0, 0.43);
  --shadow-button: 1px 4px 4px rgba(0, 0, 0, 0.18);
  --content-max: 1296px;
  --header-height: 74px;
  --environment-mosaic-width: 558px;
  --environment-mosaic-height: 876px;
  --environment-tile-gap: 22px;
  --environment-stack-gap: 16px;
  --environment-tile-radius: 22px;
  --environment-storefront-radius: 16px;
  --projects-content-width: 1286px;
  --projects-carousel-width: 1260px;
  --projects-card-ratio: 2.04;
  --projects-card-gap: 40px;
  --projects-peek: 112px;
  --projects-control-gap: 56px;
  --partners-row-width: 1222px;
  --partners-logo-gap: 168px;
  --partner-logo-width: 110px;
  --partner-meta-width: 122px;
  --partner-logo-height: 84px;
  --projects-heading-size: 50px;
  --projects-heading-line-height: 59px;
  --projects-transition: 560ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--color-black);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

button,
a[href] {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(42, 57, 141, 0.65);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 48px), var(--content-max));
  margin-inline: auto;
}

.section {
  position: relative;
  isolation: isolate;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.desktop-only {
  display: inline;
}

/* Shared typography and buttons */
.section-title,
.display-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(2.3rem, 3.05vw, 2.75rem);
  line-height: 1.16;
}

.display-title {
  font-size: clamp(2.55rem, 3.48vw, 3.125rem);
  line-height: 1.1;
}

.section-title span,
.display-title span {
  color: var(--color-red);
}

.display-title--centered,
.section-title--centered {
  text-align: center;
}

.section-lead {
  margin: 10px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-button);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background-color var(--ease);
}

.button img {
  width: 23px;
  height: 21px;
  object-fit: contain;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.2);
}

.button:active {
  transform: translateY(0);
}

.button--red {
  color: var(--color-white);
  background: var(--color-red);
}

.button--blue {
  color: var(--color-white);
  background: var(--color-blue);
}

.button--blue:hover {
  background: var(--color-blue-dark);
}

.button--light {
  color: var(--color-black);
  background: var(--color-white);
}

.accent-line {
  display: block;
  width: 42px;
  height: 4px;
  background: var(--color-red);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  width: 158px;
  height: 74px;
  align-items: center;
}

.brand img {
  width: 158px;
  height: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.1vw, 45px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.header-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-black);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 3px;
  background: var(--color-red);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity var(--ease),
    transform var(--ease);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-contact {
  min-height: 34px;
  padding: 8px 19px;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 20px;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--color-blue);
  background: transparent;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform var(--ease),
    opacity var(--ease);
}

/* Hero */
.hero-section {
  min-height: 689px;
  overflow: hidden;
  background: var(--color-white) url("assets/hero-diagonal.svg") right top /
    auto 100% no-repeat;
}

.hero-section::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: 63%;
  height: 92%;
  background: linear-gradient(
    145deg,
    rgba(210, 32, 40, 0.86),
    var(--color-red-dark)
  );
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(36px, 6vw, 72px);
  min-height: 689px;
  padding-top: 54px;
  padding-bottom: 70px;
}

.hero-copy {
  align-self: center;
  min-width: 0;
  padding: 28px 0 0;
}

.hero-title {
  max-width: 865px;
  margin: 0;
  font-size: clamp(3rem, 4.17vw, 3.75rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.hero-title span,
.hero-title strong {
  font-weight: 500;
}

.hero-kicker {
  position: relative;
  display: inline-block;
  padding: 0 18px 5px;
  background: rgba(245, 245, 245, 0.92);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.14);
}

.hero-kicker::after {
  content: "";
  position: absolute;
  right: -0.9em;
  bottom: -0.7em;
  width: 1.5em;
  aspect-ratio: 260 / 220;
  background: url("arrow.png") center / contain no-repeat;
  pointer-events: none;
}

.hero-title strong {
  display: inline-block;
  color: var(--color-red);
  white-space: nowrap;
}

.hero-title em {
  font-style: normal;
}

.hero-description {
  max-width: 795px;
  margin: 10px 0 20px;
  font-size: clamp(1.15rem, 1.55vw, 1.375rem);
  font-weight: 300;
  line-height: 1.22;
}

.hero-duration {
  margin: 0;
  font-size: clamp(1.2rem, 1.68vw, 1.5rem);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 54px;
}

.hero-actions .button {
  min-width: 0;
}

.hero-actions .button--red {
  min-width: 325px;
}

.hero-actions .button--blue {
  min-width: 257px;
  font-family: var(--font-phone);
  font-size: 1.25rem;
}

.button-play-icon {
  width: 17px;
  height: 19px;
  flex: 0 0 auto;
  background: url("assets/icon-play-outline.svg") center / contain no-repeat;
}

.phone-circle {
  display: inline-grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: var(--color-blue);
  background: var(--color-white);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.hero-call-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 50%;
  box-shadow: var(--shadow-button);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background-color var(--ease);
}

.hero-call-icon svg {
  width: 22px;
  height: 22px;
}

.hero-form-card {
  align-self: start;
  min-height: 490px;
  padding: 31px 35px 32px;
  color: var(--color-black);
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-form);
}

.hero-form-card h2 {
  margin: 0 0 27px;
  font-family: var(--font-form);
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
}

/* Lead form */
.lead-form {
  display: grid;
  gap: 12px;
  font-family: var(--font-form);
}

.field-group {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.field-group label {
  min-height: 22px;
  color: var(--color-black);
  font-size: 0.75rem;
  line-height: 1.25;
}

.field-group label span {
  margin-right: 3px;
  color: #c40000;
  font-size: 1rem;
}

.field-group input,
.field-group select {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 8px 11px;
  color: var(--color-black);
  background: var(--color-input);
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-form);
  font-size: 0.75rem;
  outline: none;
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    background-color var(--ease);
}

.field-group input::placeholder,
.field-group select:invalid {
  color: rgba(0, 0, 0, 0.34);
}

.field-group input:focus,
.field-group select:focus {
  background: var(--color-white);
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(42, 57, 141, 0.12);
}

.field-group input[aria-invalid="true"],
.field-group select[aria-invalid="true"] {
  border-color: var(--color-red);
}

.phone-input {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  background: var(--color-input);
  border-radius: 6px;
}

.phone-input img {
  width: 13px;
  height: 13px;
  margin-right: 5px;
  object-fit: cover;
  border-radius: 2px;
}

.phone-input > span:not(.phone-divider) {
  color: var(--color-black);
  font-size: 0.65rem;
}

.phone-divider {
  width: 1px;
  height: 25px;
  margin: 0 8px;
  background: #bdbdbd;
}

.phone-input input {
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.phone-input input:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.select-wrap select {
  appearance: none;
  padding-right: 30px;
}

.field-error {
  min-height: 0;
  color: var(--color-red-dark);
  font-size: 0.68rem;
  line-height: 1.2;
}

.field-error:not(:empty) {
  min-height: 14px;
}

.lead-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: var(--font-form);
  font-size: 0.875rem;
}

.lead-submit[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 17px;
  margin: 0;
  color: var(--color-blue);
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: center;
}

.form-status.is-error {
  color: var(--color-red-dark);
}

.form-status.is-success {
  color: #08753a;
}

/* Program video */
.program-section {
  min-height: 827px;
  padding: 47px 0 70px;
  background: #fff url("assets/Frame 113.png") center top / 100% 100% no-repeat;
}

.program-section::before {
  content: none;
}

.program-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-intro--centered {
  max-width: 1000px;
  text-align: center;
}

.section-intro--centered .display-title span {
  display: inline-block;
}

.section-intro--centered p {
  max-width: 980px;
  margin: 8px auto 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.3;
}

.program-video {
  position: relative;
  width: min(100%, 782px);
  aspect-ratio: 16 / 9;
  margin-top: 42px;
  overflow: hidden;
  background: #121212;
  border-radius: 29px;
  box-shadow: 0 0 0 13px #f8f8f8;
  cursor: pointer;
}

.program-video.is-playing {
  cursor: default;
}

.program-video-iframe-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: #000;
  border-radius: inherit;
  overflow: hidden;
}

.program-video-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.program-video.is-playing .program-video-shade,
.program-video.is-playing .video-play-button,
.program-video.is-playing .video-controls,
.program-video.is-playing > img {
  display: none;
}

.program-video > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.program-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    transparent 100%
  );
  pointer-events: none;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 61px;
  height: 61px;
  padding: 0;
  place-items: center;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    transform var(--ease),
    background-color var(--ease);
}

.video-play-button:hover {
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-play-button img {
  width: 61px;
  height: 61px;
  filter: brightness(0) invert(1);
}

.video-controls {
  position: absolute;
  right: 35px;
  bottom: 24px;
  left: 35px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-white);
}

.video-control {
  display: inline-grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  color: var(--color-white);
  background: transparent;
}

.video-control--play img {
  width: 22px;
  height: 24px;
  object-fit: contain;
}

.video-control img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.video-control--fullscreen img {
  width: 24px;
  height: 24px;
}

.video-control--more {
  width: auto;
  letter-spacing: 4px;
  font-size: 1.15rem;
}

.video-progress {
  position: relative;
  flex: 1;
  height: 7px;
  background: #c40000;
}

.video-progress span {
  display: block;
  width: 39%;
  height: 100%;
  background: #fff;
}

.expert-button {
  margin-top: 72px;
  min-width: 275px;
}

/* Curriculum */
.curriculum-section {
  min-height: 650px;
  padding: 68px 0 76px;
  background: var(--color-white);
}

.curriculum-section::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 324px;
  background: linear-gradient(
    217.75deg,
    var(--color-red) 27.69%,
    var(--color-red-dark) 80.85%
  );
  content: "";
}

.curriculum-inner {
  position: relative;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 29px;
  margin-top: 55px;
}

.program-card {
  display: flex;
  min-width: 0;
  min-height: 434px;
  flex-direction: column;
  gap: 12px;
  padding: 13px;
  overflow: hidden;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 4px 7px 5.3px rgba(0, 0, 0, 0.28);
}

.program-card > img {
  width: 100%;
  aspect-ratio: 315 / 277;
  object-fit: cover;
  border-radius: 14px;
}

.program-card-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.program-card h3 {
  min-height: 27px;
  margin: 0;
  overflow: hidden;
  color: var(--color-blue);
  font-size: clamp(1.05rem, 1.48vw, 1.375rem);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.program-card h3 strong {
  color: var(--color-black);
  font-weight: 800;
}

.program-card .accent-line {
  margin-top: 4px;
}

.program-card h4 {
  margin: 9px 0 0;
  color: var(--color-navy);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.program-card p {
  margin: 7px 0 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.2;
}

.syllabus-button {
  display: flex;
  width: min(100%, 375px);
  margin: 67px auto 0;
}

/* Learning environment */
.environment-section {
  height: 820px;
  min-height: 820px;
  overflow: hidden;
  background: var(--color-white) url("assets/learning-environment-bg.png")
    center / cover no-repeat;
}

.environment-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.9) 51%,
    rgba(255, 255, 255, 0.48) 78%,
    rgba(255, 255, 255, 0.16) 100%
  );
}

.environment-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 820px;
  grid-template-columns: minmax(0, 1fr) var(--environment-mosaic-width);
  align-items: start;
  gap: 48px;
  margin: 0;
  padding: 0 29px 0 72px;
}

.environment-copy {
  position: relative;
  margin-top: 355px;
  padding-left: 86px;
}

.quote-mark {
  position: absolute;
  top: -18px;
  left: 18px;
  color: rgba(0, 0, 0, 0.3);
  font-family: Georgia, serif;
  font-size: 9.5rem;
  line-height: 1;
}

.environment-copy h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.8rem, 4.17vw, 3.75rem);
  font-weight: 700;
  line-height: 0.92;
}

.environment-copy h2 span {
  color: var(--color-red);
}

.environment-mosaic {
  position: relative;
  width: min(100%, var(--environment-mosaic-width));
  aspect-ratio: 558 / 876;
  justify-self: end;
  margin-top: 24px;
  overflow: visible;
}

.environment-tile {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--color-white);
  border-radius: var(--environment-tile-radius);
  box-shadow: var(--shadow-card);
}

.environment-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.environment-tile--lounge {
  top: 0;
  left: 0;
  width: 48.0287%;
  height: 42.6941%;
}

.environment-tile--storefront {
  top: 0;
  left: 52%;
  width: 48.0287%;
  height: 9.1324%;
  border-radius: var(--environment-storefront-radius);
}

.environment-tile--students {
  top: 10.9589%;
  left: 52%;
  width: 48.0287%;
  height: 44.5205%;
}

.environment-tile--classroom {
  top: 44.5205%;
  left: 0;
  width: 48.0287%;
  height: 44.5205%;
}

.environment-tile--corridor {
  top: 57.3059%;
  left: 52%;
  width: 48.0287%;
  height: 42.6941%;
}

/* Tools: aligned category cards with consistently sized sprite icons. */
.tools-section {
  padding: clamp(48px, 5vw, 76px) 0;
  background: var(--color-white) url("assets/learning-environment-bg.png")
    center / cover no-repeat;
}
.tools-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
}
.tools-inner .section-title {
  max-width: 1000px;
  margin-inline: auto;
  font-size: clamp(28px, 3.05vw, 44px);
  line-height: 1.2;
  font-weight: 600;
  text-wrap: balance;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 44px auto 0;
}
.tool-group {
  min-width: 0;
  padding: 28px 20px 36px;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.tool-group h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 220px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
}
.tool-icons {
  display: grid;
  grid-template-columns: repeat(2, 96px);
  grid-auto-rows: 108px;
  justify-content: center;
  align-content: start;
  gap: 20px 16px;
  min-height: 236px;
  margin: 24px auto 0;
}
.tool-tile {
  position: relative;
  display: block;
  width: 96px;
  height: 108px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 16px;
  transform-origin: center;
  transition:
    transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 280ms ease;
}
.tool-tile:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 5px;
  transform: translateY(-6px) scale(1.1);
  filter: drop-shadow(0 9px 6px #0003);
  z-index: 1;
}
@media (hover: hover) and (pointer: fine) {
  .tool-tile:hover {
    transform: translateY(-6px) scale(1.1);
    filter: drop-shadow(0 9px 6px #0003);
    z-index: 1;
  }
}
.tool-html {
  background-image: url("assets/tool-html.png");
}
.tool-css {
  background-image: url("assets/tool-css.png");
}
.tool-java {
  background-image: url("assets/tool-java.png");
}
.tool-python {
  background-image: url("assets/tool-python.png");
}
.tool-mysql {
  background-image: url("assets/tool-mysql.png");
}
.tool-js {
  background-image: url("assets/tool-js.png");
}
.tool-react {
  background-image: url("assets/tool-react.png");
}
.tool-node {
  background-image: url("assets/tool-node.png");
}
.tool-api {
  background-image: url("assets/tool-api.png");
}
.tool-mongo {
  background-image: url("assets/tool-mongo.png");
}
.tool-vscode {
  background-image: url("assets/tool-vscode.png");
}
.tool-git {
  background-image: url("assets/tool-git.png");
}
.tool-github {
  background-image: url("assets/tool-github.png");
}
.tool-postman {
  background-image: url("assets/tool-postman.png");
}
@media (max-width: 1100px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }
}
.tools-mobile-break {
  display: none;
}
/* Mobile reference: category labels beside one horizontal row of icons. */
@media (max-width: 600px) {
  .tools-mobile-break {
    display: block;
  }
  .tools-section {
    padding: 32px 0 38px;
    background: #fff;
  }
  .tools-overlay {
    display: none;
  }
  .tools-section .tools-inner {
    width: calc(100% - 40px);
  }
  .tools-inner .section-title {
    max-width: 340px;
    text-wrap: initial;
    font-size: clamp(16px, 4.6vw, 18px);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .tools-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 400px;
    gap: 18px;
    margin-top: 10px;
  }
  .tool-group {
    display: grid;
    grid-template-columns: 25% minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    min-height: 91px;
    padding: 12px 8px 12px 15px;
    border: 0;
    border-radius: 7px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }
  .tool-group h3 {
    display: block;
    min-height: 0;
    max-width: none;
    margin: 0;
    font-size: clamp(8px, 2.55vw, 10px);
    line-height: 1.12;
    font-weight: 700;
    text-align: left;
  }
  .tool-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: center;
    min-height: 0;
    gap: 2px;
    width: 100%;
    margin: 0;
  }
  .tool-tile {
    width: 100%;
    height: auto;
    aspect-ratio: 192 / 216;
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-tile {
    transition: none;
  }
  .tool-tile:hover,
  .tool-tile:focus-visible {
    transform: none;
  }
}

/* Students */
.students-section {
  min-height: 478px;
  padding: 49px 0 60px;
  background: var(--color-white);
}

/* Carousel viewport — main card plus a partial preview of the next card. */
.student-cards {
  --student-gap: 26px;
  --student-peek: clamp(118px, 12vw, 168px);
  position: relative;
  display: flex;
  gap: var(--student-gap);
  margin-top: 80px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.student-cards::-webkit-scrollbar {
  display: none;
}

.student-cards:active {
  cursor: grabbing;
}

.student-cards:focus-visible {
  outline: none;
}

.student-cards img {
  -webkit-user-drag: none;
}

.student-card {
  position: relative;
  flex: 0 0 calc(100% - var(--student-peek));
  height: 268px;
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

/* The next card preview is muted so the main card stays dominant. */
.student-card:not(.is-current) {
  filter: saturate(0.68) brightness(0.86);
}

.student-card:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: -3px;
}

/* The Success Spotlight card design is always shown — no click-to-expand. */
.student-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #8e1420 0%, #b51e2c 50%, #e03340 100%);
  z-index: 1;
}

.student-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
}

/* Red tint overlay over the right-side cutout (above PNG, below text) */
.student-visual::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(
    180deg,
    rgba(190, 24, 32, 0.1) 0%,
    rgba(150, 14, 24, 0.4) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* Student cutout — RIGHT ~42%, full height, above red bg */
.student-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 2;
  filter: saturate(1.05);
}

/* Ghost copy and the default name bar are not used in the spotlight card */
.student-ghost,
.student-name {
  display: none;
}

/* Details overlay — text (LEFT 58%) + spotlight (RIGHT 42%) */
.student-hover-details {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: 58% 42%;
}

/* LEFT zone: text content, transparent so smooth gradient shows through */
.student-hover-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 10px 20px 28px;
  color: #fff;
  z-index: 20;
  text-shadow: 0 1px 4px rgba(60, 5, 10, 0.35);
}

.student-hover-name {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.15;
  margin-bottom: 16px;
  white-space: nowrap;
}

.student-hover-field {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.student-hover-field span {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  opacity: 0.75;
  margin-bottom: 2px;
}

/* RIGHT edge: SUCCESS SPOTLIGHT — vertical text, above the image (z 10), far-right edge */
.success-spotlight {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

/* Why Innovel */
.why-section {
  min-height: 477px;
  color: var(--color-white);
  background: linear-gradient(
    180deg,
    var(--color-red) 0%,
    var(--color-red-deep) 100%
  );
}

.why-inner {
  padding-top: 44px;
}

.why-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.why-heading-row h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.48vw, 3.125rem);
  font-weight: 400;
  line-height: 1.18;
}

.why-heading-row h2 strong {
  font-weight: 600;
}

.why-cta {
  flex: 0 0 auto;
  min-width: 316px;
  font-size: 1.1rem;
}

.benefit-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  min-height: 128px;
  margin: 78px -35px 0;
  padding: 42px 25px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
}

.benefit-item {
  position: relative;
  min-width: 0;
  text-align: center;
}

.benefit-item > img,
.benefit-icon {
  position: absolute;
  top: -96px;
  left: 50%;
  display: grid;
  width: 83px;
  height: 83px;
  place-items: center;
  transform: translateX(-50%);
}

.benefit-item > img {
  object-fit: contain;
}

.benefit-item:last-child > img {
  filter: brightness(0) invert(1);
}

.benefit-icon {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
}

.benefit-icon img {
  width: 27px;
  height: 34px;
}

.benefit-item h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.1;
}

.benefit-item p {
  max-width: 220px;
  margin: 14px auto 0;
  font-size: 0.8125rem;
  line-height: 1.15;
}

/* Real stories */
.real-stories-section {
  min-height: 854px;
  background: var(--color-white) url("assets/real-stories-bg.png") center /
    cover no-repeat;
}

.real-stories-inner {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 67px;
  min-height: 854px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.featured-story {
  position: relative;
  height: 590px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}

.featured-story > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-story-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 81px;
  padding: 12px 21px;
  background: rgba(255, 255, 255, 0.76);
}

.featured-story-caption > span {
  width: 4px;
  height: 49px;
  flex: 0 0 auto;
  background: var(--color-red);
}

.featured-story-caption h2 {
  margin: 0;
  font-family: var(--font-form);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.featured-story-caption p {
  margin: 4px 0 0;
  font-family: var(--font-form);
  font-size: 1rem;
}

.story-list-column {
  min-width: 0;
}

.story-list-column > .display-title {
  margin-bottom: 32px;
}

.story-list-card {
  min-height: 560px;
  padding: 28px 39px 21px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
}

.story-list-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-form);
  font-size: 1.5rem;
  font-weight: 700;
}

.story-list {
  margin-top: 29px;
}

.story-row {
  display: flex;
  gap: 19px;
  min-height: 113px;
  padding: 11px 7px;
  border-bottom: 1px solid var(--color-line);
}

.story-row:last-child {
  border-bottom: 0;
}

.story-row > img {
  width: 55px;
  height: 55px;
  flex: 0 0 auto;
}

.story-details {
  min-width: 0;
}

.story-details h4 {
  margin: 2px 0 0;
  font-family: var(--font-form);
  font-size: 1.25rem;
  font-weight: 700;
}

.story-details p {
  margin: 0;
  color: rgba(0, 0, 0, 0.53);
  font-family: var(--font-form);
  font-size: 0.75rem;
}

.story-watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  margin-top: 4px;
  padding: 0;
  color: var(--color-black);
  background: transparent;
  font-family: var(--font-form);
  font-size: 0.875rem;
  font-weight: 700;
}

.story-watch .story-play-icon {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

/* Projects and partners */
.projects-section {
  min-height: 872px;
  padding: 49px 0 71px;
  background: var(--color-white);
}

.projects-inner {
  width: min(var(--projects-content-width), calc(100% - 154px));
  max-width: none;
}

.projects-inner > .section-title {
  max-width: 700px;
  font-size: var(--projects-heading-size);
  font-weight: 600;
  line-height: var(--projects-heading-line-height);
}

.projects-inner > .section-lead {
  margin-top: 14px;
  font-size: 20px;
  line-height: 26px;
}

.project-carousel {
  display: grid;
  width: min(var(--projects-carousel-width), 100%);
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  column-gap: var(--projects-control-gap);
  margin: 52px auto 0;
}

.projects-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.project-track {
  display: flex;
  align-items: flex-start;
  gap: var(--projects-card-gap);
  will-change: transform;
  transition: transform var(--projects-transition);
}

.project-slide {
  min-width: 0;
  min-height: 0;
  flex: 0 0 calc(100% - var(--projects-card-gap) - var(--projects-peek));
  width: auto;
  height: auto;
  aspect-ratio: var(--projects-card-ratio);
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.project-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mobile-only project navigation (visible in the ≤767px block only). */
.project-mobile-nav {
  display: none;
}

.carousel-button {
  display: grid;
  width: 36px;
  height: 44px;
  flex: 0 0 36px;
  padding: 0;
  place-items: center;
  color: var(--color-black);
  background: transparent;
  transition:
    opacity var(--ease),
    transform var(--ease);
}

.carousel-button:hover:not(:disabled) {
  transform: scale(1.12);
}

.carousel-button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.carousel-button img {
  width: 36px;
  height: 26px;
}

.partners-title {
  margin: 79px 0 0;
  font-size: var(--projects-heading-size);
  font-weight: 600;
  line-height: var(--projects-heading-line-height);
  text-align: center;
}

.partners-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 40px);
  align-items: center;
  justify-items: center;
  margin: 84px auto 0;
}
.partner-logo {
  width: 148px;
  max-width: 100%;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.partner-logo--tally {
  background-image: url("assets/partner-tally.png");
}
.partner-logo--aws {
  background-image: url("assets/partner-aws.png");
}
.partner-logo--meta {
  background-image: url("assets/partner-meta.png");
}
.partner-logo--microsoft {
  background-image: url("assets/partner-microsoft.png");
}
.partner-logo--apple {
  background-image: url("assets/partner-apple.png");
}
.partner-logo--cisco {
  background-image: url("assets/Frame 271.png");
}
.partner-logo--certiport {
  background-image: url("assets/Frame 272.png");
}

/* Certificate */
.certificate-section {
  min-height: 843px;
  color: var(--color-white);
  background: linear-gradient(
    180deg,
    var(--color-red) 0%,
    var(--color-red-deep) 100%
  );
}

.certificate-inner {
  display: grid;
  grid-template-columns: minmax(300px, 482px) minmax(0, 1fr);
  align-items: center;
  gap: 35px;
  min-height: 843px;
  padding-top: 75px;
  padding-bottom: 75px;
}

.certificate-image {
  width: 100%;
  max-height: 654px;
  object-fit: contain;
  box-shadow: 2px 9px 16.4px 3px rgba(0, 0, 0, 0.44);
}

.certificate-copy h2 {
  margin: 0 0 25px;
  font-size: clamp(2.4rem, 3.48vw, 3.125rem);
  font-weight: 700;
  line-height: 1.18;
}

.certificate-benefits {
  display: grid;
  gap: 26px;
  padding: 37px 47px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-md);
}

.certificate-benefit {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.certificate-benefit > img {
  width: 41px;
  height: 51px;
  object-fit: contain;
}

.certificate-benefit:last-child > img {
  filter: brightness(0) invert(1);
}

.certificate-benefit h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.08vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
}

.certificate-benefit p {
  margin: 5px 0 0;
  color: var(--color-muted-white);
  font-size: clamp(1rem, 1.39vw, 1.25rem);
  line-height: 1.25;
}

/* FAQ */
.faq-section {
  min-height: 693px;
  padding: 76px 0 54px;
  background: var(--color-white);
}

.faq-copy .section-title {
  font-size: clamp(2.4rem, 3.48vw, 3.125rem);
}

.faq-copy .section-lead {
  margin-top: 12px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 897px) minmax(220px, 365px);
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  margin-top: 51px;
}

.faq-accordion {
  min-width: 0;
  padding: 34px 39px;
  background: linear-gradient(
    180deg,
    rgba(210, 32, 40, 0.03),
    rgba(108, 16, 21, 0.03)
  );
  border-radius: 13px;
}

.faq-item + .faq-item {
  margin-top: 8px;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 22px;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.faq-question:hover {
  border-color: rgba(210, 32, 40, 0.35);
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.faq-icon--open::before {
  position: absolute;
  inset: 2px;
  border-right: 2px solid var(--color-black);
  border-bottom: 2px solid var(--color-black);
  content: "";
  transform: rotate(45deg) translate(-2px, -2px);
}

.faq-icon--close::before,
.faq-icon--close::after {
  position: absolute;
  top: 7px;
  left: 0;
  width: 17px;
  height: 2px;
  background: var(--color-black);
  content: "";
}

.faq-icon--close::before {
  transform: rotate(45deg);
}
.faq-icon--close::after {
  transform: rotate(-45deg);
}

.faq-answer {
  margin: -1px 17px 0;
  padding: 18px 37px;
  color: var(--color-white);
  background: linear-gradient(180deg, var(--color-red), var(--color-red-dark));
  border-radius: 0 0 10px 10px;
}

.faq-answer p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35;
}

.faq-illustration {
  width: min(100%, 365px);
  justify-self: center;
}

/* Final conversion CTA */
.final-cta {
  min-height: 425px;
  color: var(--color-white);
  background: linear-gradient(
    180deg,
    var(--color-red) 0%,
    var(--color-red-deep) 100%
  );
}

.final-cta-inner {
  display: flex;
  min-height: 425px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 0;
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(2.4rem, 3.48vw, 3.125rem);
  font-weight: 700;
  line-height: 1.2;
}

.final-cta p {
  max-width: 860px;
  margin: 12px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.3;
}

.final-cta-button {
  min-width: 268px;
  margin-top: 35px;
}

/* Modal and toast */
.lead-modal {
  width: min(calc(100% - 32px), 500px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  color: var(--color-black);
  background: var(--color-white);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.lead-modal::backdrop {
  background: rgba(10, 14, 28, 0.6);
  backdrop-filter: blur(3px);
}

.modal-inner {
  max-height: calc(100dvh - 32px);
  padding: 30px;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.modal-header h2 {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-form);
  font-size: 1.35rem;
  line-height: 1.15;
}

.modal-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--color-black);
  background: var(--color-input);
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
}

.modal-intro {
  margin: 10px 0 22px;
  color: var(--color-muted);
  font-family: var(--font-form);
  font-size: 0.875rem;
}

.toast-region {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  width: min(calc(100% - 36px), 360px);
}

.toast {
  padding: 14px 16px;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  font-family: var(--font-form);
  font-size: 0.875rem;
  animation: toast-in 220ms ease both;
}

.toast.is-error {
  background: var(--color-red-dark);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Thank-you / enquiry-success page */
.enquiry-success__background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.enquiry-success {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  color: #202630;
  overflow-y: auto;
}
.enquiry-success {
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
}
.enquiry-success__dismiss {
  display: grid;
  place-items: center;
  text-decoration: none;
}
.enquiry-success__card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 16px;
  width: min(100%, 680px);
  margin: auto;
  padding: 44px 46px 48px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 46px #0003;
  animation: modal-in 240ms ease-out;
}
.enquiry-success__dismiss {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 26px;
  cursor: pointer;
}
.enquiry-success__icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #059669;
}
.enquiry-success__icon svg {
  width: 26px;
  height: 26px;
}
.enquiry-success__content {
  min-width: 0;
  flex: 1;
}
.enquiry-success h2 {
  margin: 2px 0 8px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}
.enquiry-success p {
  margin: 0;
  color: #737b82;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.15px;
}
.enquiry-success p strong {
  color: #303842;
  overflow-wrap: anywhere;
}
.enquiry-success__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin: 20px 0;
}
.enquiry-success__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.enquiry-success__contact > div {
  min-width: 0;
}
.enquiry-success__contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  border-radius: 4px;
  background: #f7f9fa;
  color: #717983;
  font-size: 20px;
}
.enquiry-success__contact div > span {
  display: block;
  margin-bottom: 4px;
  color: #737b82;
  font-size: 11px;
  line-height: 1.4;
}
.enquiry-success__contact strong,
.enquiry-success__contact a {
  display: block;
  color: #303842;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.enquiry-success__contact a:hover {
  color: #047857;
  text-decoration: underline;
}
.enquiry-success__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 0;
}
.enquiry-success__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 5px;
  color: white;
  background: #059669;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.enquiry-success__whatsapp:hover {
  background: #047857;
}
.enquiry-success__whatsapp svg {
  width: 17px;
  height: 17px;
}
.enquiry-success :is(button, a):focus-visible {
  outline: 3px solid #059669;
  outline-offset: 3px;
}
.enquiry-success__confetti {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.enquiry-success__confetti i {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 13px;
  animation: enquiry-confetti 3s ease-in both;
}
.enquiry-success__confetti i:nth-child(3n) {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
@keyframes enquiry-confetti {
  0% {
    transform: translate3d(0, -20px, 0) rotate(0);
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--drift), 105vh, 0) rotate(var(--turn));
    opacity: 0;
  }
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .enquiry-success {
    padding: 18px;
  }
  .enquiry-success__card {
    padding: 38px 22px 28px;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
  }
  .enquiry-success h2 {
    padding-right: 8px;
    font-size: 18px;
  }
  .enquiry-success__contacts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .enquiry-success__card,
  .enquiry-success__confetti i {
    animation: none;
  }
}

/* Responsive layout */
@media (max-width: 1200px) {
  .site-nav ul {
    gap: 22px;
  }

  .hero-inner {
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(2.65rem, 4.1vw, 3.3rem);
  }

  .environment-inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 46vw);
    gap: 28px;
    padding-right: 20px;
    padding-left: 32px;
  }

  .environment-copy {
    margin-top: 280px;
    padding-left: 42px;
  }

  .environment-mosaic {
    width: 100%;
  }

  .projects-inner {
    width: min(calc(100% - 64px), var(--projects-content-width));
  }

  .project-carousel {
    width: 100%;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    column-gap: 24px;
  }

  .project-track {
    gap: 24px;
  }

  .project-slide {
    flex-basis: calc((100% - 24px) / 2);
    height: auto;
  }

  .partners-grid {
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 24px;
    margin-left: 0;
  }

  .partner-logo {
    width: 100%;
    max-width: 148px;
    justify-self: center;
  }

  .benefit-panel {
    margin-inline: 0;
  }

  .real-stories-inner {
    gap: 42px;
  }
}

@media (max-width: 1024px) {
  .site-nav ul {
    position: absolute;
    top: var(--header-height);
    right: 24px;
    left: 24px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--color-white);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open ul {
    display: grid;
  }

  .site-nav a,
  .header-contact {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
  }

  .site-nav a::after {
    right: auto;
    bottom: 5px;
    left: 14px;
    width: 38px;
  }

  .header-contact {
    justify-content: center;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 315px;
  }

  .hero-form-card {
    padding-inline: 24px;
  }

  .hero-actions {
    margin-top: 38px;
  }

  .hero-actions .button--red {
    min-width: 280px;
  }

  .hero-actions .button--blue {
    min-width: 230px;
  }

  .curriculum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curriculum-section::after {
    height: 470px;
  }

  .student-cards {
    --student-gap: 22px;
    --student-peek: clamp(104px, 13vw, 144px);
  }

  .student-card {
    height: 240px;
  }

  .why-heading-row {
    align-items: flex-start;
  }

  .benefit-panel {
    margin-top: 95px;
  }

  .real-stories-inner {
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 36px;
  }

  .featured-story {
    height: 530px;
  }

  .story-list-card {
    padding-inline: 26px;
  }

  .project-carousel {
    gap: 26px;
  }

  .certificate-inner {
    grid-template-columns: minmax(260px, 400px) minmax(0, 1fr);
  }

  .certificate-benefits {
    padding-inline: 30px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(calc(100% - 32px), var(--content-max));
  }

  .desktop-only {
    display: none;
  }

  .brand,
  .brand img {
    width: 132px;
  }

  .brand {
    height: 66px;
  }

  .site-nav ul {
    top: var(--header-height);
    right: 16px;
    left: 16px;
  }

  .hero-section {
    position: relative;
    min-height: auto;
    background-size: auto 46%;
    background-position: 100% 62%;
  }

  .hero-section::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 7%;
    right: -6%;
    width: 58%;
    height: 86%;
    background: rgba(210, 32, 40, 0.1);
    border-radius: 18px;
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    width: 54%;
    height: 100%;
    background: linear-gradient(
      125deg,
      rgba(210, 32, 40, 0.18) 0%,
      rgba(210, 32, 40, 0.46) 38%,
      rgba(210, 32, 40, 0.78) 66%,
      var(--color-red-dark) 100%
    );
    clip-path: polygon(
      55% 0,
      100% 0,
      100% 100%,
      10% 100%,
      3% 92%,
      0 82%,
      1% 70%,
      5% 58%,
      14% 44%,
      26% 22%,
      55% 0
    );
  }

  .hero-inner {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 0;
    padding-top: 26px;
    padding-bottom: 46px;
  }

  .hero-copy {
    position: relative;
    padding-top: 0;
    margin-bottom: 26px;
    z-index: 1;
  }

  .hero-phone-link {
    display: none;
  }

  .hero-call-icon {
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--color-white);
    background: var(--color-red);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    -webkit-tap-highlight-color: transparent;
  }

  .hero-call-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.3);
    background: var(--color-red-dark);
  }

  .hero-call-icon:active {
    transform: scale(0.94);
    background: var(--color-red-dark);
  }

  .hero-title {
    font-size: clamp(1.85rem, 8.6vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    padding-right: 60px;
  }

  .hero-title strong {
    white-space: normal;
  }

  .hero-title .hero-kicker {
    font-size: 0.72em;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    padding: 0 12px 5px;
  }

  .hero-title > span:not(.hero-kicker),
  .hero-title > strong {
    font-size: calc(1em - 2px);
  }

  .hero-description {
    max-width: 430px;
    margin: 14px 0 0;
    font-size: 1rem;
    line-height: 1.35;
  }

  .hero-duration {
    margin: 14px 0 0;
    font-size: 1.08rem;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 22px;
  }

  .hero-actions .button--red,
  .hero-actions .button--blue {
    width: 100%;
    min-width: 0;
  }

  .hero-form-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    min-height: 0;
    align-self: center;
    padding: 22px 18px 24px;
    border-radius: 18px;
    box-shadow:
      0 18px 40px -16px rgba(0, 0, 0, 0.38),
      0 6px 16px rgba(0, 0, 0, 0.08);
  }

  .hero-form-card h2 {
    margin-bottom: 20px;
  }

  .program-section {
    min-height: auto;
    padding: 54px 0 60px;
  }

  .program-section::before {
    inset: 170px 0 0;
    background-size: 90% auto;
  }

  .section-title,
  .display-title {
    font-size: clamp(2rem, 9.1vw, 2.75rem);
  }

  .program-video {
    margin-top: 34px;
    border-radius: 18px;
    box-shadow: 0 0 0 7px rgba(234, 233, 235, 0.15);
  }

  .video-controls {
    right: 14px;
    bottom: 12px;
    left: 14px;
    gap: 6px;
  }

  .video-control {
    width: 25px;
    height: 25px;
  }

  .video-control--play span {
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 15px;
  }

  .video-control img {
    width: 22px;
    height: 22px;
  }

  .video-progress {
    height: 4px;
  }

  .expert-button {
    width: 100%;
    margin-top: 52px;
  }

  .curriculum-section {
    min-height: auto;
    padding: 54px 0 56px;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
    gap: 21px;
    margin-top: 37px;
  }

  .program-card {
    min-height: 0;
  }

  .program-card > img {
    aspect-ratio: 315 / 210;
  }

  .curriculum-section::after {
    height: 55%;
  }

  .syllabus-button {
    width: 100%;
    margin-top: 43px;
  }

  .environment-section,
  .environment-inner {
    height: auto;
    min-height: auto;
  }

  .environment-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.62)
    );
  }

  .environment-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    min-height: auto;
    padding: 72px 16px 48px;
  }

  .environment-copy {
    min-height: auto;
    margin-top: 0;
    padding-left: 42px;
  }

  .quote-mark {
    top: -31px;
    left: 0;
    font-size: 7rem;
  }

  .environment-copy h2 {
    font-size: clamp(2.6rem, 12vw, 3.75rem);
  }

  .environment-mosaic {
    width: min(100%, var(--environment-mosaic-width));
    align-self: center;
    margin-top: 0;
  }

  .students-section {
    min-height: auto;
    padding: 54px 0 55px;
  }

  .student-cards {
    --student-gap: 16px;
    --student-peek: clamp(76px, 21vw, 104px);
  }

  .student-card {
    height: 235px;
  }

  .why-section {
    min-height: auto;
  }

  .why-inner {
    display: flex;
    flex-direction: column;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .why-heading-row {
    display: contents;
  }

  .why-heading-row h2 {
    order: 1;
    margin: 0 0 42px;
    font-size: clamp(1.4rem, 6.2vw, 1.85rem);
    font-weight: 400;
    line-height: 1.22;
    color: #ffffff;
    text-align: left;
  }

  .why-heading-row h2 strong {
    font-weight: 700;
    display: block;
  }

  .benefit-panel {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 0 0 24px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    width: 100%;
  }

  .benefit-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 18px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .benefit-item:last-child {
    grid-column: auto;
    max-width: 100%;
    justify-self: auto;
  }

  .benefit-item > img,
  .benefit-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #841217;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
  }

  .benefit-item > img {
    object-fit: contain;
  }

  .benefit-item:last-child > img {
    filter: none;
  }

  .benefit-icon {
    padding: 0;
  }

  .benefit-icon img {
    width: 20px;
    height: 25px;
    object-fit: contain;
  }

  .benefit-item h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
  }

  .benefit-item p {
    max-width: 100%;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.85);
  }

  .why-cta {
    order: 3;
    width: 100%;
    min-width: 0;
    padding: 16px 20px;
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    color: #000000;
    border: none;
    cursor: pointer;
  }

  .why-cta img {
    width: 20px;
    height: 18px;
    object-fit: contain;
  }

  .real-stories-section,
  .real-stories-inner {
    min-height: auto;
  }

  .real-stories-inner {
    display: flex;
    flex-direction: column;
    gap: 39px;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .featured-story {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 420 / 590;
    align-self: center;
  }

  .story-list-column > .display-title {
    margin-bottom: 25px;
  }

  .story-list-card {
    min-height: 0;
    padding: 25px 20px 14px;
  }

  .story-row {
    gap: 13px;
    min-height: 105px;
    padding-inline: 0;
  }

  .projects-section {
    min-height: auto;
    padding: 54px 0 65px;
  }

  .projects-inner {
    width: min(calc(100% - 32px), var(--projects-content-width));
  }

  .projects-inner > .section-title {
    font-size: clamp(2rem, 9.1vw, var(--projects-heading-size));
    line-height: 1.15;
  }

  .projects-inner > .section-lead {
    font-size: 1rem;
    line-height: 1.35;
  }

  .project-carousel {
    display: block;
    width: 100%;
    margin-top: 30px;
  }

  .projects-viewport {
    width: 100%;
    touch-action: pan-y;
  }

  .project-track {
    gap: 0;
  }

  .project-slide {
    flex-basis: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
  }

  .carousel-button {
    display: none;
  }

  .project-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
  }

  .project-dots {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .project-dot {
    display: block;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    transition:
      background 200ms ease,
      transform 200ms ease;
  }

  .project-dot.is-active {
    background: var(--color-red);
    transform: scale(1.25);
  }

  .project-dot:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
  }

  .project-mobile-next {
    display: grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
  }

  .project-mobile-next img {
    display: block;
    width: 16px;
    height: 12px;
  }

  .project-mobile-next:active {
    transform: scale(0.92);
  }

  .partners-title {
    margin-top: 65px;
    font-size: clamp(2rem, 9.1vw, var(--projects-heading-size));
    line-height: 1.15;
  }

  .partners-grid {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 28px;
    margin: 44px auto 0;
    padding: 4px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .partners-grid::-webkit-scrollbar {
    display: none;
  }

  .partner-logo {
    width: 120px;
    max-width: none;
    height: 84px;
    flex: 0 0 auto;
  }

  .partner-logo:last-child {
    grid-column: auto;
    width: 120px;
  }

  .certificate-section,
  .certificate-inner {
    min-height: auto;
  }

  .certificate-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .certificate-copy {
    display: contents;
  }

  .certificate-copy h2 {
    order: 1;
    margin: 0 0 24px;
    font-size: clamp(1.4rem, 6.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    text-align: left;
  }

  .certificate-image {
    order: 2;
    width: min(100%, 440px);
    align-self: center;
    margin: 0 0 32px;
  }

  .certificate-benefits {
    order: 3;
    gap: 26px;
    padding: 28px 20px;
  }

  .certificate-benefit {
    grid-template-columns: 41px minmax(0, 1fr);
    gap: 12px;
  }

  .certificate-benefit h3 {
    font-size: 1.35rem;
  }

  .certificate-benefit p {
    font-size: 1rem;
  }

  .faq-section {
    min-height: auto;
    padding: 56px 0 55px;
  }

  .faq-layout {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 34px;
  }

  .faq-accordion {
    width: 100%;
    padding: 20px 14px;
  }

  .faq-question {
    min-height: 62px;
    padding-inline: 16px;
    font-size: 0.95rem;
  }

  .faq-answer {
    margin-inline: 11px;
    padding: 16px 20px;
  }

  .faq-answer p {
    font-size: 1rem;
  }

  .faq-illustration {
    display: none;
  }

  .final-cta {
    min-height: auto;
  }

  .final-cta-inner {
    padding-top: 72px;
    padding-bottom: 72px;
    text-align: center;
  }

  .final-cta h2 {
    font-size: clamp(2.25rem, 10vw, 3.125rem);
  }

  .final-cta p {
    max-width: 560px;
    margin: 18px auto 0;
    font-size: 1rem;
  }

  .final-cta-button {
    width: 100%;
    max-width: 268px;
    margin-top: 34px;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(calc(100% - 24px), var(--content-max));
  }

  .hero-title {
    font-size: clamp(1.65rem, 8.2vw, 1.95rem);
    padding-right: 56px;
  }

  .hero-title .hero-kicker {
    font-size: 0.65em;
    padding-inline: 10px;
  }

  .hero-call-icon {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .hero-call-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-form-card {
    padding-inline: 14px;
  }

  .environment-inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  .environment-copy {
    padding-left: 32px;
  }

  .story-list-card {
    padding-inline: 14px;
  }

  .certificate-benefit h3 {
    font-size: 1.2rem;
  }

  .certificate-benefit p {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Scrollable learning environment photo collection. */
.environment-mosaic {
  height: 772px;
  aspect-ratio: auto;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #a3050d #ffffff70;
  scrollbar-gutter: stable;
  padding: 0 8px 8px 2px;
  border-radius: 22px;
  -webkit-overflow-scrolling: touch;
}
.environment-mosaic:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 4px;
}
.environment-gallery-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.environment-gallery-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.environment-mosaic .environment-tile {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  flex: none;
  aspect-ratio: 268 / 374;
}
.environment-mosaic .environment-tile--storefront {
  aspect-ratio: 268 / 80;
}
.environment-mosaic .environment-tile--added {
  aspect-ratio: auto;
}
.environment-tile--added img {
  height: auto;
}
@media (max-width: 767px) {
  .environment-mosaic {
    height: clamp(360px, 110vw, 560px);
    border-radius: 16px;
  }
  .environment-gallery-columns {
    gap: 12px;
  }
  .environment-gallery-column {
    gap: 12px;
  }
  .environment-mosaic .environment-tile {
    border-radius: 14px;
  }
}

/* Compact mobile gallery; desktop mosaic remains unchanged. */
.environment-mobile-gallery {
  display: none;
}
@media (max-width: 767px) {
  .environment-section {
    background: #fff;
  }
  .environment-overlay,
  .environment-copy .quote-mark,
  .environment-mosaic {
    display: none;
  }
  .environment-section .environment-inner {
    padding: 24px 16px 10px;
    gap: 12px;
  }
  .environment-section .environment-copy {
    margin: 0;
    padding: 0;
  }
  .environment-section .environment-copy h2 {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
  }
  .environment-section .environment-copy h2 > span {
    font-size: 20px;
    font-weight: 600;
  }
  .environment-mobile-gallery {
    display: block;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    padding-bottom: 4px;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }
  .environment-mobile-gallery::-webkit-scrollbar {
    display: none;
  }
  .environment-mobile-gallery:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 3px;
  }
  .environment-mobile-track {
    display: flex;
    gap: 3px;
  }
  .environment-mobile-photo {
    flex: 0 0 calc((100% - 9px) / 4);
    aspect-ratio: 88 / 104;
    margin: 0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 2px #0003;
  }
  .environment-mobile-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .environment-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 60;
    display: block;
    width: auto;
    max-width: 92vw;
    height: auto;
    max-height: 80vh;
    margin: 0;
    padding: 0;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    object-fit: contain;
    background: #fff;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9) translateY(12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }
  .environment-popup.is-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) translateY(0);
  }
}

/* Reference course cards and mobile carousel. */
.curriculum-section {
  min-height: 0;
  padding: 60px 0 28px;
  overflow: hidden;
}
.curriculum-section::after {
  content: none;
}
.curriculum-section .curriculum-inner {
  width: 100%;
  max-width: none;
}
.curriculum-inner > .section-title {
  width: min(calc(100% - 144px), 1296px);
  margin: 0 auto;
  font-size: 50px;
  line-height: 1.18;
  font-weight: 500;
}
.curriculum-band {
  position: relative;
  isolation: isolate;
  margin-top: 76px;
}
.curriculum-band::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 140px 0 0;
  background: linear-gradient(218deg, #d22028, #a3050d);
}
.curriculum-viewport {
  overflow: visible;
}
.curriculum-viewport:focus-visible {
  outline: 2px solid #2a398d;
  outline-offset: -2px;
}
.curriculum-grid {
  width: min(100%, 1440px);
  margin: 0 auto;
  gap: 30px;
  padding-bottom: 42px;
}
.curriculum-grid .program-card {
  min-height: 0;
  padding: 8px 12px 30px;
  gap: 14px;
  border-radius: 15px;
}
.curriculum-grid .program-card > img {
  aspect-ratio: 315 / 277;
  border-radius: 12px;
}
.curriculum-grid .program-card h3 {
  min-height: 0;
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.15;
  font-weight: 600;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.curriculum-grid .program-card h3 strong {
  font-weight: 600;
}
.curriculum-grid .program-card h4 {
  font-weight: 400;
}
.curriculum-inner .syllabus-button {
  margin: 26px auto 0;
  min-height: 68px;
  font-size: 20px;
  font-weight: 400;
  background: linear-gradient(110deg, #303f99, #0c1464);
}
.curriculum-clone {
  display: none;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .curriculum-grid {
    width: calc(100% - 48px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .curriculum-section {
    padding: 32px 0 0;
  }
  .curriculum-inner > .section-title {
    width: calc(100% - 40px);
    font-size: clamp(16px, 4.58vw, 20px);
    line-height: 1.3;
    font-weight: 600;
  }
  .curriculum-inner > .section-title br {
    display: block;
  }
  .curriculum-band {
    margin-top: 16px;
  }
  .curriculum-band::before {
    top: 70px;
  }
  .curriculum-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }
  .curriculum-viewport::-webkit-scrollbar {
    display: none;
  }
  .curriculum-grid {
    display: flex;
    width: 100%;
    gap: 26px;
    padding: 0 20px 20px;
    margin: 0;
  }
  .curriculum-grid .program-card {
    display: flex;
    flex: 0 0 158px;
    padding: 6px 7px 12px;
    gap: 7px;
    border-radius: 8px;
    box-shadow: 2px 4px 4px #0003;
  }
  .curriculum-grid .program-card > img {
    aspect-ratio: 145 / 124;
    border-radius: 4px;
  }
  .curriculum-grid .program-card h3 {
    font-size: 8.5px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .curriculum-grid .program-card .accent-line {
    width: 19px;
    height: 1px;
    margin-top: 2px;
  }
  .curriculum-grid .program-card h4 {
    font-size: 8px;
    line-height: 1.2;
    margin-top: 5px;
  }
  .curriculum-grid .program-card p {
    font-size: 6px;
    line-height: 1.3;
    margin-top: 3px;
  }
  .curriculum-inner .syllabus-button {
    width: auto;
    min-width: 0;
    min-height: 25px;
    padding: 7px 9px;
    margin: 10px auto 0;
    font-size: 8px;
    font-weight: 600;
    border-radius: 4px;
  }
}

/* Success Stories — desktop-only showcase sizing. Mobile and tablet are untouched. */
@media (min-width: 1201px) {
  .student-cards {
    --student-card-w: clamp(340px, 30vw, 420px);
    --student-gap: 28px;
    --student-peek: clamp(64px, 6vw, 92px);
    width: min(
      calc(
        var(--student-card-w) + var(--student-card-w) + var(--student-gap) +
          var(--student-gap) + var(--student-peek)
      ),
      100%
    );
    margin-inline: auto;
  }

  .student-card {
    flex: 0 0 var(--student-card-w);
    height: clamp(262px, 23vw, 320px);
  }
}

/* Mobile hero reference: keep all header/hero changes below the desktop breakpoint. */
@media (max-width: 767px) {
  :root {
    --header-height: 33px;
  }

  .header-inner.container {
    width: calc(100% - 24px);
  }
  .site-header .brand,
  .site-header .brand img {
    width: 68px;
  }
  .site-header .brand {
    height: 33px;
  }
  .site-header .menu-toggle {
    width: 24px;
    height: 30px;
    padding: 5px 4px;
    margin-left: auto;
    color: #000;
    border-radius: 0;
  }
  .site-header .menu-toggle span {
    width: 16px;
    height: 2px;
    margin: 2px auto;
  }
  .site-header .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  .site-header .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero-section {
    background: #fff url("assets/hero-diagonal.svg") center top / auto 320px
      no-repeat;
  }
  .hero-section::before {
    display: none;
  }
  .hero-section::after {
    inset: 0;
    width: 100%;
    height: 100%;
    background: #d71925;
    clip-path: polygon(91% 0, 100% 0, 100% 100%, 0 100%, 0 71.5%);
  }
  .hero-inner.container {
    width: min(85%, 440px);
    padding-top: 20px;
    padding-bottom: 17px;
    gap: 17px;
  }
  .hero-copy {
    width: 100%;
    padding: 0;
    margin: 0;
    align-self: stretch;
  }
  .hero-title {
    padding: 0;
    font-size: clamp(12px, 4.08vw, 18px);
    line-height: 25px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .hero-title .hero-kicker {
    padding: 0 6px;
    border-radius: 5px;
    font-size: 0.94em;
    font-weight: 600;
    line-height: 25px;
  }
  .hero-title > span:not(.hero-kicker) {
    font-size: 1.07em;
    font-weight: 600;
  }
  .hero-title > strong {
    padding-left: 6px;
    color: #ed0715;
    font-size: clamp(16px, 5.65vw, 24px);
    font-weight: 600;
    white-space: nowrap;
  }
  .hero-description {
    max-width: 190px;
    margin: 4px 0 0 6px;
    color: #777;
    font-size: 7px;
    font-weight: 400;
    line-height: 10px;
  }
  .hero-duration {
    margin: 5px 0 0 6px;
    font-size: 7px;
    font-weight: 700;
    line-height: 11px;
  }
  .hero-actions {
    display: none;
  }
  .hero-call-icon {
    top: 18px;
    right: 12px;
    width: 26px;
    height: 26px;
    color: #d71925;
    background: #fff;
    box-shadow: 0 2px 4px #0004;
  }
  .hero-call-icon svg {
    width: 15px;
    height: 15px;
  }
  .hero-call-icon:hover,
  .hero-call-icon:active {
    color: #a3050d;
    background: #fff;
  }

  .hero-form-card {
    max-width: none;
    min-height: 385px;
    padding: 17px 22px 18px 18px;
    border-radius: 15px;
    box-shadow: 0 4px 5px #0005;
  }
  .hero-form-card h2 {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 22px;
  }
  .hero-form-card .lead-form {
    gap: 15px;
  }
  .hero-form-card .field-group {
    gap: 6px;
  }
  .hero-form-card .field-group label {
    min-height: 14px;
    font-size: 11px;
    line-height: 14px;
  }
  .hero-form-card .field-group label span {
    margin-right: 1px;
    font-size: 14px;
    line-height: 14px;
    vertical-align: top;
  }
  .hero-form-card .field-group input,
  .hero-form-card .field-group select {
    height: 29px;
    padding: 7px 9px;
    border-radius: 5px;
    background: #eee;
    font-size: 7px;
  }
  .hero-form-card .phone-input {
    height: 29px;
    padding: 0 9px;
    background: #eee;
    border-radius: 5px;
  }
  .hero-form-card .phone-input img {
    width: 11px;
    height: 9px;
    margin-right: 3px;
  }
  .hero-form-card .phone-input > span:not(.phone-divider) {
    font-size: 7px;
  }
  .hero-form-card .phone-divider {
    width: 4px;
    height: 4px;
    margin: 0 11px 3px 4px;
    background: transparent;
    border-right: 1px solid #888;
    border-bottom: 1px solid #888;
    transform: rotate(45deg);
    flex-shrink: 0;
  }
  .hero-form-card .phone-input input {
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .hero-form-card .select-wrap::after {
    right: 11px;
    width: 4px;
    height: 4px;
  }
  .hero-form-card .field-error:empty,
  .hero-form-card .form-status:empty {
    display: none;
  }
  .hero-form-card .lead-submit {
    min-height: 31px;
    margin-top: 21px;
    padding: 8px 12px;
    border-radius: 5px;
    background: #30388e;
    box-shadow: none;
    font-size: 10px;
    line-height: 15px;
  }
}

@media (max-width: 767px) {
  .partners-grid {
    touch-action: pan-x pan-y;
    scroll-behavior: auto;
    cursor: grab;
  }
  .partners-grid:active {
    cursor: grabbing;
  }
}

/* Tablet navbar and hero only; mobile ends at 767px, desktop starts at 1025px. */
@media (min-width: 768px) and (max-width: 1024px) {
  .header-inner.container {
    width: calc(100% - 48px);
  }
  .site-header .menu-toggle {
    margin-left: auto;
  }
  .site-header .site-nav ul {
    right: 24px;
    left: auto;
    width: min(360px, calc(100% - 48px));
    max-height: calc(100dvh - var(--header-height) - 16px);
    overflow-y: auto;
  }

  .hero-section {
    min-height: 0;
  }
  .hero-inner.container {
    width: calc(100% - 48px);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    align-items: center;
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 48px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-title {
    max-width: 100%;
    font-size: clamp(30px, 3.5vw, 36px);
    line-height: 1.3;
    letter-spacing: -0.025em;
  }
  .hero-kicker {
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: 3px 10px 5px;
    margin-bottom: 6px;
  }
  .hero-title strong {
    max-width: 100%;
    white-space: normal;
  }
  .hero-title em {
    white-space: nowrap;
  }
  .hero-description {
    margin: 16px 0;
    font-size: 16px;
    line-height: 1.5;
  }
  .hero-duration {
    font-size: 16px;
    line-height: 1.5;
  }
  .hero-actions {
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
  }
  .hero-actions .button--red,
  .hero-actions .button--blue {
    width: 100%;
    max-width: 340px;
    min-width: 0;
    min-height: 52px;
    padding: 12px 16px;
    font-size: 16px;
  }
  .hero-form-card {
    align-self: center;
    min-width: 0;
    min-height: 0;
    padding: 28px 24px;
  }
}

/* Desktop: three complete stories and a 15% preview, aligned with the page content. */
@media (min-width: 1025px) {
  .students-inner.container {
    width: 100%;
    max-width: none;
  }
  .students-inner > .display-title {
    padding-inline: 24px;
  }
  .student-cards {
    --student-gap: 28px;
    --student-inset: max(24px, calc((100% - var(--content-max)) / 4));
    width: calc(100% - var(--student-inset));
    margin-left: var(--student-inset);
    margin-right: 0;
    scroll-snap-type: none;
    touch-action: pan-x pan-y;
  }
  .student-card {
    flex: 0 0 calc((100% - 84px) / 3.15);
    height: auto;
    aspect-ratio: 1.4;
  }
  .student-card:not(.is-current) {
    filter: none;
  }
  .student-hover-name {
    font-size: clamp(16px, 1.5vw, 24px);
    white-space: normal;
  }
  .student-hover-left {
    padding: 20px 10px 20px clamp(16px, 1.5vw, 28px);
  }
}

/* Readable mobile branding and hero copy; tablet and desktop keep their sizing. */
@media (max-width: 767px) {
  :root { --header-height: 56px; }
  .site-header .brand,
  .site-header .brand img { width: 116px; }
  .site-header .brand { height: 56px; }
  .site-header .menu-toggle { width: 44px; height: 44px; padding: 10px; }
  .site-header .menu-toggle span { width: 22px; height: 2px; margin: 4px auto; }
  .site-header .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero-inner.container { padding-top: 24px; gap: 24px; }
  .hero-title { font-size: clamp(22px, 5.9vw, 28px); line-height: 1.3; white-space: normal; }
  .hero-title .hero-kicker { display: table; max-width: calc(100% - 24px); padding: 2px 6px; font-size: 1em; line-height: 1.3; white-space: normal; margin-bottom: 6px; }
  .hero-title > span:not(.hero-kicker) { display: block; font-size: 1em; }
  .hero-title > br { display: none; }
  .hero-title > strong { display: block; padding-left: 0; margin-top: 4px; font-size: clamp(24px, 6.4vw, 30px); line-height: 1.25; white-space: normal; }
  .hero-title em { white-space: nowrap; }
  .hero-description { max-width: 100%; margin: 14px 0 0; color: #444; font-size: 15px; line-height: 1.5; }
  .hero-duration { margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
  .hero-section::after { clip-path: polygon(100% 30%, 100% 100%, 0 100%, 0 80%); }
  .hero-call-icon { width: 30px; height: 30px; top: 24px; }
  .hero-call-icon svg { width: 17px; height: 17px; }
}

@media (max-width: 767px) {
  .environment-popup { width: max-content; }
  .environment-popup-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 92vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: inherit;
  }
  .environment-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    color: #222;
    box-shadow: 0 2px 8px #0004;
    font: 30px/1 Arial, sans-serif;
    pointer-events: auto;
  }
  .environment-popup:not(.is-open) .environment-popup-close { pointer-events: none; }
}
