:root {
  --night: #10283b;
  --night-deep: #0b1d2c;
  --night-soft: #17364d;
  --cream: #fbf6ec;
  --paper: #fffaf1;
  --sand: #eadfcf;
  --gold: #cda86a;
  --gold-dark: #a87c3d;
  --copper: #b86f52;
  --terracotta: #c97a5e;
  --sage: #7c9086;
  --ink: #18232c;
  --muted: #69747d;
  --line: rgba(24, 35, 44, 0.12);
  --white: #fffdf8;
  --shadow-soft: 0 24px 70px rgba(47, 38, 25, 0.12);
  --shadow-card: 0 18px 45px rgba(16, 40, 59, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 40px));
  --font-hero: "Sora", "Manrope", system-ui, sans-serif;
  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", "Avenir Next", system-ui, sans-serif;
  --ease-premium: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.95), rgba(251, 246, 236, 0.98) 45%, rgba(236, 222, 204, 0.64)),
    repeating-linear-gradient(90deg, rgba(16, 40, 59, 0.018) 0 1px, transparent 1px 112px);
  font-family: var(--font-body);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(16, 40, 59, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 40, 59, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  color: var(--paper);
  background: var(--night);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0;
  transform: translateX(-50%);
}

.header-shell {
  min-height: 84px;
  padding: 8px 12px 8px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 253, 248, 0.74);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: 0 18px 48px rgba(16, 40, 59, 0.14);
  backdrop-filter: blur(18px);
  transition:
    min-height 500ms var(--ease-premium),
    box-shadow 500ms var(--ease-premium),
    background 500ms var(--ease-premium);
}

.site-header.is-scrolled .header-shell {
  min-height: 76px;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 14px 36px rgba(16, 40, 59, 0.16);
}

.brand-pair,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-pair {
  text-decoration: none;
}

.header-symbol-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.header-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.logo-image-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(168, 124, 61, 0.16));
}

.logo-image-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-image-shell--header {
  width: 136px;
  height: 78px;
  padding: 0;
}

.logo-image-shell--ennea-symbol {
  width: 54px;
  height: 76px;
  padding: 0;
  margin-left: 2px;
  filter: drop-shadow(0 10px 18px rgba(168, 124, 61, 0.18));
}

.logo-image-shell--footer {
  width: 154px;
  height: 110px;
  padding: 0;
}

.logo-mark--iw {
  color: var(--paper);
  background: var(--night);
}

.logo-mark--partner {
  color: var(--night);
  background: rgba(205, 168, 106, 0.24);
  border: 1px solid rgba(168, 124, 61, 0.18);
}

.logo-mark--ennea {
  color: var(--night);
  background: var(--paper);
  border: 1px solid rgba(255, 253, 248, 0.32);
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(24, 35, 44, 0.74);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 420ms var(--ease-premium),
    background 420ms var(--ease-premium),
    transform 420ms var(--ease-premium);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--night);
  background: rgba(205, 168, 106, 0.16);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--night);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 520ms var(--ease-premium),
    top 520ms var(--ease-premium);
}

.nav-toggle span:first-child {
  top: 17px;
}

.nav-toggle span:last-child {
  top: 27px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 8px 7px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 520ms var(--ease-premium),
    box-shadow 520ms var(--ease-premium),
    background 520ms var(--ease-premium),
    color 520ms var(--ease-premium),
    border-color 520ms var(--ease-premium);
}

.btn svg {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 999px;
  transition: transform 520ms var(--ease-premium), background 520ms var(--ease-premium);
}

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

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn:disabled,
.btn[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.btn:hover svg {
  transform: translate(2px, -1px);
}

.btn--primary {
  color: var(--night-deep);
  background: linear-gradient(135deg, #dfc184, var(--gold));
  box-shadow: 0 18px 34px rgba(168, 124, 61, 0.24);
}

.btn--primary svg {
  color: var(--paper);
  background: rgba(16, 40, 59, 0.82);
}

.btn--ghost {
  color: var(--night);
  background: rgba(255, 253, 248, 0.72);
  border-color: rgba(16, 40, 59, 0.12);
}

.btn--ghost svg,
.btn--light svg {
  color: var(--night);
  background: rgba(16, 40, 59, 0.08);
}

.btn--light {
  color: var(--paper);
  background: rgba(255, 253, 248, 0.1);
  border-color: rgba(255, 253, 248, 0.18);
}

.btn--story-clear {
  color: var(--night-deep);
  background: linear-gradient(135deg, #fff8e8, #ead4a7);
  border-color: rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.btn--story-clear svg {
  color: var(--paper);
  background: rgba(16, 40, 59, 0.86);
}

.btn--story-clear-secondary {
  color: var(--paper);
  background: rgba(255, 253, 248, 0.2);
  border-color: rgba(255, 253, 248, 0.42);
  box-shadow: none;
}

.btn--story-clear-secondary:hover {
  color: var(--night-deep);
  background: rgba(255, 253, 248, 0.9);
}

.btn--small {
  min-height: 44px;
  padding-left: 16px;
  font-size: 0.84rem;
}

.btn--small svg {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  padding: 7px;
}

.btn--wide {
  width: fit-content;
  min-width: min(100%, 330px);
}

.section-shell,
.section {
  width: var(--container);
  margin-inline: auto;
}

.hero {
  min-height: 100dvh;
  padding-top: clamp(130px, 12vw, 178px);
  padding-bottom: clamp(72px, 10vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(44px, 8vw, 108px);
  align-items: center;
}

.hero__content {
  min-width: 0;
  max-width: 670px;
}

.hero__visual {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 13px;
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(205, 168, 106, 0.14);
  border: 1px solid rgba(205, 168, 106, 0.2);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  color: var(--night-deep);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 720px;
  font-family: var(--font-hero);
  font-size: clamp(2.75rem, 5.9vw, 5.15rem);
  font-weight: 800;
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 5vw, 4.75rem);
  max-width: 880px;
}

h3 {
  color: var(--night-deep);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero__subtitle {
  margin-bottom: 18px;
  color: var(--copper);
  font-size: clamp(1.26rem, 2.2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.32;
}

.hero__text,
.section-heading p,
.newsletter__content p,
.contact-copy p,
.featured-module__content p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.85;
}

.hero__text {
  max-width: 640px;
  margin-bottom: 34px;
}

.hero__actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__meta span {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(16, 40, 59, 0.78);
  background: rgba(255, 253, 248, 0.66);
  border: 1px solid rgba(16, 40, 59, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero__visual {
  position: relative;
  min-height: 650px;
}

.visual-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(255, 253, 248, 0.84);
  box-shadow: var(--shadow-soft);
}

.visual-card figcaption {
  padding: 14px 18px 18px;
  color: rgba(16, 40, 59, 0.64);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.visual-image {
  width: 100%;
  display: block;
  object-fit: cover;
  background: var(--night);
}

.visual-image--hero {
  height: 460px;
  object-position: center;
}

.visual-image--casablanca {
  height: 220px;
  object-position: center;
}

.visual-card--main {
  top: 0;
  right: 0;
  width: min(100%, 470px);
  transform: rotate(1.5deg);
}

.visual-card--casablanca {
  left: 0;
  bottom: 30px;
  width: min(58%, 310px);
  transform: rotate(-4deg);
}

.alert-band {
  width: var(--container);
  margin: -24px auto 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 999px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--night-deep), var(--night-soft));
  box-shadow: 0 22px 50px rgba(11, 29, 44, 0.18);
}

.alert-band div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.alert-band__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(205, 168, 106, 0.14);
}

.alert-band a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.section {
  padding: clamp(88px, 12vw, 150px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(38px, 5vw, 68px);
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.68fr);
  gap: clamp(24px, 6vw, 78px);
  align-items: end;
}

.section-heading--split p:last-child {
  margin-bottom: 10px;
}

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

.resource-card,
.module-card,
.teacher-card,
.contact-card,
.story-panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.resource-card::before,
.module-card::before,
.teacher-card::before,
.contact-card::before,
.story-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(16, 40, 59, 0.05);
  pointer-events: none;
}

.resource-card {
  min-height: 250px;
  padding: 28px;
  transition:
    transform 540ms var(--ease-premium),
    box-shadow 540ms var(--ease-premium),
    background 540ms var(--ease-premium);
}

.resource-card:nth-child(1) {
  grid-column: span 5;
}

.resource-card:nth-child(2) {
  grid-column: span 3;
}

.resource-card:nth-child(3) {
  grid-column: span 4;
}

.resource-card:nth-child(4) {
  grid-column: span 4;
}

.resource-card:nth-child(5) {
  grid-column: span 5;
}

.resource-card:nth-child(6) {
  grid-column: span 3;
}

.resource-card:hover,
.module-card:hover,
.teacher-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 64px rgba(16, 40, 59, 0.16);
  background: rgba(255, 253, 248, 0.96);
}

.resource-card svg {
  width: 46px;
  height: 46px;
  padding: 11px;
  margin-bottom: 28px;
  border-radius: 16px;
  color: var(--night);
  background: rgba(205, 168, 106, 0.18);
}

.resource-card h3,
.module-card h3,
.teacher-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.32rem, 2vw, 1.72rem);
}

.resource-card p,
.teacher-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.section--story {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(11, 29, 44, 0.98), rgba(16, 40, 59, 0.98)),
    repeating-linear-gradient(120deg, rgba(255, 253, 248, 0.04) 0 1px, transparent 1px 26px);
}

.section--story h2,
.section--story h3,
.section--story .section-heading p {
  color: var(--paper);
}

.section--story .eyebrow {
  color: var(--paper);
  background: rgba(205, 168, 106, 0.18);
  border-color: rgba(205, 168, 106, 0.28);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: start;
}

.story-panel {
  position: sticky;
  top: 110px;
  padding: clamp(28px, 4vw, 46px);
  color: var(--paper);
  background: linear-gradient(150deg, rgba(255, 253, 248, 0.12), rgba(255, 253, 248, 0.06));
  border-color: rgba(255, 253, 248, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
}

.story-panel span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

.story-panel h3 {
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4vw, 3.75rem);
  line-height: 1;
}

.story-panel .btn + .btn {
  margin-top: 12px;
}

.story-list {
  display: grid;
  gap: 12px;
}

.story-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.07);
  border: 1px solid rgba(255, 253, 248, 0.1);
  transition:
    transform 520ms var(--ease-premium),
    background 520ms var(--ease-premium),
    border-color 520ms var(--ease-premium);
}

.story-item:hover {
  transform: translateX(6px);
  background: rgba(255, 253, 248, 0.11);
  border-color: rgba(205, 168, 106, 0.22);
}

.story-item svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 16px;
  color: var(--gold);
  background: rgba(205, 168, 106, 0.12);
}

.story-item p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.82);
  line-height: 1.74;
}

.sort-control {
  justify-self: end;
  display: grid;
  gap: 7px;
  min-width: 220px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
}

.sort-control select {
  min-height: 50px;
  padding: 0 48px 0 17px;
  border: 1px solid rgba(16, 40, 59, 0.12);
  border-radius: 999px;
  color: var(--night);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.8)),
    var(--paper);
  box-shadow: 0 14px 34px rgba(16, 40, 59, 0.08);
  appearance: none;
}

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

.module-card {
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 540ms var(--ease-premium),
    box-shadow 540ms var(--ease-premium),
    background 540ms var(--ease-premium);
}

.module-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 96px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(205, 168, 106, 0.08));
}

.module-card__number {
  width: fit-content;
  margin-bottom: 54px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--night);
  font-size: 0.8rem;
  font-weight: 800;
}

.module-card h3 {
  min-height: 90px;
}

.module-card__subtitle {
  min-height: 54px;
  margin: 0 0 24px;
  color: var(--gold-dark);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
}

.module-card dl {
  margin: 0;
  display: grid;
  gap: 18px;
}

.module-card dl div {
  padding-top: 16px;
  border-top: 1px solid rgba(16, 40, 59, 0.1);
}

.module-card dt {
  margin-bottom: 5px;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.module-card dd {
  margin: 0;
  color: var(--night);
  font-weight: 700;
  line-height: 1.45;
}

.section--module-details {
  padding-top: 0;
}

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

.training-module-card {
  position: relative;
  min-height: 430px;
  padding: clamp(24px, 3.4vw, 36px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(251, 246, 236, 0.82)),
    var(--paper);
  border: 1px solid rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-card);
  transition:
    transform 540ms var(--ease-premium),
    box-shadow 540ms var(--ease-premium),
    background 540ms var(--ease-premium);
}

.training-module-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(16, 40, 59, 0.05);
  border-radius: inherit;
  pointer-events: none;
}

.training-module-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 5px;
  border-radius: 0 0 0 999px;
  background: linear-gradient(90deg, rgba(205, 168, 106, 0.2), var(--gold), var(--copper));
}

.training-module-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 72px rgba(16, 40, 59, 0.17);
  background: rgba(255, 253, 248, 0.98);
}

.training-module-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.training-module-card__duration {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(205, 168, 106, 0.16);
  border: 1px solid rgba(205, 168, 106, 0.2);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.training-module-card h3 {
  max-width: 520px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.08;
}

.training-module-card p {
  min-height: 58px;
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.72;
}

.training-module-card .training-module-card__subtitle {
  min-height: 0;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.training-module-card .training-module-card__description {
  min-height: 0;
  margin-bottom: 20px;
}

.training-module-card__list {
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  color: var(--ink);
}

.training-module-card__list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.45;
  font-weight: 700;
}

.training-module-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(205, 168, 106, 0.14);
}

.training-module-card__info {
  display: grid;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 0;
}

.training-module-card__info div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 13px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.74);
  border: 1px solid rgba(16, 40, 59, 0.07);
}

.training-module-card__info svg {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 15px;
  color: var(--night);
  background: rgba(205, 168, 106, 0.18);
}

.training-module-card__info span {
  color: var(--gold-dark);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.training-module-card__info strong,
.training-module-card__info a {
  color: var(--night);
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.featured-module {
  margin-top: 16px;
  margin-bottom: clamp(88px, 12vw, 150px);
  padding: clamp(34px, 6vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.82fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  border-radius: clamp(30px, 5vw, 54px);
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(16, 40, 59, 0.98), rgba(23, 54, 77, 0.98) 54%, rgba(184, 111, 82, 0.93)),
    repeating-linear-gradient(120deg, rgba(255, 253, 248, 0.05) 0 1px, transparent 1px 25px);
  box-shadow: 0 32px 90px rgba(16, 40, 59, 0.22);
}

.featured-module h2,
.featured-module h3 {
  color: var(--paper);
}

.featured-module h2 span {
  display: block;
  color: rgba(255, 253, 248, 0.76);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.featured-module__content p {
  max-width: 620px;
  color: rgba(255, 253, 248, 0.76);
}

.featured-module__details {
  display: grid;
  gap: 10px;
}

.detail-row {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.09);
  border: 1px solid rgba(255, 253, 248, 0.11);
}

.detail-row span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-row strong,
.detail-row a {
  color: var(--paper);
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

.reservation-section {
  position: relative;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  align-items: stretch;
  overflow: hidden;
}

.reservation-section::after {
  content: "";
  position: absolute;
  right: clamp(24px, 6vw, 78px);
  bottom: clamp(24px, 5vw, 62px);
  width: min(34vw, 320px);
  height: min(42vw, 360px);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 28px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 253, 248, 0.12) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255, 253, 248, 0.08) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, rgba(205, 168, 106, 0.12), transparent);
  opacity: 0.72;
  transform: rotate(-4deg);
}

.reservation-intro {
  position: relative;
  z-index: 1;
  align-self: start;
  max-width: 780px;
}

.reservation-launch {
  margin-top: 10px;
}

.reservation-next {
  position: relative;
  z-index: 1;
  align-self: stretch;
  padding: clamp(22px, 3.5vw, 34px);
  display: grid;
  align-content: space-between;
  gap: 26px;
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.17);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.12);
}

.reservation-next span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reservation-next strong {
  display: block;
  color: var(--paper);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.16;
}

.reservation-next div {
  display: grid;
  gap: 10px;
}

.reservation-next p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  color: rgba(255, 253, 248, 0.82);
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.1);
  font-size: 0.92rem;
  font-weight: 800;
}

.reservation-form {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 30px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.97);
  border: 1px solid rgba(255, 253, 248, 0.86);
  box-shadow: 0 26px 68px rgba(11, 29, 44, 0.22);
}

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

.form-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  border: 0;
}

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

.form-field span,
.form-field legend {
  color: var(--night);
  font-size: 0.86rem;
  font-weight: 900;
}

.form-field strong {
  color: var(--copper);
}

.form-field small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(16, 40, 59, 0.12);
  border-radius: 16px;
  outline: 0;
  color: var(--ink);
  background: var(--white);
  transition:
    border-color 360ms var(--ease-premium),
    box-shadow 360ms var(--ease-premium),
    background 360ms var(--ease-premium);
}

.form-field textarea {
  min-height: 118px;
  padding-top: 13px;
  line-height: 1.55;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(205, 168, 106, 0.78);
  background: #fffdf8;
  box-shadow: 0 0 0 4px rgba(205, 168, 106, 0.14);
}

.phone-field__row {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-group--compact {
  max-width: 360px;
}

.choice-group label {
  min-height: 48px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 16px;
  color: var(--night);
  background: var(--white);
  border: 1px solid rgba(16, 40, 59, 0.12);
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color 360ms var(--ease-premium),
    background 360ms var(--ease-premium),
    transform 360ms var(--ease-premium);
}

.choice-group label:hover {
  transform: translateY(-1px);
  border-color: rgba(205, 168, 106, 0.42);
}

.choice-group label:has(input:checked) {
  border-color: rgba(205, 168, 106, 0.74);
  background: rgba(205, 168, 106, 0.16);
}

.choice-group input {
  width: 16px;
  height: 16px;
  min-height: auto;
  padding: 0;
  accent-color: var(--gold-dark);
}

.reservation-form__submit {
  width: 100%;
  min-height: 58px;
  margin-top: 20px;
  justify-content: space-between;
}

.reservation-form__message {
  margin-top: 12px;
  color: var(--copper);
}

.reservation-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms var(--ease-premium);
}

.reservation-modal.is-open {
  display: grid;
  opacity: 1;
  pointer-events: auto;
}

.reservation-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 29, 44, 0.86), rgba(16, 40, 59, 0.74)),
    repeating-linear-gradient(90deg, rgba(255, 253, 248, 0.035) 0 1px, transparent 1px 72px);
  backdrop-filter: blur(14px);
}

.reservation-modal__panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(880px, calc(100dvh - 44px));
  display: grid;
  grid-template-columns: minmax(270px, 0.58fr) minmax(0, 1fr);
  overflow: auto;
  border-radius: 32px;
  background: var(--paper);
  border: 1px solid rgba(255, 253, 248, 0.74);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.38);
  transform: translateY(18px) scale(0.98);
  transition: transform 420ms var(--ease-premium);
}

.reservation-modal.is-open .reservation-modal__panel {
  transform: translateY(0) scale(1);
}

.reservation-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 40, 59, 0.1);
  border-radius: 999px;
  color: var(--night);
  background: rgba(255, 253, 248, 0.82);
  cursor: pointer;
  transition:
    transform 320ms var(--ease-premium),
    background 320ms var(--ease-premium);
}

.reservation-modal__close:hover {
  transform: translateY(-1px);
  background: var(--white);
}

.reservation-modal__close span {
  position: absolute;
  top: 20px;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.reservation-modal__close span:first-child {
  transform: rotate(45deg);
}

.reservation-modal__close span:last-child {
  transform: rotate(-45deg);
}

.reservation-modal__intro {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  color: var(--paper);
  background:
    linear-gradient(150deg, rgba(16, 40, 59, 0.98), rgba(23, 54, 77, 0.96) 58%, rgba(168, 124, 61, 0.88)),
    repeating-linear-gradient(120deg, rgba(255, 253, 248, 0.06) 0 1px, transparent 1px 24px);
}

.reservation-modal__intro h2 {
  display: grid;
  gap: 2px;
  max-width: 320px;
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(2.15rem, 3.1vw, 3.45rem);
  line-height: 1.03;
}

.reservation-modal__intro h2 span {
  display: block;
}

.reservation-modal__intro p {
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.75;
}

.reservation-modal__note {
  margin-top: 28px;
  padding: 18px;
  display: grid;
  gap: 7px;
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.16);
}

.reservation-modal__note span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reservation-modal__note strong {
  color: var(--paper);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.reservation-modal .reservation-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(251, 246, 236, 0.98)),
    repeating-linear-gradient(90deg, rgba(16, 40, 59, 0.022) 0 1px, transparent 1px 44px);
}

.section--teachers {
  padding-top: 0;
}

.teachers-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.92fr 1.04fr;
  gap: 18px;
  align-items: stretch;
}

.teacher-card {
  min-height: 350px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    transform 540ms var(--ease-premium),
    box-shadow 540ms var(--ease-premium),
    background 540ms var(--ease-premium);
}

.teacher-card:nth-child(2) {
  transform: translateY(32px);
}

.teacher-card:nth-child(2):hover {
  transform: translateY(25px);
}

.teacher-photo {
  position: relative;
  width: 142px;
  aspect-ratio: 1;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--night);
  box-shadow: inset 0 0 0 8px rgba(255, 253, 248, 0.48), 0 20px 45px rgba(16, 40, 59, 0.16);
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.teacher-photo::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(205, 168, 106, 0.38);
  border-radius: 50%;
}

.teacher-photo span {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
}

.teacher-photo--hassan {
  background: linear-gradient(135deg, var(--night), var(--sage));
}

.teacher-photo--christelle {
  background: linear-gradient(135deg, var(--copper), #dfc184);
}

.teacher-photo--vidal {
  background: linear-gradient(135deg, var(--night-soft), var(--gold-dark));
}

.newsletter {
  margin-bottom: clamp(88px, 12vw, 150px);
  padding: clamp(30px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 253, 248, 0.82);
}

.newsletter h2 {
  margin-bottom: 12px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.newsletter-form label {
  color: var(--night);
  font-size: 0.88rem;
  font-weight: 800;
}

.newsletter-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(16, 40, 59, 0.1);
  box-shadow: 0 16px 38px rgba(16, 40, 59, 0.08);
}

.newsletter-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.newsletter-form input::placeholder {
  color: rgba(105, 116, 125, 0.72);
}

.form-message {
  min-height: 22px;
  margin: 2px 0 0;
  color: var(--copper);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-message.is-success {
  color: var(--sage);
}

.section--contact {
  padding-top: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(30px, 8vw, 92px);
  align-items: center;
}

.contact-copy h2 {
  max-width: 720px;
}

.contact-copy p {
  max-width: 620px;
  margin-bottom: 30px;
}

.contact-card {
  padding: 12px;
  display: grid;
  gap: 10px;
  background: rgba(255, 253, 248, 0.9);
}

.contact-line {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
  background: rgba(251, 246, 236, 0.78);
  transition:
    transform 520ms var(--ease-premium),
    background 520ms var(--ease-premium);
}

.contact-line:hover {
  transform: translateY(-3px);
  background: var(--white);
}

.contact-line svg {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  padding: 12px;
  border-radius: 16px;
  color: var(--night);
  background: rgba(205, 168, 106, 0.18);
}

.contact-line span {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-line strong {
  color: var(--night);
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.site-footer {
  width: var(--container);
  margin: 0 auto 26px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  border-radius: var(--radius-lg);
  color: rgba(255, 253, 248, 0.76);
  background: var(--night-deep);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.footer-contact a,
.site-footer p {
  margin: 0;
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.9rem;
  text-decoration: none;
}

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

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.chatbot-toggle {
  min-height: 58px;
  padding: 8px 10px 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-radius: 999px;
  color: var(--night-deep);
  background: linear-gradient(135deg, #fff8e8, var(--gold));
  box-shadow: 0 18px 45px rgba(16, 40, 59, 0.22);
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 520ms var(--ease-premium),
    box-shadow 520ms var(--ease-premium);
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(16, 40, 59, 0.28);
}

.chatbot-toggle svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 999px;
  color: var(--paper);
  background: rgba(16, 40, 59, 0.9);
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(390px, calc(100vw - 28px));
  max-height: min(680px, calc(100dvh - 120px));
  display: grid;
  grid-template-rows: auto minmax(160px, 1fr) auto auto;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 250, 241, 0.98);
  border: 1px solid rgba(255, 253, 248, 0.86);
  box-shadow: 0 30px 90px rgba(11, 29, 44, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition:
    opacity 520ms var(--ease-premium),
    transform 520ms var(--ease-premium);
}

.chatbot:not(.is-open) .chatbot-panel {
  display: none;
}

.chatbot.is-open .chatbot-panel {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--night-deep), var(--night-soft));
}

.chatbot-header span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chatbot-header strong {
  display: block;
  line-height: 1.2;
}

.chatbot-header button {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(255, 253, 248, 0.1);
  cursor: pointer;
}

.chatbot-header button span {
  position: absolute;
  left: 10px;
  top: 18px;
  width: 16px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
}

.chatbot-header button span:first-child {
  transform: rotate(45deg);
}

.chatbot-header button span:last-child {
  transform: rotate(-45deg);
}

.chatbot-messages {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
}

.chat-message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  color: var(--night);
  font-size: 0.9rem;
  line-height: 1.58;
}

.chat-message--bot {
  justify-self: start;
  background: var(--white);
  border: 1px solid rgba(16, 40, 59, 0.08);
}

.chat-message--user {
  justify-self: end;
  color: var(--paper);
  background: var(--night);
}

.chatbot-suggestions {
  padding: 0 18px 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.chatbot-suggestions button {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(205, 168, 106, 0.22);
  border-radius: 999px;
  color: var(--night);
  background: rgba(205, 168, 106, 0.14);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 420ms var(--ease-premium),
    background 420ms var(--ease-premium);
}

.chatbot-suggestions button:hover {
  transform: translateY(-1px);
  background: rgba(205, 168, 106, 0.24);
}

.chatbot-form {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  border-top: 1px solid rgba(16, 40, 59, 0.08);
  background: rgba(255, 253, 248, 0.66);
}

.chatbot-form input {
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid rgba(16, 40, 59, 0.1);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
}

.chatbot-form input:focus {
  border-color: rgba(205, 168, 106, 0.7);
  box-shadow: 0 0 0 4px rgba(205, 168, 106, 0.12);
}

.chatbot-form button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--night);
  cursor: pointer;
  transition: transform 420ms var(--ease-premium);
}

.chatbot-form button:hover {
  transform: translateY(-1px);
}

.chatbot-form button svg {
  width: 22px;
  height: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  transition:
    opacity 860ms var(--ease-premium),
    transform 860ms var(--ease-premium),
    filter 860ms var(--ease-premium);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

:focus-visible {
  outline: 3px solid rgba(205, 168, 106, 0.62);
  outline-offset: 4px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .header-shell {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 8px 10px 8px 14px;
  }

  .brand-pair {
    grid-column: 1;
    grid-row: 1;
  }

  .header-symbol-link {
    grid-column: 3;
    grid-row: 1;
  }

  .header-cta {
    grid-column: auto;
    grid-row: auto;
  }

  .nav-toggle {
    grid-column: 4;
    grid-row: 1;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    justify-self: stretch;
    padding: 16px;
    border-radius: 28px;
    background: rgba(255, 250, 241, 0.96);
    box-shadow: 0 26px 70px rgba(16, 40, 59, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition:
      opacity 520ms var(--ease-premium),
      transform 520ms var(--ease-premium);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav a {
    padding: 15px 16px;
    font-size: 1.02rem;
  }

  .nav-toggle {
    display: block;
  }

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

  .hero__visual {
    min-height: 560px;
    max-width: 680px;
  }

  .visual-card--main {
    left: 15%;
    right: auto;
  }

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

  .featured-module,
  .newsletter,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(720px, calc(100% - 28px));
  }

  .site-header {
    top: 12px;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .header-shell {
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 8px;
  }

  .header-cta {
    display: none;
  }

  .header-symbol-link {
    grid-column: 2;
  }

  .nav-toggle {
    grid-column: 3;
  }

  .brand-pair {
    max-width: calc(100vw - 94px);
    overflow: hidden;
  }

  .logo-mark {
    min-height: 38px;
    padding: 0 12px;
  }

  .logo-image-shell--header {
    width: 112px;
    height: 64px;
  }

  .logo-image-shell--ennea-symbol {
    width: 44px;
    height: 62px;
    margin-left: 0;
  }

  .logo-mark--partner {
    max-width: 104px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    padding-top: 122px;
    padding-bottom: 66px;
  }

  h1 {
    font-size: clamp(2.45rem, 10.8vw, 3.75rem);
  }

  h2 {
    font-size: clamp(2.72rem, 12vw, 4.5rem);
  }

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

  .hero__actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero__visual {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .visual-card,
  .visual-card--main,
  .visual-card--casablanca {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .visual-image--hero {
    height: min(92vw, 430px);
  }

  .visual-image--casablanca {
    height: 230px;
  }

  .alert-band {
    margin-top: 0;
    align-items: flex-start;
    border-radius: 26px;
    flex-direction: column;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading,
  .section-heading--split {
    display: block;
    margin-bottom: 34px;
  }

  .sort-control {
    justify-self: stretch;
    width: 100%;
    margin-top: 22px;
  }

  .resource-grid,
  .story-layout,
  .module-detail-grid,
  .teachers-grid {
    grid-template-columns: 1fr;
  }

  .reservation-modal {
    padding: 14px;
  }

  .reservation-modal__panel {
    max-height: calc(100dvh - 28px);
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .reservation-modal__intro {
    padding-right: 70px;
  }

  .reservation-modal__intro h2 {
    max-width: 280px;
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .resource-card:nth-child(n) {
    grid-column: span 1;
  }

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

  .story-panel {
    position: relative;
    top: auto;
  }

  .teacher-card:nth-child(2),
  .teacher-card:nth-child(2):hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .chatbot {
    right: 14px;
    bottom: 14px;
  }

  .chatbot-toggle span {
    display: none;
  }

  .chatbot-panel {
    bottom: 68px;
    max-height: calc(100dvh - 96px);
    border-radius: 24px;
  }

  .main-nav {
    left: 14px;
    right: 14px;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    padding-left: 18px;
  }

  .hero__meta {
    display: grid;
    grid-template-columns: 1fr;
  }

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

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

  .module-card h3 {
    min-height: auto;
    margin-bottom: 12px;
  }

  .module-card__subtitle {
    min-height: auto;
    margin-bottom: 28px;
  }

  .training-module-card {
    min-height: auto;
  }

  .training-module-card__header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .training-module-card p {
    min-height: 0;
  }

  .training-module-card__list {
    margin-bottom: 26px;
  }

  .training-module-card__info div {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 13px;
  }

  .training-module-card__info svg {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  .featured-module,
  .newsletter {
    padding: 24px;
    border-radius: 28px;
  }

  .newsletter-form__row {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .newsletter-form__row .btn {
    width: 100%;
  }

  .form-grid,
  .phone-field__row {
    grid-template-columns: 1fr;
  }

  .choice-group label {
    width: 100%;
  }

  .reservation-form {
    padding: 18px;
    border-radius: 24px;
  }

  .reservation-section::after {
    display: none;
  }

  .reservation-modal {
    padding: 0;
    align-items: end;
  }

  .reservation-modal__panel {
    width: 100%;
    max-height: 92dvh;
    border-radius: 26px 26px 0 0;
  }

  .reservation-modal__intro {
    padding: 26px 62px 24px 22px;
  }

  .reservation-modal__intro h2 {
    max-width: 230px;
    font-size: clamp(1.95rem, 8.6vw, 2.45rem);
  }

  .reservation-modal .reservation-form {
    padding: 18px;
  }

  .story-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .story-item svg {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  .contact-line {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 16px;
  }

  .contact-line svg {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  .footer-brand,
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
