:root {
  --red: #f20d24;
  --red-dark: #c90017;
  --ink: #09090b;
  --paper: #f4f1ec;
  --white: #fff;
  --muted: #68666a;
  --line: rgba(9, 9, 11, 0.14);
}

/* WordPress rendering bridge: preserve the source canvas without editor wrappers. */
.wp-site-blocks,
.wp-site-blocks > *,
.wp-block-unit-home-page,
.wp-block-unit-about-page,
.wp-block-unit-course-page {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.unit-source-page {
  width: 100%;
  max-width: none;
  overflow: clip;
}

[hidden] {
  display: none !important;
}

.course-card[hidden] {
  display: none !important;
}

.unit-form-status:empty {
  display: none;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--red);
  color: white;
}

.section {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(9, 9, 11, 0.94);
  color: white;
  backdrop-filter: blur(14px);
}

.brand {
  display: block;
  width: 152px;
  height: 50px;
  overflow: hidden;
  background: transparent;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer-logo-image {
  display: block;
  width: 178px;
  height: auto;
  background: transparent;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 3vw, 48px);
}

.main-nav a {
  position: relative;
  color: #c7c7ca;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 180ms ease;
}

.main-nav a:hover {
  color: white;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.menu-button,
.mobile-only {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  min-height: calc(100svh - 78px);
  padding: clamp(76px, 10vh, 120px) max(24px, calc((100vw - 1220px) / 2)) 90px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero::before {
  position: absolute;
  top: -22%;
  right: 2%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(242, 13, 36, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 160px rgba(242, 13, 36, 0.08);
  content: "";
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, black, transparent 83%);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
}

.eyebrow span {
  width: 32px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(56px, 7.1vw, 106px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-copy {
  max-width: 590px;
  margin: 32px 0 0;
  color: #b8b8bd;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: white;
}

.button-ghost:hover {
  border-color: white;
  background: white;
  color: var(--ink);
}

.age-row {
  display: flex;
  gap: 9px;
  margin-top: 44px;
}

.age-row button {
  min-width: 60px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: #aaaab0;
  font-family: Consolas, monospace;
  font-size: 11px;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.age-row button:hover,
.age-row button:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: white;
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 570px);
  height: min(66vh, 620px);
  min-height: 470px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(242, 13, 36, 0.17), transparent 47%),
    #0e0e11;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  background: var(--red);
}

.hero-visual::before {
  top: -1px;
  right: -1px;
  width: 120px;
  height: 8px;
}

.hero-visual::after {
  right: -1px;
  bottom: -1px;
  width: 8px;
  height: 120px;
}

.visual-label {
  position: absolute;
  top: 25px;
  left: 28px;
  color: #8c8c91;
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.terminal-card {
  position: absolute;
  top: 18%;
  right: 8%;
  left: 8%;
  padding-bottom: 22px;
  overflow: hidden;
  border: 1px solid #2b2b31;
  border-radius: 17px;
  background: #09090b;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid #29292e;
  background: #121216;
}

.terminal-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #414148;
}

.terminal-top i:first-child {
  background: var(--red);
}

.terminal-top span {
  margin-left: 10px;
  color: #77777e;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.terminal-card pre {
  margin: 0;
  padding: 34px 34px 26px;
  overflow: hidden;
  color: #d9d9dd;
  font-size: clamp(13px, 1.25vw, 17px);
  line-height: 1.75;
}

.terminal-card b,
.terminal-card u {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.terminal-card mark {
  background: transparent;
  color: #fff;
}

.terminal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 34px;
  padding: 9px 12px;
  background: rgba(242, 13, 36, 0.13);
  color: #ff5a6c;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.orbit-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid #3a3a40;
  border-radius: 13px;
  background: #17171b;
  color: white;
  font-family: Consolas, monospace;
  font-size: 11px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.orbit-card svg {
  color: var(--red);
}

.orbit-one {
  top: 12%;
  right: -28px;
}

.orbit-two {
  bottom: 24%;
  left: -35px;
}

.hero-logo {
  position: absolute;
  right: 3%;
  bottom: 1.2%;
  left: 3%;
  height: 96px;
  overflow: hidden;
  background: transparent;
  opacity: 1;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: max(24px, calc((100vw - 1220px) / 2));
  display: flex;
  align-items: center;
  gap: 10px;
  color: #67676d;
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.scroll-cue span {
  display: block;
  width: 32px;
  height: 1px;
  background: #67676d;
}

.intro-strip {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 330px;
  align-items: center;
  gap: 32px;
  min-height: 310px;
  border-bottom: 1px solid var(--line);
}

.intro-number {
  align-self: start;
  margin-top: 85px;
  color: #aaa6a0;
  font-family: Consolas, monospace;
  font-size: 11px;
}

.intro-strip h2,
.section-heading h2,
.formats-head h2,
.faq-title h2 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 67px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.intro-strip h2 span {
  color: #a09d98;
}

.intro-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.intro-note svg {
  flex: 0 0 auto;
  color: var(--red);
}

.intro-note p {
  margin: 0;
  color: #57555a;
  font-size: 15px;
  line-height: 1.65;
}

.courses-section,
.projects-section,
.formats-section,
.faq-section {
  padding-block: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  align-items: end;
  gap: 60px;
}

.section-heading > p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.course-filters {
  display: flex;
  gap: 8px;
  margin: 48px 0 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.course-filters button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #57555a;
  font-size: 12px;
  font-weight: 800;
}

.course-filters button.active,
.course-filters button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

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

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 465px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.course-card:hover {
  z-index: 2;
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(9, 9, 11, 0.13);
}

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

.tone-ink {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.course-index {
  position: absolute;
  top: 25px;
  right: 25px;
  color: currentColor;
  opacity: 0.35;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.course-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 48px;
  background: var(--ink);
  color: white;
}

.tone-red .course-icon {
  background: white;
  color: var(--red);
}

.tone-ink .course-icon {
  background: var(--red);
}

.course-age {
  margin-bottom: 13px;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tone-red .course-age,
.tone-ink .course-age {
  color: #ff8d9a;
}

.course-card h3 {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.course-card > p {
  margin: 0;
  color: #656269;
  font-size: 14px;
  line-height: 1.65;
}

.tone-red > p,
.tone-ink > p {
  color: rgba(255, 255, 255, 0.7);
}

.course-result {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding: 24px 0 18px;
  border-bottom: 1px solid currentColor;
  color: inherit;
}

.course-result span {
  opacity: 0.55;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-result strong {
  font-size: 12px;
}

.course-card > button,
.course-card > .course-details-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 900;
}

.course-card,
.tone-red,
.tone-ink {
  min-height: 570px;
  padding: 0 24px 24px;
  border: 2px solid var(--red);
  border-radius: 22px;
  background: white;
  color: var(--ink);
}

.course-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 65px rgba(9, 9, 11, 0.16);
}

.course-art {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  aspect-ratio: 1;
  margin: 0 -24px 25px;
  overflow: hidden;
  border-radius: 19px 19px 13px 13px;
  background-color: #ede7df;
  background-image: url("../images/course-atlas.png");
  background-repeat: no-repeat;
  background-size: 300% auto;
}

.art-junior { background-position: 0% 0%; }
.art-gamedev { background-position: 50% 0%; }
.art-frontend { background-position: 100% 0%; }
.art-ai { background-position: 0% 100%; }
.art-design { background-position: 50% 100%; }
.art-python { background-position: 100% 100%; }

.course-card .course-index {
  z-index: 3;
  top: 14px;
  right: 14px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.72);
  color: white;
  opacity: 1;
  backdrop-filter: blur(8px);
}

.course-card .course-icon,
.tone-red .course-icon,
.tone-ink .course-icon {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 14px;
  background: white;
  color: var(--red);
  box-shadow: 0 10px 28px rgba(9, 9, 11, 0.2);
}

.tone-red .course-age,
.tone-ink .course-age {
  color: var(--red);
}

.tone-red > p,
.tone-ink > p {
  color: #656269;
}

.course-card .course-result {
  border-color: var(--line);
  color: var(--ink);
}

.course-card > button,
.course-card > .course-details-link {
  color: var(--ink);
}

.approach-section {
  padding-block: 120px;
  background: var(--ink);
  color: white;
}

.approach-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(460px, 1.12fr);
  gap: 90px;
}

.section-kicker.light {
  color: #ff5c6d;
}

.approach-copy h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.approach-copy h2 em {
  color: var(--red);
  font-style: normal;
}

.approach-copy > p:not(.section-kicker) {
  max-width: 500px;
  margin: 30px 0 38px;
  color: #a9a9ae;
  font-size: 16px;
  line-height: 1.7;
}

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

.button-white:hover {
  transform: translateY(-2px);
  background: #e6e3df;
}

.method-list {
  border-top: 1px solid #333338;
}

.method-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 26px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid #333338;
  transition: padding 180ms ease, border-color 180ms ease;
}

.method-item:hover {
  padding-left: 12px;
  border-color: var(--red);
}

.method-item > span {
  color: var(--red);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.method-item h3 {
  margin: -3px 0 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.method-item p {
  max-width: 430px;
  margin: 0;
  color: #929298;
  font-size: 14px;
  line-height: 1.6;
}

.method-item > svg {
  color: #5f5f64;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 50px;
}

.project-card {
  position: relative;
  min-height: 520px;
  padding: 26px;
  overflow: hidden;
  border-radius: 22px;
}

.project-red {
  background: var(--red);
  color: white;
}

.project-white {
  border: 1px solid var(--line);
  background: white;
}

.project-dark {
  background: var(--ink);
  color: white;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.project-card h3 {
  position: absolute;
  right: 26px;
  bottom: 60px;
  left: 26px;
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.project-card > p {
  position: absolute;
  right: 26px;
  bottom: 23px;
  left: 26px;
  margin: 0;
  opacity: 0.65;
  font-size: 13px;
}

.pixel-stage {
  position: absolute;
  top: 70px;
  right: 25px;
  left: 25px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
}

.pixel-planet {
  position: absolute;
  top: 52px;
  right: 45px;
  width: 90px;
  height: 90px;
  border: 17px solid white;
  border-radius: 50%;
  box-shadow: -18px 14px 0 rgba(0, 0, 0, 0.2);
}

.pixel-ship {
  position: absolute;
  bottom: 60px;
  left: 48px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--ink);
  color: white;
  font-style: normal;
  transform: rotate(45deg);
}

.pixel-ship::first-letter {
  transform: rotate(-45deg);
}

.pixel-star {
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  box-shadow: 12px 0 white, 6px -6px white, 6px 6px white;
}

.star-a {
  top: 42px;
  left: 65px;
}

.star-b {
  right: 80px;
  bottom: 52px;
  transform: scale(0.7);
}

.phone-mock {
  position: absolute;
  top: 66px;
  left: 50%;
  width: 210px;
  height: 330px;
  padding: 38px 20px 20px;
  border: 8px solid var(--ink);
  border-radius: 29px;
  transform: translateX(-50%) rotate(4deg);
  background: #efebe6;
  box-shadow: 18px 20px 0 rgba(242, 13, 36, 0.14);
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 62px;
  height: 11px;
  border-radius: 9px;
  transform: translateX(-50%);
  background: var(--ink);
}

.phone-title {
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.phone-chart {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 120px;
  margin-top: 25px;
  padding: 12px;
  background: var(--ink);
}

.phone-chart i {
  flex: 1;
  height: 35%;
  background: var(--red);
}

.phone-chart i:nth-child(2) { height: 70%; }
.phone-chart i:nth-child(3) { height: 48%; }
.phone-chart i:nth-child(4) { height: 90%; }
.phone-chart i:nth-child(5) { height: 64%; }

.phone-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}

.phone-row span {
  height: 58px;
  border: 1px solid #c8c3bd;
  background: white;
}

.ai-mock {
  position: absolute;
  top: 80px;
  right: 25px;
  left: 25px;
  height: 290px;
}

.ai-mock::before,
.ai-mock::after {
  position: absolute;
  inset: 30px;
  border: 1px solid #333338;
  border-radius: 50%;
  content: "";
}

.ai-mock::after {
  inset: 68px;
  border-color: rgba(242, 13, 36, 0.52);
}

.ai-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  box-shadow: 0 0 70px rgba(242, 13, 36, 0.45);
}

.beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42%;
  height: 1px;
  transform-origin: left;
  background: linear-gradient(90deg, var(--red), transparent);
}

.beam-one { transform: rotate(20deg); }
.beam-two { transform: rotate(140deg); }
.beam-three { transform: rotate(250deg); }

.formats-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
  border-top: 1px solid var(--line);
}

.formats-grid {
  border-top: 0;
}

.formats-grid article {
  display: grid;
  grid-template-columns: 50px 170px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 150px;
  margin-bottom: 12px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.formats-grid span {
  color: #aaa6a0;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.formats-grid h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.formats-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.formats-grid b {
  padding: 9px 10px;
  background: var(--ink);
  border-radius: 999px;
  color: white;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.consult-section {
  position: relative;
  padding-block: 105px;
  overflow: hidden;
  background: var(--red);
  color: white;
}

.consult-noise {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, 0.13) 4px),
    linear-gradient(115deg, rgba(0, 0, 0, 0.35), transparent 44%);
}

.consult-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 80px;
  align-items: end;
}

.consult-inner h2 {
  margin: 0;
  font-size: clamp(54px, 7vw, 98px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.consult-copy > p {
  max-width: 490px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.65;
}

.button.large {
  width: 100%;
  max-width: 490px;
  min-height: 62px;
}

.consult-copy small {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 110px;
}

.faq-list {
  border-top: 0;
}

.faq-item {
  margin-bottom: 10px;
  padding-inline: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
}

.faq-item > button {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.faq-item button span {
  color: #aaa6a0;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.faq-item button strong {
  font-size: 18px;
}

.faq-item button svg {
  transition: transform 200ms ease;
}

.faq-item.is-open button svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.faq-answer p {
  max-width: 610px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding: 0 0 30px 68px;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 45px;
  align-items: center;
  padding: 70px max(24px, calc((100vw - 1220px) / 2)) 24px;
  background: var(--ink);
  color: white;
}

.footer-brand {
  font-size: 45px;
}

footer > p {
  margin: 0;
  color: #69696f;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: #a6a6ab;
  font-size: 12px;
}

footer > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--red);
  background: transparent;
  color: white;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid #2d2d32;
  color: #606066;
  font-size: 10px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(10px);
  animation: fadeIn 180ms ease both;
}

.consult-modal {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 55px;
  width: min(940px, 100%);
  padding: 54px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.4);
  animation: modalIn 240ms ease both;
}

.consult-modal::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 7px;
  content: "";
  background: var(--red);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.modal-copy h2,
.success-state h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.modal-copy > p:last-child,
.success-state > p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.consult-modal form {
  display: grid;
  gap: 16px;
}

.consult-modal label {
  display: grid;
  gap: 8px;
  color: #4f4c51;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.consult-modal input,
.consult-modal select {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #d4d0ca;
  border-radius: 12px;
  outline: none;
  background: white;
  color: var(--ink);
  font-size: 14px;
  text-transform: none;
}

.consult-modal input:focus,
.consult-modal select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(242, 13, 36, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.consult-modal .consent {
  display: flex;
  grid-template-columns: none;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: none;
}

.consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--red);
}

.form-submit {
  width: 100%;
  margin-top: 3px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-error {
  margin: 0;
  color: var(--red-dark);
  font-size: 12px;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
}

.success-state {
  grid-column: 1 / -1;
  max-width: 590px;
  padding: 25px 0;
}

.success-state .button {
  margin-top: 30px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 30px;
  background: var(--red);
  color: white;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
}

@media (max-width: 1020px) {
  body {
    padding-top: 78px;
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    grid-template-columns: auto 1fr auto;
  }

  .desktop-only {
    display: none;
  }

  .menu-button {
    display: grid;
    grid-column: 3;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #36363b;
    background: transparent;
    color: white;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 28px;
    border-top: 1px solid #29292e;
    background: var(--ink);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid #29292e;
    font-size: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
    margin-top: 20px;
  }

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

  .hero-visual {
    min-height: 420px;
  }

  .terminal-card {
    right: 5%;
    left: 5%;
  }

  .orbit-one {
    right: -5px;
  }

  .orbit-two {
    left: -5px;
  }

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

  .approach-inner {
    gap: 55px;
  }

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

  .project-card:last-child {
    grid-column: 1 / -1;
  }

  .formats-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  footer {
    grid-template-columns: auto 1fr auto;
  }

  footer > p {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 68px;
  }

  .section {
    width: min(100% - 30px, 1220px);
  }

  .site-header {
    min-height: 68px;
    padding-inline: 15px;
  }

  .main-nav {
    top: 68px;
  }

  .main-nav {
    top: 68px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 72px 15px 64px;
  }

  .hero h1 {
    font-size: clamp(53px, 15vw, 74px);
  }

  .hero-copy {
    margin-top: 25px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 30px;
  }

  .button {
    width: 100%;
  }

  .age-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 28px;
  }

  .age-row button {
    min-width: 0;
    padding-inline: 4px;
  }

  .hero-visual {
    width: 100%;
    height: 440px;
    min-height: 0;
    margin-top: 55px;
  }

  .terminal-card pre {
    padding-inline: 20px;
    font-size: 12px;
  }

  .terminal-status {
    margin-left: 20px;
  }

  .scroll-cue {
    display: none;
  }

  .intro-strip {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: auto;
    padding-block: 70px;
  }

  .intro-number {
    display: none;
  }

  .intro-note {
    padding: 25px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .courses-section,
  .projects-section,
  .formats-section,
  .faq-section,
  .approach-section {
    padding-block: 80px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .course-filters {
    margin-top: 38px;
  }

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

  .course-card {
    min-height: 430px;
  }

  .approach-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .method-item {
    grid-template-columns: 36px 1fr;
    gap: 15px;
  }

  .method-item > svg {
    display: none;
  }

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

  .project-card,
  .project-card:last-child {
    grid-column: auto;
    min-height: 480px;
  }

  .formats-grid article {
    grid-template-columns: 40px 1fr auto;
    gap: 14px;
    padding-block: 25px;
  }

  .formats-grid p {
    grid-column: 2 / -1;
  }

  .consult-section {
    padding-block: 80px;
  }

  .consult-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .consult-inner h2 {
    font-size: clamp(53px, 16vw, 78px);
  }

  .faq-item > button {
    grid-template-columns: 34px 1fr auto;
    gap: 12px;
  }

  .faq-item button strong {
    font-size: 16px;
  }

  .faq-item.is-open .faq-answer p {
    padding-left: 46px;
  }

  footer {
    grid-template-columns: 1fr auto;
    gap: 30px;
    padding: 55px 15px 25px;
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 15px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .consult-modal {
    display: block;
    padding: 44px 22px 25px;
  }

  .modal-copy {
    margin-bottom: 30px;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

/* Inner course and about pages */
.inner-page {
  min-height: 100vh;
  overflow: hidden;
  background: var(--paper);
}

.inner-header {
  position: sticky;
  z-index: 60;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: rgba(9,9,11,.95);
  color: white;
  backdrop-filter: blur(14px);
}

.inner-brand {
  display: block;
  width: 152px;
  height: 50px;
}

.inner-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.inner-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 3vw, 48px);
  color: #c7c7ca;
  font-size: 13px;
  font-weight: 700;
}

.inner-nav a:hover { color: white; }

.inner-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr);
  gap: 64px;
  min-height: 700px;
  padding: 90px max(24px, calc((100vw - 1220px) / 2));
  background: var(--ink);
  color: white;
}

.detail-hero-copy {
  align-self: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 54px;
  color: #aaa9ad;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.back-link:hover { color: white; }

.detail-kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.detail-hero h1 {
  margin: 0;
  font-size: clamp(72px, 9vw, 142px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .86;
}

.detail-summary {
  max-width: 650px;
  margin: 40px 0 16px;
  font-size: clamp(25px, 2.8vw, 42px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.detail-lead {
  max-width: 610px;
  margin: 32px 0 0;
  color: #b8b8bc;
  font-size: 16px;
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.detail-actions > span {
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #d2d2d5;
  font-size: 12px;
  font-weight: 700;
}

.detail-art {
  position: relative;
  align-self: center;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 36px;
  background-color: #17171a;
  background-image: linear-gradient(180deg, transparent 45%, rgba(9,9,11,.96)), url("../images/course-atlas.png");
  background-repeat: no-repeat;
  background-size: 100% 100%, 300% auto;
  box-shadow: 0 36px 80px rgba(0,0,0,.38);
}

.detail-art.art-junior { background-position: 0 0, 0% 0%; }
.detail-art.art-gamedev { background-position: 0 0, 50% 0%; }
.detail-art.art-frontend { background-position: 0 0, 100% 0%; }
.detail-art.art-ai { background-position: 0 0, 0% 100%; }
.detail-art.art-python { background-position: 0 0, 100% 100%; }

.detail-art span,
.detail-art strong {
  position: absolute;
  right: 38px;
  left: 38px;
}

.detail-art span {
  top: 34px;
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: .18em;
}

.detail-art strong {
  bottom: 38px;
  max-width: 420px;
  font-size: clamp(32px, 4vw, 58px);
  letter-spacing: -.05em;
  line-height: .95;
}

.detail-section {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 120px;
}

.detail-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 58px;
}

.detail-heading h2,
.diploma-section h2,
.about-diploma h2 {
  margin: 0;
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .92;
}

.detail-heading > p {
  max-width: 500px;
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.7;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.outcomes-grid article {
  position: relative;
  min-height: 265px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}

.outcomes-grid article > span {
  color: #aaa8aa;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.outcomes-grid svg {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 7px;
  border-radius: 50%;
  background: var(--red);
  color: white;
}

.outcomes-grid h3 {
  margin: 116px 0 0;
  font-size: 24px;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.roadmap-section {
  border-top: 1px solid var(--line);
}

.roadmap-list {
  border-top: 1px solid var(--ink);
}

.roadmap-list article {
  display: grid;
  grid-template-columns: 80px .7fr 1.3fr;
  gap: 30px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.roadmap-list span {
  color: var(--red);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.roadmap-list h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.035em;
}

.roadmap-list p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-result-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  padding: 0;
  background: var(--red);
  color: white;
}

.project-result-copy,
.format-facts {
  padding: 100px max(24px, calc((100vw - 1220px) / 2));
}

.project-result-copy {
  padding-right: 70px;
}

.project-result-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(58px, 7vw, 104px);
  letter-spacing: -.065em;
  line-height: .88;
}

.project-result-copy > p:last-child {
  max-width: 560px;
  margin: 34px 0 0;
  color: rgba(255,255,255,.76);
  line-height: 1.7;
}

.format-facts {
  display: grid;
  align-content: center;
  gap: 12px;
  padding-left: 70px;
  background: #c70c20;
}

.format-facts article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
}

.format-facts svg { width: 30px; height: 30px; }
.format-facts strong,.format-facts span { display: block; }
.format-facts strong { margin-bottom: 7px; font-size: 18px; }
.format-facts span { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.5; }

.diploma-section {
  display: grid;
  grid-template-columns: 100px .9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.diploma-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--red);
}

.diploma-mark svg { width: 42px; height: 42px; }
.diploma-copy { padding-left: 48px; border-left: 1px solid var(--line); }
.diploma-copy p { margin: 0 0 18px; color: var(--muted); line-height: 1.7; }

.enroll-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 110px max(24px, calc((100vw - 1220px) / 2));
  background: var(--ink);
  color: white;
}

.enroll-copy h2 {
  margin: 0;
  font-size: clamp(58px, 7vw, 105px);
  letter-spacing: -.065em;
  line-height: .88;
}

.enroll-copy > p:not(.section-kicker) {
  max-width: 520px;
  margin: 34px 0 18px;
  color: #b7b7bb;
  line-height: 1.7;
}

.enroll-copy small { display: flex; gap: 8px; align-items: center; color: #8d8d92; }
.lead-panel { align-self: center; padding: 38px; border-radius: 30px; background: white; color: var(--ink); }
.inline-lead-form { display: grid; gap: 18px; }
.inline-lead-form label { display: grid; gap: 8px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.inline-lead-form input:not([type="checkbox"]),.inline-lead-form select { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #d8d5d0; border-radius: 14px; outline: 0; background: #faf9f7; color: var(--ink); font-size: 15px; text-transform: none; }
.inline-lead-form input:focus,.inline-lead-form select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(242,13,36,.1); }
.inline-lead-form .consent { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px; color: #77747a; font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1.4; text-transform: none; }
.inline-lead-form .consent input { margin-top: 2px; accent-color: var(--red); }
.inline-lead-form .button { width: 100%; border-radius: 14px; }
.inline-success { padding: 20px 5px; }
.inline-success > span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: white; }
.inline-success h3 { margin: 28px 0 10px; font-size: 36px; letter-spacing: -.04em; }
.inline-success p { margin: 0; color: var(--muted); line-height: 1.65; }

.inner-footer .footer-contact {
  justify-self: end;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--red);
  font-size: 15px;
  font-weight: 900;
}

/* About */
.about-hero {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 80px;
  align-items: end;
  min-height: 720px;
  padding: 105px max(24px, calc((100vw - 1220px) / 2));
  background: var(--ink);
  color: white;
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(68px, 8.6vw, 132px);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .87;
}

.about-hero h1 em { color: var(--red); font-style: normal; }
.about-hero-note { padding: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: #121215; }
.about-hero-note > span { color: var(--red); font-family: Consolas, monospace; font-size: 10px; letter-spacing: .16em; }
.about-hero-note p { margin: 70px 0 35px; color: #c2c2c5; font-size: 17px; line-height: 1.75; }
.about-hero-note a { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-weight: 800; }

.about-manifesto {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 125px 90px;
}

.about-manifesto h2 {
  margin: 0;
  font-size: clamp(55px, 7.5vw, 105px);
  letter-spacing: -.065em;
  line-height: .9;
}

.about-manifesto h2 span { color: #aaa7a2; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; margin: 65px 0 0 33%; }
.manifesto-grid p { margin: 0; color: var(--muted); line-height: 1.75; }

.about-values {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto 125px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.about-values article { min-height: 285px; padding: 28px; border-right: 1px solid var(--line); background: white; }
.about-values article:last-child { border-right: 0; }
.about-values span { color: var(--red); font-family: Consolas, monospace; font-size: 10px; }
.about-values h3 { margin: 100px 0 14px; font-size: 23px; letter-spacing: -.035em; }
.about-values p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.team-section { border-top: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.team-grid article { min-height: 440px; padding: 28px; border-radius: 26px; background: white; }
.team-avatar { display: grid; place-items: center; width: 100%; height: 215px; border-radius: 18px; background: var(--ink); color: white; }
.team-avatar svg { width: 60px; height: 60px; color: var(--red); }
.team-avatar span { margin-top: 14px; font-family: Consolas, monospace; font-size: 10px; letter-spacing: .18em; }
.team-grid h3 { margin: 26px 0 10px; font-size: 25px; letter-spacing: -.04em; }
.team-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.about-process {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  padding: 120px max(24px, calc((100vw - 1220px) / 2));
  background: var(--ink);
  color: white;
}

.process-title h2 { margin: 0; font-size: clamp(56px,6vw,84px); letter-spacing: -.06em; line-height: .9; }
.process-steps { border-top: 1px solid rgba(255,255,255,.25); }
.process-steps article { display: grid; grid-template-columns: 38px 44px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.process-steps article > span { color: var(--red); font-family: Consolas, monospace; font-size: 10px; }
.process-steps svg { color: var(--red); }
.process-steps h3 { margin: 0 0 8px; font-size: 24px; }
.process-steps p { margin: 0; color: #aaaab0; line-height: 1.6; }

.about-diploma { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.diploma-visual { display: flex; flex-direction: column; min-height: 480px; padding: 40px; border: 2px solid var(--red); border-radius: 32px; background: white; box-shadow: 0 28px 70px rgba(9,9,11,.1); }
.diploma-visual svg { width: 52px; height: 52px; color: var(--red); }
.diploma-visual span { margin-top: auto; color: var(--red); font-family: Consolas, monospace; font-size: 12px; letter-spacing: .2em; }
.diploma-visual strong { margin: 12px 0 26px; font-size: 52px; letter-spacing: -.06em; line-height: .9; }
.diploma-visual small { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.about-diploma-copy > p:not(.section-kicker) { color: var(--muted); line-height: 1.75; }
.about-diploma-copy .legal-note { padding: 18px; border-radius: 16px; background: #ebe7e1; font-size: 13px; }

@media (max-width: 1020px) {
  .detail-hero { grid-template-columns: 1fr; }
  .detail-art { min-height: 430px; }
  .outcomes-grid,.about-values { grid-template-columns: repeat(2,1fr); }
  .project-result-section,.enroll-section,.about-hero,.about-process,.about-diploma { grid-template-columns: 1fr; }
  .project-result-copy,.format-facts { padding: 85px 40px; }
  .diploma-section { grid-template-columns: 90px 1fr; }
  .diploma-copy { grid-column: 2; }
  .about-hero { min-height: auto; }
  .manifesto-grid { margin-left: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid article { min-height: auto; }
  .team-avatar { height: 245px; }
}

@media (max-width: 720px) {
  .inner-header { min-height: 68px; padding-inline: 15px; }
  .inner-brand { width: 118px; }
  .inner-nav { display: none; }
  .inner-cta { padding: 11px 14px; font-size: 11px; }
  .detail-hero,.about-hero { padding: 62px 15px 70px; gap: 42px; }
  .back-link { margin-bottom: 40px; }
  .detail-hero h1 { font-size: clamp(62px,21vw,92px); }
  .detail-summary { font-size: 28px; }
  .detail-art { min-height: 340px; border-radius: 24px; }
  .detail-art strong { right: 24px; bottom: 25px; left: 24px; }
  .detail-art span { top: 24px; right: 24px; left: 24px; }
  .detail-section { width: min(100% - 30px,1220px); padding-block: 78px; }
  .detail-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 40px; }
  .detail-heading h2,.diploma-section h2,.about-diploma h2 { font-size: 50px; }
  .outcomes-grid,.about-values { grid-template-columns: 1fr; }
  .outcomes-grid article { min-height: 220px; }
  .outcomes-grid h3 { margin-top: 85px; }
  .roadmap-list article { grid-template-columns: 44px 1fr; gap: 15px; }
  .roadmap-list p { grid-column: 2; }
  .project-result-copy,.format-facts { padding: 70px 15px; }
  .format-facts { padding-top: 0; }
  .project-result-copy h2,.enroll-copy h2 { font-size: 57px; }
  .diploma-section { grid-template-columns: 1fr; gap: 24px; }
  .diploma-copy { grid-column: auto; padding: 25px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .enroll-section { gap: 48px; padding: 75px 15px; }
  .lead-panel { padding: 24px 18px; border-radius: 22px; }
  .inner-footer { grid-template-columns: 1fr auto; }
  .inner-footer .footer-contact { justify-self: end; }
  .about-hero h1 { font-size: clamp(58px,18vw,86px); }
  .about-hero-note { padding: 25px; }
  .about-hero-note p { margin-top: 45px; }
  .about-manifesto { width: calc(100% - 30px); padding-block: 75px 60px; }
  .about-manifesto h2 { font-size: 52px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .about-values { width: calc(100% - 30px); margin-bottom: 75px; }
  .about-values article { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-values h3 { margin-top: 70px; }
  .about-process { gap: 55px; padding: 75px 15px; }
  .process-steps article { grid-template-columns: 32px 1fr; }
  .process-steps svg { display: none; }
  .diploma-visual { min-height: 390px; padding: 28px; }
  .diploma-visual strong { font-size: 44px; }
}

/* Calmer typography scale for content pages */
.detail-hero h1 {
  font-size: clamp(60px, 7vw, 108px);
}

.detail-summary {
  font-size: clamp(22px, 2.2vw, 32px);
}

.detail-heading h2,
.diploma-section h2,
.about-diploma h2 {
  font-size: clamp(44px, 4.8vw, 68px);
}

.project-result-copy h2,
.enroll-copy h2 {
  font-size: clamp(50px, 5.4vw, 80px);
}

.about-hero h1 {
  font-size: clamp(50px, 5.2vw, 80px);
}

.about-manifesto h2 {
  font-size: clamp(44px, 4.6vw, 68px);
}

.process-title h2 {
  font-size: clamp(48px, 5vw, 70px);
}

@media (max-width: 720px) {
  .detail-hero h1,
  .about-hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .detail-heading h2,
  .diploma-section h2,
  .about-diploma h2 {
    font-size: 42px;
  }

  .project-result-copy h2,
  .enroll-copy h2,
  .process-title h2 {
    font-size: 48px;
  }

  .about-manifesto h2 {
    font-size: 42px;
  }

  .about-hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }
}

/* Teacher carousel */
.teacher-section {
  border-top: 1px solid var(--line);
}

.teacher-carousel {
  min-width: 0;
}

.teacher-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.teacher-controls p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.teacher-controls > div {
  display: flex;
  gap: 9px;
}

.teacher-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.teacher-controls button:hover {
  transform: translateY(-2px);
  background: var(--red);
  color: white;
}

.teacher-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 31.5%);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #dedad4;
}

.teacher-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  scroll-snap-align: start;
}

.teacher-photo {
  aspect-ratio: 3 / 4;
  background-image: url("../images/teacher-atlas.png");
  background-repeat: no-repeat;
  background-size: 400% 100%;
}

.teacher-photo-one { background-position: 0% 0; }
.teacher-photo-two { background-position: 33.333% 0; }
.teacher-photo-three { background-position: 66.666% 0; }
.teacher-photo-four { background-position: 100% 0; }

.teacher-card-copy {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 24px;
  border-top: 3px solid var(--red);
}

.teacher-card-copy > span {
  padding-top: 5px;
  color: var(--red);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.teacher-card h3 {
  margin: 0 0 6px;
  font-size: 27px;
  letter-spacing: -.04em;
}

.teacher-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.teacher-placeholder-note {
  display: block;
  margin-top: 12px;
  color: #929095;
  font-size: 11px;
}

@media (max-width: 720px) {
  .teacher-track {
    grid-auto-columns: 84%;
  }

  .teacher-controls p {
    max-width: 150px;
  }

  .teacher-card-copy {
    padding: 20px;
  }
}

/* Course dropdown in the shared navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c7c7ca;
  font-size: 13px;
  font-weight: 700;
}

.nav-dropdown-trigger svg {
  transition: transform 180ms ease;
}

.nav-dropdown.is-open .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: white;
}

.nav-dropdown.is-open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 24px);
  left: 50%;
  display: grid;
  width: 330px;
  padding: 10px;
  border: 1px solid #333338;
  border-radius: 22px;
  opacity: 0;
  background: #151518;
  box-shadow: 0 24px 65px rgba(0,0,0,.42);
  transform: translate(-50%, 10px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

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

.nav-dropdown-menu a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 13px;
  color: white;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: #242429;
}

.nav-dropdown-menu strong {
  font-size: 14px;
}

.nav-dropdown-menu span {
  color: #85858a;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
}

.nav-dropdown-menu .nav-all-courses {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  border-top: 1px solid #333338;
  border-radius: 0 0 13px 13px;
  color: #ff7180;
}

@media (min-width: 1021px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
  }
}

/* Graphic fillers for the About page */
.about-hero-main {
  align-self: end;
}

.hero-tech-map {
  position: relative;
  height: 190px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background-color: #111116;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), radial-gradient(circle at 50% 50%, rgba(242,13,36,.18), transparent 42%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
}

.tech-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 18px rgba(242,13,36,.08), 0 0 55px rgba(242,13,36,.24);
}

.tech-core span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.tech-core span:nth-child(1) { transform: translate(-16px,-8px); }
.tech-core span:nth-child(2) { transform: translate(16px,-8px); }
.tech-core span:nth-child(3) {
  width: 32px;
  height: 15px;
  border-bottom: 3px solid var(--red);
  border-radius: 0 0 50% 50%;
  background: transparent;
  transform: translateY(9px);
}

.tech-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 15px;
  background: #1b1b20;
  color: white;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.tech-node svg { width: 21px; color: var(--red); }
.node-a { top: 26px; left: 11%; }
.node-b { right: 12%; bottom: 23px; }
.node-c { right: 21%; top: 22px; }
.node-d { left: 20%; bottom: 21px; }

.tech-map-line {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(242,13,36,.1), rgba(242,13,36,.8), rgba(242,13,36,.1));
  transform-origin: left center;
}

.line-a { width: 42%; transform: rotate(-20deg); }
.line-b { width: 38%; transform: rotate(158deg); }
.line-c { width: 33%; transform: rotate(31deg); }

.process-visual {
  position: relative;
  min-height: 235px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 28px;
  background: radial-gradient(circle at 72% 44%, rgba(242,13,36,.22), transparent 30%), #111115;
}

.process-window {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 76%;
  height: 174px;
  overflow: hidden;
  border: 1px solid #3b3b42;
  border-radius: 17px;
  background: #09090b;
  box-shadow: 0 18px 45px rgba(0,0,0,.38);
}

.process-window-top {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid #2f2f34;
  background: #19191d;
}

.process-window-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #616168;
}

.process-window-top i:first-child { background: var(--red); }

.process-code-shape {
  display: grid;
  gap: 10px;
  width: 48%;
  padding: 26px 18px;
}

.process-code-shape span {
  height: 7px;
  border-radius: 999px;
  background: #494951;
}

.process-code-shape span:nth-child(1),
.process-code-shape span:nth-child(3) { width: 72%; background: var(--red); }
.process-code-shape span:nth-child(2) { width: 96%; }
.process-code-shape span:nth-child(4) { width: 55%; }

.process-grid-shape {
  position: absolute;
  top: 52px;
  right: 22px;
  display: grid;
  grid-template-columns: repeat(3,24px);
  gap: 8px;
}

.process-grid-shape i {
  width: 24px;
  height: 24px;
  border: 1px solid #46464d;
  border-radius: 7px;
}

.process-grid-shape i:nth-child(2),
.process-grid-shape i:nth-child(6) { border-color: var(--red); background: rgba(242,13,36,.16); }

.process-badge {
  position: absolute;
  right: 23px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 21px;
  background: var(--red);
  color: white;
  box-shadow: 0 15px 35px rgba(242,13,36,.3);
}

.process-badge svg { width: 30px; height: 30px; }
.process-orbit { position: absolute; border: 1px solid rgba(242,13,36,.25); border-radius: 50%; }
.process-orbit.orbit-a { right: -55px; bottom: -70px; width: 210px; height: 210px; }
.process-orbit.orbit-b { right: -18px; bottom: -32px; width: 130px; height: 130px; }

@media (max-width: 1020px) {
  .nav-dropdown-trigger {
    justify-content: space-between;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #29292e;
    font-size: 15px;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    padding: 6px 0 10px 16px;
    border: 0;
    border-bottom: 1px solid #29292e;
    border-radius: 0;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    transform: none;
  }

  .main-nav .nav-dropdown-menu a {
    padding: 11px 10px;
    border-bottom: 0;
    border-radius: 10px;
    font-size: 13px;
  }

  .nav-dropdown-menu .nav-all-courses {
    border-top: 1px solid #29292e;
  }
}

@media (max-width: 720px) {
  .hero-tech-map {
    height: 150px;
    margin-top: 24px;
    border-radius: 21px;
  }

  .tech-node { width: 42px; height: 42px; }
  .node-a { left: 7%; }
  .node-c { right: 8%; }
  .node-b { right: 8%; }
  .process-visual { min-height: 210px; margin-top: 32px; }
  .process-window { top: 22px; left: 18px; width: 80%; height: 155px; }
  .process-grid-shape { display: none; }
  .process-code-shape { width: 82%; }
  .process-badge { right: 16px; bottom: 16px; width: 58px; height: 58px; }
}

/* Complete responsive pass */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  .section {
    width: min(100% - 40px, 1220px);
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 72px 20px 76px;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 720px);
    height: 500px;
    margin: 58px auto 0;
  }

  .intro-strip {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding-block: 76px;
  }

  .intro-number {
    display: none;
  }

  .intro-note {
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .detail-hero {
    gap: 44px;
    min-height: 0;
    padding: 72px 24px 80px;
  }

  .detail-hero-copy,
  .detail-art {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .about-hero {
    gap: 44px;
    padding: 76px 24px;
  }

  .about-hero-main,
  .about-hero-note {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .teacher-track {
    grid-auto-columns: minmax(280px, 48%);
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 68px;
  }

  .section {
    width: calc(100% - 28px);
  }

  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .brand {
    width: 120px;
    height: 44px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .main-nav {
    top: 68px;
    max-height: calc(100dvh - 68px);
    padding: 10px 14px 22px;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,.48);
  }

  .main-nav > a,
  .nav-dropdown-trigger {
    min-height: 50px;
    padding: 14px 4px;
    font-size: 15px;
  }

  .main-nav .nav-cta.mobile-only {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    margin-top: 14px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
  }

  .nav-dropdown-menu {
    padding-left: 8px;
  }

  .main-nav .nav-dropdown-menu a {
    min-height: 44px;
    padding: 10px 8px;
  }

  .hero {
    padding: 54px 14px 58px;
  }

  .hero::before {
    top: -80px;
    right: -180px;
    width: 430px;
    height: 430px;
  }

  .hero-grid {
    background-size: 44px 44px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(44px, 13.8vw, 60px);
    line-height: .93;
    text-wrap: pretty;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .button {
    min-height: 50px;
    padding-inline: 18px;
  }

  .age-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 24px;
  }

  .age-row button {
    width: 100%;
    min-height: 42px;
    padding: 0 8px;
  }

  .hero-visual {
    height: 350px;
    margin-top: 40px;
    border-radius: 22px;
  }

  .visual-label {
    top: 18px;
    left: 18px;
  }

  .terminal-card {
    top: 16%;
    right: 5%;
    left: 5%;
    padding-bottom: 15px;
  }

  .terminal-top {
    height: 38px;
    padding-inline: 12px;
  }

  .terminal-card pre {
    padding: 22px 18px 17px;
    font-size: 11px;
    line-height: 1.58;
  }

  .terminal-status {
    margin-left: 18px;
    padding: 7px 9px;
    font-size: 9px;
  }

  .orbit-card,
  .hero-logo {
    display: none;
  }

  .intro-strip {
    gap: 22px;
    padding-block: 62px;
  }

  .intro-strip h2,
  .section-heading h2,
  .formats-head h2,
  .faq-title h2 {
    font-size: clamp(36px, 11vw, 46px);
    line-height: .98;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 16px;
  }

  .intro-note p,
  .section-heading > p {
    font-size: 14px;
  }

  .courses-section,
  .projects-section,
  .formats-section,
  .faq-section,
  .approach-section {
    padding-block: 64px;
  }

  .course-filters {
    margin: 30px 0 20px;
    padding-bottom: 2px;
  }

  .course-filters button {
    min-height: 44px;
    padding-inline: 16px;
  }

  .course-grid {
    gap: 14px;
  }

  .course-card,
  .tone-red,
  .tone-ink {
    min-height: 0;
    padding: 0 18px 20px;
    border-radius: 20px;
  }

  .course-art {
    height: auto;
    margin: 0 -18px 22px;
    border-radius: 18px 18px 12px 12px;
  }

  .course-card h3 {
    font-size: 29px;
  }

  .course-card > p {
    font-size: 13px;
  }

  .course-result {
    margin-top: 30px;
  }

  .approach-inner {
    gap: 44px;
  }

  .approach-copy h2 {
    font-size: clamp(43px, 13vw, 55px);
  }

  .approach-copy > p {
    font-size: 15px;
  }

  .method-item {
    padding-block: 22px;
  }

  .method-item h3 {
    font-size: 23px;
  }

  .project-grid {
    gap: 14px;
  }

  .project-card,
  .project-card:last-child {
    min-height: 420px;
    border-radius: 22px;
  }

  .formats-grid article {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding-block: 22px;
  }

  .formats-grid p,
  .formats-grid b {
    grid-column: 2;
  }

  .formats-grid b {
    justify-self: start;
  }

  .consult-section {
    padding-block: 64px;
  }

  .consult-inner {
    gap: 32px;
  }

  .consult-inner h2 {
    font-size: clamp(44px, 14vw, 58px);
  }

  .consult-copy > p {
    font-size: 15px;
  }

  .faq-item > button {
    grid-template-columns: 28px 1fr auto;
    min-height: 72px;
    padding-block: 18px;
  }

  .faq-item button strong {
    font-size: 15px;
    line-height: 1.35;
  }

  .faq-item.is-open .faq-answer p {
    padding: 0 0 22px 40px;
    font-size: 14px;
  }

  footer,
  .inner-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 14px 24px;
  }

  .footer-logo-image {
    width: 145px;
  }

  .footer-links {
    grid-column: 1;
    grid-row: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 22px;
  }

  footer > button,
  .inner-footer .footer-contact {
    justify-self: start;
  }

  .footer-bottom {
    margin-top: 12px;
  }

  .modal-backdrop {
    place-items: end stretch;
    padding: 8px;
  }

  .consult-modal {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 44px 18px 22px;
    overflow-y: auto;
    border-radius: 26px 26px 16px 16px;
  }

  .modal-copy h2 {
    font-size: 42px;
  }

  .modal-copy > p:last-child {
    font-size: 14px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .consult-modal input,
  .consult-modal select {
    min-height: 50px;
  }

  /* Course pages */
  .detail-hero {
    gap: 32px;
    padding: 54px 14px 64px;
  }

  .detail-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(46px, 14.5vw, 64px);
    line-height: .9;
  }

  .detail-lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.6;
  }

  .detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 26px;
  }

  .detail-actions .button {
    grid-column: 1 / -1;
  }

  .detail-actions > span {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 8px 10px;
    text-align: center;
  }

  .detail-art {
    aspect-ratio: 1;
    min-height: 0;
    border-radius: 22px;
  }

  .detail-art span {
    top: 20px;
    right: 20px;
    left: 20px;
  }

  .detail-art strong {
    right: 20px;
    bottom: 24px;
    left: 20px;
    font-size: clamp(30px, 10vw, 43px);
  }

  .detail-section {
    width: calc(100% - 28px);
    padding-block: 64px;
  }

  .detail-heading {
    gap: 20px;
    margin-bottom: 34px;
  }

  .detail-heading h2,
  .diploma-section h2,
  .about-diploma h2 {
    font-size: clamp(37px, 11vw, 44px);
    line-height: .95;
  }

  .detail-heading > p {
    font-size: 14px;
  }

  .outcomes-grid {
    gap: 10px;
  }

  .outcomes-grid article {
    min-height: 185px;
    padding: 20px;
    border-radius: 20px;
  }

  .outcomes-grid svg {
    top: 18px;
    right: 18px;
  }

  .outcomes-grid h3 {
    margin-top: 72px;
    font-size: 21px;
  }

  .roadmap-list article {
    grid-template-columns: 36px 1fr;
    gap: 10px 12px;
    padding-block: 24px;
  }

  .roadmap-list h3 {
    font-size: 22px;
  }

  .roadmap-list p {
    grid-column: 2;
    font-size: 14px;
  }

  .project-result-copy,
  .format-facts {
    padding: 60px 14px;
  }

  .project-result-copy h2,
  .enroll-copy h2 {
    overflow-wrap: anywhere;
    font-size: clamp(42px, 12.5vw, 52px);
    line-height: .92;
  }

  .project-result-copy > p:last-child {
    margin-top: 24px;
    font-size: 14px;
  }

  .format-facts {
    gap: 10px;
    padding-top: 0;
  }

  .format-facts article {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 17px;
  }

  .format-facts svg {
    width: 25px;
    height: 25px;
  }

  .diploma-section {
    gap: 22px;
  }

  .diploma-mark {
    width: 70px;
    height: 70px;
    border-radius: 22px;
  }

  .diploma-mark svg {
    width: 32px;
    height: 32px;
  }

  .diploma-copy {
    padding-top: 22px;
  }

  .diploma-copy p {
    font-size: 14px;
  }

  .enroll-section {
    gap: 38px;
    padding: 64px 14px;
  }

  .enroll-copy > p:not(.section-kicker) {
    margin-top: 24px;
    font-size: 14px;
  }

  .lead-panel {
    padding: 22px 16px;
    border-radius: 21px;
  }

  .inline-lead-form {
    gap: 15px;
  }

  .inline-lead-form input:not([type="checkbox"]),
  .inline-lead-form select {
    min-height: 50px;
  }

  /* About page */
  .about-hero {
    gap: 32px;
    padding: 54px 14px 64px;
  }

  .about-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(43px, 13vw, 56px);
    line-height: .92;
  }

  .hero-tech-map {
    height: 140px;
    margin-top: 24px;
  }

  .about-hero-note {
    padding: 22px;
    border-radius: 21px;
  }

  .about-hero-note p {
    margin: 36px 0 28px;
    font-size: 15px;
  }

  .about-manifesto {
    width: calc(100% - 28px);
    padding-block: 64px 54px;
  }

  .about-manifesto h2 {
    overflow-wrap: anywhere;
    font-size: clamp(37px, 11vw, 44px);
    line-height: .95;
  }

  .manifesto-grid {
    gap: 18px;
    margin-top: 32px;
  }

  .manifesto-grid p {
    font-size: 14px;
  }

  .about-values {
    width: calc(100% - 28px);
    margin-bottom: 64px;
    border-radius: 22px;
  }

  .about-values article {
    min-height: 190px;
    padding: 22px;
  }

  .about-values h3 {
    margin-top: 52px;
    font-size: 21px;
  }

  .team-grid {
    gap: 12px;
  }

  .team-grid article {
    padding: 18px;
    border-radius: 21px;
  }

  .team-avatar {
    height: 190px;
  }

  .team-grid h3 {
    font-size: 23px;
  }

  .teacher-track {
    grid-auto-columns: 86%;
    gap: 12px;
  }

  .teacher-card {
    border-radius: 21px;
  }

  .teacher-controls button {
    width: 44px;
    height: 44px;
  }

  .about-process {
    gap: 40px;
    padding: 64px 14px;
  }

  .process-title h2 {
    font-size: clamp(41px, 12vw, 50px);
  }

  .process-visual {
    min-height: 195px;
    margin-top: 28px;
    border-radius: 21px;
  }

  .process-window {
    height: 145px;
  }

  .process-steps article {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    padding-block: 22px;
  }

  .process-steps h3 {
    font-size: 21px;
  }

  .process-steps p {
    font-size: 14px;
  }

  .about-diploma {
    gap: 36px;
  }

  .diploma-visual {
    min-height: 340px;
    padding: 24px;
    border-radius: 24px;
  }

  .diploma-visual strong {
    font-size: 40px;
  }

  .about-diploma-copy > p:not(.section-kicker) {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 42px;
  }

  .detail-hero h1 {
    font-size: 43px;
  }

  .about-hero h1 {
    font-size: 41px;
  }

  .intro-strip h2,
  .section-heading h2,
  .formats-head h2,
  .faq-title h2,
  .detail-heading h2,
  .diploma-section h2,
  .about-diploma h2,
  .about-manifesto h2 {
    font-size: 35px;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }

  .detail-actions .button {
    grid-column: 1;
  }

  .course-art {
    height: auto;
  }

  .teacher-track {
    grid-auto-columns: 91%;
  }

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

@media (hover: none) {
  .course-card:hover,
  .teacher-controls button:hover,
  .button:hover {
    transform: none;
  }
}

/* Mobile project cards: illustration and copy use separate flow rows */
@media (max-width: 600px) {
  .project-card,
  .project-card:last-child {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 20px;
  }

  .project-meta {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
  }

  .pixel-stage,
  .phone-mock,
  .ai-mock {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    flex: 0 0 auto;
    margin: 26px auto 24px;
  }

  .pixel-stage {
    width: 100%;
    height: 235px;
  }

  .pixel-planet {
    top: 34px;
    right: 28px;
    width: 72px;
    height: 72px;
    border-width: 13px;
  }

  .pixel-ship {
    bottom: 40px;
    left: 32px;
    width: 54px;
    height: 54px;
  }

  .phone-mock {
    width: min(190px, 78vw);
    height: 260px;
    padding: 34px 17px 17px;
    border-width: 7px;
    transform: rotate(3deg);
  }

  .phone-row {
    display: none;
  }

  .phone-title {
    font-size: 21px;
  }

  .ai-mock {
    width: 100%;
    height: 235px;
  }

  .ai-mock::before {
    inset: 20px;
  }

  .ai-mock::after {
    inset: 52px;
  }

  .ai-core {
    width: 72px;
    height: 72px;
  }

  .project-card h3,
  .project-card > p {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .project-card h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.02;
  }

  .project-card > p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .project-card,
  .project-card:last-child {
    padding: 18px;
  }

  .pixel-stage,
  .ai-mock {
    height: 215px;
  }

  .phone-mock {
    width: 178px;
    height: 246px;
  }
}
