/* 2026 editorial redesign — original SLA direction inspired by luxury hospitality rhythm. */

:root {
  --ink: #171411;
  --ink-2: #26211d;
  --paper: #faf7f1;
  --soft: #eee8de;
  --line: #d8d0c4;
  --muted: #736d65;
  --muted-dark: #bdb5aa;
  --red: #9f2229;
  --red-dark: #7e171d;
  --gold: #a88a63;
  --shell: 1280px;
  --radius: 0;
  --shadow: 0 30px 70px rgba(28, 22, 16, 0.14);
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
.menu-group__toggle,
.menu-direct,
.price-card strong,
.hero__metrics strong {
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(64px, 7.2vw, 112px);
  line-height: 0.94;
}

h2 {
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1;
}

h3 {
  font-size: clamp(27px, 2.4vw, 38px);
  line-height: 1.08;
}

.shell {
  width: min(calc(100% - 80px), var(--shell));
}

.announcement {
  color: #e5dfd5;
  background: #0f0d0c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.announcement__inner {
  min-height: 36px;
}

.announcement a {
  border-bottom-color: var(--gold);
}

.site-header {
  color: var(--ink);
  background: #fff;
  backdrop-filter: none;
  border-bottom-color: #d8d2c9;
}

.nav-wrap {
  min-height: 90px;
}

.brand {
  gap: 12px;
}

.brand__mark {
  width: 66px;
  height: 50px;
  background: url("../images/logo-sla.png") center / contain no-repeat;
}

.brand--footer .brand__mark {
  width: 84px;
  height: 64px;
}

.brand__text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.29em;
}

.menu-toggle {
  gap: 16px;
  color: var(--ink);
}

.menu-toggle__label {
  font-size: 11px;
  letter-spacing: 0.25em;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  width: 30px;
  height: 1px;
}

.main-nav {
  top: 126px;
  color: var(--ink);
  background: #f6f1e9;
}

.site-header.is-scrolled .main-nav {
  top: 90px;
}

.main-nav__inner {
  padding-top: 72px;
  padding-bottom: 60px;
}

.menu-group,
.menu-direct {
  border-bottom-color: #cfc5b8;
}

.menu-group__toggle,
.menu-direct {
  min-height: 78px;
  color: var(--ink);
  font-size: clamp(34px, 3.1vw, 52px);
}

.menu-submenu > a {
  color: #514a42;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.menu-contact {
  padding: 46px;
  background: #211d19;
}

.menu-action {
  min-height: 62px;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button {
  min-height: 54px;
  padding: 0 29px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button--red {
  background: var(--red);
  border-color: var(--red);
}

.button--outline {
  border-color: #9e9589;
}

.eyebrow {
  gap: 14px;
  margin-bottom: 28px;
  color: #766f66;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.28em;
}

.eyebrow::before {
  width: 20px;
  height: 1px;
  background: var(--red);
}

.eyebrow--light {
  color: #d4ccc2;
}

.section {
  padding: 150px 0;
}

.section--white {
  background: var(--paper);
}

.section--soft {
  background: var(--soft);
}

.section--dark {
  color: var(--paper);
  background: #1a1714;
}

.section-heading {
  gap: 110px;
  margin-bottom: 76px;
}

.section-heading > p,
.prose,
.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

/* Home */

.hero {
  min-height: 850px;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.86) 0%, rgba(12, 10, 9, 0.52) 47%, rgba(12, 10, 9, 0.06) 100%),
    linear-gradient(0deg, rgba(12, 10, 9, 0.48), transparent 48%),
    url("../images/editorial/hero-language-academy.jpg") center / cover no-repeat;
}

.hero::before,
.hero::after {
  display: none;
}

.hero__grid {
  grid-template-columns: minmax(0, 820px);
  min-height: 710px;
  padding-top: 118px;
  padding-bottom: 92px;
}

.hero__copy {
  align-self: end;
}

.hero h1 {
  max-width: 940px;
  margin-bottom: 32px;
  color: #fffdf8;
}

.hero h1 span {
  margin-top: 12px;
  color: #d8c6ae;
  font-size: 0.5em;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.hero__intro {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.55;
}

.hero__note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.level-card {
  display: none;
}

.hero__metrics {
  width: 100%;
  max-width: none;
  padding: 31px max(40px, calc((100vw - var(--shell)) / 2));
  color: var(--ink);
  background: rgba(250, 247, 241, 0.96);
  border-top: 0;
}

.hero__metrics > div {
  padding: 0 38px;
  border-left-color: #cfc5b8;
}

.hero__metrics strong {
  font-size: 34px;
  font-weight: 400;
}

.hero__metrics span {
  color: var(--muted);
  letter-spacing: 0.2em;
}

.programme-grid {
  border-color: #cfc5b8;
}

.programme-card {
  min-height: 470px;
  padding: 42px 34px 38px;
  border-color: #cfc5b8;
}

.programme-card:hover {
  color: var(--paper);
  background: #211d19;
  transform: translateY(-6px);
}

.programme-card h3 {
  font-size: 33px;
}

.programme-card p {
  color: var(--muted);
  line-height: 1.75;
}

.programme-card:hover p,
.programme-card:hover .card-link {
  color: #d4ccc2;
}

.card-number,
.method-item > span,
.journey-list > li > span {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.icon-box {
  margin-bottom: 88px;
}

.requirements-grid {
  gap: 120px;
}

.goal-planner,
.cefr-visual,
.price-card,
.contact-form {
  border-radius: 0;
  box-shadow: none;
}

.goal-planner {
  border: 1px solid #c8beb0;
}

.goal-tabs button {
  background: transparent;
  border-color: #c8beb0;
}

.goal-tabs button[aria-selected="true"] {
  color: var(--paper);
  background: var(--red);
}

.goal-panel__level span {
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-weight: 400;
}

.fast-track {
  position: relative;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(19, 16, 14, 0.94), rgba(19, 16, 14, 0.7) 57%, rgba(19, 16, 14, 0.34)),
    url("../images/editorial/exam-preparation.jpg") center / cover no-repeat;
}

.fast-track::before,
.fast-track::after {
  display: none;
}

.fast-track__grid {
  min-height: 760px;
  gap: 100px;
}

.fast-track__copy {
  max-width: 630px;
}

.fast-track__copy h2 {
  color: var(--paper);
}

.cefr-visual {
  color: var(--paper);
  background: rgba(27, 23, 20, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.method-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 105px;
}

.method-intro::before {
  display: block;
  width: 100%;
  min-height: 470px;
  margin-bottom: 56px;
  background: url("../images/editorial/private-coaching.jpg") center / cover no-repeat;
  content: "";
}

.method-item {
  padding: 37px 0;
  border-color: #cfc5b8;
}

.journey-list {
  border-top: 1px solid #c9bfb2;
  border-bottom: 1px solid #c9bfb2;
}

.journey-list li {
  min-height: 330px;
  padding: 42px 30px;
  border-color: #c9bfb2;
}

.journey-list h3 {
  font-size: 30px;
}

.price-card {
  min-height: 550px;
  padding: 44px 38px;
  background: transparent;
  border: 1px solid #c9bfb2;
}

.price-card--featured {
  color: var(--paper);
  background: #211d19;
  border-color: #211d19;
}

.price-card h3 {
  font-size: 39px;
}

.faq {
  background: #1b1815;
}

.accordion details {
  border-color: rgba(255, 255, 255, 0.2);
}

.accordion summary {
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.contact {
  background: #e8e0d5;
}

.contact-grid {
  gap: 100px;
}

.contact-copy::before {
  display: block;
  width: 100%;
  min-height: 360px;
  margin-bottom: 48px;
  background: url("../images/editorial/private-coaching.jpg") center / cover no-repeat;
  content: "";
}

.contact-form {
  background: #1b1815;
}

input,
select,
textarea {
  border-radius: 0 !important;
}

/* Interior pages */

.page-hero {
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  padding: 170px 0 96px;
  background:
    linear-gradient(90deg, rgba(15, 13, 11, 0.83), rgba(15, 13, 11, 0.42) 60%, rgba(15, 13, 11, 0.18)),
    url("../images/editorial/hero-language-academy.jpg") center / cover no-repeat;
}

.page-hero::after,
.page-hero__motif {
  display: none;
}

.page-hero__grid {
  grid-template-columns: minmax(0, 940px);
}

.page-hero h1 {
  max-width: 1000px;
  margin-bottom: 0;
  color: var(--paper);
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: 22px;
}

.breadcrumbs {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2em;
}

body[data-page="about"] .page-hero,
body[data-page="ceo"] .page-hero,
body[data-page="courses"] .page-hero,
body[data-page="fle"] .page-hero,
body[data-page="clients"] .page-hero {
  background:
    linear-gradient(90deg, rgba(15, 13, 11, 0.84), rgba(15, 13, 11, 0.38) 68%, rgba(15, 13, 11, 0.1)),
    url("../images/editorial/private-coaching.jpg") center / cover no-repeat;
}

body[data-page="certifications"] .page-hero,
body[data-page="delf-dalf-tcf"] .page-hero,
body[data-page="fide-preparation"] .page-hero,
body[data-page="fide-test"] .page-hero,
body[data-page="intensive-program"] .page-hero,
body[data-page="swiss-citizenship"] .page-hero {
  background:
    linear-gradient(90deg, rgba(15, 13, 11, 0.86), rgba(15, 13, 11, 0.44) 62%, rgba(15, 13, 11, 0.16)),
    url("../images/editorial/exam-preparation.jpg") center / cover no-repeat;
}

.editorial-split,
.exact-intro,
.diploma-section__grid,
.intensive-page__grid,
.fide-prep-layout,
.ceo-page__grid {
  gap: 100px;
}

.prose p,
.citizenship-section p,
.diploma-section p,
.intensive-copy p,
.fide-prep-content p,
.fle-page p,
.ceo-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.section--dark p,
.clients-fide p,
.fast-track p,
.fide-offer p {
  color: #c9c1b7;
}

.fide-offer,
.cta-band,
.clients-fide {
  background: #201c18;
}

.cta-band {
  padding: 90px 0;
}

.cta-band h2 {
  max-width: 850px;
}

.exact-feature-list li,
.exact-reason-grid article,
.fide-benefit-grid article,
.format-card,
.language-card,
.cert-card,
.center-card,
.info-card {
  border-radius: 0;
}

.exact-feature-list li,
.fide-benefit-grid article,
.format-card,
.language-card,
.cert-card,
.center-card,
.info-card {
  background: transparent;
  border-color: #c9bfb2;
}

.client-logo-card {
  background: #fffdfa;
  border-color: #d4cbbf;
}

.clients-fide__logo {
  background: #fffdfa;
}

.test-card {
  min-height: 230px;
  border-color: #c8beb0;
}

.test-card h3 {
  font-size: 34px;
}

.language-test-hero {
  min-height: 610px;
}

.language-test-hero::after {
  background: linear-gradient(90deg, rgba(15, 13, 11, 0.8), rgba(15, 13, 11, 0.2));
}

.language-test-hero h1,
.language-test-entry h2 {
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-weight: 400;
}

.language-test-entry h2 {
  color: var(--ink);
}

.test-entry-form input[type="email"] {
  background: #fffdfa;
  border-color: #a99f93;
}

.button--dark {
  background: var(--ink);
  border-color: var(--ink);
}

.site-footer {
  background: #100e0c;
}

.footer-top {
  min-height: 190px;
  border-bottom-color: #332d27;
}

.footer-top p {
  color: #aaa196;
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: 21px;
}

.footer-bottom {
  padding-top: 32px;
  padding-bottom: 32px;
  color: #958c82;
  letter-spacing: 0.08em;
}

@media (max-width: 1050px) {
  .section {
    padding: 115px 0;
  }

  .hero__grid {
    min-height: 680px;
  }

  .programme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .programme-card,
  .programme-card:nth-child(2),
  .programme-card:nth-child(4) {
    min-height: 420px;
    border-top: 1px solid #cfc5b8;
    border-left: 1px solid #cfc5b8;
  }

  .programme-card:nth-child(odd) {
    border-left: 0;
  }

  .method-grid,
  .contact-grid,
  .requirements-grid {
    gap: 65px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .announcement__inner {
    min-height: 32px;
    gap: 12px;
    font-size: 8px;
    text-align: center;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand__text {
    max-width: 180px;
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .brand__mark {
    width: 48px;
    height: 36px;
  }

  .brand--footer .brand__mark {
    width: 64px;
    height: 48px;
  }

  .main-nav {
    top: 106px;
  }

  .site-header.is-scrolled .main-nav {
    top: 74px;
  }

  .main-nav__inner {
    padding-top: 28px;
  }

  .menu-group__toggle,
  .menu-direct {
    min-height: 58px;
    font-size: 28px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 74px);
  }

  h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .section {
    padding: 88px 0;
  }

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

  .hero {
    min-height: 830px;
    background-position: 62% center;
  }

  .hero__grid {
    min-height: 650px;
    padding-top: 100px;
    padding-bottom: 64px;
  }

  .hero__intro {
    font-size: 18px;
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .hero__metrics {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 16px;
  }

  .hero__metrics > div,
  .hero__metrics > div:first-child {
    padding: 14px 16px;
    border-top: 1px solid #d8d0c4;
    border-left: 1px solid #d8d0c4;
  }

  .hero__metrics > div:nth-child(odd) {
    border-left: 0;
  }

  .hero__metrics > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .programme-grid {
    grid-template-columns: 1fr;
  }

  .programme-card,
  .programme-card:nth-child(2),
  .programme-card:nth-child(4) {
    min-height: 360px;
    border-left: 0;
  }

  .icon-box {
    margin-bottom: 55px;
  }

  .fast-track {
    background-position: 64% center;
  }

  .fast-track__grid {
    min-height: 820px;
  }

  .cefr-visual {
    background: rgba(27, 23, 20, 0.82);
  }

  .method-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .method-intro::before,
  .contact-copy::before {
    min-height: 330px;
  }

  .journey-list li {
    min-height: 260px;
  }

  .price-card {
    min-height: auto;
  }

  .page-hero {
    min-height: 520px;
    padding: 130px 0 68px;
    background-position: 62% center;
  }

  .page-hero h1 {
    font-size: clamp(50px, 15vw, 70px);
  }

  .page-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .editorial-split,
  .exact-intro,
  .diploma-section__grid,
  .intensive-page__grid,
  .fide-prep-layout,
  .ceo-page__grid {
    gap: 54px;
  }

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

  .test-card {
    min-height: 190px;
  }

  .language-test-hero {
    min-height: 470px;
  }

  .footer-top {
    min-height: 160px;
  }

  .official-levels {
    padding: 12px;
  }

  .official-levels figcaption {
    margin: 14px 4px 4px;
  }
}

/* Desktop navigation: horizontal hotel-style menu. */
@media (min-width: 1280px) {
  .nav-wrap {
    gap: 16px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand__text {
    max-width: none;
    overflow: visible;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav,
  .site-header.is-scrolled .main-nav {
    position: static;
    z-index: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    margin-left: auto;
    overflow: visible;
    color: var(--ink);
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .main-nav__inner,
  .main-nav__inner.shell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: auto;
    min-height: 0;
    padding: 0;
  }

  .menu-tree {
    display: flex;
    align-items: stretch;
    gap: clamp(10px, 0.85vw, 16px);
  }

  .menu-group,
  .menu-direct {
    position: relative;
    flex: 0 0 auto;
    border: 0;
  }

  .menu-group__toggle,
  .menu-direct {
    display: flex;
    align-items: center;
    width: auto;
    min-height: 90px;
    padding: 2px 0 0;
    color: var(--ink);
    border: 0;
    font-size: clamp(9px, 0.76vw, 11px);
    font-weight: 650;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .menu-group__toggle {
    justify-content: flex-start;
    gap: 8px;
  }

  .menu-group__toggle::after,
  .menu-direct::after {
    position: absolute;
    right: 0;
    bottom: 23px;
    left: 0;
    height: 1px;
    content: "";
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
  }

  .menu-group:hover .menu-group__toggle::after,
  .menu-group:focus-within .menu-group__toggle::after,
  .menu-group.has-current .menu-group__toggle::after,
  .menu-direct:hover::after,
  .menu-direct:focus-visible::after,
  .menu-direct[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .menu-group__chevron {
    width: 6px;
    height: 6px;
    margin: -4px 1px 0 0;
    border-width: 0 1px 1px 0;
  }

  .menu-group.is-open .menu-group__chevron {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .menu-submenu,
  .menu-group.is-open .menu-submenu {
    position: absolute;
    top: calc(100% - 1px);
    left: -22px;
    display: grid;
    min-width: 230px;
    max-height: none;
    padding: 18px 0;
    overflow: visible;
    background: #fff;
    border-top: 1px solid var(--red);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
  }

  #menu-programs {
    min-width: 285px;
  }

  .menu-group:hover .menu-submenu,
  .menu-group:focus-within .menu-submenu,
  .menu-group.is-open .menu-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-submenu > a,
  .menu-group.is-open .menu-submenu > a {
    min-height: 0;
    padding: 10px 22px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 550;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .menu-submenu a:hover,
  .menu-submenu a:focus-visible,
  .menu-submenu a[aria-current="page"] {
    color: var(--ink);
    background: rgba(18, 16, 14, 0.07);
  }

  .menu-contact {
    display: none;
  }

  .menu-actions {
    grid-column: auto;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    align-self: center;
    gap: 7px;
  }

  .menu-action {
    min-height: 38px;
    padding: 0 12px;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: 9px;
    letter-spacing: 0.11em;
    white-space: nowrap;
  }

  .menu-action:first-child {
    color: #fff !important;
    background: var(--red) !important;
  }

  .menu-action:last-child {
    color: var(--ink) !important;
    background: #eef3ff !important;
  }
}

/* Final glass interaction priority. */
.programme-grid {
  gap: 20px !important;
}

.programme-card:hover,
.language-card:hover,
.test-card:hover,
.client-logo-card:hover {
  color: var(--ink) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 30px 58px rgba(61, 44, 38, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.programme-card:hover :is(h3, p, .card-link),
.language-card:hover :is(h3, p, .card-link) {
  color: var(--ink) !important;
}
/* Future interface — final cascade priority. */
.contact-form.contact-form {
  color: #0d1224;
  background: #ffffff !important;
  box-shadow: 0 28px 70px rgba(35, 51, 91, 0.14) !important;
}

.contact-form.contact-form label {
  color: #46516a;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.contact-form.contact-form :is(
  input:not([type="checkbox"]),
  select,
  textarea
) {
  color: #0d1224 !important;
  background: #f0f3f9 !important;
  border: 1.5px solid #c8d1e3 !important;
  border-radius: 13px !important;
  box-shadow: inset 0 1px 2px rgba(30, 43, 72, 0.05) !important;
}

.contact-form.contact-form :is(
  input:not([type="checkbox"]),
  select,
  textarea
):hover {
  border-color: #9eabc4 !important;
  background: #f7f9fc !important;
}

.contact-form.contact-form :is(
  input:not([type="checkbox"]),
  select,
  textarea
):focus {
  outline: none;
  color: #0d1224 !important;
  background: #ffffff !important;
  border-color: #345cff !important;
  box-shadow: 0 0 0 4px rgba(52, 92, 255, 0.14) !important;
}

.contact-form.contact-form :is(input, textarea)::placeholder {
  color: #8792aa;
  opacity: 1;
}

.contact-form.contact-form :is(.checkbox, .form-note) {
  color: #68738a;
}

.contact-form.contact-form select option {
  color: #0d1224;
  background: #fff;
}

.hero .level-card {
  color: #fff;
  background: rgba(13, 18, 36, 0.7) !important;
  border: 0 !important;
  box-shadow: 0 30px 80px rgba(3, 8, 24, 0.34) !important;
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

.hero .level-card :is(p, span) {
  color: rgba(255, 255, 255, 0.72);
}

.menu-action,
.button,
.goal-tabs button,
:is(
  .cert-card .text-link,
  .response-card .text-link,
  .programme-card .card-link,
  .language-card .card-link
) {
  min-height: 50px;
  padding: 0 24px;
  color: #fff !important;
  background: #345cff !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(52, 92, 255, 0.24) !important;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.button--red,
.goal-tabs button[aria-selected="true"] {
  color: #fff !important;
  background: #e2212d !important;
  box-shadow: 0 12px 28px rgba(226, 33, 45, 0.24) !important;
}

.button--ghost,
.button--outline,
.menu-action,
.goal-tabs button:not([aria-selected="true"]) {
  color: #0d1224 !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(25, 39, 73, 0.12) !important;
}

.button--dark {
  color: #fff !important;
  background: #0d1224 !important;
  box-shadow: 0 12px 28px rgba(13, 18, 36, 0.22) !important;
}

:is(.button, .menu-action, .goal-tabs button):hover,
:is(
  .cert-card .text-link,
  .response-card .text-link,
  .programme-card .card-link,
  .language-card .card-link
):hover {
  filter: none;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(35, 52, 95, 0.2) !important;
}

:root {
  --ink: #0d1224;
  --ink-2: #171d32;
  --paper: #ffffff;
  --soft: #f4f7fc;
  --line: transparent;
  --muted: #626b80;
  --muted-dark: #aeb7ca;
  --red: #e2212d;
  --red-dark: #b80f22;
  --blue: #345cff;
  --violet: #7357ff;
  --shell: 1280px;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(32, 48, 84, 0.12);
}

body {
  color: var(--ink);
  background: #fff;
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

h1 { font-size: clamp(52px, 6.2vw, 96px); line-height: 0.98; }
h2 { font-size: clamp(38px, 4.5vw, 68px); line-height: 1.02; }
h3 { font-size: clamp(24px, 2vw, 34px); line-height: 1.12; }

.shell {
  width: min(calc(100% - 64px), var(--shell));
}

.announcement {
  color: #fff;
  background: linear-gradient(90deg, #bd1124, #e2212d 48%, #b90f32);
  border: 0;
}

.announcement a { color: #fff; border: 0; }

.site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  box-shadow: 0 12px 42px rgba(22, 35, 68, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 52px rgba(22, 35, 68, 0.13);
}

.nav-wrap { min-height: 86px; }
.brand__text { color: var(--ink); font-weight: 750; letter-spacing: 0.22em; }
.main-nav, .menu-submenu { background: #fff; }
.menu-group, .menu-direct, .menu-submenu, .site-header, .main-nav { border: 0 !important; }

.eyebrow {
  gap: 0;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.eyebrow::before { display: none !important; }
.eyebrow--light { color: #aabfff; }

.section { padding: 120px 0; border: 0 !important; }
.section--white { background: #fff; }
.section--soft { background: #f4f7fc; }
.section--dark { color: #fff; background: #0d1224; }
.section-heading { gap: clamp(40px, 7vw, 110px); margin-bottom: 58px; }

.hero {
  min-height: 820px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(80, 103, 255, 0.42), transparent 30%),
    linear-gradient(100deg, rgba(7, 13, 34, 0.98) 0%, rgba(10, 18, 48, 0.92) 46%, rgba(12, 19, 42, 0.45) 100%),
    url("../images/editorial/hero-language-academy.jpg") center / cover no-repeat;
  border-radius: 0 0 42px 42px;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  min-height: 650px;
  gap: 64px;
  padding-top: 84px;
  padding-bottom: 72px;
}

.hero__copy { align-self: center; }
.hero h1 { max-width: 850px; margin-bottom: 28px; color: #fff; }

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: #aabfff;
  font-size: 0.52em;
  font-style: normal;
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.hero__intro {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 19px;
  line-height: 1.65;
}

.hero__note { color: rgba(255, 255, 255, 0.6); font-size: 12px; letter-spacing: 0.02em; }

.level-card {
  display: block;
  align-self: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 0 !important;
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

.level-card :is(p, span) { color: rgba(255, 255, 255, 0.66); }
.level-step, .level-card__top, .level-card__steps { border: 0 !important; }
.level-step { margin-top: 8px; padding: 15px; border-radius: 16px; }
.level-step--active { background: rgba(82, 110, 255, 0.34); }

.hero__metrics {
  display: grid;
  width: min(calc(100% - 64px), var(--shell));
  max-width: var(--shell);
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 0 34px;
  color: #fff;
  background: transparent;
  border: 0;
}

.hero__metrics > div {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 0 !important;
  border-radius: 18px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero__metrics strong { color: #fff; font-size: 28px; font-weight: 680; }
.hero__metrics span { color: rgba(255, 255, 255, 0.58); letter-spacing: 0.12em; }

.programme-grid,
.pricing-grid,
.language-grid,
.format-grid,
.cert-grid,
.test-grid,
.client-logo-grid { gap: 22px !important; border: 0 !important; }

.programme-card,
.language-card,
.format-card,
.cert-card,
.price-card { min-height: 0; padding: 34px !important; }

.programme-card:nth-child(4n + 1), .language-card:nth-child(4n + 1), .format-card:nth-child(4n + 1), .cert-card:nth-child(4n + 1) { background: #eef3ff !important; }
.programme-card:nth-child(4n + 2), .language-card:nth-child(4n + 2), .format-card:nth-child(4n + 2), .cert-card:nth-child(4n + 2) { background: #f4f0ff !important; }
.programme-card:nth-child(4n + 3), .language-card:nth-child(4n + 3), .format-card:nth-child(4n + 3), .cert-card:nth-child(4n + 3) { background: #edf9f6 !important; }
.programme-card:nth-child(4n + 4), .language-card:nth-child(4n + 4), .format-card:nth-child(4n + 4), .cert-card:nth-child(4n + 4) { background: #fff1f1 !important; }

.programme-card h3, .language-card h3, .format-card h3, .cert-card h3 { color: var(--ink) !important; font-size: 29px; }
.programme-card p, .language-card p, .format-card p, .cert-card p, .cert-card li { color: var(--muted) !important; line-height: 1.65; }
.icon-box { margin-bottom: 46px; color: var(--blue); }
.card-number, .method-item > span, .journey-list > li > span { color: var(--blue); font-weight: 750; }

.goal-planner { background: linear-gradient(145deg, #eef3ff, #f8f9ff) !important; }
.goal-tabs, .goal-panel, .goal-panel__level, .goal-panel__copy { border: 0 !important; }
.goal-panel { margin-top: 18px; padding: 30px; background: #fff; border-radius: 20px; }

.fast-track {
  color: #fff;
  background:
    radial-gradient(circle at 78% 30%, rgba(77, 96, 255, 0.48), transparent 32%),
    linear-gradient(100deg, rgba(8, 14, 35, 0.98), rgba(15, 24, 59, 0.84)),
    url("../images/editorial/exam-preparation.jpg") center / cover no-repeat;
}

.fast-track__grid { min-height: 700px; gap: 70px; }

.cefr-visual {
  color: #fff;
  background: rgba(255, 255, 255, 0.1) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.cefr-visual :is(p, span) { color: rgba(255, 255, 255, 0.72); }
.method-intro::before, .contact-copy::before { border-radius: 30px; box-shadow: 0 24px 60px rgba(31, 48, 87, 0.14); }
.method-item { margin-bottom: 14px; padding: 28px; background: #f4f7fc; border: 0 !important; border-radius: 20px; }
.method-item:nth-child(3n + 1) { background: #eef3ff; }
.method-item:nth-child(3n + 2) { background: #f4f0ff; }
.method-item:nth-child(3n + 3) { background: #edf9f6; }
.method-promise {
  display: grid;
  gap: 8px;
  margin: 30px 0 8px;
  padding: 22px 24px;
  color: var(--ink);
  background: #fff1f1;
  border-radius: 18px;
}
.method-promise strong {
  font-size: 16px;
  line-height: 1.45;
}
.method-promise span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* About — one composed editorial system instead of a repeated card wall */
.difference-section {
  overflow: visible;
  background:
    radial-gradient(circle at 12% 10%, rgba(55, 101, 255, 0.1), transparent 27%),
    #f6f8fc;
}

.difference-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: clamp(42px, 8vw, 130px);
  margin-bottom: 70px;
}

.difference-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(52px, 6.1vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.difference-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.difference-index {
  display: grid;
  gap: clamp(90px, 16vh, 170px);
  padding-bottom: 28vh;
}

.difference-row {
  position: sticky;
  top: 112px;
  display: grid;
  grid-template-columns: 90px minmax(260px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(28px, 5vw, 82px);
  min-height: 520px;
  padding: clamp(44px, 5vw, 74px);
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 32px 80px rgba(31, 48, 87, 0.18);
}

.difference-row__number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6vw, 96px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.difference-row__title {
  display: grid;
  gap: 14px;
}

.difference-row__title > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.difference-row__title strong {
  display: block;
  max-width: 370px;
  font-size: clamp(31px, 3vw, 49px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.difference-row ul {
  display: grid;
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.difference-row li {
  position: relative;
  margin: 0;
  padding-left: 19px;
  font-size: 15px;
  line-height: 1.65;
}

.difference-row li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.55;
}

.difference-row:nth-child(1) { z-index: 1; }
.difference-row:nth-child(2) { z-index: 2; }
.difference-row:nth-child(3) { z-index: 3; }
.difference-row:nth-child(4) { z-index: 4; }

.difference-row--navy {
  color: #fff;
  background: #10172d;
}

.difference-row--navy :is(.difference-row__number, .difference-row__title > span) {
  color: #91a7ff;
}

.difference-row--navy li {
  color: rgba(255, 255, 255, 0.72);
}

.difference-row--blue {
  color: #111a38;
  background: #dce6ff;
}

.difference-row--blue :is(.difference-row__number, .difference-row__title > span) {
  color: #3159dc;
}

.difference-row--mint {
  color: #102d2b;
  background: #dff3ec;
}

.difference-row--mint :is(.difference-row__number, .difference-row__title > span) {
  color: #167b70;
}

.difference-row--rose {
  color: #35181c;
  background: #ffe3e5;
}

.difference-row--rose :is(.difference-row__number, .difference-row__title > span) {
  color: #c82c3b;
}

@media (max-width: 980px) {
  .difference-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .difference-heading > p {
    max-width: 680px;
  }

  .difference-row {
    grid-template-columns: 72px minmax(210px, 0.7fr) minmax(0, 1.3fr);
    gap: 28px;
  }

  .difference-row ul {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .difference-heading {
    margin-bottom: 42px;
  }

  .difference-heading h2 {
    font-size: clamp(45px, 13vw, 68px);
  }

  .difference-index {
    gap: 20px;
    padding-bottom: 0;
  }

  .difference-row {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: 0;
    padding: 38px 28px 44px;
    border-radius: 24px;
  }

  .difference-row__number {
    font-size: 52px;
  }

  .difference-row__title strong {
    font-size: 34px;
  }

  .difference-row ul {
    grid-template-columns: 1fr;
  }
}

/* About — interactive five-reason manifesto */
.reasons-manifest {
  color: #11182d;
  background:
    radial-gradient(circle at 88% 12%, rgba(223, 64, 84, 0.12), transparent 28%),
    #f5f1eb;
}

.reasons-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: clamp(45px, 9vw, 150px);
  margin-bottom: 72px;
}

.reasons-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(54px, 6.4vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.reasons-heading > p {
  margin: 0 0 10px;
  color: #6f6a66;
  font-size: 18px;
  line-height: 1.75;
}

.reasons-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  min-height: 640px;
  overflow: hidden;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 35px 90px rgba(40, 32, 28, 0.14);
}

.reasons-stage {
  position: relative;
  display: grid;
  min-height: 640px;
  padding: clamp(48px, 6vw, 92px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(86, 113, 255, 0.55), transparent 30%),
    linear-gradient(145deg, #11182d, #202b5f);
  transition: background-color 350ms ease;
}

.reasons-stage::after {
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.025),
    0 0 0 110px rgba(255, 255, 255, 0.018);
  content: "";
}

.reasons-stage__count {
  position: absolute;
  top: -42px;
  right: 30px;
  color: rgba(255, 255, 255, 0.075);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(240px, 26vw, 430px);
  line-height: 1;
  letter-spacing: -0.1em;
  transition: opacity 250ms ease, transform 350ms ease;
}

.reasons-panels {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
}

.reason-panel {
  grid-area: 1 / 1;
  align-self: end;
  max-width: 760px;
}

.reason-panel.is-active {
  animation: reason-panel-in 380ms cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.reason-panel > p {
  margin: 0 0 24px;
  color: #a9bbff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.reason-panel h3 {
  max-width: 680px;
  margin: 0 0 30px;
  color: #fff;
  font-size: clamp(43px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.reason-panel blockquote {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(20px, 2vw, 30px);
  font-style: normal;
  line-height: 1.5;
}

.reasons-tabs {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 30px;
  background: #fff;
}

.reasons-tabs button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 20px 22px;
  color: #77716c;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.reasons-tabs button:hover {
  color: #182143;
  background: #f2f5ff;
  transform: translateX(-4px);
}

.reasons-tabs button[aria-selected="true"] {
  color: #fff;
  background: #e52838;
  box-shadow: 0 16px 34px rgba(229, 40, 56, 0.23);
}

.reasons-tabs button:focus-visible {
  outline: 3px solid #3159dc;
  outline-offset: 3px;
}

.reasons-tabs button > span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.reasons-tabs button strong {
  font-size: 15px;
  font-weight: 750;
}

.reasons-tabs button i {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.35;
}

.reasons-tabs button[aria-selected="true"] i {
  opacity: 1;
}

@keyframes reason-panel-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .reasons-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .reasons-heading > p {
    max-width: 700px;
  }

  .reasons-explorer {
    grid-template-columns: 1fr;
  }

  .reasons-stage {
    min-height: 520px;
  }

  .reasons-tabs {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    overflow-x: auto;
  }

  .reasons-tabs button {
    grid-template-columns: 1fr;
    gap: 8px;
    min-width: 125px;
    min-height: 112px;
  }

  .reasons-tabs button i {
    display: none;
  }
}

@media (max-width: 620px) {
  .reasons-heading {
    margin-bottom: 42px;
  }

  .reasons-heading h2 {
    font-size: clamp(46px, 14vw, 67px);
  }

  .reasons-explorer {
    border-radius: 24px;
  }

  .reasons-stage {
    min-height: 520px;
    padding: 40px 28px;
  }

  .reason-panel h3 {
    font-size: 43px;
  }

  .reason-panel blockquote {
    font-size: 19px;
  }

  .reasons-tabs {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reason-panel.is-active {
    animation: none;
  }

  .reasons-tabs button,
  .reasons-stage__count {
    transition: none;
  }
}

.journey-list, .numbered-steps, .accordion, .cert-card ul, .price-card ul { border: 0 !important; }
.journey-list { gap: 18px; }
.journey-list li, .numbered-steps li { min-height: 0; padding: 30px; background: #fff; border: 0 !important; border-radius: 22px; box-shadow: 0 18px 48px rgba(35, 51, 91, 0.08); }

.price-card { min-height: 500px; background: #fff !important; }
.price-card--featured { color: #fff !important; background: linear-gradient(145deg, #273fba, #674ee8) !important; }
.price-card--featured :is(h3, p, li, span) { color: #fff !important; }

.faq { background: radial-gradient(circle at 12% 18%, rgba(52, 92, 255, 0.22), transparent 27%), #0d1224; }
.accordion details { margin-bottom: 12px; padding: 0 24px; background: rgba(255, 255, 255, 0.07); border: 0 !important; border-radius: 18px; }
.accordion summary { font-size: 21px; font-weight: 600; }

.contact { background: #eef3ff; }
.contact-form { color: #fff; background: #10172d !important; }
.contact-form :is(input, select, textarea) { color: #fff; background: rgba(255, 255, 255, 0.08) !important; border: 0 !important; box-shadow: none !important; }

.page-hero {
  min-height: 570px;
  padding: 150px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 25%, rgba(68, 92, 255, 0.45), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.82) 58%, rgba(10, 18, 48, 0.45)),
    url("../images/editorial/hero-language-academy.jpg") center / cover no-repeat;
  border-radius: 0 0 38px 38px;
}

body[data-page="about"] .page-hero,
body[data-page="ceo"] .page-hero,
body[data-page="courses"] .page-hero,
body[data-page="fle"] .page-hero,
body[data-page="clients"] .page-hero {
  background: radial-gradient(circle at 80% 24%, rgba(81, 106, 255, 0.42), transparent 30%), linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.78) 62%, rgba(10, 18, 48, 0.4)), url("../images/editorial/private-coaching.jpg") center / cover no-repeat;
}

body[data-page="certifications"] .page-hero,
body[data-page="delf-dalf-tcf"] .page-hero,
body[data-page="fide-preparation"] .page-hero,
body[data-page="fide-test"] .page-hero,
body[data-page="intensive-program"] .page-hero,
body[data-page="swiss-citizenship"] .page-hero {
  background: radial-gradient(circle at 80% 24%, rgba(86, 110, 255, 0.46), transparent 30%), linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.8) 62%, rgba(10, 18, 48, 0.4)), url("../images/editorial/exam-preparation.jpg") center / cover no-repeat;
}

.page-hero h1 { color: #fff; }
.page-hero p:not(.eyebrow) { color: rgba(255, 255, 255, 0.76); font-family: inherit; font-size: 19px; line-height: 1.65; }
.breadcrumbs { color: rgba(255, 255, 255, 0.66); letter-spacing: 0.08em; }

.fide-offer, .cta-band, .clients-fide { color: #fff; background: radial-gradient(circle at 82% 28%, rgba(75, 98, 255, 0.38), transparent 30%), #0d1224; }
.cert-card--fide { background: #eef3ff !important; }
.cert-card--fide h3 { color: #0d1224 !important; font-weight: 800 !important; }
.clients-fide__logo { background: #fff; border: 0; border-radius: 24px; }
.client-logo-card { background: #fff !important; }
.site-footer { background: #080c19; }
.footer-top, .footer-bottom { border: 0 !important; }

@media (max-width: 1050px) {
  .section { padding: 96px 0; }
  .hero__grid { grid-template-columns: 1fr; min-height: 620px; }
  .level-card { display: none; }
  .programme-card, .programme-card:nth-child(2), .programme-card:nth-child(4) { border: 0 !important; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  h2 { font-size: clamp(34px, 10vw, 48px); }
  .section { padding: 76px 0; }
  .hero { min-height: 760px; border-radius: 0 0 28px 28px; }
  .hero__grid { min-height: 590px; padding-top: 64px; padding-bottom: 48px; }
  .hero__metrics { width: min(calc(100% - 32px), var(--shell)); grid-template-columns: repeat(2, 1fr); gap: 10px; padding-bottom: 24px; }
  .hero__metrics > div { padding: 18px; border-radius: 15px; }
  .page-hero { min-height: 480px; padding: 120px 0 68px; border-radius: 0 0 28px 28px; }
  .programme-card, .language-card, .format-card, .cert-card, .price-card, .contact-form { padding: 26px !important; border-radius: 20px !important; }
  .programme-card, .price-card { min-height: 0; }
}

:is(
  .cert-card .text-link,
  .response-card .text-link,
  .programme-card .card-link,
  .language-card .card-link
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 10px 17px;
  color: var(--ink) !important;
  background: linear-gradient(135deg, rgba(205, 228, 246, 0.82), rgba(229, 212, 243, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(55, 42, 39, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
}

:is(
  .cert-card .text-link,
  .response-card .text-link,
  .programme-card .card-link,
  .language-card .card-link
):hover {
  filter: brightness(1.04) saturate(1.12);
  transform: translateY(-2px);
}

/* ============================================================ */

/* Flag backgrounds for language selections */
.language-card--flag {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  overflow: hidden;
  color: #fff;
}

.language-card--flag::before,
.language-card--flag::after {
  position: absolute;
  inset: 0;
  content: "";
}

.language-card--flag::before {
  z-index: -2;
  transition: transform 240ms ease, filter 240ms ease;
}

.language-card--flag::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 13, 34, 0.08), rgba(7, 13, 34, 0.88));
}

.language-card--flag:hover::before {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.language-card--french::before {
  background: linear-gradient(90deg, #142d76 0 33.333%, #f2f2f2 33.333% 66.666%, #c82832 66.666%);
}

.language-card--german::before {
  background: linear-gradient(#17191f 0 33.333%, #c42432 33.333% 66.666%, #e2b53f 66.666%);
}

.language-card--italian::before {
  background: linear-gradient(90deg, #16834b 0 33.333%, #f3f3f3 33.333% 66.666%, #c82e37 66.666%);
}

.language-card--english::before {
  background:
    linear-gradient(90deg, transparent 40%, #f3f3f3 40% 44%, #c51f31 44% 56%, #f3f3f3 56% 60%, transparent 60%),
    linear-gradient(transparent 36%, #f3f3f3 36% 42%, #c51f31 42% 58%, #f3f3f3 58% 64%, transparent 64%),
    linear-gradient(34deg, transparent 43%, #f3f3f3 43% 47%, #c51f31 47% 53%, #f3f3f3 53% 57%, transparent 57%),
    linear-gradient(-34deg, transparent 43%, #f3f3f3 43% 47%, #c51f31 47% 53%, #f3f3f3 53% 57%, transparent 57%),
    #18316e;
}

.language-card--spanish::before {
  background: linear-gradient(#a51f2b 0 25%, #f1c735 25% 75%, #a51f2b 75%);
}

.language-card--flag > span {
  color: #fff;
  background: rgba(7, 13, 34, 0.35);
  border-color: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.language-card--flag h3,
.language-card--flag p {
  color: #fff !important;
}

.language-card--flag p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.language-card--flag .card-link {
  color: #0d1224 !important;
  background: rgba(255, 255, 255, 0.9);
}

/* Full circular vector logo */
.brand__mark {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  background: url("../images/logo-sla.svg") center / contain no-repeat;
}

.brand--footer .brand__mark {
  width: 88px;
  height: 88px;
}

@media (max-width: 700px) {
  .brand__mark {
    width: 52px;
    height: 52px;
  }

  .brand--footer .brand__mark {
    width: 68px;
    height: 68px;
  }
}

/* Accessible footer contrast */
.site-footer {
  color: #fff;
  background: #080d1d;
}

.site-footer .brand,
.site-footer .brand__text {
  color: #fff !important;
}

.footer-top p {
  color: #e2e8f5 !important;
}

.footer-bottom p,
.footer-bottom a {
  color: #c9d2e5 !important;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff !important;
}

.footer-bottom {
  align-items: center;
  flex-wrap: wrap;
}

.site-credit {
  flex: 1 1 330px;
  color: #e2e8f5 !important;
  letter-spacing: 0.02em;
  text-align: center;
}

.site-credit strong {
  color: #fff;
  font-weight: 750;
}

@media (max-width: 700px) {
  .site-credit {
    flex-basis: auto;
    text-align: left;
  }
}

/* Legal, consent and cookie controls */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 128px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 28px;
  background: linear-gradient(145deg, #eef3ff, #fff6f1);
  box-shadow: 0 26px 70px rgba(27, 42, 79, 0.1);
}

.legal-summary h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 42px);
}

.legal-summary p,
.legal-content p,
.legal-content li,
.legal-content address {
  color: var(--muted);
  line-height: 1.75;
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin: clamp(38px, 6vw, 64px) 0 14px;
  font-size: clamp(28px, 3.2vw, 46px);
  letter-spacing: -0.035em;
}

.legal-content h3 {
  margin: 30px 0 10px;
  font-size: clamp(20px, 2vw, 27px);
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.25rem;
}

.legal-content a,
.checkbox a,
.test-entry-consent a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content address {
  font-style: normal;
}

.legal-updated {
  display: inline-flex;
  margin: 0 0 26px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink) !important;
  background: #edf1f9;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-clauses {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.legal-clauses > li {
  padding: 22px 24px;
  border-radius: 20px;
  background: #f5f7fb;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: #f6f8fc;
}

.legal-table th,
.legal-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e3e8f2;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--ink);
}

.checkbox,
.test-entry-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox input[type="checkbox"],
.test-entry-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--red);
}

.cookie-banner[hidden],
.cookie-preferences[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(16px, 3vw, 42px);
  z-index: 1000;
  width: min(700px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  color: #fff;
  background: rgba(8, 13, 29, 0.97);
  box-shadow: 0 30px 100px rgba(3, 7, 18, 0.38);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.cookie-banner h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
}

.cookie-banner p {
  margin: 0;
  color: #d8dfed;
  line-height: 1.6;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cookie-actions .button {
  min-height: 48px;
  padding: 12px 18px;
}

.cookie-actions .button--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  background: transparent;
}

.cookie-text-button {
  padding: 8px 4px;
  border: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.cookie-preferences {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-preference {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.cookie-preference strong,
.cookie-preference small {
  display: block;
}

.cookie-preference small {
  margin-top: 3px;
  color: #c5cede;
}

.cookie-preference input {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
}

.footer-cookie-button {
  padding: 0;
  border: 0;
  color: #c9d2e5;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus-visible {
  color: #fff;
}

.error-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(52, 92, 255, 0.32), transparent 36%),
    radial-gradient(circle at 80% 76%, rgba(226, 33, 45, 0.25), transparent 34%),
    #080d1d;
}

.error-card,
.error-content {
  width: min(760px, 100%);
  padding: clamp(34px, 7vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.3);
}

.error-card h1,
.error-content h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(62px, 13vw, 144px);
}

.error-card p,
.error-content p {
  margin: 0 auto 28px;
  max-width: 560px;
  color: #d5deef;
  font-size: clamp(18px, 2.2vw, 24px);
}

@media (max-width: 800px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
  }

  .cookie-banner {
    right: 16px;
    bottom: 16px;
  }

  .cookie-actions {
    display: grid;
  }
}

/* Mobile navigation: fixed to viewport, not to the blurred sticky header. */
@media (max-width: 1023px) {
  .site-header {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .main-nav,
  .site-header.is-scrolled .main-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto !important;
    min-height: 0;
    max-height: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav {
    top: 118px;
  }

  .site-header.is-scrolled .main-nav {
    top: 86px;
  }

  .main-nav__inner {
    min-height: min-content;
  }
}

@media (max-width: 620px) {
  .main-nav__inner,
  .main-nav__inner.shell {
    gap: 24px;
    padding-top: 18px;
    padding-bottom: 26px;
  }

  .menu-group__toggle,
  .menu-direct {
    min-height: 48px;
    font-size: 21px;
  }

  .menu-actions {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .announcement__inner {
    gap: 10px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .announcement__inner > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .announcement__inner > a {
    display: none;
  }

  .nav-wrap {
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .menu-toggle {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .brand__text {
    max-width: clamp(100px, calc(100vw - 220px), 170px);
    overflow: visible;
    font-size: 8px;
    line-height: 1.35;
    letter-spacing: 0.16em;
    text-overflow: clip;
    white-space: normal;
  }

  .hero h1,
  .page-hero h1,
  .language-test-hero h1 {
    overflow-wrap: break-word;
  }

  .goal-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .goal-tabs button {
    min-width: 0;
    padding: 12px 7px;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
  }

  .skills-grid > *,
  .skill-cards {
    min-width: 0;
    width: 100%;
  }

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

/* Goal selector: clean floating controls, without the dark backing bar. */
.goal-tabs {
  background: transparent !important;
  box-shadow: none !important;
}

/* Media archive pages */
.media-page .page-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(52, 92, 255, 0.46), transparent 31%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.8) 62%, rgba(10, 18, 48, 0.42)),
    url("../images/editorial/hero-language-academy.jpg") center / cover no-repeat;
}

.media-library {
  min-height: 620px;
}

.media-library__heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(44px, 7vw, 78px);
}

.media-library__heading .eyebrow {
  margin: 0;
}

.media-library__heading h2 {
  max-width: 980px;
  margin: 0;
}

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

.media-card-grid--partners {
  grid-template-columns: minmax(0, 620px);
}

.media-card {
  display: flex;
  min-width: 0;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 34px;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(145deg, #fff 0%, #eef3ff 100%);
  border-radius: 26px;
  box-shadow: 0 22px 58px rgba(34, 51, 90, 0.09);
}

.media-card:nth-child(4n + 2) {
  background: linear-gradient(145deg, #fff 0%, #f4f0ff 100%);
}

.media-card:nth-child(4n + 3) {
  background: linear-gradient(145deg, #fff 0%, #edf9f6 100%);
}

.media-card:nth-child(4n + 4) {
  background: linear-gradient(145deg, #fff 0%, #fff1f1 100%);
}

.media-card__index,
.media-card__type,
.media-card__status {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.media-card__index {
  color: var(--blue);
}

.media-card__type {
  margin: 0 0 13px;
  color: var(--muted);
}

.media-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(27px, 2.4vw, 38px);
}

.media-card .button {
  align-self: flex-start;
}

.media-card--archive {
  color: #cbd4e7;
  background: linear-gradient(145deg, #171d32, #0d1224) !important;
}

.media-card--archive h3 {
  color: #fff;
}

.media-card--archive .media-card__index {
  color: #aabfff;
}

.media-card--archive .media-card__type {
  color: #8995af;
}

.media-card__status {
  display: inline-flex;
  width: fit-content;
  margin: 24px 0 0;
  padding: 11px 14px;
  color: #dbe2f0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.media-card--partner {
  min-height: 360px;
}

@media (max-width: 980px) {
  .media-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-card-grid--partners {
    grid-template-columns: minmax(0, 620px);
  }
}

@media (max-width: 700px) {
  .media-library__heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .media-card-grid,
  .media-card-grid--partners {
    grid-template-columns: 1fr;
  }

  .media-card {
    min-height: 280px;
    padding: 26px;
    border-radius: 20px;
  }

  .media-card .button {
    width: 100%;
  }
}

/* Video — watch directly on the page */
.video-page {
  background: #f5f7fb;
}

.video-showcase {
  position: relative;
  min-height: clamp(560px, 74vh, 780px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(54, 86, 255, 0.38), transparent 25%),
    radial-gradient(circle at 68% 76%, rgba(237, 36, 50, 0.22), transparent 23%),
    linear-gradient(135deg, #080d1e 0%, #101936 62%, #070b18 100%);
  isolation: isolate;
}

.video-showcase::before,
.video-showcase::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.video-showcase::before {
  width: min(55vw, 720px);
  aspect-ratio: 1;
  right: -13%;
  top: -42%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
}

.video-showcase::after {
  width: 340px;
  height: 340px;
  right: 22%;
  bottom: -230px;
  background: #ed2432;
  filter: blur(80px);
  opacity: 0.2;
}

.video-showcase__hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
  padding-top: clamp(86px, 10vw, 150px);
  padding-bottom: clamp(86px, 10vw, 150px);
}

.video-showcase__intro {
  max-width: 980px;
}

.video-showcase__intro .breadcrumbs {
  margin-bottom: clamp(48px, 8vw, 90px);
}

.video-showcase__intro h1 {
  max-width: 970px;
  margin: 18px 0 30px;
  color: #fff;
  font-size: clamp(58px, 8.3vw, 128px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.video-showcase__intro > p:last-child {
  max-width: 700px;
  margin: 0;
  color: #b8c2d8;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.65;
}

.video-showcase__signal {
  position: relative;
  display: grid;
  width: clamp(164px, 16vw, 240px);
  aspect-ratio: 1;
  justify-self: end;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.28), transparent 26%),
    #ed2432;
  box-shadow: 0 34px 80px rgba(237, 36, 50, 0.32);
}

.video-showcase__signal::before {
  position: absolute;
  width: calc(100% + 42px);
  height: calc(100% + 42px);
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: inherit;
}

.video-showcase__signal span {
  position: absolute;
  left: 50%;
  bottom: 23%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.video-showcase__signal i {
  width: 0;
  height: 0;
  margin-top: -24px;
  margin-left: 8px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid #fff;
}

.video-gallery {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 46%, rgba(52, 92, 255, 0.09), transparent 24%),
    #f5f7fb;
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(-120px, -8vw, -76px);
  padding: clamp(26px, 3.5vw, 54px);
  color: #fff;
  background: #11172b;
  border-radius: clamp(26px, 3vw, 44px);
  box-shadow: 0 38px 100px rgba(7, 13, 34, 0.25);
}

.video-feature__copy h2 {
  margin: 18px 0 24px;
  color: #fff;
  font-size: clamp(38px, 4.4vw, 70px);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.video-feature__copy > p {
  color: #aeb9d0;
  font-size: 17px;
  line-height: 1.65;
}

.video-kicker {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 0;
  color: #c7cede;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.video-kicker span {
  color: #ff4a56;
}

.video-text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.video-text-link:hover {
  color: #ff6973;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050814;
  border-radius: 24px;
  box-shadow: 0 24px 58px rgba(4, 8, 20, 0.28);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame--featured {
  border-radius: 30px;
}

.video-gallery__heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: start;
  margin: clamp(110px, 12vw, 180px) 0 clamp(48px, 7vw, 82px);
}

.video-gallery__heading h2 {
  max-width: 920px;
  margin: 0;
  color: #0d1224;
  font-size: clamp(48px, 6.2vw, 92px);
  font-weight: 480;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

.video-card {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 32px);
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 24px 64px rgba(31, 48, 90, 0.09);
}

.video-card--blue {
  background: #edf2ff;
}

.video-card__body {
  padding: clamp(28px, 3vw, 42px) 8px 10px;
}

.video-card__body .video-kicker {
  color: #67728c;
}

.video-card__body h3 {
  margin: 18px 0 14px;
  color: #0d1224;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 1;
}

.video-card__body > p:last-child {
  max-width: 580px;
  margin: 0;
  color: #74809a;
  font-size: 16px;
  line-height: 1.65;
}

.video-channel {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(70px, 9vw, 130px);
  padding: clamp(36px, 5vw, 76px);
  color: #fff;
  background:
    radial-gradient(circle at 83% 20%, rgba(74, 105, 255, 0.34), transparent 28%),
    #0d1224;
  border-radius: 38px;
}

.video-channel h2 {
  max-width: 720px;
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.video-channel .button {
  flex: 0 0 auto;
}

/* Partners — editorial network page */
.partners-page {
  background: #fff;
}

.partners-showcase {
  position: relative;
  min-height: clamp(630px, 76vh, 820px);
  overflow: hidden;
  color: #0d1224;
  background:
    radial-gradient(circle at 82% 28%, rgba(66, 97, 255, 0.13), transparent 22%),
    linear-gradient(135deg, #f4f7ff 0%, #fff 58%, #fff2f2 100%);
}

.partners-showcase::after {
  position: absolute;
  width: 44vw;
  height: 44vw;
  min-width: 520px;
  min-height: 520px;
  right: -22vw;
  bottom: -28vw;
  content: "";
  background: #ed2432;
  border-radius: 50%;
  opacity: 0.96;
}

.partners-showcase__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(50px, 9vw, 150px);
  align-items: center;
  padding-top: clamp(90px, 11vw, 160px);
  padding-bottom: clamp(90px, 11vw, 160px);
}

.partners-showcase__copy {
  max-width: 980px;
}

.partners-showcase__copy .breadcrumbs {
  margin-bottom: clamp(56px, 8vw, 96px);
}

.partners-showcase__copy h1 {
  max-width: 1050px;
  margin: 20px 0 30px;
  color: #0d1224;
  font-size: clamp(58px, 8vw, 122px);
  font-weight: 480;
  letter-spacing: -0.065em;
  line-height: 0.89;
}

.partners-showcase__copy > p:last-child {
  max-width: 680px;
  margin: 0;
  color: #68738c;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.65;
}

.partners-showcase__art {
  position: relative;
  width: min(34vw, 470px);
  aspect-ratio: 1;
  justify-self: center;
}

.partners-showcase__art strong {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  display: grid;
  width: 116px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  place-items: center;
  color: #fff;
  background: #0d1224;
  border-radius: 50%;
  box-shadow: 0 24px 52px rgba(13, 18, 36, 0.23);
  font-size: 24px;
  letter-spacing: 0.12em;
}

.partners-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(13, 18, 36, 0.21);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.partners-orbit--one {
  width: 64%;
  height: 64%;
}

.partners-orbit--two {
  width: 100%;
  height: 100%;
  border-color: rgba(13, 18, 36, 0.12);
}

.partners-node {
  position: absolute;
  display: block;
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(13, 18, 36, 0.16);
}

.partners-node--one {
  width: 78px;
  height: 78px;
  top: 8%;
  left: 22%;
  background: #ed2432;
}

.partners-node--two {
  width: 62px;
  height: 62px;
  right: 2%;
  top: 47%;
  background: #3c5fff;
}

.partners-node--three {
  width: 48px;
  height: 48px;
  left: 17%;
  bottom: 4%;
  background: #f3bd3b;
}

.partner-editorial {
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 40%, rgba(237, 36, 50, 0.055), transparent 18%),
    #fff;
}

.partner-editorial__intro {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: start;
  margin-bottom: clamp(54px, 8vw, 100px);
}

.partner-editorial__intro > p:last-child {
  max-width: 980px;
  margin: 0;
  color: #0d1224;
  font-size: clamp(42px, 5.4vw, 78px);
  font-weight: 480;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.partner-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  background: #10162a;
  border-radius: 40px;
  box-shadow: 0 38px 100px rgba(13, 18, 36, 0.18);
}

.partner-feature__identity {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(36px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 88%, rgba(255, 255, 255, 0.19), transparent 23%),
    #ed2432;
}

.partner-feature__identity::after {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -150px;
  top: -120px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(255, 255, 255, 0.05),
    0 0 0 88px rgba(255, 255, 255, 0.035);
}

.partner-feature__number {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.partner-feature__mark {
  position: relative;
  z-index: 1;
  display: flex;
  width: fit-content;
  gap: 5px;
}

.partner-feature__mark span {
  display: grid;
  width: clamp(58px, 6vw, 88px);
  aspect-ratio: 1;
  place-items: center;
  color: #0d1224;
  background: #fff;
  border-radius: 50%;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 700;
}

.partner-feature__identity p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.partner-feature__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(42px, 7vw, 105px);
}

.partner-feature__label {
  margin: 0 0 26px;
  color: #ff6973;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.partner-feature__body h2 {
  max-width: 900px;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(46px, 5.4vw, 82px);
  font-weight: 480;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.partner-feature__body > p {
  max-width: 720px;
  margin: 0 0 36px;
  color: #aeb8ce;
  font-size: 18px;
  line-height: 1.68;
}

.partner-feature__body small {
  margin-top: 22px;
  color: #7e89a2;
  font-size: 12px;
}

.partner-principles {
  margin: clamp(110px, 13vw, 190px) 0;
}

.partner-principles__heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: start;
  margin-bottom: clamp(50px, 7vw, 84px);
}

.partner-principles__heading h2 {
  max-width: 900px;
  margin: 0;
  color: #0d1224;
  font-size: clamp(46px, 5.8vw, 86px);
  font-weight: 480;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

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

.partner-principle {
  position: relative;
  min-height: 390px;
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
  color: #0d1224;
  background: #f1f4fb;
  border-radius: 32px;
}

.partner-principle:nth-child(2) {
  background: #fff0f1;
}

.partner-principle:nth-child(3) {
  background: #edf2ff;
}

.partner-principle::after {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -105px;
  bottom: -105px;
  content: "";
  background: currentColor;
  border-radius: 50%;
  opacity: 0.045;
}

.partner-principle span {
  display: grid;
  width: 58px;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: #0d1224;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.partner-principle:nth-child(2) span {
  background: #ed2432;
}

.partner-principle:nth-child(3) span {
  background: #3c5fff;
}

.partner-principle h3 {
  margin: clamp(80px, 8vw, 120px) 0 18px;
  color: #0d1224;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 540;
  letter-spacing: -0.045em;
}

.partner-principle p {
  max-width: 390px;
  margin: 0;
  color: #6f7a92;
  font-size: 16px;
  line-height: 1.65;
}

.partner-invitation {
  display: flex;
  gap: 50px;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(42px, 6vw, 88px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 25%, rgba(74, 105, 255, 0.35), transparent 26%),
    #0d1224;
  border-radius: 40px;
}

.partner-invitation h2 {
  max-width: 900px;
  margin: 16px 0 22px;
  color: #fff;
  font-size: clamp(44px, 5.5vw, 82px);
  font-weight: 480;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.partner-invitation p:last-child {
  max-width: 680px;
  margin: 0;
  color: #aeb8ce;
  font-size: 17px;
  line-height: 1.65;
}

.partner-invitation .button {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .video-showcase__hero,
  .partners-showcase__grid {
    grid-template-columns: 1fr;
  }

  .video-showcase__signal {
    position: absolute;
    right: 8%;
    bottom: 8%;
    width: 140px;
  }

  .video-feature,
  .partner-feature {
    grid-template-columns: 1fr;
  }

  .partner-feature__identity {
    min-height: 360px;
  }

  .partner-feature__body {
    min-height: 500px;
  }

  .partners-showcase__art {
    position: absolute;
    right: -8%;
    bottom: -7%;
    width: 320px;
    opacity: 0.48;
  }

  .partner-principles__track {
    grid-template-columns: 1fr;
  }

  .partner-principle {
    min-height: 300px;
  }

  .partner-principle h3 {
    margin-top: 62px;
  }
}

@media (max-width: 700px) {
  .video-showcase,
  .partners-showcase {
    min-height: 610px;
  }

  .video-showcase__hero,
  .partners-showcase__grid {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .video-showcase__intro .breadcrumbs,
  .partners-showcase__copy .breadcrumbs {
    margin-bottom: 50px;
  }

  .video-showcase__intro h1,
  .partners-showcase__copy h1 {
    font-size: clamp(52px, 15vw, 74px);
    line-height: 0.92;
  }

  .video-showcase__signal {
    right: 25px;
    bottom: 25px;
    width: 92px;
  }

  .video-showcase__signal::before {
    width: calc(100% + 20px);
    height: calc(100% + 20px);
  }

  .video-showcase__signal i {
    margin-top: -13px;
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 18px;
  }

  .video-showcase__signal span {
    bottom: 19%;
    font-size: 8px;
  }

  .video-feature {
    margin-top: -52px;
    padding: 20px;
    border-radius: 26px;
  }

  .video-feature__copy {
    order: 2;
    padding: 10px 4px 8px;
  }

  .video-feature__copy h2 {
    font-size: 42px;
  }

  .video-frame,
  .video-frame--featured {
    border-radius: 18px;
  }

  .video-gallery__heading,
  .partner-editorial__intro,
  .partner-principles__heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-gallery__heading {
    margin-top: 92px;
  }

  .video-gallery__heading h2,
  .partner-editorial__intro > p:last-child,
  .partner-principles__heading h2 {
    font-size: 46px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card {
    padding: 16px;
    border-radius: 24px;
  }

  .video-card__body {
    padding: 26px 8px 12px;
  }

  .video-channel,
  .partner-invitation {
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }

  .video-channel .button,
  .partner-invitation .button {
    width: 100%;
  }

  .partners-showcase::after {
    min-width: 300px;
    min-height: 300px;
  }

  .partners-showcase__art {
    right: -110px;
    bottom: -65px;
    width: 270px;
  }

  .partners-showcase__art strong {
    width: 82px;
    font-size: 18px;
  }

  .partner-feature {
    border-radius: 28px;
  }

  .partner-feature__identity {
    min-height: 300px;
    padding: 32px 26px;
  }

  .partner-feature__body {
    min-height: 0;
    padding: 50px 26px;
  }

  .partner-feature__body h2 {
    font-size: 46px;
  }

  .partner-feature__body .button {
    width: 100%;
  }

  .partner-principles {
    margin: 100px 0;
  }

  .partner-principle {
    min-height: 280px;
    padding: 28px;
    border-radius: 24px;
  }
}

/* Intensive programme — interactive Fast-Track engine */
.intensive-engine {
  --step-angle: 28deg;
  --step-color: #ed2432;
  position: relative;
  margin: 72px 0;
  padding: clamp(30px, 5vw, 64px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 62%, rgba(75, 103, 255, 0.2), transparent 32%),
    linear-gradient(145deg, #171d32 0%, #090e20 72%);
  border-radius: 36px;
  isolation: isolate;
}

.intensive-engine[data-active-step="2"] {
  --step-angle: 88deg;
  --step-color: #4b67ff;
}

.intensive-engine[data-active-step="3"] {
  --step-angle: 150deg;
  --step-color: #00a98f;
}

.intensive-engine[data-active-step="4"] {
  --step-angle: 210deg;
  --step-color: #f1b82d;
}

.intensive-engine[data-active-step="5"] {
  --step-angle: 273deg;
  --step-color: #9366e7;
}

.intensive-engine[data-active-step="6"] {
  --step-angle: 333deg;
  --step-color: #ff6a55;
}

.intensive-engine::before {
  position: absolute;
  width: 420px;
  height: 420px;
  top: -250px;
  right: -180px;
  content: "";
  background: #ed2432;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.9;
  z-index: -1;
}

.intensive-engine__heading {
  position: relative;
  max-width: 610px;
  margin: 0 auto 28px;
  text-align: center;
  z-index: 2;
}

.intensive-engine__heading .eyebrow {
  margin: 0 0 16px;
  color: #ff7c84;
}

.intensive-engine__heading h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.intensive-engine__heading > p:last-child {
  margin: 20px 0 0;
  color: #9ca9c7;
  font-size: 15px;
  line-height: 1.5;
}

.intensive-dial {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.intensive-dial__orbit,
.intensive-dial__orbit::before,
.intensive-dial__orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.intensive-dial__orbit {
  inset: 11%;
}

.intensive-dial__orbit::before {
  inset: 8%;
  border-style: dashed;
  animation: intensive-orbit 36s linear infinite;
}

.intensive-dial__orbit::after {
  inset: 46%;
  background: var(--step-color);
  border: 0;
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--step-color) 12%, transparent);
  transition: background 280ms ease, box-shadow 280ms ease;
}

.intensive-dial__progress {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(var(--step-angle));
  transition: transform 520ms cubic-bezier(0.2, 0.75, 0.2, 1);
  z-index: 2;
}

.intensive-dial__progress span {
  position: absolute;
  width: 28px;
  height: 22px;
  top: -11px;
  left: 50%;
  background: var(--step-color);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%);
  filter: drop-shadow(0 5px 9px color-mix(in srgb, var(--step-color) 48%, transparent));
  transform: translateX(-50%);
  transition: background 280ms ease, filter 280ms ease;
}

.intensive-panels {
  position: absolute;
  width: 54%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.intensive-panel {
  position: absolute;
  display: flex;
  inset: 0;
  padding: clamp(30px, 4.2vw, 48px);
  flex-direction: column;
  justify-content: center;
  color: #111729;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.intensive-panel[hidden] {
  display: none;
}

.intensive-panel.is-active {
  animation: intensive-panel-in 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.intensive-panel__number {
  position: absolute;
  top: 11%;
  right: 18%;
  color: var(--step-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.intensive-panel .intensive-panel__metric {
  margin: 0 0 16px;
  color: #111729;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 55px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.intensive-panel__metric small {
  display: block;
  margin-top: 10px;
  color: #747f98;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intensive-panel h4 {
  margin: 0 0 9px;
  color: #111729;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
}

.intensive-panel > p:last-child {
  margin: 0;
  color: #69748d;
  font-size: clamp(12px, 1.45vw, 15px);
  line-height: 1.55;
}

.intensive-steps {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.intensive-step {
  position: absolute;
  display: flex;
  width: 118px;
  height: 118px;
  padding: 16px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #cbd3e5;
  background: #171d32;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  pointer-events: auto;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.intensive-step span {
  margin-bottom: 7px;
  color: #6e7a98;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.intensive-step strong {
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.intensive-step:hover,
.intensive-step:focus-visible {
  color: #fff;
  background: #ed2432;
  border-color: #ff7c84;
  box-shadow: 0 18px 44px rgba(237, 36, 50, 0.3);
}

.intensive-step.is-active {
  color: #fff;
  background: var(--step-color);
  border-color: color-mix(in srgb, var(--step-color) 55%, #fff);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--step-color) 30%, transparent);
}

.intensive-step:hover span,
.intensive-step:focus-visible span,
.intensive-step.is-active span {
  color: rgba(255, 255, 255, 0.76);
}

.intensive-step:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.intensive-step--1 {
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
}

.intensive-step--2 {
  top: 22%;
  right: 1%;
}

.intensive-step--3 {
  right: 7%;
  bottom: 12%;
}

.intensive-step--4 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.intensive-step--5 {
  bottom: 12%;
  left: 7%;
}

.intensive-step--6 {
  top: 22%;
  left: 1%;
}

.intensive-step--1:hover,
.intensive-step--1:focus-visible,
.intensive-step--1.is-active,
.intensive-step--4:hover,
.intensive-step--4:focus-visible,
.intensive-step--4.is-active {
  transform: translateX(-50%) scale(1.06);
}

.intensive-step--2:hover,
.intensive-step--2:focus-visible,
.intensive-step--2.is-active,
.intensive-step--3:hover,
.intensive-step--3:focus-visible,
.intensive-step--3.is-active,
.intensive-step--5:hover,
.intensive-step--5:focus-visible,
.intensive-step--5.is-active,
.intensive-step--6:hover,
.intensive-step--6:focus-visible,
.intensive-step--6.is-active {
  transform: scale(1.06);
}

@keyframes intensive-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes intensive-panel-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 740px) {
  .intensive-engine {
    margin: 52px 0;
    padding: 28px 20px 22px;
    border-radius: 26px;
  }

  .intensive-engine::before {
    width: 260px;
    height: 260px;
    top: -180px;
    right: -130px;
  }

  .intensive-engine__heading {
    margin-bottom: 26px;
    text-align: left;
  }

  .intensive-engine__heading h3 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .intensive-dial {
    display: flex;
    width: 100%;
    aspect-ratio: auto;
    flex-direction: column;
  }

  .intensive-dial__orbit {
    display: none;
  }

  .intensive-dial__progress {
    display: none;
  }

  .intensive-panels {
    position: relative;
    width: 100%;
    min-height: 410px;
    aspect-ratio: auto;
    top: auto;
    left: auto;
    transform: none;
  }

  .intensive-panel {
    padding: 34px 30px;
    justify-content: flex-end;
    border-radius: 24px;
  }

  .intensive-panel__number {
    top: 28px;
    right: 28px;
  }

  .intensive-panel .intensive-panel__metric {
    font-size: 52px;
  }

  .intensive-panel h4 {
    font-size: 25px;
  }

  .intensive-panel > p:last-child {
    font-size: 15px;
  }

  .intensive-steps {
    position: static;
    display: grid;
    margin-top: 14px;
    padding-bottom: 4px;
    grid-auto-columns: minmax(108px, 1fr);
    grid-auto-flow: column;
    gap: 9px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    pointer-events: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .intensive-steps::-webkit-scrollbar {
    display: none;
  }

  .intensive-step,
  .intensive-step--1,
  .intensive-step--2,
  .intensive-step--3,
  .intensive-step--4,
  .intensive-step--5,
  .intensive-step--6 {
    position: static;
    width: 100%;
    height: 82px;
    transform: none;
    border-radius: 17px;
    scroll-snap-align: start;
  }

  .intensive-step.is-active::after {
    position: absolute;
    width: 0;
    height: 0;
    right: 12px;
    bottom: 9px;
    content: "";
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
  }

  .intensive-step.is-active {
    position: relative;
  }

  .intensive-step:hover,
  .intensive-step:focus-visible,
  .intensive-step.is-active,
  .intensive-step--1:hover,
  .intensive-step--1:focus-visible,
  .intensive-step--1.is-active,
  .intensive-step--2:hover,
  .intensive-step--2:focus-visible,
  .intensive-step--2.is-active,
  .intensive-step--3:hover,
  .intensive-step--3:focus-visible,
  .intensive-step--3.is-active,
  .intensive-step--4:hover,
  .intensive-step--4:focus-visible,
  .intensive-step--4.is-active,
  .intensive-step--5:hover,
  .intensive-step--5:focus-visible,
  .intensive-step--5.is-active,
  .intensive-step--6:hover,
  .intensive-step--6:focus-visible,
  .intensive-step--6.is-active {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intensive-dial__orbit::before,
  .intensive-panel.is-active {
    animation: none;
  }
}

/* Free tests — interactive result route */
.result-route {
  --route-color: #ed2432;
  --route-progress: 0%;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(75, 103, 255, 0.28), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(237, 36, 50, 0.16), transparent 30%),
    #0b1022;
}

.result-route[data-active-step="2"] {
  --route-color: #4b67ff;
  --route-progress: 50%;
}

.result-route[data-active-step="3"] {
  --route-color: #00a98f;
  --route-progress: 100%;
}

.result-route::before {
  position: absolute;
  width: 560px;
  height: 560px;
  top: -410px;
  left: 50%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.025),
    0 0 0 160px rgba(255, 255, 255, 0.018);
  transform: translateX(-50%);
}

.result-route__heading {
  position: relative;
  display: grid;
  margin-bottom: 54px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(40px, 9vw, 150px);
  align-items: end;
  z-index: 1;
}

.result-route__heading .eyebrow {
  margin-bottom: 18px;
  color: #ff747d;
}

.result-route__heading h2 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(58px, 8vw, 116px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.result-route__heading > p {
  max-width: 530px;
  margin: 0 0 6px;
  color: #aab4cc;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
}

.result-route__board {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.result-route__tabs {
  position: relative;
  display: grid;
  margin-bottom: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-route__track {
  position: absolute;
  height: 2px;
  top: 43px;
  right: 16.666%;
  left: 16.666%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.result-route__track i {
  display: block;
  width: var(--route-progress);
  height: 100%;
  background: var(--route-color);
  box-shadow: 0 0 18px var(--route-color);
  transition: width 480ms cubic-bezier(0.2, 0.75, 0.2, 1), background 260ms ease;
}

.result-route__tab {
  position: relative;
  display: flex;
  padding: 0;
  align-items: center;
  flex-direction: column;
  color: #77829c;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 2;
}

.result-route__tab > span {
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 13px;
  place-items: center;
  color: #9ba6bf;
  background: #171d32;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 28px;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.result-route__tab strong {
  color: #8f9ab3;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.result-route__tab:hover > span,
.result-route__tab:focus-visible > span {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-4px);
}

.result-route__tab.is-active > span {
  color: #fff;
  background: var(--route-color);
  border-color: color-mix(in srgb, var(--route-color) 50%, #fff);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--route-color) 34%, transparent);
  transform: scale(1.08);
}

.result-route__tab.is-active strong {
  color: #fff;
}

.result-route__tab:focus-visible {
  outline: 0;
}

.result-route__tab:focus-visible > span {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.result-route__panels {
  position: relative;
  min-height: 390px;
}

.result-route__panel {
  position: absolute;
  display: grid;
  min-height: 390px;
  inset: 0;
  overflow: hidden;
  grid-template-columns: minmax(230px, 0.6fr) minmax(0, 1.4fr);
  color: #111729;
  background: #f6f8ff;
  border-radius: 26px;
}

.result-route__panel[hidden] {
  display: none;
}

.result-route__panel.is-active {
  animation: result-route-in 420ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.result-route__index {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 40px;
  justify-content: space-between;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--route-color) 84%, #12172a), var(--route-color));
  transition: background 260ms ease;
}

.result-route__index::after {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -64px;
  bottom: -64px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.06);
}

.result-route__index span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.result-route__index strong {
  font-family: var(--display);
  font-size: clamp(96px, 12vw, 170px);
  font-weight: 400;
  line-height: 0.65;
  letter-spacing: -0.08em;
}

.result-route__content {
  display: flex;
  padding: clamp(38px, 6vw, 76px);
  justify-content: center;
  flex-direction: column;
}

.result-route__content .eyebrow {
  margin: 0 0 16px;
  color: var(--route-color);
  transition: color 260ms ease;
}

.result-route__content h3 {
  margin: 0 0 16px;
  color: #111729;
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.result-route__content > p:not(.eyebrow) {
  margin: 0;
  color: #68748f;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.6;
}

.result-route__signals {
  display: flex;
  margin-top: 38px;
  flex-wrap: wrap;
  gap: 9px;
}

.result-route__signals span {
  padding: 10px 14px;
  color: #38445f;
  background: #fff;
  border: 1px solid #dce2ef;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes result-route-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .result-route__heading {
    margin-bottom: 34px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .result-route__heading h2 {
    font-size: clamp(56px, 17vw, 78px);
  }

  .result-route__board {
    padding: 18px;
    border-radius: 24px;
  }

  .result-route__tabs {
    margin-bottom: 22px;
  }

  .result-route__track {
    top: 29px;
  }

  .result-route__tab > span {
    width: 60px;
    height: 60px;
    font-size: 21px;
  }

  .result-route__tab strong {
    font-size: 9px;
  }

  .result-route__panels,
  .result-route__panel {
    min-height: 520px;
  }

  .result-route__panel {
    grid-template-columns: 1fr;
    grid-template-rows: 155px 1fr;
    border-radius: 20px;
  }

  .result-route__index {
    min-height: 155px;
    padding: 24px;
    flex-direction: row;
    align-items: flex-start;
  }

  .result-route__index strong {
    align-self: flex-end;
    font-size: 104px;
  }

  .result-route__content {
    padding: 30px 26px 34px;
  }

  .result-route__content h3 {
    font-size: 50px;
  }

  .result-route__signals {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .result-route__track i,
  .result-route__panel.is-active,
  .result-route__tab > span {
    animation: none;
    transition: none;
  }
}

/* Unique thematic visuals for programme pages */
body[data-page="courses"] .page-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(64, 87, 244, 0.34), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.78) 60%, rgba(10, 18, 48, 0.36)),
    url("../images/editorial/programs-classroom.jpg") center 46% / cover no-repeat;
}

body[data-page="intensive-program"] .page-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(237, 32, 46, 0.26), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.76) 59%, rgba(10, 18, 48, 0.34)),
    url("../images/editorial/intensive-tutoring.jpg") center 44% / cover no-repeat;
}

body[data-page="delf-dalf-tcf"] .page-hero {
  background:
    radial-gradient(circle at 80% 24%, rgba(64, 87, 244, 0.32), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.78) 60%, rgba(10, 18, 48, 0.38)),
    url("../images/editorial/delf-exam.jpg") center 48% / cover no-repeat;
}

body[data-page="swiss-citizenship"] .page-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(237, 32, 46, 0.3), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.97), rgba(10, 18, 48, 0.72) 58%, rgba(10, 18, 48, 0.28)),
    url("../images/editorial/swiss-citizenship.jpg") center 48% / cover no-repeat;
}

body[data-page="fle"] .page-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(64, 87, 244, 0.3), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.77) 59%, rgba(10, 18, 48, 0.34)),
    url("../images/editorial/fle-teacher.jpg") center 42% / cover no-repeat;
}

.format-card--group {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff !important;
  background:
    linear-gradient(160deg, rgba(8, 14, 35, 0.18), rgba(8, 14, 35, 0.92)),
    url("../images/editorial/group-classes.jpg") center / cover no-repeat !important;
}

.format-card--group::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(120deg, transparent 48%, rgba(64, 87, 244, 0.2));
}

.format-card--group :is(span, h3, p, li) {
  color: #fff !important;
}

.format-card--group li::before {
  background: #fff;
}

/* Site-wide language selector */
.brand {
  order: 0;
}

.main-nav {
  order: 1;
}

.language-switcher {
  position: relative;
  order: 2;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 76px;
  color: var(--ink);
}

.language-switcher__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.language-switcher::after {
  position: absolute;
  right: 14px;
  width: 7px;
  height: 7px;
  content: "";
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  pointer-events: none;
  transform: translateY(-3px) rotate(45deg);
}

.language-switcher select {
  width: 100%;
  min-height: 42px;
  padding: 0 32px 0 14px;
  color: var(--ink);
  background: rgba(238, 243, 255, 0.86);
  border: 1px solid #d8dfef;
  border-radius: 999px;
  outline: none;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.language-switcher select:hover {
  background: #fff;
  border-color: #aebbd4;
}

.language-switcher select:focus-visible {
  border-color: #345cff;
  box-shadow: 0 0 0 4px rgba(52, 92, 255, 0.14);
}

@media (min-width: 1280px) {
  .language-switcher {
    margin-left: 2px;
  }
}

@media (max-width: 1279px) {
  .language-switcher {
    order: 1;
    min-width: 68px;
    margin-left: auto;
  }

  .menu-toggle {
    order: 2;
    margin-left: 0;
  }

  .main-nav {
    order: 3;
  }

  .language-switcher select {
    min-height: 38px;
    padding-left: 12px;
  }
}

@media (max-width: 420px) {
  .nav-wrap {
    gap: 8px;
  }

  .brand__text {
    max-width: clamp(100px, calc(100vw - 220px), 170px);
  }

  .menu-toggle__label {
    display: none;
  }

  .menu-toggle {
    gap: 0;
  }
}

/* Testimonials — static, hand-picked quotes (no live review widget) */
.testimonials__score {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  align-self: end;
}

.testimonials__score strong {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.testimonials__score span {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  margin: 0;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
  color: var(--ink);
}

.testimonial figcaption span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.testimonial--lead {
  grid-column: span 2;
}

.testimonial--lead blockquote {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonial--lead {
    grid-column: auto;
  }
}

/* About — closing signature */
.about-signature {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 0;
  text-align: center;
}

.about-signature p {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--ink);
}

.about-signature__name {
  margin-top: 18px !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* Certifications — Swiss language requirements table (HTML, not an image) */
.requirements-table {
  margin: 0;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.requirements-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.requirements-table caption {
  margin-bottom: 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.requirements-table th,
.requirements-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(120, 130, 155, 0.22);
}

.requirements-table thead th {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.requirements-table tbody th {
  font-weight: 700;
  color: var(--ink);
}

.requirements-table tbody td {
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.requirements-table tbody tr:last-child th,
.requirements-table tbody tr:last-child td {
  border-bottom: 0;
}

.requirements-table figcaption {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Language switcher — real EN/FR pages (no machine translation) */
.language-switcher::after {
  display: none;
}

.language-switcher__options {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(238, 243, 255, 0.86);
  border: 1px solid #d8dfef;
  border-radius: 999px;
}

.language-switcher__options a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 30px;
  padding: 0 8px;
  color: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.language-switcher__options a:hover {
  background: #fff;
}

.language-switcher__options a[aria-current="true"] {
  color: #fff;
  background: var(--ink);
  cursor: default;
}

.language-switcher__options a:focus-visible {
  outline: 2px solid #345cff;
  outline-offset: 2px;
}

/* Header uses the recognisable seal alone; the full name remains accessible. */
.site-header .brand__text {
  display: none;
}

.site-header .brand {
  flex: 0 0 auto;
}

/* Compact desktop navigation before the full wide layout has enough room. */
@media (min-width: 1280px) and (max-width: 1599px) {
  .nav-wrap {
    gap: 10px;
  }

  .brand__text {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .main-nav__inner,
  .main-nav__inner.shell {
    gap: 6px;
  }

  .menu-tree {
    gap: 8px;
  }

  .menu-group__toggle,
  .menu-direct {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .menu-group__toggle {
    gap: 5px;
  }

  .menu-actions {
    gap: 5px;
  }

  .menu-action {
    min-height: 36px;
    padding: 0 9px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .language-switcher {
    min-width: 68px;
  }

  .language-switcher__options a {
    min-width: 30px;
    padding: 0 6px;
  }
}

/* Keep the announcement and navigation attached while scrolling. */
.announcement {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 110;
}

.site-header {
  top: 36px;
}

@media (max-width: 1279px) {
  .site-header {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .main-nav,
  .site-header.is-scrolled .main-nav {
    position: fixed;
    top: 122px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto !important;
    min-height: 0;
    max-height: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 700px) {
  .site-header {
    top: 32px;
  }

  .main-nav,
  .site-header.is-scrolled .main-nav {
    top: 118px;
  }
}

/* Placement test — a single French card sits centred, not stranded in the left column */
@media (min-width: 1024px) {
  .test-grid:has(> :only-child) > .test-card {
    grid-column: 2;
  }
}

/* Contact: one unified request form, visible immediately on arrival. */
body[data-page="contact"] .contact--page {
  min-height: calc(100vh - 150px);
  padding-top: clamp(46px, 6vw, 88px);
}

body[data-page="contact"] .contact-copy::before {
  min-height: 280px;
}

body[data-page="contact"] .contact-copy h1 {
  max-width: 660px;
  margin: 16px 0 28px;
  color: var(--ink);
  font-size: clamp(48px, 5.7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.contact-form h2 {
  margin: 10px 0 30px;
  color: var(--paper);
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1;
}

.contact-form .form-shortcut {
  margin: -4px 0 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.contact-form .form-shortcut a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.field-optional {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  body[data-page="contact"] .contact-form--extended {
    order: -1;
  }

  body[data-page="contact"] .contact-copy::before {
    min-height: 250px;
  }
}

/* 2026-08-14 responsive stability pass */
.ui-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.test-card > .ui-arrow {
  align-self: end;
  color: #fff;
}

.member-portal__action .ui-arrow {
  transition: transform 160ms ease;
}

.member-portal:hover .member-portal__action .ui-arrow,
.member-portal:focus-visible .member-portal__action .ui-arrow {
  transform: translateX(3px);
}

@media (max-width: 1279px) {
  body.menu-open {
    overflow: hidden;
  }

  .main-nav,
  .site-header.is-scrolled .main-nav {
    background: #fff;
  }

  .main-nav__inner,
  .main-nav__inner.shell {
    width: min(calc(100% - 40px), var(--shell));
    min-height: 100%;
    align-content: start;
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .menu-actions {
    align-self: start;
  }
}

@media (max-width: 700px) {
  .shell,
  .hero__metrics,
  .main-nav__inner,
  .main-nav__inner.shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .hero__metrics {
    margin-right: auto;
    margin-left: auto;
  }

  .programme-grid,
  .pricing-grid,
  .language-grid,
  .format-grid,
  .cert-grid,
  .test-grid,
  .client-logo-grid {
    gap: 16px !important;
  }

  .main-nav__inner,
  .main-nav__inner.shell {
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .menu-group__toggle,
  .menu-direct {
    min-height: 48px;
    font-size: 20px;
  }

  .menu-actions {
    gap: 10px;
  }

  .menu-action {
    min-height: 50px;
  }

  body[data-page="tests"] .page-hero {
    min-height: 430px;
  }

  body[data-page="tests"] .test-intro {
    gap: 24px;
  }

  body[data-page="tests"] .test-card {
    min-height: 180px;
    border-radius: 20px;
  }
}

@media (max-width: 420px) {
  .shell,
  .hero__metrics,
  .main-nav__inner,
  .main-nav__inner.shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .language-switcher__options a {
    min-width: 29px;
    min-height: 29px;
    padding: 0 5px;
  }

  .menu-toggle__label {
    display: inline;
    font-size: 9px;
  }

  .menu-toggle {
    gap: 10px;
  }
}
/* Honeypot antispam field: present for bots, invisible to users. */
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Compact internal-page banners: keep the content visible near the fold. */
body.inner-page .page-hero {
  min-height: 220px;
  padding: 42px 0;
}

body.inner-page .page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 4.6vw, 68px);
}

body.inner-page .page-hero p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  body.inner-page .page-hero {
    min-height: 140px;
    padding: 28px 0;
    border-radius: 0 0 22px 22px;
  }

  body.inner-page .page-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.02;
  }

  body.inner-page .page-hero p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.45;
  }
}

/* Responsive editorial images: desktop by default, lighter files on mobile. */
:root {
  --sla-image-hero: url("../images/editorial/responsive/desktop/hero-language-academy.webp");
  --sla-image-private: url("../images/editorial/responsive/desktop/private-coaching.webp");
  --sla-image-exam: url("../images/editorial/responsive/desktop/exam-preparation.webp");
  --sla-image-programmes: url("../images/editorial/responsive/desktop/programs-classroom.webp");
  --sla-image-intensive: url("../images/editorial/responsive/desktop/intensive-tutoring.webp");
  --sla-image-delf: url("../images/editorial/responsive/desktop/delf-exam.webp");
  --sla-image-citizenship: url("../images/editorial/responsive/desktop/swiss-citizenship.webp");
  --sla-image-fle: url("../images/editorial/responsive/desktop/fle-teacher.webp");
  --sla-image-group: url("../images/editorial/responsive/desktop/group-classes.webp");
}

.hero {
  background-image:
    radial-gradient(circle at 78% 22%, rgba(80, 103, 255, 0.42), transparent 30%),
    linear-gradient(100deg, rgba(7, 13, 34, 0.98) 0%, rgba(10, 18, 48, 0.92) 46%, rgba(12, 19, 42, 0.45) 100%),
    var(--sla-image-hero);
}

.fast-track {
  background-image:
    radial-gradient(circle at 78% 30%, rgba(77, 96, 255, 0.48), transparent 32%),
    linear-gradient(100deg, rgba(8, 14, 35, 0.98), rgba(15, 24, 59, 0.84)),
    var(--sla-image-exam);
}

.method-intro::before,
.contact-copy::before {
  background-image: var(--sla-image-private);
}

.page-hero {
  background-image:
    radial-gradient(circle at 78% 25%, rgba(68, 92, 255, 0.45), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.82) 58%, rgba(10, 18, 48, 0.45)),
    var(--sla-image-hero);
}

body[data-page="about"] .page-hero,
body[data-page="ceo"] .page-hero,
body[data-page="clients"] .page-hero {
  background-image:
    radial-gradient(circle at 80% 24%, rgba(81, 106, 255, 0.42), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.78) 62%, rgba(10, 18, 48, 0.4)),
    var(--sla-image-private);
}

body[data-page="certifications"] .page-hero,
body[data-page="fide-preparation"] .page-hero,
body[data-page="fide-test"] .page-hero {
  background-image:
    radial-gradient(circle at 80% 24%, rgba(86, 110, 255, 0.46), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.8) 62%, rgba(10, 18, 48, 0.4)),
    var(--sla-image-exam);
}

.media-page .page-hero {
  background-image:
    radial-gradient(circle at 78% 22%, rgba(52, 92, 255, 0.46), transparent 31%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.8) 62%, rgba(10, 18, 48, 0.42)),
    var(--sla-image-hero);
}

body[data-page="courses"] .page-hero {
  background-image:
    radial-gradient(circle at 78% 24%, rgba(64, 87, 244, 0.34), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.78) 60%, rgba(10, 18, 48, 0.36)),
    var(--sla-image-programmes);
}

body[data-page="intensive-program"] .page-hero {
  background-image:
    radial-gradient(circle at 78% 24%, rgba(237, 32, 46, 0.26), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.76) 59%, rgba(10, 18, 48, 0.34)),
    var(--sla-image-intensive);
}

body[data-page="delf-dalf-tcf"] .page-hero {
  background-image:
    radial-gradient(circle at 80% 24%, rgba(64, 87, 244, 0.32), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.78) 60%, rgba(10, 18, 48, 0.38)),
    var(--sla-image-delf);
}

body[data-page="swiss-citizenship"] .page-hero {
  background-image:
    radial-gradient(circle at 78% 24%, rgba(237, 32, 46, 0.3), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.97), rgba(10, 18, 48, 0.72) 58%, rgba(10, 18, 48, 0.28)),
    var(--sla-image-citizenship);
}

body[data-page="fle"] .page-hero {
  background-image:
    radial-gradient(circle at 78% 24%, rgba(64, 87, 244, 0.3), transparent 30%),
    linear-gradient(95deg, rgba(7, 13, 34, 0.98), rgba(10, 18, 48, 0.77) 59%, rgba(10, 18, 48, 0.34)),
    var(--sla-image-fle);
}

.format-card--group {
  background-image:
    linear-gradient(160deg, rgba(8, 14, 35, 0.18), rgba(8, 14, 35, 0.92)),
    var(--sla-image-group) !important;
}

@media (max-width: 700px) {
  :root {
    --sla-image-hero: url("../images/editorial/responsive/mobile/hero-language-academy.webp");
    --sla-image-private: url("../images/editorial/responsive/mobile/private-coaching.webp");
    --sla-image-exam: url("../images/editorial/responsive/mobile/exam-preparation.webp");
    --sla-image-programmes: url("../images/editorial/responsive/mobile/programs-classroom.webp");
    --sla-image-intensive: url("../images/editorial/responsive/mobile/intensive-tutoring.webp");
    --sla-image-delf: url("../images/editorial/responsive/mobile/delf-exam.webp");
    --sla-image-citizenship: url("../images/editorial/responsive/mobile/swiss-citizenship.webp");
    --sla-image-fle: url("../images/editorial/responsive/mobile/fle-teacher.webp");
    --sla-image-group: url("../images/editorial/responsive/mobile/group-classes.webp");
  }
}

/* Official Fide mark used by the labelled Academy, with a preparation-only notice. */
.fide-prep-hero .page-hero__grid {
  grid-template-columns: minmax(0, 1fr) 352px;
  gap: 48px;
  align-items: center;
}

.fide-prep-hero h1 {
  font-size: clamp(38px, 4vw, 58px);
}

.fide-preparation-card {
  width: 352px;
  min-height: 200px;
  margin-left: auto;
  padding: 28px 34px 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 4px solid var(--red);
  border-radius: 24px;
}

.fide-preparation-card__top {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.fide-preparation-card img {
  width: 158px;
  height: auto;
}

.fide-preparation-card p {
  margin: 0;
  color: var(--red) !important;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.45 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fide-preparation-card p span {
  display: block;
}

.fide-preparation-card > strong {
  display: block;
  margin-top: 24px;
  padding-top: 20px;
  color: #394258;
  border-top: 1px solid #d7ddea;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
}

@media (max-width: 1050px) {
  .fide-prep-hero .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .fide-preparation-card {
    display: none;
  }
}

/* YouTube is loaded only after an explicit click on a local preview. */
.video-consent {
  isolation: isolate;
  background: #080d1d;
}

.video-consent__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-consent::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 9, 22, 0.08), rgba(5, 9, 22, 0.7));
  content: "";
  pointer-events: none;
}

.video-consent__button {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 24px;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.video-consent__play {
  position: relative;
  width: 68px;
  height: 68px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  transition: transform 160ms ease, background 160ms ease;
}

.video-consent__play::after {
  position: absolute;
  top: 50%;
  left: 53%;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
  content: "";
  transform: translate(-50%, -50%);
}

.video-consent__button strong {
  font-size: 18px;
  line-height: 1.2;
}

.video-consent__button small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.video-consent__button:hover .video-consent__play,
.video-consent__button:focus-visible .video-consent__play {
  background: #ff3542;
  transform: scale(1.07);
}

@media (max-width: 700px) {
  .video-consent__play {
    width: 58px;
    height: 58px;
  }
}

/* Desktop navigation: visible horizontal menu; hamburger remains for smaller screens. */
@media (min-width: 1050px) {
  .site-header .nav-wrap {
    min-height: 104px;
    justify-content: flex-start;
    gap: clamp(14px, 1.4vw, 28px);
  }

  .site-header .brand__mark {
    width: 78px;
    height: 78px;
  }

  .site-header .brand {
    order: 0;
  }

  .site-header .menu-toggle {
    display: none;
  }

  .site-header .main-nav,
  .site-header.is-scrolled .main-nav {
    position: static;
    z-index: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    flex: 1 1 auto;
    width: auto;
    height: auto !important;
    min-height: 0;
    overflow: visible;
    color: var(--ink);
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    order: 1;
  }

  .site-header .main-nav__inner,
  .site-header .main-nav__inner.shell {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  .site-header .menu-tree {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, 0.45vw, 10px);
  }

  .site-header .menu-group,
  .site-header .menu-direct {
    position: relative;
    flex: 0 0 auto;
    border: 0;
  }

  .site-header .menu-group__toggle,
  .site-header .menu-direct {
    width: auto;
    min-height: 44px;
    padding: 0 clamp(5px, 0.55vw, 11px);
    color: #253451;
    font-size: clamp(9px, 0.68vw, 11px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.055em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .site-header .menu-group__toggle {
    justify-content: center;
    gap: 7px;
  }

  .site-header .menu-group__toggle::after,
  .site-header .menu-direct::after {
    bottom: 3px;
  }

  .site-header .menu-group__chevron {
    width: 7px;
    height: 7px;
    margin: 0;
    border-width: 1px;
  }

  .site-header .menu-submenu {
    position: absolute;
    z-index: 120;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    width: max-content;
    min-width: 240px;
    max-height: none;
    padding: 12px !important;
    overflow: visible;
    background: #fff;
    border: 1px solid #e3e7f0 !important;
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(20, 31, 60, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
  }

  .site-header .menu-group:nth-of-type(3) .menu-submenu {
    right: 0;
    left: auto;
  }

  .site-header .menu-submenu > a,
  .site-header .menu-group.is-open .menu-submenu > a {
    min-height: 40px;
    padding: 10px 12px;
    color: #253451;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    white-space: nowrap;
  }

  .site-header .menu-submenu > a:hover,
  .site-header .menu-submenu > a:focus-visible,
  .site-header .menu-submenu > a[aria-current="page"] {
    color: var(--red);
    background: #f4f7fc;
  }

  .site-header .menu-group:hover .menu-submenu,
  .site-header .menu-group:focus-within .menu-submenu,
  .site-header .menu-group.is-open .menu-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header .menu-contact,
  .site-header .menu-actions {
    display: none;
  }

  .site-header .language-switcher {
    order: 2;
    flex: 0 0 auto;
    margin-left: 0;
  }
}

@media (min-width: 1050px) and (max-width: 1279px) {
  .site-header .nav-wrap {
    gap: 8px;
  }

  .site-header .brand__mark {
    width: 64px;
    height: 64px;
  }

  .site-header .menu-tree {
    gap: 0;
  }

  .site-header .menu-group__toggle,
  .site-header .menu-direct {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 8.5px;
    letter-spacing: 0.025em;
  }

  .site-header .language-switcher {
    min-width: 0;
  }

  .site-header .language-switcher__options a {
    min-width: 32px;
    padding-right: 6px;
    padding-left: 6px;
  }
}

/* Final priority: fixed top bars and back-to-top control. */
.announcement {
  position: -webkit-sticky;
  position: sticky;
  z-index: 110;
  top: 0;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  z-index: 100;
  top: 36px;
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(20, 31, 60, 0.24);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top span {
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #b5091a;
}

body:has(.cookie-banner:not([hidden])) .back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 700px) {
  .site-header {
    top: 32px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

/* Required-field markers for the Contact and Request forms. */
.contact-form .field-required {
  color: #d3132a;
  font-size: 1.25em;
  font-weight: 900;
  line-height: 1;
}

.contact-form .form-required-note {
  margin: -18px 0 24px;
  color: #68738a;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.contact-form .checkbox .field-required {
  margin-left: 3px;
}

#request-form {
  scroll-margin-top: 160px;
}

@media (max-width: 700px) {
  #request-form {
    scroll-margin-top: 140px;
  }
}

/* Stable pointer path between each desktop menu button and its submenu. */
@media (min-width: 1050px) {
  .site-header .menu-submenu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 10px;
    content: "";
  }
}

/* Compact partner cards with local logos and verified external links. */
.partner-principles__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.partner-principle {
  display: grid;
  min-height: 250px;
  flex: 1 1 220px;
  grid-template-rows: 44px 72px auto auto;
  align-items: center;
  max-width: calc((100% - 72px) / 5);
  padding: 26px;
}

.partner-principle > span {
  width: 44px;
  height: 44px;
  font-size: 9px;
}

.partner-principle__logo {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: center;
}

.partner-principle__logo img {
  display: block;
  width: auto;
  max-width: 170px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.partner-principle__logo img[src*="trouver-un-cours"] {
  max-width: 62px;
  max-height: 62px;
}

.partner-principle h3 {
  margin: 12px 0 14px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
}

.partner-principle > a {
  width: fit-content;
  color: #304db5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.partner-principle > a:hover,
.partner-principle > a:focus-visible {
  color: var(--red);
}

.partner-principle:nth-child(4) {
  background: #f5f2ff;
}

.partner-principle:nth-child(4) > span {
  background: #6b52d9;
}

.partner-principle:nth-child(5) {
  background: #eef8f5;
}

.partner-principle:nth-child(5) > span {
  background: #16866d;
}

@media (max-width: 1100px) {
  .partner-principle {
    max-width: calc((100% - 36px) / 3);
  }
}

@media (max-width: 760px) {
  .partner-principle {
    max-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 520px) {
  .partner-principle {
    max-width: 100%;
  }
}

/* Navigation landmarks: red on hover, and permanently red for the current page/category. */
.site-header .menu-group:hover > .menu-group__toggle,
.site-header .menu-group:focus-within > .menu-group__toggle,
.site-header .menu-group.has-current > .menu-group__toggle,
.site-header .menu-direct:hover,
.site-header .menu-direct:focus-visible,
.site-header .menu-direct[aria-current="page"],
.site-header .menu-submenu > a:hover,
.site-header .menu-submenu > a:focus-visible,
.site-header .menu-submenu > a[aria-current="page"] {
  color: var(--red);
}

.site-header .menu-submenu > a:hover,
.site-header .menu-submenu > a:focus-visible,
.site-header .menu-submenu > a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (min-width: 1050px) {
  .site-header .menu-group:hover > .menu-group__toggle::after,
  .site-header .menu-group:focus-within > .menu-group__toggle::after,
  .site-header .menu-group.has-current > .menu-group__toggle::after,
  .site-header .menu-direct:hover::after,
  .site-header .menu-direct:focus-visible::after,
  .site-header .menu-direct[aria-current="page"]::after {
    background: var(--red);
    transform: scaleX(1);
  }
}

@media (max-width: 1049px) {
  .site-header .menu-group:hover > .menu-group__toggle > span:first-child,
  .site-header .menu-group:focus-within > .menu-group__toggle > span:first-child,
  .site-header .menu-group.has-current > .menu-group__toggle > span:first-child,
  .site-header .menu-direct:hover,
  .site-header .menu-direct:focus-visible,
  .site-header .menu-direct[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
}
