:root {
  --accent: #2B6BFF;
  --accent-dark: #1A4FD6;
  --ink: #0A1628;
  --ink-soft: #12233A;
  --ink-deep: #050B14;
  --paper: #EEF2F8;
  --paper-soft: #F5F7FB;
  --silver: #A8B0BD;
  --mute: #5B677A;
  --wa: #25D366;
  --rule: rgba(10, 22, 40, 0.1);
  --rule-light: rgba(10, 22, 40, 0.06);
  --container: 1180px;
}

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

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--paper-soft);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;
  max-width: 100%;
}

body.menu-open {
  overflow: hidden;
}

img,
video,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

.h-display,
h1,
h2,
h3,
p,
li,
a,
span,
td,
th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: rgba(10, 22, 40, .25);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

/* ----- scroll progress ----- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--accent);
  z-index: 70;
  pointer-events: none;
  transition: transform .12s ease-out;
}

/* ----- brand mark ----- */
.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 107, 255, 0.22);
  flex-shrink: 0;
}

.brand-mark--light {
  box-shadow: 0 0 0 3px rgba(43, 107, 255, 0.4);
}

/* ----- header ----- */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}

#site-header.is-scrolled {
  background: rgba(245, 247, 251, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom-color: var(--rule);
}

#site-header.on-dark:not(.is-scrolled) .nav-text,
#site-header.on-dark:not(.is-scrolled) .brand-text {
  color: rgba(255, 255, 255, .92);
}

#site-header.on-dark:not(.is-scrolled) .menu-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}

.header-nav {
  width: 100%;
}

.header-nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(0.85rem, 2vw, 1.5rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 1280px) {
  .header-nav__inner {
    height: 78px;
  }
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo__img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .brand-logo__img {
    height: 40px;
  }
}

.brand-text {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}

@media (max-width: 420px) {
  .brand-text {
    display: none;
  }
}

.header-nav__desktop {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.1rem;
  min-width: 0;
}

@media (min-width: 1280px) {
  .header-nav__desktop {
    display: flex;
  }
}

.nav-dropdown {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 36px;
  padding: 0 0.55rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: 500 12px/1 "DM Sans", sans-serif;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s ease;
}

.nav-link i {
  font-size: 8px;
  opacity: .55;
  line-height: 1;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link--strong {
  font-weight: 600;
  margin-left: 0.25rem;
}

@media (min-width: 1400px) {
  .nav-link {
    font-size: 13px;
    padding: 0 0.7rem;
  }
}

.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 36px;
  margin-left: 0.35rem;
  padding: 0 0.85rem;
  border-radius: 8px;
  background: var(--wa);
  color: #fff;
  font: 600 11px/1 "DM Sans", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter .2s ease;
}

.header-wa i {
  font-size: 14px;
}

.header-wa:hover {
  filter: brightness(1.08);
  color: #fff;
}

.header-wa--block {
  width: 100%;
  height: 46px;
  margin: 0.75rem 0 0;
  font-size: 13px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 999px;
  border: 1px solid rgba(10, 22, 40, .12);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease;
}

.menu-toggle:hover {
  background: rgba(10, 22, 40, .04);
}

.menu-toggle i {
  font-size: 14px;
}

@media (min-width: 1280px) {
  .menu-toggle {
    display: none;
  }
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 240px;
  max-width: 320px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: .45rem;
  box-shadow: 0 18px 40px -24px rgba(10, 22, 40, .35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 70;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown__item {
  display: block;
  padding: .65rem .8rem;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink);
  white-space: normal;
  transition: background .2s ease, color .2s ease;
}

.nav-dropdown__item:hover {
  background: var(--paper);
  color: var(--accent);
}

.header-mobile {
  background: rgba(245, 247, 251, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
  max-height: calc(100dvh - 72px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.header-mobile__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.75rem clamp(0.85rem, 2vw, 1.5rem) 1.25rem;
}

.mobile-dropdown__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.25rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 15px/1.2 "DM Sans", sans-serif;
  cursor: pointer;
  text-align: left;
}

.mobile-dropdown__toggle i {
  font-size: 11px;
  opacity: .5;
  transition: transform .2s ease;
}

.mobile-dropdown__toggle.open i {
  transform: rotate(180deg);
}

.mobile-dropdown__panel {
  padding: 0 0 0.5rem 0.75rem;
}

.mobile-dropdown__panel.open {
  display: block !important;
}

.mobile-link {
  display: block;
  padding: 0.55rem 0.25rem;
  font-size: 14px;
  color: var(--mute);
  transition: color .2s ease;
}

.mobile-link:hover {
  color: var(--accent);
}

.mobile-link--top {
  color: var(--ink);
  font-weight: 500;
  padding: 0.85rem 0.25rem;
}

/* ----- type ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
}

.on-dark-section .eyebrow {
  color: rgba(255, 255, 255, .65);
}

.eyebrow__num {
  color: var(--accent);
  font-weight: 700;
}

.eyebrow__bar {
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .4;
}

.h-display {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lede {
  color: var(--mute);
  font-size: 1.05rem;
  line-height: 1.65;
}

.on-dark-section .lede {
  color: rgba(255, 255, 255, .68);
}

.rule {
  border-top: 1px solid var(--rule);
}

.on-dark-section .rule {
  border-top-color: rgba(255, 255, 255, .12);
}

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .95rem 1.35rem;
  border-radius: 8px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, filter .25s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  color: currentColor;
  border: 1px solid currentColor;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .08);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.btn-wa:hover {
  filter: brightness(1.05);
}

.btn-white {
  background: #fff;
  color: var(--accent);
}

.btn-white:hover {
  background: var(--paper-soft);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(10, 22, 40, .18);
}

.btn-outline-dark:hover {
  border-color: var(--ink);
  background: rgba(10, 22, 40, .03);
}

.btn-arrow i {
  transition: transform .25s ease;
}

.btn-arrow:hover i {
  transform: translateX(4px);
}

/* ----- chips / pills ----- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .88);
  padding: .4rem .85rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}

.chip--light {
  border-color: var(--rule);
  color: var(--ink);
  background: transparent;
}

.chip--link {
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.chip--link:hover {
  border-color: rgba(43, 107, 255, 0.45);
  color: var(--accent);
  background: rgba(43, 107, 255, 0.06);
}

/* ----- early bird banner ----- */
.eb-banner {
  background: linear-gradient(90deg, #081222 0%, #122848 50%, #081222 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.eb-banner a {
  color: #8DB0FF;
  font-weight: 600;
}

.eb-banner a:hover {
  color: #fff;
}

/* ----- hero (brand-only) ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050D18;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(55% 50% at 70% 20%, rgba(43, 107, 255, 0.28), transparent 60%),
    radial-gradient(40% 40% at 20% 80%, rgba(43, 107, 255, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(5, 13, 24, 0.58) 0%, rgba(10, 22, 40, 0.52) 45%, rgba(14, 31, 56, 0.66) 100%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .04) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

.hero__brand {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero__word {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 10vw, 7.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  text-shadow: 0 8px 40px rgba(0, 0, 0, .35);
}

.hero__rule {
  width: 72px;
  height: 2px;
  margin: 1.5rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ----- hero video background (Aram Media pattern) ----- */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-bg__poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s ease;
}

.hero-video-bg.is-video-ready .hero-video-bg__poster {
  opacity: 0;
  visibility: hidden;
}

.hero-video-bg video,
.hero-video-bg__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-video-bg__wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
}

.hero-video-bg iframe,
.hero-video-bg__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {

  .hero-video-bg iframe,
  .hero-video-bg__iframe,
  .hero-video-bg video,
  .hero-video-bg__video {
    display: none;
  }

  .hero-video-bg.is-video-ready .hero-video-bg__poster,
  .hero-video-bg__poster {
    opacity: 1;
    visibility: visible;
  }
}

/* ----- hero image / visual support ----- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.8) contrast(1.1);
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero:hover .hero__bg-img {
  transform: scale(1.02);
}

.page-hero-visual {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.page-hero-visual img {
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: cover;
  display: block;
}

.intro-media-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.intro-media-card img {
  width: 100%;
  height: clamp(240px, 36vw, 460px);
  object-fit: cover;
  display: block;
}

/* ----- section image tiles replacing icons ----- */
.section-img-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  display: inline-block;
  background: rgba(43, 107, 255, 0.08);
  border: 1px solid rgba(43, 107, 255, 0.18);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.06);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease;
}

.theme-panel:hover .section-img-tile,
.icon-tile:hover .section-img-tile,
.curriculum-bento__item:hover .section-img-tile {
  transform: scale(1.05);
  border-color: var(--accent);
}

.curriculum-bento__img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(43, 107, 255, 0.1);
  border: 1px solid rgba(43, 107, 255, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.curriculum-bento__item:hover .curriculum-bento__img {
  transform: scale(1.06);
  border-color: var(--accent);
}

/* ----- section shells ----- */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

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

.section-navy {
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(43, 107, 255, 0.18), transparent 55%),
    var(--ink);
  color: #fff;
}

.section-accent {
  background: var(--accent);
  color: #fff;
}

.site-footer {
  background: var(--ink-deep);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ----- fact / list rows ----- */
.fact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}

.fact-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.fact-row__k {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}

.fact-row__v {
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .fact-row {
    grid-template-columns: 1fr;
    gap: .25rem;
  }
}

/* ----- redesigned CJDM section layouts ----- */
.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .facts-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.facts-card {
  background: var(--paper-soft);
  padding: 1.25rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 120px;
}

.facts-card--accent {
  background: linear-gradient(160deg, rgba(43, 107, 255, .08), var(--paper-soft));
}

.facts-card__k {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}

.facts-card__v {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.facts-card__v--fee {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
}

.facts-card__v--fee strong {
  color: var(--accent);
  font-size: 1.35rem;
}

.facts-card__note {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

/* ----- curriculum showcase slider ----- */
.curriculum-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.35rem) 0 clamp(1.75rem, 3.5vw, 2.75rem);
  background:
    linear-gradient(90deg, rgba(43, 107, 255, 0.12), transparent 42%),
    radial-gradient(circle at 14% 0%, rgba(141, 176, 255, 0.14), transparent 34%),
    #02070d;
  color: #fff;
}

.curriculum-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .8), transparent 72%);
}

.curriculum-showcase .container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
}

.curriculum-showcase__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.curriculum-showcase__eyebrow {
  margin: 0 0 0.1rem;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
}

.curriculum-showcase__title {
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}

.curriculum-showcase__actions,
.curriculum-slider__navs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.curriculum-showcase__lede {
  max-width: 23rem;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: right;
}

@media (max-width: 640px) {
  .curriculum-showcase__header {
    flex-direction: column;
    align-items: stretch;
  }

  .curriculum-showcase__actions {
    justify-content: space-between;
  }

  .curriculum-showcase__lede {
    max-width: none;
    text-align: left;
  }
}

.curriculum-slider__arrow {
  width: 42px;
  height: 42px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}

.curriculum-slider__arrow:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .38);
}

.curriculum-slider__arrow[disabled] {
  opacity: .35;
  cursor: default;
}

/* ----- curriculum auto-play slider ----- */
.curriculum-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.curriculum-slider__track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: stretch;
}

.curriculum-slide {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
  display: flex;
}

/* dots */
.curriculum-slider__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 1rem;
}

.curriculum-dot {
  width: 24px;
  height: 4px;
  border-radius: 99px;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.curriculum-dot.is-active {
  background: var(--accent, #2B6BFF);
  width: 36px;
}

/* progress bar */
.curriculum-slider__progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  margin-top: 0.6rem;
  overflow: hidden;
}

.curriculum-slider__progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2B6BFF, #8DB0FF);
  border-radius: 99px;
  transition: width linear;
}

/* ----- portfolio auto-play slider ----- */
.portfolio-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.35rem) 0 clamp(1.75rem, 3.5vw, 2.75rem);
  background:
    linear-gradient(90deg, rgba(43, 107, 255, 0.10), transparent 46%),
    radial-gradient(circle at 86% 0%, rgba(141, 176, 255, 0.10), transparent 34%),
    #02070d;
  color: #fff;
}

.portfolio-showcase .container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
}

.portfolio-showcase__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.portfolio-showcase__eyebrow {
  margin: 0 0 0.1rem;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
}

.portfolio-showcase__title {
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
}

.portfolio-showcase__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.portfolio-slider__navs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.portfolio-slider__arrow {
  width: 42px;
  height: 42px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.portfolio-slider__arrow:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .38);
}

.portfolio-showcase__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 5px;
  background: var(--accent, #2B6BFF);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s ease;
}

.portfolio-showcase__btn:hover {
  opacity: 0.86;
}

/* auto-play slider container */
.portfolio-autoplay {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-autoplay__track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-aslide {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
}

.portfolio-aslide__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  border-radius: 10px;
  background: #081220;
}

@media (max-width: 767px) {
  .portfolio-aslide__inner {
    aspect-ratio: 4 / 3;
  }

  .portfolio-showcase__header {
    flex-direction: column;
  }

  .portfolio-showcase__actions {
    justify-content: space-between;
  }
}

.portfolio-aslide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-aslide.is-active .portfolio-aslide__bg {
  transform: scale(1.04);
}

.portfolio-aslide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(2, 7, 13, 0.82) 0%,
      rgba(2, 7, 13, 0.35) 55%,
      rgba(2, 7, 13, 0.72) 100%);
}

.portfolio-aslide__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 3vw, 2.2rem) clamp(1.2rem, 3.5vw, 2.8rem);
}

.portfolio-aslide__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8DB0FF;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.portfolio-aslide__title {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.portfolio-aslide.is-active .portfolio-aslide__title {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-autoplay__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 1rem;
}

.portfolio-adot {
  width: 24px;
  height: 4px;
  border-radius: 99px;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-adot.is-active {
  background: var(--accent, #2B6BFF);
  width: 36px;
}

.portfolio-autoplay__progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  margin-top: 0.6rem;
  overflow: hidden;
}

.portfolio-autoplay__progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2B6BFF, #8DB0FF);
  border-radius: 99px;
  transition: width linear;
}


/* ----- curriculum image lightbox modal ----- */

.curriculum-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.curriculum-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.curriculum-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 24, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.curriculum-lightbox__container {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.curriculum-lightbox__figure {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(960px, 90vw);
}

.curriculum-lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0a1628;
  transition: transform 0.25s ease;
}

.curriculum-lightbox__caption {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  color: #fff;
}

.curriculum-lightbox__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8DB0FF;
  background: rgba(43, 107, 255, 0.2);
  border: 1px solid rgba(43, 107, 255, 0.4);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.08em;
}

.curriculum-lightbox__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}

.curriculum-lightbox__close {
  position: absolute;
  top: -3.25rem;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.curriculum-lightbox__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

.curriculum-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  z-index: 10;
}

.curriculum-lightbox__prev {
  left: -3.75rem;
}

.curriculum-lightbox__next {
  right: -3.75rem;
}

.curriculum-lightbox__nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 768px) {
  .curriculum-lightbox__prev {
    left: -0.25rem;
  }

  .curriculum-lightbox__next {
    right: -0.25rem;
  }

  .curriculum-lightbox__close {
    top: -2.75rem;
    right: 0.25rem;
  }

  .curriculum-lightbox__title {
    font-size: 1.05rem;
  }
}

/* ----- portfolio showcase slider ----- */
.portfolio-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.35rem) 0 clamp(1.75rem, 3.5vw, 2.75rem);
  background:
    linear-gradient(90deg, rgba(43, 107, 255, 0.12), transparent 42%),
    radial-gradient(circle at 14% 0%, rgba(141, 176, 255, 0.14), transparent 34%),
    #02070d;
  color: #fff;
}

.portfolio-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .8), transparent 72%);
}

.portfolio-showcase .container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
}

.portfolio-showcase__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.portfolio-showcase__eyebrow {
  margin: 0 0 0.1rem;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
}

.portfolio-showcase__title {
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}

.portfolio-showcase__actions,
.portfolio-slider__navs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.portfolio-showcase__btn,
.portfolio-slider__arrow {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .04);
  color: #fff;
}

.portfolio-showcase__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1rem;
  border-radius: 5px;
  font: 700 0.72rem/1 "DM Sans", sans-serif;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.portfolio-showcase__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.portfolio-slider__arrow {
  width: 42px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}

.portfolio-slider__arrow:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .38);
}

.portfolio-slider__arrow[disabled] {
  opacity: .35;
  cursor: default;
}

.portfolio-slider {
  overflow: hidden;
  margin-inline: -0.15rem;
}

.portfolio-slider__track {
  display: flex;
  gap: clamp(0.55rem, 1vw, 0.9rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.15rem;
  padding: 0.15rem 0.15rem 0.6rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .34) rgba(255, 255, 255, .08);
}

.portfolio-slider__track::-webkit-scrollbar {
  height: 6px;
}

.portfolio-slider__track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
}

.portfolio-slider__track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .34);
  border-radius: 999px;
}

.portfolio-card {
  flex: 0 0 clamp(126px, 13.3vw, 176px);
  min-width: 0;
  scroll-snap-align: start;
  color: #fff;
}

.portfolio-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 7px;
}

.portfolio-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  background: #0a1628;
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .9);
}

.portfolio-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), filter .25s ease;
}

.portfolio-card:hover .portfolio-card__img,
.portfolio-card:focus-visible .portfolio-card__img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.portfolio-card__title {
  margin: 0.5rem 0 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .9);
}

@media (min-width: 1240px) {
  .portfolio-slider__track {
    overflow-x: hidden;
  }

  .portfolio-card {
    flex-basis: calc((100% - 5.4rem) / 7);
  }
}

@media (max-width: 767px) {
  .portfolio-showcase__header {
    flex-direction: column;
    align-items: stretch;
  }

  .portfolio-showcase__actions {
    justify-content: space-between;
  }

  .portfolio-card {
    flex-basis: clamp(132px, 42vw, 170px);
  }
}

@media (max-width: 479px) {
  .portfolio-showcase__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .portfolio-slider__navs {
    justify-content: flex-end;
  }

  .portfolio-showcase__btn {
    width: 100%;
  }
}

.portfolio-rail {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .portfolio-rail {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portfolio-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--paper-soft);
  transition: background .25s ease, border-color .25s ease;
}

.portfolio-item:hover {
  background: #fff;
  border-color: rgba(43, 107, 255, .3);
}

.portfolio-item__num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
}

.portfolio-item__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.portfolio-item__desc {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: var(--mute);
  line-height: 1.5;
}

/* ----- Why CJDM difference ledger ----- */
.why-ledger {
  border-top: 1px solid var(--rule);
}

.why-ledger__head {
  display: none;
}

@media (min-width: 900px) {
  .why-ledger__head {
    display: grid;
    grid-template-columns: 3.25rem 1fr 3rem 1.15fr;
    gap: 1rem;
    align-items: end;
    padding: 0.85rem 0 1rem;
    border-bottom: 1px solid var(--rule);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--mute);
  }

  .why-ledger__head-to {
    color: var(--accent);
  }
}

.why-ledger__body {
  display: flex;
  flex-direction: column;
}

.why-shift {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.why-shift__num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 0.15rem;
}

.why-shift__from,
.why-shift__to,
.why-shift__mid {
  grid-column: 2;
}

.why-shift__label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mute);
  margin-bottom: 0.35rem;
}

.why-shift__label--accent {
  color: var(--accent);
}

.why-shift__from p {
  color: var(--mute);
  font-size: 0.98rem;
  line-height: 1.45;
  text-decoration: line-through;
  text-decoration-color: rgba(10, 22, 40, 0.22);
  text-decoration-thickness: 1px;
}

.why-shift__mid {
  display: flex;
  align-items: center;
  padding: 0.15rem 0 0.35rem;
}

.why-shift__arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 107, 255, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
}

.why-shift__to p {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
}

@media (min-width: 900px) {
  .why-shift {
    grid-template-columns: 3.25rem 1fr 3rem 1.15fr;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 0;
  }

  .why-shift__num {
    grid-column: 1;
    padding-top: 0;
  }

  .why-shift__from,
  .why-shift__to,
  .why-shift__mid {
    grid-column: auto;
  }

  .why-shift__label {
    display: none;
  }

  .why-shift__mid {
    justify-content: center;
    padding: 0;
  }

  .why-shift__from p {
    font-size: 1rem;
  }

  .why-shift__to p {
    font-size: 1.12rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
  }
}

.voices-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .voices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.voice-card {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.4rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.voice-card__mark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: 0.5rem;
}

.voice-card__text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  flex: 1;
}

.voice-card__meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
}

.voice-card__meta span {
  color: var(--mute);
}

.steps-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .steps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step-card {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
  background: #fff;
  height: 100%;
  transition: border-color .25s ease, transform .25s ease;
}

.step-card:hover {
  border-color: rgba(43, 107, 255, .35);
  transform: translateY(-2px);
}

.step-card__num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(43, 107, 255, .1);
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.step-card__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.step-card__desc {
  font-size: 0.9rem;
  color: var(--mute);
  line-height: 1.45;
}

.faq-panel {
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  padding: 0.35rem 1.25rem;
}

/* ----- icon tiles ----- */
.icon-tile {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}

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

.icon-tile__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 107, 255, .1);
  color: var(--accent);
  font-size: 1.05rem;
}

.icon-tile h3 {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.icon-tile p {
  font-size: .9rem;
  color: var(--mute);
  line-height: 1.5;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .95rem 0;
  border-top: 1px solid var(--rule);
}

.skill-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.skill-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 107, 255, .1);
  color: var(--accent);
}

/* ----- comparison table ----- */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.compare th,
.compare td {
  padding: 1rem .9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

.compare th {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
}

.compare td:last-child {
  color: var(--ink);
  font-weight: 500;
}

.compare td:first-child {
  color: var(--mute);
}

/* ----- steps ----- */
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}

.step:last-child {
  border-bottom: 1px solid var(--rule);
}

.step__num {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

/* ----- FAQ ----- */
.faq-item {
  border-top: 1px solid var(--rule);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: 600 1rem/1.35 "DM Sans", sans-serif;
  color: var(--ink);
  transition: color .3s ease;
}

.faq-item__q:hover {
  color: var(--accent);
}

.faq-item__q i {
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), color .3s ease;
  color: var(--mute);
  font-size: .85rem;
}

.faq-item.is-open .faq-item__q i {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows .45s cubic-bezier(.2, .7, .2, 1),
    opacity .35s ease;
}

.faq-item.is-open .faq-item__a {
  grid-template-rows: 1fr;
  opacity: 1;
  transition:
    grid-template-rows .45s cubic-bezier(.2, .7, .2, 1),
    opacity .4s ease .05s;
}

.faq-item__a-inner {
  overflow: hidden;
  min-height: 0;
  color: var(--mute);
  font-size: .95rem;
  line-height: 1.65;
  max-width: 52rem;
}

.faq-item.is-open .faq-item__a-inner {
  padding-bottom: 1.15rem;
}

/* ----- quote ----- */
.quote {
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.quote p {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.quote__meta {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--mute);
}

/* ----- fee boxes ----- */
.fee-panel {
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.fee-panel__price {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fee-panel__price--struck,
.fee-panel__price--struck s {
  color: var(--mute);
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
  text-decoration-color: currentColor;
}

.fee-panel__strike {
  color: var(--mute);
  text-decoration: line-through;
  font-size: 1.15rem;
  margin-right: .5rem;
}

/* ----- theme grid (CPIR etc.) ----- */
.theme-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .theme-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .theme-grid--wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .theme-grid--wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

.theme-grid--wide .theme-panel {
  padding: 1.55rem 1.5rem 1.7rem;
}

.theme-panel {
  background: var(--paper-soft);
  padding: 1.4rem 1.35rem 1.5rem;
  height: 100%;
  transition: background .25s ease;
}

.theme-panel:hover {
  background: #fff;
}

.theme-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.theme-panel__num {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.theme-panel__title {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.theme-panel__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-panel__list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--mute);
}

.theme-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
  opacity: 0.75;
}

/* ----- checklist ----- */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: .85rem 1.5rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .88);
}

.check-item i {
  color: #8DB0FF;
  margin-top: .2rem;
}

/* ----- magnetic ----- */
.magnetic {
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}

/* ----- back to top ----- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45);
  transition: transform .25s ease, opacity .25s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.back-to-top[hidden] {
  display: none;
}

/* =================================================================
   SCROLL ANIMATIONS (from reachtools)
================================================================= */
.js-ready .r-up {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity .9s cubic-bezier(.2, .7, .15, 1), transform .9s cubic-bezier(.2, .7, .15, 1);
  transition-delay: var(--r-delay, 0ms);
  will-change: opacity, transform;
}

.js-ready .r-up.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js-ready .r-fade {
  opacity: 0;
  transition: opacity 1s ease-out var(--r-delay, 0ms);
}

.js-ready .r-fade.is-in {
  opacity: 1;
}

.r-line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0;
}

.js-ready .r-line>span {
  display: block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1.1s cubic-bezier(.2, .7, .15, 1);
  transition-delay: var(--r-delay, 0ms);
  will-change: transform;
}

.js-ready [data-r-split].is-in .r-line>span,
.js-ready .r-line.is-in>span {
  transform: translate3d(0, 0, 0);
}

.js-ready .r-draw {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(.77, 0, .18, 1);
  transition-delay: var(--r-delay, 0ms);
}

.js-ready .r-draw.is-in {
  transform: scaleX(1);
}

.js-ready .r-eyebrow .eyebrow__bar {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .8s cubic-bezier(.77, 0, .18, 1);
  transition-delay: var(--r-delay, 0ms);
}

.js-ready .r-eyebrow.is-in .eyebrow__bar {
  transform: scaleX(1);
}

.js-ready .r-eyebrow>*:not(.eyebrow__bar) {
  opacity: 0;
  transform: translate3d(8px, 0, 0);
  transition: opacity .7s ease-out, transform .7s cubic-bezier(.2, .7, .15, 1);
  transition-delay: calc(var(--r-delay, 0ms) + 200ms);
}

.js-ready .r-eyebrow.is-in>*:not(.eyebrow__bar) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {

  .r-up,
  .r-fade,
  .r-line>span,
  .r-draw,
  .r-eyebrow * {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .faq-item__a,
  .faq-item.is-open .faq-item__a {
    transition: none;
  }
}

/* =================================================================
   WHATSAPP FLOATING WIDGET
================================================================= */
.wa-widget {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  pointer-events: none;
}

.wa-widget>* {
  pointer-events: auto;
}

.wa-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  height: 52px;
  border-radius: 999px;
  background: #1F8268;
  color: #fff;
  font: 600 14px/1 "DM Sans", sans-serif;
  border: 0;
  cursor: pointer;
  box-shadow: 0 14px 28px -10px rgba(31, 130, 104, .55),
    0 6px 14px -6px rgba(10, 10, 10, .35);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), background .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

.wa-toggle:hover {
  background: #25A57D;
  transform: translateY(-2px);
}

.wa-toggle i {
  font-size: 22px;
}

.wa-toggle__label {
  white-space: nowrap;
}

.wa-toggle::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid rgba(31, 130, 104, .55);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: .9;
  }

  70% {
    transform: scale(1.4);
    opacity: 0;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.wa-widget.is-open .wa-toggle::before {
  display: none;
}

.wa-widget.is-open .wa-toggle {
  background: #0A0A0A;
  box-shadow: 0 14px 28px -10px rgba(10, 10, 10, .55);
  padding: 0;
  width: 52px;
  justify-content: center;
}

.wa-widget.is-open .wa-toggle i::before {
  content: "\f00d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.wa-widget.is-open .wa-toggle__label {
  display: none;
}

.wa-panel {
  width: 340px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(10, 10, 10, .45),
    0 10px 22px -10px rgba(10, 10, 10, .25);
  transform-origin: bottom left;
  transform: translateY(12px) scale(.96);
  opacity: 0;
  transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}

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

.wa-widget.is-open .wa-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wa-panel__head {
  background: linear-gradient(135deg, #0A1628 0%, #1A4FD6 100%);
  padding: 16px 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.wa-panel__brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.wa-panel__avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #1F8268;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.wa-panel__dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2ECC71;
  border: 2px solid #1F8268;
}

.wa-panel__id strong {
  display: block;
  font: 700 13px/1.2 "DM Sans", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wa-panel__id span {
  display: block;
  font-size: 13px;
  opacity: .9;
  margin-top: 3px;
  line-height: 1.35;
}

.wa-panel__close {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  font-size: 16px;
  padding: 4px 6px;
  border-radius: 6px;
}

.wa-panel__close:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.wa-panel__chat {
  min-height: 120px;
  padding: 18px 16px 22px;
  background-color: #ECE5DD;
}

.wa-bubble {
  position: relative;
  background: #fff;
  padding: 10px 12px 18px;
  border-radius: 10px 10px 10px 2px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #1c1c1c;
  max-width: 88%;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, .13);
  animation: wa-bubble-in .5s cubic-bezier(.2, .7, .2, 1) both .15s;
}

.wa-bubble__time {
  position: absolute;
  right: 10px;
  bottom: 4px;
  font-size: 10px;
  color: #667781;
}

@keyframes wa-bubble-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.wa-panel__cta {
  background: #fff;
  padding: 14px 16px 16px;
  text-align: center;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366 0%, #1F8268 100%);
  color: #fff;
  font: 600 14px/1 "DM Sans", sans-serif;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
  box-shadow: 0 8px 18px -8px rgba(37, 211, 102, .65);
}

.wa-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.wa-meta {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: #667781;
}

@media (max-width: 640px) {
  .wa-widget {
    left: max(12px, env(safe-area-inset-left, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    right: auto;
  }

  .wa-toggle__label {
    display: none;
  }

  .wa-toggle {
    padding: 0;
    width: 52px;
    justify-content: center;
  }

  .back-to-top {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
}

/* ----- footer nav (mirrors header menu) ----- */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
}

@media (min-width: 640px) {
  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
  }
}

.footer-nav__title {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
}

.footer-nav__list a {
  display: inline-block;
}

/* status pages */
.status-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
}

.status-card {
  max-width: 32rem;
  text-align: center;
}

.status-code {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.status-card h1 {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 1.75rem;
  margin: 1rem 0 .75rem;
}

.status-card p {
  color: var(--mute);
  margin-bottom: 1.5rem;
}

/* =================================================================
   RESPONSIVE — phones / tablets / small laptops
================================================================= */
@media (max-width: 1023px) {
  .section {
    padding: clamp(2.75rem, 6vw, 4.5rem) 0;
  }

  .lede {
    font-size: 1rem;
  }

  .faq-item__q {
    font-size: 0.95rem;
    gap: 0.75rem;
  }

  .faq-panel {
    padding: 0.2rem 1rem;
  }

  .theme-panel {
    padding: 1.2rem 1.1rem 1.35rem;
  }

  .theme-grid--wide .theme-panel {
    padding: 1.25rem 1.15rem 1.4rem;
  }
}

@media (max-width: 767px) {
  .header-nav__inner {
    height: 64px;
    gap: 0.65rem;
  }

  .header-mobile {
    max-height: calc(100dvh - 64px - env(safe-area-inset-bottom, 0px));
  }

  section#home.section-navy {
    padding-top: calc(5.5rem + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 3.25rem !important;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__brand {
    padding: 5.5rem 1rem 3.5rem;
  }

  .hero__word {
    font-size: clamp(2.2rem, 14vw, 4.5rem);
    letter-spacing: 0.06em;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
    gap: 0.45rem;
    flex-wrap: wrap;
  }

  .eyebrow__bar {
    width: 16px;
  }

  .facts-card {
    min-height: 0;
    padding: 1.1rem 1rem 1.2rem;
  }

  .facts-card__v {
    font-size: 0.98rem;
  }

  .curriculum-bento {
    gap: 0.65rem;
    grid-auto-rows: minmax(118px, auto);
  }

  .curriculum-bento__item {
    border-radius: 14px;
  }

  .curriculum-bento__content {
    padding: 1rem;
  }

  .portfolio-item {
    padding: 1.1rem 1rem;
    gap: 0.75rem;
  }

  .portfolio-item__title {
    font-size: 1.02rem;
  }

  .step-card {
    padding: 1.1rem 1rem;
  }

  .voice-card {
    padding: 1.2rem 1.1rem 1.3rem;
  }

  .voice-card__text {
    font-size: 0.98rem;
  }

  .why-shift {
    padding: 1.15rem 0;
  }

  .why-shift__to p {
    font-size: 1rem;
  }

  .why-shift__from p {
    font-size: 0.92rem;
  }

  .btn {
    padding: 0.9rem 1.15rem;
    font-size: 0.75rem;
    width: 100%;
    max-width: 100%;
  }

  .chip {
    white-space: normal;
    max-width: 100%;
    line-height: 1.35;
  }

  .eb-banner .container {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .fee-panel__price {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .compare {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .status-code {
    font-size: 3.25rem;
  }

  .status-page {
    padding: 6.5rem 1.25rem 3rem;
  }
}

@media (max-width: 479px) {
  .container {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .brand-logo__img {
    height: 32px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .faq-panel {
    padding: 0.1rem 0.85rem;
    border-radius: 12px;
  }

  .faq-item__q {
    font-size: 0.9rem;
    padding: 1rem 0;
  }

  .faq-item__a-inner {
    font-size: 0.9rem;
  }

  .facts-grid {
    border-radius: 12px;
  }

  .theme-grid {
    border-radius: 12px;
  }

  .voice-card {
    border-radius: 14px;
  }

  .step-card {
    border-radius: 12px;
  }

  .check-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .wa-panel {
    width: min(340px, calc(100vw - 24px));
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .btn {
    width: auto;
  }

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

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

@media (hover: none) {

  .curriculum-bento__item:hover,
  .step-card:hover,
  .portfolio-card:hover,
  .portfolio-item:hover,
  .icon-tile:hover,
  .btn:hover {
    transform: none;
  }
}

/* ----- curriculum slide grid (4 cards per slide) ----- */
.curriculum-slide__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
  width: 100%;
}

.curriculum-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #081220;
}

.curriculum-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.curriculum-card:hover .curriculum-card__bg {
  transform: scale(1.06);
}

.curriculum-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 7, 13, 0.05) 0%, rgba(2, 7, 13, 0.35) 55%, rgba(2, 7, 13, 0.88) 100%);
}

.curriculum-card__num {
  position: absolute;
  top: 0.85rem;
  left: 0.9rem;
  z-index: 1;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8db0ff;
}

.curriculum-card__title {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.85rem;
  z-index: 1;
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  line-height: 1.2;
  color: #fff;
}

@media (max-width: 1023px) {
  .curriculum-slide__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .curriculum-slide__grid {
    grid-template-columns: 1fr;
  }

  .curriculum-card {
    aspect-ratio: 16 / 10;
  }
}

/* ----- skills & tools: expanding discipline cards ----- */
.disciplines {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    linear-gradient(90deg, rgba(43, 107, 255, 0.12), transparent 42%),
    radial-gradient(circle at 14% 0%, rgba(141, 176, 255, 0.14), transparent 34%),
    #02070d;
  color: #fff;
}

.disciplines .container {
  position: relative;
  z-index: 1;
}

.disciplines__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.disciplines__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.disciplines__title {
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  color: #fff;
}

.disciplines__title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, #6fd3a6, #6fa8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.disciplines__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.disciplines__cta i {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.disciplines__cta:hover {
  border-color: var(--accent);
  background: rgba(43, 107, 255, 0.14);
  transform: translateY(-1px);
}

.disciplines__cta:hover i {
  transform: translateX(3px);
}

.disciplines-rail {
  display: flex;
  gap: 0.5rem;
  height: clamp(360px, 42vw, 500px);
}

.discipline-card {
  position: relative;
  flex: 1 1 0%;
  min-width: 58px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #0a1628;
  transition: flex-grow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.discipline-card.is-active {
  flex-grow: 6;
}

@media (hover: hover) {
  .discipline-card:hover {
    flex-grow: 6;
  }
}

.discipline-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.7);
  transform: scale(1.06);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.discipline-card.is-active .discipline-card__bg {
  filter: saturate(1) brightness(0.58);
  transform: scale(1);
}

@media (hover: hover) {
  .discipline-card:hover .discipline-card__bg {
    filter: saturate(1) brightness(0.58);
    transform: scale(1);
  }
}

.discipline-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 7, 13, 0.1) 0%, rgba(2, 7, 13, 0.3) 55%, rgba(2, 7, 13, 0.92) 100%);
}

.discipline-card__num {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
}

.discipline-card__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.72rem;
  opacity: 0;
  transform: translate(-6px, 6px) rotate(-45deg);
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

.discipline-card.is-active .discipline-card__arrow {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg);
}

@media (hover: hover) {
  .discipline-card:hover .discipline-card__arrow {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }
}

.discipline-card__label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  transition: opacity 0.3s ease;
}

.discipline-card__label span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.4vw, 1.02rem);
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.discipline-card.is-active .discipline-card__label {
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) {
  .discipline-card:hover .discipline-card__label {
    opacity: 0;
    pointer-events: none;
  }
}

.discipline-card__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem 1.7rem 1.9rem;
  min-width: 250px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.discipline-card.is-active .discipline-card__content {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .discipline-card:hover .discipline-card__content {
    opacity: 1;
    transform: translateY(0);
  }
}

.discipline-card__title {
  margin: 0 0 0.5rem;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  line-height: 1.15;
  color: #fff;
}

.discipline-card__desc {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 30ch;
}

.discipline-card__highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.discipline-card__highlight i {
  color: #6fd3a6;
  font-size: 0.75rem;
}

@media (max-width: 767px) {
  .disciplines-rail {
    flex-direction: column;
    height: auto;
    gap: 0.6rem;
  }

  .discipline-card {
    flex: none;
    height: 74px;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .discipline-card.is-active {
    height: 300px;
  }

  .discipline-card__label {
    padding-bottom: 0;
    align-items: center;
  }

  .discipline-card__label span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .disciplines__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .disciplines__cta {
    width: 100%;
    justify-content: center;
  }
}