@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3efe7;
  --ink: #1e1b19;
  --orange: #ef5d36;
  --blue: #43bbb3;
  --lime: #d3f34c;
  --wine: #6d3036;
  --white: #fffdf8;
  --line: rgba(30, 27, 25, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family: "Onest", Arial, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

.shell {
  width: min(1440px, 94vw);
  margin-inline: auto;
}

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--white);
  border-radius: 10px;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.index,
.kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  min-width: 260px;
  min-height: 62px;
  padding: 0 23px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.button b {
  font-size: 20px;
}

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

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(30, 27, 25, 0.12);
}

.brand {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.brand-logo img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-logo span {
  font-size: 15px;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 13px;
}

.primary-navigation > a,
.primary-navigation .primary-menu > li > a,
.nav-dropdown > button {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.primary-navigation > a:hover,
.primary-navigation .primary-menu > li > a:hover,
.nav-dropdown > button:hover {
  border-color: var(--orange);
}

.primary-menu,
.primary-menu ul,
.mobile-menu-list,
.mobile-menu-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 42px;
}

.primary-menu .menu-item-has-children {
  position: relative;
}

.primary-menu .sub-menu,
.nav-dropdown > div {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  left: -22px;
  width: 290px;
  padding: 12px;
  border: 1px solid rgba(30, 27, 25, 0.12);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(30, 27, 25, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu,
.nav-dropdown:hover > div,
.nav-dropdown:focus-within > div,
.nav-dropdown.is-open > div {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.primary-menu .sub-menu a,
.nav-dropdown > div > a,
.nav-dropdown > div > span {
  min-height: 48px;
  padding: 12px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.primary-menu .sub-menu a:hover,
.nav-dropdown > div > a:hover {
  background: var(--paper);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button span {
  margin-left: 5px;
  font-size: 10px;
}

.nav-dropdown > div > span {
  color: rgba(30, 27, 25, 0.48);
}

.nav-dropdown small,
.mobile-nav small {
  padding: 3px 7px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-size: 8px;
  text-transform: uppercase;
}

.round-link {
  justify-self: end;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.round-link:hover {
  background: var(--ink);
  color: var(--white);
  transform: rotate(9deg);
}

.mobile-nav {
  display: none;
  position: relative;
  justify-self: end;
}

.mobile-nav summary {
  padding: 11px 15px;
  border: 1px solid rgba(30, 27, 25, 0.22);
  border-radius: 50px;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav > div {
  position: absolute;
  z-index: 70;
  top: 52px;
  right: 0;
  width: min(310px, 88vw);
  padding: 12px;
  border: 1px solid rgba(30, 27, 25, 0.12);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(30, 27, 25, 0.18);
}

.mobile-nav a,
.mobile-nav span,
.mobile-menu-list a {
  min-height: 46px;
  padding: 11px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.mobile-nav a:hover,
.mobile-menu-list a:hover {
  background: var(--paper);
}

.mobile-nav > div > span {
  color: rgba(30, 27, 25, 0.48);
}

.mobile-menu-list .sub-menu {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

/* Hero */
.hero {
  min-height: calc(100vh - 104px);
  padding: 55px 0;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 4vw;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kicker span {
  width: 50px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  margin: 35px 0 55px;
  font-size: clamp(60px, 7.3vw, 116px);
  font-weight: 520;
  line-height: 0.93;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero h1 em,
.contact h2 em {
  color: var(--orange);
  font-style: normal;
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 6vw;
}

.hero-bottom p {
  max-width: 430px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.hero-orbit {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(30, 27, 25, 0.18);
  border-radius: 50%;
}

.orbit-a {
  inset: 4%;
  animation: lvc-spin 30s linear infinite;
}

.orbit-a::before,
.orbit-a::after {
  position: absolute;
  content: "";
  top: 12%;
  left: 8%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
}

.orbit-a::after {
  top: 58%;
  right: 3%;
  left: auto;
  width: 25px;
  height: 25px;
  background: var(--lime);
}

.orbit-b {
  inset: 21%;
  border-style: dashed;
  animation: lvc-spin 22s linear infinite reverse;
}

.orbit-core {
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.08em;
}

.orbit-label {
  position: absolute;
  padding: 9px 14px;
  border: 1px solid rgba(30, 27, 25, 0.25);
  border-radius: 50px;
  background: var(--paper);
  font-size: 11px;
  text-transform: uppercase;
}

.label-a { top: 5%; right: 23%; }
.label-b { bottom: 9%; left: 4%; }
.label-c { top: 44%; right: 0; }

@keyframes lvc-spin {
  to { transform: rotate(360deg); }
}

/* Manifesto */
.manifesto {
  padding: 100px 8vw;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.manifesto > p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
}

.manifesto h2 {
  max-width: 1250px;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 86px);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.manifesto-grid {
  margin-top: 75px;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 2vw;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.manifesto-grid > p,
.manifesto-grid > div {
  margin: 0;
  padding: 30px 25px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.manifesto-grid > p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 17px;
  line-height: 1.55;
}

.manifesto-grid > div:last-child {
  border-right: 0;
}

.manifesto-grid strong {
  display: block;
  margin-bottom: 40px;
  color: var(--lime);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 540;
  letter-spacing: -0.055em;
}

.manifesto-grid span {
  display: block;
  max-width: 330px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.55;
}

/* Atlas */
.atlas,
.news {
  padding: 120px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 8vw;
  align-items: end;
}

.section-head h2,
.status h2 {
  margin: 20px 0 0;
  font-size: clamp(56px, 6.5vw, 100px);
  font-weight: 520;
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.section-head > p,
.status-heading > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.atlas-stage {
  margin-top: 85px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: center;
}

.atlas-wheel {
  position: relative;
  width: min(650px, 46vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    var(--orange) 0 20%,
    var(--blue) 20% 40%,
    var(--lime) 40% 60%,
    var(--wine) 60% 80%,
    #c9c1b4 80%
  );
  box-shadow: inset 0 0 0 2px var(--paper);
}

.atlas-wheel::after {
  position: absolute;
  inset: 22%;
  content: "";
  border-radius: 50%;
  background: var(--paper);
}

.wheel-center {
  position: absolute;
  z-index: 2;
  inset: 31%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: 0 15px 50px rgba(30, 27, 25, 0.1);
}

.wheel-center img {
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.wheel-number {
  position: absolute;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.wheel-1 { top: 8%; right: 24%; }
.wheel-2 { right: 4%; bottom: 31%; }
.wheel-3 { bottom: 3%; left: 39%; }
.wheel-4 { bottom: 32%; left: 5%; }
.wheel-5 { top: 12%; left: 15%; }

.atlas-list article {
  min-height: 112px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.atlas-list article:nth-last-of-type(1) {
  border-bottom: 1px solid var(--line);
}

.atlas-list article > span {
  font-size: 11px;
  font-weight: 700;
}

.atlas-list h3 {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.025em;
}

.atlas-list p {
  max-width: 550px;
  margin: 0;
  color: rgba(30, 27, 25, 0.58);
  font-size: 13px;
  line-height: 1.45;
}

.atlas-list article > a {
  font-size: 20px;
}

.atlas-list article:hover h3 {
  color: var(--orange);
}

.vacancy-submit {
  min-height: 60px;
  margin-top: 20px;
  padding: 0 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

/* Leader */
.leader {
  min-height: 760px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  background: var(--blue);
}

.leader-portrait {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.leader-portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.leader-portrait small {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: 25px;
  padding: 10px 14px;
  border-radius: 40px;
  background: var(--white);
}

.leader-copy {
  padding: 90px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader blockquote {
  max-width: 850px;
  margin: 60px 0;
  font-size: clamp(32px, 4vw, 62px);
  font-weight: 480;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.signature {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.signature span {
  font-size: 13px;
  opacity: 0.65;
}

.leader-link {
  width: max-content;
  margin-top: 28px;
  padding-bottom: 6px;
  border-bottom: 1px solid;
  font-size: 13px;
  font-weight: 600;
}

.leader-link b {
  margin-left: 22px;
}

/* Legal status */
.status {
  padding: 120px 0;
}

.status-heading {
  margin-top: 35px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 8vw;
  align-items: end;
}

.status-heading > p {
  max-width: 480px;
}

.status-cards {
  margin-top: 70px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.6fr);
  gap: 22px;
}

.status-card {
  min-width: 0;
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.status-card small {
  display: block;
  color: rgba(30, 27, 25, 0.52);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-card h3 {
  margin: 18px 0 0;
  font-weight: 520;
  letter-spacing: -0.04em;
}

.status-card p {
  margin: 18px 0 0;
  color: rgba(30, 27, 25, 0.52);
  font-size: 14px;
  line-height: 1.55;
}

.status-card .status-number {
  color: var(--ink);
  font-weight: 650;
}

.trademark-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
}

.status-mark {
  font-size: 82px;
  font-weight: 500;
  line-height: 1;
}

.trademark-card h3 {
  font-size: 32px;
}

.organization-card {
  display: flex;
  flex-direction: column;
  background: var(--blue);
}

.organization-card h3 {
  max-width: 900px;
  overflow-wrap: anywhere;
  font-size: clamp(27px, 3vw, 46px);
  line-height: 1.08;
}

.organization-meta {
  margin-top: auto;
  padding-top: 40px;
  border-top: 1px solid rgba(30, 27, 25, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.organization-meta span {
  display: flex;
  gap: 12px;
}

.organization-meta a {
  padding-bottom: 4px;
  border-bottom: 1px solid;
  font-weight: 600;
}

.organization-meta a b {
  margin-left: 16px;
}

/* News */
.news-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  min-width: 0;
}

.news-cover {
  position: relative;
  aspect-ratio: 1.35;
  padding: 24px;
  border-radius: 26px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.news-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .news-cover img {
  transform: scale(1.025);
}

.news-cover span {
  font-size: clamp(65px, 8vw, 120px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.cover-1 { background: var(--orange); color: var(--white); }
.cover-2 { background: var(--blue); color: var(--ink); }
.cover-3 { background: var(--lime); color: var(--ink); }

.news-card > small {
  display: block;
  margin-top: 18px;
  color: rgba(30, 27, 25, 0.52);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-card h3 {
  min-height: 80px;
  margin: 14px 0 20px;
  font-size: 26px;
  font-weight: 540;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.news-more {
  font-size: 13px;
  font-weight: 600;
}

.news-more b {
  margin-left: 16px;
}

.news-empty {
  grid-column: 1 / -1;
  min-height: 240px;
  padding: 36px;
  border: 1px dashed var(--line);
  border-radius: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.news-empty p {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.section-link {
  width: max-content;
  margin-top: 45px;
  padding-bottom: 6px;
  border-bottom: 1px solid;
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.section-link b {
  margin-left: 20px;
}

/* Partners and contact */
.partners {
  padding: 110px 0;
  background: var(--wine);
  color: var(--white);
}

.partners-head {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 8vw;
  align-items: end;
}

.partners h2 {
  max-width: 850px;
  margin: 20px 0 0;
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.partners-head > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.55;
}

.partner-line {
  margin: 70px 0 36px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.partner-line span {
  min-height: 100px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 13px;
  text-transform: uppercase;
}

.partner-line span:last-child {
  border-right: 0;
}

.contact {
  padding: 100px 3vw;
  background: var(--orange);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  margin: 32px 0 45px;
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 520;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.contact h2 em {
  color: var(--ink);
}

.socials {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.socials a {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.socials a:hover {
  background: var(--white);
  color: var(--ink);
}

/* Footer */
.site-footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.site-footer p {
  opacity: 0.6;
}

.footer-links {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 6px;
}

.footer-links a:last-child {
  color: rgba(30, 27, 25, 0.55);
}

/* News archive, articles and pages */
.archive-hero,
.standard-header {
  padding: 110px 0 80px;
}

.archive-hero {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 7vw;
  align-items: end;
}

.archive-hero .index {
  grid-column: 1 / -1;
}

.archive-hero h1,
.standard-header h1,
.not-found h1 {
  margin: 16px 0 0;
  font-size: clamp(62px, 8vw, 120px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.archive-hero > p:last-child {
  max-width: 430px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.archive-content {
  padding-bottom: 120px;
}

.archive-grid {
  margin-top: 0;
}

.pagination {
  margin-top: 70px;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 50px;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
}

.pagination .current,
.pagination a:hover {
  background: var(--ink);
  color: var(--white);
}

.article-header {
  max-width: 1180px;
  padding: 100px 0 70px;
}

.back-link {
  display: inline-block;
  margin-bottom: 70px;
  padding-bottom: 5px;
  border-bottom: 1px solid;
  font-size: 13px;
}

.article-meta {
  margin: 0 0 22px;
  color: rgba(30, 27, 25, 0.55);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-header h1 {
  max-width: 1150px;
  margin: 0;
  font-size: clamp(48px, 6.5vw, 98px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.article-lead {
  max-width: 780px;
  margin: 42px 0 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
}

.article-image {
  margin-bottom: 70px;
}

.article-image img {
  width: 100%;
  max-height: 760px;
  border-radius: 30px;
  object-fit: cover;
}

.article-content {
  width: min(800px, 90vw);
  margin: 0 auto;
  padding-bottom: 120px;
  font-size: 18px;
  line-height: 1.75;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3 {
  margin: 2.2em 0 0.7em;
  font-weight: 540;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.article-content h2 { font-size: clamp(32px, 4vw, 52px); }
.article-content h3 { font-size: clamp(25px, 3vw, 36px); }

.article-content a {
  color: #a83d25;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content blockquote {
  margin: 2em 0;
  padding: 26px 30px;
  border-left: 4px solid var(--blue);
  background: rgba(67, 187, 179, 0.12);
  font-size: 22px;
}

.article-content figure {
  margin: 2.2em 0;
}

.article-content img {
  border-radius: 22px;
}

.not-found {
  min-height: calc(100vh - 224px);
  padding: 110px 0;
}

.not-found > p:not(.index) {
  max-width: 540px;
  margin: 40px 0;
  font-size: 18px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1180px) {
  .primary-navigation,
  .primary-menu {
    gap: 23px;
  }

  .hero {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .hero h1 {
    font-size: clamp(56px, 7vw, 86px);
  }

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

  .manifesto-grid > p {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .partner-line {
    grid-template-columns: repeat(3, 1fr);
  }

  .partner-line span:nth-child(3) {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .primary-navigation {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .brand-logo img {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .hero,
  .atlas-stage,
  .leader,
  .section-head,
  .status-heading,
  .status-cards,
  .partners-head,
  .archive-hero {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    width: min(600px, 80vw);
    margin: 20px auto 0;
  }

  .atlas-wheel {
    width: min(650px, 90vw);
    margin-inline: auto;
  }

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

  .manifesto-grid > p {
    grid-column: auto;
  }

  .manifesto-grid > p,
  .manifesto-grid > div {
    padding-bottom: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .leader-portrait {
    min-height: 600px;
  }

  .leader-portrait > img {
    min-height: 600px;
  }

  .status-heading {
    gap: 24px;
  }

  .status-cards {
    margin-top: 45px;
  }

  .status-card {
    min-height: 280px;
  }

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

  .news-grid .news-card:last-child:nth-child(odd) {
    max-width: calc(50% - 11px);
    grid-column: 1 / -1;
  }

  .partner-line {
    grid-template-columns: repeat(3, 1fr);
  }

  .archive-hero {
    gap: 28px;
  }

  .archive-hero .index {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 82px;
    gap: 8px;
  }

  .site-header > .brand-logo span {
    display: none;
  }

  .round-link {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding: 55px 0;
  }

  .hero h1 {
    font-size: 46px;
  }

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

  .hero-orbit {
    width: 92vw;
  }

  .manifesto {
    padding: 75px 20px;
  }

  .manifesto h2 {
    font-size: 38px;
  }

  .manifesto-grid {
    margin-top: 52px;
  }

  .manifesto-grid strong {
    margin-bottom: 18px;
  }

  .atlas,
  .news,
  .status {
    padding: 80px 0;
  }

  .section-head h2,
  .status h2 {
    font-size: 44px;
  }

  .atlas-stage {
    margin-top: 55px;
  }

  .atlas-list article {
    min-height: 135px;
  }

  .leader-portrait,
  .leader-portrait > img {
    min-height: 480px;
  }

  .leader-copy {
    padding: 70px 20px;
  }

  .leader blockquote {
    margin: 45px 0;
    font-size: 34px;
  }

  .status-card {
    min-height: auto;
    padding: 26px;
  }

  .status-mark {
    margin-bottom: 64px;
  }

  .organization-card h3 {
    font-size: 27px;
  }

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

  .news-grid {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .news-grid .news-card:last-child:nth-child(odd) {
    max-width: none;
    grid-column: auto;
  }

  .news-card h3 {
    min-height: auto;
  }

  .partners {
    padding: 80px 0;
  }

  .partner-line {
    margin-top: 48px;
    grid-template-columns: 1fr 1fr;
  }

  .partner-line span:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }

  .partner-line span:nth-child(even) {
    border-right: 0;
  }

  .contact {
    padding: 80px 20px;
  }

  .contact h2 {
    font-size: 46px;
  }

  .site-footer {
    padding: 35px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .brand-logo span {
    display: block;
  }

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

  .archive-hero,
  .standard-header {
    padding: 75px 0 55px;
  }

  .archive-hero h1,
  .standard-header h1,
  .not-found h1 {
    font-size: 52px;
  }

  .article-header {
    padding: 70px 0 45px;
  }

  .back-link {
    margin-bottom: 45px;
  }

  .article-header h1 {
    font-size: 44px;
  }

  .article-image {
    width: 100%;
    margin-bottom: 50px;
  }

  .article-image img {
    border-radius: 0;
  }

  .article-content {
    width: min(88vw, 800px);
    padding-bottom: 80px;
    font-size: 17px;
  }
}

@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;
  }
}

/* Jobs platform and concise positioning. */
.account-link {
  justify-self: end;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  text-decoration: none;
}

.project-directions {
  padding-bottom: clamp(80px, 10vw, 150px);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(30, 27, 25, .18);
  border-radius: 34px;
  overflow: hidden;
}

.direction-grid > a {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--ink);
  padding: 30px;
  text-decoration: none;
  border-right: 1px solid rgba(30, 27, 25, .18);
  transition: background .2s ease, color .2s ease;
}

.direction-grid > a:last-child { border-right: 0; }
.direction-grid > a:hover { background: var(--ink); color: #fff; }
.direction-icon { font-size: 42px; font-weight: 300; }
.direction-grid strong { margin-top: auto; font-size: clamp(22px, 2vw, 31px); line-height: 1.06; font-weight: 500; }
.direction-grid small { font-size: 14px; line-height: 1.45; opacity: .72; }

.jobs-hero {
  padding-top: clamp(60px, 8vw, 120px);
  padding-bottom: clamp(60px, 8vw, 110px);
}

.jobs-hero > div {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .45fr);
  gap: 60px;
  align-items: end;
}

.jobs-hero h1,
.form-page h1 {
  margin: 24px 0 0;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.055em;
}

.jobs-hero h1 em,
.form-page h1 em { color: var(--orange); font-style: normal; font-weight: 350; }
.jobs-hero > div > p { margin: 0 0 8px; max-width: 430px; font-size: 19px; line-height: 1.5; }
.jobs-catalog { padding-bottom: 130px; }

.job-filters {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 12px;
  padding: 22px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(30, 27, 25, .08);
}

.job-filters label,
.public-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.job-filters input,
.job-filters select,
.public-form input,
.public-form select,
.public-form textarea,
.account-login input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(30, 27, 25, .22);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.public-form textarea { resize: vertical; line-height: 1.5; }
.job-filters .button { align-self: end; min-height: 50px; }
.filters-reset { align-self: center; color: var(--ink); font-size: 13px; }
.jobs-catalog-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 76px 0 30px; }
.jobs-catalog-head h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); font-weight: 400; letter-spacing: -.04em; }
.jobs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.job-card {
  min-width: 0;
  min-height: 370px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(30, 27, 25, .17);
  border-radius: 28px;
  background: rgba(255,255,255,.46);
}

.job-card-top { display: flex; justify-content: space-between; gap: 20px; color: rgba(30,27,25,.62); font-size: 13px; }
.job-card-top p { margin: 0; }
.job-card h2 { margin: 36px 0 18px; font-size: clamp(25px, 2.3vw, 38px); line-height: 1.04; font-weight: 450; overflow-wrap: anywhere; }
.job-card h2 a { color: inherit; text-decoration: none; }
.job-salary { margin: 0 0 18px; font-size: 17px; font-weight: 600; }
.job-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.job-tags span { padding: 7px 10px; border-radius: 999px; background: rgba(50,184,181,.14); font-size: 12px; }
.job-card-link { margin-top: auto; padding-top: 24px; color: var(--ink); font-weight: 600; text-decoration: none; }
.jobs-empty { grid-column: 1 / -1; padding: 70px 30px; text-align: center; border-radius: 28px; background: #fff; }

.job-single { padding-top: 55px; padding-bottom: 120px; }
.back-link { color: var(--ink); text-decoration: none; }
.job-single > header { max-width: 1040px; padding: 70px 0; }
.job-single > header > p { color: var(--orange); font-size: 15px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.job-single h1 { margin: 18px 0 26px; font-size: clamp(52px, 7.5vw, 108px); line-height: .94; font-weight: 400; letter-spacing: -.05em; overflow-wrap: anywhere; }
.job-single-salary { display: block; margin-bottom: 24px; font-size: 23px; }
.job-single-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(300px, 410px); gap: clamp(40px, 7vw, 110px); align-items: start; }
.job-description { min-width: 0; font-size: 18px; line-height: 1.7; }
.job-description section { padding: 42px 0; border-top: 1px solid rgba(30,27,25,.2); }
.job-description h2 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 48px); font-weight: 450; }
.job-deadline { padding: 20px; border-radius: 16px; background: rgba(223,87,49,.1); }
.application-card { position: sticky; top: 100px; padding: 30px; border-radius: 28px; background: #fff; box-shadow: 0 18px 60px rgba(30,27,25,.08); }
.application-card h2 { margin-top: 0; font-size: 32px; font-weight: 450; }
.public-form { display: grid; gap: 18px; }
.public-form .consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-weight: 400; line-height: 1.4; }
.public-form .consent input { min-height: 20px; height: 20px; margin: 1px 0 0; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-message { padding: 18px; border-radius: 14px; }
.form-message.success { background: rgba(50,184,181,.14); }
.form-message.error { background: rgba(223,87,49,.12); }

.form-page { display: grid; grid-template-columns: minmax(280px, .65fr) minmax(0, 1.25fr); gap: clamp(50px, 9vw, 140px); padding-top: 80px; padding-bottom: 130px; align-items: start; }
.form-page-intro { position: sticky; top: 100px; }
.form-page-intro > p { max-width: 510px; font-size: 18px; line-height: 1.55; }
.form-page-intro ul { padding-left: 20px; line-height: 1.7; }
.form-card { padding: clamp(26px, 4vw, 54px); border-radius: 32px; background: #fff; }
.public-form-wide { gap: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.account-page { min-height: 65vh; padding-top: 80px; padding-bottom: 130px; }
.account-page > h1 { max-width: 1000px; margin: 25px 0 60px; font-size: clamp(48px, 7vw, 92px); line-height: .98; font-weight: 400; letter-spacing: -.05em; }
.account-login { max-width: 560px; padding: 34px; border-radius: 28px; background: #fff; }
.account-login form { display: grid; gap: 16px; }
.account-login label { display: grid; gap: 8px; }
.account-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.account-head h2 { margin: 0; font-size: 42px; font-weight: 450; }
.account-items { display: grid; gap: 10px; }
.account-items article { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 22px 26px; border-radius: 18px; background: #fff; }
.account-items h3, .account-items p { margin: 0; }
.account-items a, .logout-link { color: var(--ink); }
.logout-link { display: inline-block; margin-top: 40px; }

/* Keep LMS pages readable even when legacy content contains wide blocks. */
body.single-lvc_lesson .lms-lesson-layout {
  width: min(100% - 40px, 1280px);
  grid-template-columns: minmax(260px, 310px) minmax(0, 860px);
  justify-content: center;
}
body.single-lvc_lesson .lms-lesson-main { min-width: 0; max-width: 860px; }
body.single-lvc_lesson .lms-lesson-content { max-width: 720px; overflow-wrap: anywhere; }
body.single-lvc_lesson .lms-lesson-content > * { max-width: 100%; }
body.single-lvc_lesson .lms-lesson-header h1 { font-size: clamp(46px, 5.6vw, 72px); }
body.single-lvc_lesson .lms-lesson-content h2 { font-size: clamp(30px, 3.6vw, 46px); }

@media (max-width: 1100px) {
  .direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direction-grid > a { border-bottom: 1px solid rgba(30,27,25,.18); }
  .direction-grid > a:nth-child(2) { border-right: 0; }
  .job-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .account-link { padding: 9px 13px; font-size: 12px; }
  .direction-grid, .jobs-grid { grid-template-columns: 1fr; }
  .direction-grid > a { min-height: 230px; border-right: 0; }
  .jobs-hero > div, .job-single-layout, .form-page { grid-template-columns: 1fr; }
  .jobs-hero h1, .form-page h1 { font-size: clamp(54px, 16vw, 82px); }
  .job-filters { grid-template-columns: 1fr; }
  .jobs-catalog-head, .account-head { align-items: stretch; flex-direction: column; }
  .job-card { min-height: 320px; }
  .application-card, .form-page-intro { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .job-single h1 { font-size: clamp(48px, 14vw, 72px); }
  body.single-lvc_lesson .lms-lesson-layout { width: min(100% - 28px, 1280px); grid-template-columns: 1fr; }
  body.single-lvc_lesson .lms-lesson-main { width: 100%; margin: 0; padding: 28px 20px; }
}

/* Layout refinements 1.5.1. */
.project-directions .section-head {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  gap: clamp(40px, 6vw, 100px);
}

.project-directions .section-head h2 {
  max-width: 920px;
  font-size: clamp(52px, 5.2vw, 82px);
  line-height: .95;
}

.project-directions .section-head > p {
  max-width: 430px;
}

.project-directions .direction-grid {
  margin-top: 48px;
}

.project-directions .direction-grid > a {
  min-height: 270px;
}

.form-page {
  grid-template-columns: minmax(0, .72fr) minmax(620px, 1.28fr);
  gap: clamp(42px, 5vw, 90px);
}

.form-page-intro {
  min-width: 0;
  overflow: hidden;
}

.form-page h1 {
  max-width: 100%;
  font-size: clamp(62px, 6.15vw, 104px);
  line-height: .92;
  overflow-wrap: anywhere;
}

.form-card {
  min-width: 0;
}

.course-hero {
  min-height: 0;
  padding-top: clamp(70px, 7vw, 105px);
  padding-bottom: clamp(72px, 7vw, 105px);
  align-items: end;
}

.course-hero h1 {
  font-size: clamp(58px, 5.8vw, 94px);
}

@media (max-width: 1100px) {
  .form-page {
    grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
    gap: 38px;
  }

  .form-page h1 {
    font-size: clamp(58px, 7vw, 78px);
  }
}

@media (max-width: 900px) {
  .project-directions .section-head,
  .form-page {
    grid-template-columns: 1fr;
  }

  .project-directions .section-head {
    gap: 24px;
  }

  .form-page-intro {
    overflow: visible;
  }
}

@media (max-width: 700px) {
  .project-directions .section-head h2 {
    font-size: clamp(46px, 13vw, 66px);
  }

  .project-directions .direction-grid {
    margin-top: 30px;
  }

  .project-directions .direction-grid > a {
    min-height: 210px;
  }

  .course-hero {
    padding: 54px 0 60px;
  }

  .course-hero h1 {
    font-size: clamp(46px, 12vw, 66px);
  }
}

/* Market vacancies */
.market-page {
  --market-wine: #743036;
  --market-wine-dark: #522328;
  --market-coral: #e85b37;
  --market-aqua: #42c0ba;
  --market-cream: #f6f0e7;
  --market-lime: #d8f25a;
  --market-ink: #201b1a;
  --market-white: #fffaf4;
  overflow: hidden;
  background: var(--market-cream);
  color: var(--market-ink);
}

.market-page em {
  font-style: normal;
}

.market-index {
  margin: 0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.market-hero {
  min-height: 770px;
  padding: 68px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(430px, 0.78fr);
  gap: clamp(34px, 6vw, 100px);
  align-items: stretch;
}

.market-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.market-kicker {
  margin: 0 0 42px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.market-kicker span {
  display: flex;
  align-items: center;
  gap: 16px;
}

.market-kicker span::after {
  width: 70px;
  height: 2px;
  content: "";
  background: var(--market-aqua);
}

.market-kicker b {
  font-weight: inherit;
}

.market-hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(62px, 7.5vw, 116px);
  font-weight: 470;
  line-height: 0.91;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.market-hero h1 em {
  display: block;
  margin-top: 18px;
  color: var(--market-aqua);
  font-size: 0.69em;
  line-height: 0.96;
}

.market-lead {
  max-width: 690px;
  margin: 46px 0 0;
  font-size: 18px;
  font-weight: 380;
  line-height: 1.55;
}

.market-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.market-button {
  min-width: 245px;
  min-height: 60px;
  padding: 0 22px;
  border-radius: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--market-ink);
  color: var(--market-white);
  font-size: 13px;
  font-weight: 620;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

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

.market-text-link {
  width: max-content;
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
}

.market-text-link b {
  margin-left: 18px;
}

.market-next-card {
  min-height: 620px;
  padding: 28px;
  border-radius: 42px;
  display: grid;
  grid-template-rows: 230px 1fr;
  gap: 22px;
  align-self: center;
  background: var(--market-wine);
  color: var(--market-white);
  box-shadow: 0 24px 80px rgba(82, 35, 40, 0.2);
}

.market-date-card {
  padding: 24px 30px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  background: var(--market-coral);
}

.market-date-card span,
.market-date-card small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.market-date-card strong {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  font-size: 122px;
  font-weight: 480;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.market-date-card small {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.market-next-content {
  padding: 12px 6px 4px;
  display: flex;
  flex-direction: column;
}

.market-next-content > p {
  margin: 0;
  color: rgba(255, 250, 244, 0.56);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.market-next-content h2 {
  margin: 15px 0 0;
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 470;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.market-place {
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: rgba(255, 250, 244, 0.62);
  font-size: 12px;
}

.market-place span + span::before {
  margin-right: 18px;
  content: "·";
}

.market-countdown {
  margin-top: auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 250, 244, 0.2);
  border-bottom: 1px solid rgba(255, 250, 244, 0.2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.market-countdown > div {
  min-width: 0;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 250, 244, 0.18);
}

.market-countdown > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.market-countdown strong {
  display: block;
  font-size: clamp(25px, 2.3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.market-countdown span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 250, 244, 0.5);
  font-size: 8px;
  text-transform: uppercase;
}

.market-card-link {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--market-aqua);
  font-size: 12px;
  font-weight: 650;
}

.market-statement {
  padding: 110px 0;
  background: var(--market-wine);
  color: var(--market-white);
}

.market-statement h2 {
  max-width: 1200px;
  margin: 32px 0 0;
  font-size: clamp(45px, 6vw, 88px);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.market-statement h2 em {
  color: var(--market-aqua);
}

.market-statement-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  border-top: 1px solid rgba(255, 250, 244, 0.22);
}

.market-statement-grid > * {
  margin: 0;
  padding: 28px 30px 0 0;
  border-right: 1px solid rgba(255, 250, 244, 0.22);
}

.market-statement-grid > *:last-child {
  border-right: 0;
}

.market-statement-grid > p {
  max-width: 590px;
  color: rgba(255, 250, 244, 0.66);
  font-size: 17px;
  line-height: 1.6;
}

.market-statement-grid strong {
  display: block;
  margin-bottom: 36px;
  color: var(--market-lime);
  font-size: clamp(29px, 3vw, 45px);
  font-weight: 480;
  letter-spacing: -0.04em;
}

.market-statement-grid span {
  display: block;
  max-width: 300px;
  color: rgba(255, 250, 244, 0.58);
  font-size: 13px;
  line-height: 1.55;
}

.market-audiences,
.market-directory,
.market-archive,
.market-media,
.market-partners {
  padding: 120px 0;
}

.market-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 8vw;
  align-items: end;
}

.market-section-head h2 {
  margin: 24px 0 0;
  font-size: clamp(56px, 6.6vw, 100px);
  font-weight: 470;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.market-section-head > p {
  max-width: 500px;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.market-audience-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.market-audience-card {
  min-height: 390px;
  padding: 35px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
}

.market-audience-card.coral { background: var(--market-coral); color: var(--market-white); }
.market-audience-card.aqua { background: var(--market-aqua); }
.market-audience-card.cream { border: 1px solid rgba(32, 27, 26, 0.16); background: var(--market-white); }
.market-audience-card.lime { background: var(--market-lime); }

.market-audience-card > span {
  font-size: 10px;
  font-weight: 700;
}

.market-audience-card h3 {
  margin: 55px 0 0;
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 470;
  letter-spacing: -0.05em;
}

.market-audience-card p {
  max-width: 620px;
  margin: 22px 0;
  font-size: 15px;
  line-height: 1.55;
}

.market-audience-card a {
  width: max-content;
  margin-top: auto;
  padding-bottom: 5px;
  border-bottom: 1px solid;
  font-size: 13px;
  font-weight: 650;
}

.market-audience-card a b {
  margin-left: 22px;
}

.market-service {
  padding: 110px 0;
  background: var(--market-aqua);
}

.market-service-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 9vw;
}

.market-service h2 {
  max-width: 850px;
  margin: 28px 0 0;
  font-size: clamp(47px, 6vw, 88px);
  font-weight: 450;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.market-service h2 em {
  color: var(--market-wine);
}

.market-service-copy > p {
  margin: 38px 0 32px;
  font-size: 17px;
  line-height: 1.6;
}

.market-service-copy ul {
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(32, 27, 26, 0.24);
}

.market-service-copy li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(32, 27, 26, 0.24);
  font-size: 13px;
}

.market-people-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.market-person-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: var(--market-wine);
  color: var(--market-aqua);
}

.market-person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 0.35s ease;
}

.market-person-image > span {
  font-size: 90px;
  font-weight: 450;
}

.market-person-card:hover img {
  transform: scale(1.025);
}

.market-person-card h3 {
  margin: 20px 0 5px;
  font-size: 22px;
  font-weight: 520;
  letter-spacing: -0.025em;
}

.market-person-card p,
.market-person-card small {
  display: block;
  margin: 0;
  color: rgba(32, 27, 26, 0.6);
  font-size: 12px;
  line-height: 1.5;
}

.market-directory-actions {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.market-directory-empty {
  min-height: 180px;
  margin-top: 58px;
  padding: 30px;
  border: 1px dashed rgba(32, 27, 26, 0.28);
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.market-directory-empty p {
  margin: 0;
  color: rgba(32, 27, 26, 0.58);
}

.market-directory-empty a {
  padding-bottom: 4px;
  border-bottom: 1px solid;
  font-size: 13px;
}

.market-organizations {
  padding: 120px 0;
  background: var(--market-white);
}

.market-logo-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(32, 27, 26, 0.16);
  border-left: 1px solid rgba(32, 27, 26, 0.16);
}

.market-logo-grid > * {
  min-height: 185px;
  padding: 25px;
  border-right: 1px solid rgba(32, 27, 26, 0.16);
  border-bottom: 1px solid rgba(32, 27, 26, 0.16);
  display: grid;
  place-items: center;
  text-align: center;
}

.market-logo-grid img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.market-logo-grid a:hover img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.market-logo-grid strong,
.market-logo-grid span {
  font-size: 17px;
  font-weight: 520;
}

.market-event-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 22px;
}

.market-event-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: var(--market-wine);
  color: var(--market-aqua);
}

.market-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.market-event-image > span {
  font-size: clamp(55px, 7vw, 100px);
  font-weight: 450;
  letter-spacing: -0.08em;
}

.market-event-card:hover .market-event-image img {
  transform: scale(1.025);
}

.market-event-card > a > p {
  margin: 17px 0 0;
  display: flex;
  gap: 16px;
  color: rgba(32, 27, 26, 0.5);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.market-event-card h3 {
  margin: 10px 0 4px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.market-event-card small {
  color: rgba(32, 27, 26, 0.58);
  font-size: 12px;
}

.market-history-line {
  margin-top: 70px;
  border-top: 1px solid rgba(32, 27, 26, 0.18);
}

.market-history-line article {
  min-height: 104px;
  border-bottom: 1px solid rgba(32, 27, 26, 0.18);
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  align-items: center;
}

.market-history-line strong {
  color: var(--market-coral);
  font-size: 30px;
  font-weight: 480;
}

.market-history-line span {
  font-size: 22px;
}

.market-archive-link {
  margin-top: 38px;
}

.market-founder {
  min-height: 760px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  background: var(--market-wine);
  color: var(--market-white);
}

.market-founder-image {
  overflow: hidden;
  min-height: 650px;
}

.market-founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.market-founder-copy {
  padding: 80px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.market-founder blockquote {
  max-width: 900px;
  margin: 58px 0;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 420;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.market-founder-copy > p:not(.market-index) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.market-founder-copy > p span {
  color: rgba(255, 250, 244, 0.58);
  font-size: 12px;
}

.market-founder-copy > a {
  width: max-content;
  margin-top: 25px;
  padding-bottom: 5px;
  border-bottom: 1px solid;
  color: var(--market-aqua);
  font-size: 13px;
  font-weight: 650;
}

.market-media-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(32, 27, 26, 0.18);
  border-left: 1px solid rgba(32, 27, 26, 0.18);
}

.market-media-grid article {
  min-width: 0;
  border-right: 1px solid rgba(32, 27, 26, 0.18);
  border-bottom: 1px solid rgba(32, 27, 26, 0.18);
}

.market-media-grid a {
  min-height: 290px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}

.market-media-grid a:hover {
  background: var(--market-white);
}

.market-media-grid p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(32, 27, 26, 0.52);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.market-media-grid h3 {
  margin: 55px 0 30px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.market-media-grid b {
  margin-top: auto;
  align-self: flex-end;
  color: var(--market-coral);
  font-size: 23px;
}

.market-final {
  padding: 110px 0;
  background: var(--market-wine-dark);
  color: var(--market-white);
}

.market-final p {
  margin: 0;
  color: rgba(255, 250, 244, 0.52);
  font-size: 11px;
  text-transform: uppercase;
}

.market-final h2 {
  margin: 38px 0 55px;
  font-size: clamp(48px, 6.4vw, 98px);
  font-weight: 430;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.market-final h2 em {
  color: var(--market-aqua);
}

.market-final .shell > div {
  display: flex;
  align-items: center;
  gap: 35px;
}

/* Market archives and single pages */
.market-inner-page {
  min-height: 70vh;
}

.market-archive-hero {
  padding: 75px 0 65px;
}

.market-back-link {
  display: inline-block;
  margin-bottom: 65px;
  padding-bottom: 5px;
  border-bottom: 1px solid;
  font-size: 12px;
  font-weight: 650;
}

.market-archive-hero h1,
.market-single h1 {
  max-width: 1200px;
  margin: 28px 0;
  font-size: clamp(60px, 7.5vw, 112px);
  font-weight: 460;
  line-height: 0.93;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.market-archive-hero > p:last-child {
  max-width: 650px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.market-archive-results {
  padding-bottom: 120px;
}

.market-archive-results .market-event-grid {
  margin-top: 0;
}

.market-archive-profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 22px;
}

.market-profile-card > a > div {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: var(--market-white);
}

.market-profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-archive-logos .market-profile-card img {
  padding: 30px;
  object-fit: contain;
}

.market-profile-card h2 {
  margin: 18px 0 5px;
  font-size: 24px;
  font-weight: 520;
  letter-spacing: -0.03em;
}

.market-profile-card p {
  margin: 0;
  color: rgba(32, 27, 26, 0.55);
  font-size: 12px;
}

.market-pagination {
  margin-top: 65px;
}

.market-single {
  padding: 75px 0 120px;
}

.market-single header {
  max-width: 1250px;
}

.market-single-meta {
  margin: 22px 0 0;
  color: var(--market-coral);
  font-size: 13px;
  font-weight: 650;
}

.market-single-lead {
  max-width: 800px;
  margin: 32px 0 0;
  font-size: 20px;
  line-height: 1.55;
}

.market-single-image {
  margin: 65px 0 55px;
}

.market-single-image img {
  width: 100%;
  max-height: 800px;
  border-radius: 34px;
  object-fit: cover;
}

.market-single-content {
  padding-bottom: 0;
}

@media (max-width: 1050px) {
  .market-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .market-next-card {
    width: min(760px, 100%);
    min-height: 520px;
    grid-template-columns: 0.65fr 1.35fr;
    grid-template-rows: 1fr;
  }

  .market-statement-grid {
    grid-template-columns: 1fr 1fr;
  }

  .market-statement-grid > p {
    grid-column: 1 / -1;
    padding-bottom: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 244, 0.22);
  }

  .market-service-grid,
  .market-founder {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 780px) {
  .market-hero {
    padding: 55px 0 65px;
  }

  .market-hero h1 {
    font-size: clamp(54px, 13vw, 82px);
  }

  .market-next-card {
    min-height: 640px;
    grid-template-columns: 1fr;
    grid-template-rows: 225px 1fr;
  }

  .market-section-head,
  .market-service-grid,
  .market-founder {
    grid-template-columns: 1fr;
  }

  .market-section-head {
    gap: 28px;
  }

  .market-audience-grid,
  .market-event-grid {
    grid-template-columns: 1fr;
  }

  .market-people-grid,
  .market-archive-profiles,
  .market-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .market-founder-image {
    min-height: 600px;
  }

  .market-founder-copy {
    padding: 75px 5vw;
  }
}

@media (max-width: 560px) {
  .market-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  .market-hero h1 {
    font-size: 48px;
  }

  .market-hero h1 em {
    font-size: 0.66em;
  }

  .market-lead {
    margin-top: 32px;
    font-size: 16px;
  }

  .market-actions,
  .market-directory-actions,
  .market-final .shell > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .market-button {
    width: 100%;
  }

  .market-next-card {
    min-height: 620px;
    padding: 18px;
    border-radius: 30px;
    grid-template-rows: 210px 1fr;
  }

  .market-date-card {
    border-radius: 22px;
  }

  .market-date-card strong {
    font-size: 105px;
  }

  .market-statement,
  .market-service,
  .market-final {
    padding: 80px 0;
  }

  .market-audiences,
  .market-directory,
  .market-organizations,
  .market-archive,
  .market-media,
  .market-partners {
    padding: 85px 0;
  }

  .market-statement h2 {
    font-size: 39px;
  }

  .market-statement-grid {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .market-statement-grid > * {
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 244, 0.22);
  }

  .market-section-head h2,
  .market-service h2 {
    font-size: 43px;
  }

  .market-audience-grid,
  .market-people-grid,
  .market-logo-grid,
  .market-media-grid,
  .market-archive-profiles {
    grid-template-columns: 1fr;
  }

  .market-audience-card {
    min-height: 360px;
    padding: 27px;
  }

  .market-audience-card h3 {
    font-size: 40px;
  }

  .market-person-card {
    max-width: 430px;
  }

  .market-logo-grid > * {
    min-height: 150px;
  }

  .market-founder-image {
    min-height: 500px;
  }

  .market-founder blockquote {
    font-size: 34px;
  }

  .market-history-line article {
    grid-template-columns: 0.5fr 1fr;
  }

  .market-archive-hero h1,
  .market-single h1 {
    font-size: 48px;
  }

  .market-single-image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .market-single-image img {
    border-radius: 0;
  }
}

/* Courses */
.course-hero {
  min-height: 590px;
  padding: 95px 0 85px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  align-items: end;
  gap: 70px;
}

.course-hero h1 {
  max-width: 1050px;
  margin: 28px 0 0;
  font-size: clamp(62px, 7.5vw, 124px);
  font-weight: 390;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.course-hero > p {
  max-width: 420px;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.55;
}

.course-catalog {
  padding: 0 0 120px;
}

.course-filters {
  padding: 25px 0;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.course-filters a {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

.course-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.48);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(30, 27, 25, 0.09);
}

.course-card-image {
  min-height: 270px;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
  background: var(--wine);
  display: grid;
  place-items: center;
}

.course-card:nth-child(3n + 2) .course-card-image {
  background: var(--blue);
}

.course-card:nth-child(3n + 3) .course-card-image {
  background: var(--orange);
}

.course-card-image img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.course-card:hover .course-card-image img {
  transform: scale(1.025);
}

.course-card-image > span {
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 253, 248, 0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 26px;
  font-weight: 450;
  letter-spacing: 0.08em;
}

.course-card-body {
  min-height: 365px;
  padding: 25px 26px 27px;
  display: flex;
  flex-direction: column;
}

.course-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-card-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.course-card-tags .course-access {
  border-color: transparent;
  background: var(--lime);
}

.course-card h2 {
  margin: 24px 0 14px;
  font-size: 30px;
  font-weight: 430;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.course-card-body > p {
  margin: 0;
  color: rgba(30, 27, 25, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.course-card-meta {
  margin: auto 0 20px;
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: rgba(30, 27, 25, 0.62);
  font-size: 11px;
}

.course-card-meta span:not(:last-child)::after {
  margin-left: 16px;
  content: "·";
}

.course-card-link {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 650;
}

.course-empty {
  min-height: 360px;
  padding: 55px;
  border-radius: 30px;
  background: var(--white);
}

.course-empty h2 {
  margin: 0 0 16px;
  font-size: 42px;
  font-weight: 430;
  letter-spacing: -0.04em;
}

.course-empty p {
  max-width: 600px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.course-pagination {
  margin-top: 60px;
}

.course-future {
  padding: 115px 0;
  background: var(--wine);
  color: var(--white);
}

.course-future .shell {
  display: grid;
  grid-template-columns: 0.5fr 1.35fr 0.65fr;
  gap: 50px;
  align-items: end;
}

.course-future h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 390;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.course-future h2 em {
  color: var(--blue);
  font-style: normal;
}

.course-future .shell > p:last-child {
  margin: 0 0 8px;
  color: rgba(255, 253, 248, 0.75);
  line-height: 1.6;
}

.course-single {
  padding: 78px 0 130px;
}

.course-single-header {
  max-width: 1280px;
}

.course-single-header .course-card-tags {
  margin-top: 50px;
}

.course-single-header h1 {
  max-width: 1150px;
  margin: 28px 0;
  font-size: clamp(58px, 7vw, 112px);
  font-weight: 390;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.course-single-lead {
  max-width: 800px;
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
}

.course-single-meta {
  padding: 28px 0;
  margin-top: 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 25px 70px;
}

.course-single-meta span {
  display: grid;
  gap: 7px;
  font-size: 15px;
}

.course-single-meta small {
  color: rgba(30, 27, 25, 0.55);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-single-image {
  margin-top: 60px;
}

.course-single-image img {
  width: 100%;
  max-height: 760px;
  border-radius: 34px;
  object-fit: cover;
}

.course-single-layout {
  padding-top: 75px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 10vw;
  align-items: start;
}

.course-single-content {
  width: 100%;
  max-width: 760px;
  margin: 0;
}

.course-single-content,
.lesson-content {
  font-size: 17px;
  line-height: 1.75;
}

.course-single-content > *:first-child,
.lesson-content > *:first-child {
  margin-top: 0;
}

.course-single-content h2,
.lesson-content h2 {
  margin: 58px 0 20px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.course-single-content h3,
.lesson-content h3 {
  margin: 38px 0 14px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.course-single-content p,
.course-single-content ul,
.course-single-content ol,
.lesson-content p,
.lesson-content ul,
.lesson-content ol {
  margin-top: 0;
  margin-bottom: 22px;
}

.course-single-content li,
.lesson-content li {
  margin-bottom: 9px;
}

.course-single-content a,
.lesson-content a {
  border-bottom: 1px solid var(--orange);
}

.learning-task {
  padding: 30px;
  margin: 50px 0 0;
  border-radius: 26px;
  background: var(--white);
  box-shadow: inset 5px 0 0 var(--blue);
}

.learning-task h3 {
  margin-top: 0;
  color: var(--wine);
}

.learning-task > *:last-child {
  margin-bottom: 0;
}

.course-lessons {
  position: sticky;
  top: 28px;
  padding: 30px;
  border-radius: 28px;
  background: var(--white);
}

.course-lessons h2 {
  margin: 12px 0 25px;
  font-size: 32px;
  font-weight: 430;
  letter-spacing: -0.035em;
}

.course-lessons ol {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: lessons;
}

.course-lessons li {
  counter-increment: lessons;
  border-top: 1px solid var(--line);
}

.course-lessons li:last-child {
  border-bottom: 1px solid var(--line);
}

.course-lessons li a {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  gap: 10px;
  align-items: center;
  line-height: 1.3;
}

.course-lessons li a::before {
  color: var(--orange);
  font-size: 11px;
  content: counter(lessons, decimal-leading-zero);
}

.course-lessons li small {
  color: rgba(30, 27, 25, 0.52);
  font-size: 10px;
}

.course-start {
  width: 100%;
  min-width: 0;
}

.course-locked {
  padding: 22px;
  border-radius: 18px;
  background: var(--paper);
}

.course-locked p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.lesson-page {
  padding: 75px 0 125px;
}

.lesson-header {
  max-width: 1120px;
}

.lesson-header .index {
  margin-top: 48px;
  color: var(--orange);
}

.lesson-header h1 {
  max-width: 1000px;
  margin: 20px 0 0;
  font-size: clamp(50px, 6vw, 90px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lesson-video {
  margin-top: 55px;
}

.lesson-video iframe,
.lesson-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 30px;
  background: var(--ink);
}

.lesson-content {
  margin-top: 70px;
}

.lesson-navigation {
  padding-top: 45px;
  margin-top: 70px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.lesson-navigation a {
  min-height: 90px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.lesson-navigation a.next {
  justify-content: flex-end;
  text-align: right;
  grid-column: 2;
}

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

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

  .course-future .shell > p:last-child {
    grid-column: 2;
  }

  .course-single-layout {
    gap: 6vw;
  }
}

@media (max-width: 780px) {
  .course-hero {
    min-height: auto;
    padding: 65px 0;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .course-hero h1 {
    font-size: clamp(54px, 13vw, 86px);
  }

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

  .course-lessons {
    position: static;
  }

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

  .course-future .shell > p:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .course-hero {
    padding: 52px 0 55px;
  }

  .course-hero h1,
  .course-single-header h1 {
    font-size: 48px;
  }

  .course-catalog {
    padding-bottom: 85px;
  }

  .course-filters {
    margin-bottom: 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .course-filters::-webkit-scrollbar {
    display: none;
  }

  .course-filters a {
    flex: 0 0 auto;
  }

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

  .course-card-image,
  .course-card-image img {
    min-height: 230px;
    height: 230px;
  }

  .course-card-body {
    min-height: 340px;
  }

  .course-empty {
    min-height: 300px;
    padding: 32px 24px;
  }

  .course-future {
    padding: 80px 0;
  }

  .course-future h2 {
    font-size: 45px;
  }

  .course-single {
    padding: 55px 0 90px;
  }

  .course-single-header .course-card-tags {
    margin-top: 35px;
  }

  .course-single-lead {
    font-size: 17px;
  }

  .course-single-meta {
    gap: 22px 35px;
  }

  .course-single-image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .course-single-image img {
    border-radius: 0;
  }

  .course-single-layout {
    padding-top: 50px;
  }

  .course-lessons {
    padding: 24px 20px;
  }

  .course-single-content,
  .lesson-content {
    font-size: 16px;
  }

  .learning-task {
    padding: 24px 20px;
    margin-top: 38px;
  }

  .lesson-page {
    padding: 55px 0 90px;
  }

  .lesson-header h1 {
    font-size: 44px;
  }

  .lesson-video {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .lesson-video iframe,
  .lesson-video video {
    border-radius: 0;
  }

  .lesson-navigation {
    grid-template-columns: 1fr;
  }

  .lesson-navigation a.next {
    grid-column: 1;
  }
}

/* LMS interface */
.course-hero {
  min-height: 500px;
  padding: 82px 0 72px;
}

.course-hero h1 {
  max-width: 1120px;
  font-size: clamp(56px, 6.6vw, 104px);
  line-height: 0.93;
  overflow-wrap: anywhere;
}

.course-catalog-head {
  padding: 34px 0 38px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 50px;
  align-items: end;
}

.course-catalog-head h2 {
  margin: 12px 0 0;
  font-size: clamp(40px, 5vw, 74px);
  font-weight: 390;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.course-catalog-head > p {
  max-width: 460px;
  margin: 0;
  color: rgba(30, 27, 25, 0.68);
  font-size: 15px;
  line-height: 1.6;
}

.course-filters {
  margin-bottom: 42px;
}

.course-card-image {
  height: 270px;
  min-height: 270px;
}

.course-card-image .course-topic-visual {
  height: 100%;
}

.course-topic-visual {
  --visual-background: var(--wine);
  --visual-foreground: var(--white);
  --visual-accent: var(--blue);
  width: 100%;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 253, 248, 0.18), transparent 30%),
    var(--visual-background);
  color: var(--visual-foreground);
}

.course-topic-visual--jobs {
  --visual-background: var(--blue);
  --visual-foreground: var(--ink);
  --visual-accent: var(--wine);
}

.course-topic-visual--brand {
  --visual-background: var(--orange);
  --visual-foreground: var(--ink);
  --visual-accent: var(--lime);
}

.course-topic-visual--learning {
  --visual-background: var(--ink);
  --visual-foreground: var(--white);
  --visual-accent: var(--orange);
}

.course-topic-visual svg {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
}

.course-topic-visual .visual-orbit {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  opacity: 0.5;
}

.course-topic-visual .visual-orbit--inner {
  opacity: 0.32;
  stroke-dasharray: 8 12;
}

.course-topic-visual .visual-sheet {
  fill: rgba(255, 253, 248, 0.12);
  stroke: currentColor;
  stroke-width: 3;
}

.course-topic-visual .visual-line,
.course-topic-visual .visual-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
}

.course-topic-visual .visual-core {
  fill: var(--visual-accent);
  stroke: currentColor;
  stroke-width: 3;
}

.course-topic-visual .visual-node,
.course-topic-visual .visual-dot {
  fill: var(--visual-accent);
  stroke: currentColor;
  stroke-width: 3;
}

.course-topic-visual .visual-node--b {
  opacity: 0.75;
}

.course-topic-visual .visual-node--c {
  opacity: 0.55;
}

.course-topic-visual .visual-node--d {
  opacity: 0.35;
}

.course-topic-visual .visual-person {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
}

.course-topic-visual .visual-mark {
  fill: none;
  stroke: currentColor;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-topic-visual .visual-dot--accent {
  fill: var(--visual-accent);
}

.lms-breadcrumbs {
  padding-top: 30px;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  color: rgba(30, 27, 25, 0.55);
  font-size: 12px;
  white-space: nowrap;
}

.lms-breadcrumbs a {
  color: var(--ink);
}

.lms-breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.lms-course-page {
  padding-bottom: 125px;
}

.lms-course-hero {
  padding: 48px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.lms-course-hero-copy {
  min-width: 0;
}

.lms-course-hero h1 {
  max-width: 900px;
  margin: 24px 0;
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 390;
  line-height: 0.92;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.lms-course-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(30, 27, 25, 0.72);
  font-size: 19px;
  line-height: 1.6;
}

.lms-course-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.lms-primary-action.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.lms-text-link {
  padding: 10px 0 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.lms-course-facts {
  padding: 25px 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 22px 48px;
}

.lms-course-facts > span {
  display: grid;
  gap: 5px;
  font-size: 14px;
}

.lms-course-facts small {
  color: rgba(30, 27, 25, 0.52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lms-course-hero-media {
  min-width: 0;
  aspect-ratio: 1.12 / 1;
  overflow: hidden;
  border-radius: 36px;
}

.lms-course-hero-media img,
.lms-course-hero-media .course-topic-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.lms-course-layout {
  padding-top: 72px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.48fr);
  gap: clamp(50px, 8vw, 125px);
  align-items: start;
}

.lms-course-overview,
.lms-course-sidebar {
  min-width: 0;
}

.lms-course-overview {
  max-width: 820px;
}

.lms-course-overview > .index {
  margin-bottom: 34px;
  color: var(--orange);
}

.course-single-content {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.lms-course-sidebar {
  position: sticky;
  top: 24px;
}

.lms-outline-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
}

.lms-outline-panel > summary {
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  font-weight: 650;
}

.lms-outline-panel > summary::-webkit-details-marker {
  display: none;
}

.lms-outline-panel > summary::after {
  content: "↓";
}

.lms-outline-panel[open] > summary::after {
  content: "↑";
}

.lms-outline-panel > summary small {
  margin-left: auto;
  color: rgba(30, 27, 25, 0.5);
  font-size: 11px;
  font-weight: 500;
}

.lms-outline-inner {
  padding: 26px;
}

.lms-outline-heading {
  padding-bottom: 22px;
}

.lms-outline-heading > a {
  display: block;
  font-size: 22px;
  font-weight: 480;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.lms-progress {
  margin-top: 20px;
}

.lms-progress > div {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(30, 27, 25, 0.1);
}

.lms-progress > div span {
  width: 0;
  height: 100%;
  border-radius: inherit;
  display: block;
  background: var(--orange);
  transition: width 0.25s ease;
}

.lms-progress > small {
  margin-top: 8px;
  display: block;
  color: rgba(30, 27, 25, 0.53);
  font-size: 10px;
}

.lms-outline-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lms-outline-list li {
  border-top: 1px solid var(--line);
}

.lms-outline-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.lms-outline-list a {
  min-width: 0;
  padding: 16px 2px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 20px;
  gap: 10px;
  align-items: center;
  transition: color 0.2s ease;
}

.lms-outline-list li.is-current a {
  color: var(--orange);
}

.lms-outline-list li.is-complete .lms-outline-title {
  text-decoration: line-through;
  text-decoration-color: rgba(30, 27, 25, 0.28);
}

.lms-outline-number {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
}

.lms-outline-title {
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
}

.lms-outline-list small {
  color: rgba(30, 27, 25, 0.48);
  font-size: 9px;
  white-space: nowrap;
}

.lms-outline-check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 10px;
}

.lms-outline-list li.is-complete .lms-outline-check {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--ink);
}

.lms-outline-empty {
  margin: 0;
  color: rgba(30, 27, 25, 0.55);
  font-size: 13px;
}

.lms-lesson-page {
  padding-bottom: 115px;
}

.lms-lesson-layout {
  padding-top: 34px;
  display: grid;
  grid-template-columns: minmax(290px, 0.36fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}

.lms-lesson-sidebar {
  min-width: 0;
  position: sticky;
  top: 24px;
}

.lms-lesson-main {
  min-width: 0;
  max-width: 980px;
  padding: clamp(34px, 5vw, 70px);
  overflow: hidden;
  border-radius: 36px;
  background: var(--white);
}

.lms-lesson-header {
  max-width: 820px;
}

.lms-lesson-kicker {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lms-lesson-kicker span + span::before {
  margin-right: 20px;
  color: var(--line);
  content: "•";
}

.lms-lesson-header h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 390;
  line-height: 0.98;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.lms-lesson-header > p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(30, 27, 25, 0.67);
  line-height: 1.6;
}

.learning-visual {
  padding: 28px;
  margin: 48px 0 54px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--wine);
  color: var(--white);
}

.learning-visual figcaption {
  margin-bottom: 28px;
  display: grid;
  gap: 7px;
}

.learning-visual figcaption span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.learning-visual figcaption strong {
  max-width: 600px;
  font-size: 27px;
  font-weight: 430;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.learning-visual-nodes {
  display: grid;
  gap: 10px;
}

.learning-visual-node {
  min-width: 0;
  min-height: 88px;
  padding: 17px;
  border: 1px solid rgba(255, 253, 248, 0.25);
  border-radius: 18px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  background: rgba(255, 253, 248, 0.06);
}

.learning-visual-node small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.learning-visual-node span {
  font-size: 14px;
  line-height: 1.25;
}

.learning-visual--flow .learning-visual-nodes,
.learning-visual--timeline .learning-visual-nodes {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.learning-visual--flow .learning-visual-node,
.learning-visual--timeline .learning-visual-node {
  position: relative;
}

.learning-visual--flow .learning-visual-node:not(:last-child)::after,
.learning-visual--timeline .learning-visual-node:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--ink);
  font-size: 10px;
  content: "→";
  transform: translateY(-50%);
}

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

.learning-visual--orbit .learning-visual-nodes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 50%;
}

.learning-visual--orbit .learning-visual-node {
  min-height: 78px;
  border-radius: 999px;
  place-items: center;
  text-align: center;
}

.learning-visual--stack .learning-visual-nodes {
  max-width: 640px;
}

.learning-visual--stack .learning-visual-node {
  min-height: 58px;
  grid-template-columns: 28px 1fr;
  align-items: center;
}

.lesson-video {
  width: 100%;
  margin: 0 0 54px;
}

.lesson-video iframe,
.lesson-video video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 24px;
  display: block;
  background: var(--ink);
}

.lms-lesson-content {
  width: 100%;
  max-width: 780px;
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: normal;
}

.lms-lesson-content > * {
  max-width: 100%;
}

.lms-lesson-content > *:first-child {
  margin-top: 0;
}

.lms-lesson-content h2 {
  margin: 54px 0 20px;
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 420;
  line-height: 1.08;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.lms-lesson-content h3 {
  margin: 38px 0 14px;
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.lms-lesson-content p,
.lms-lesson-content ul,
.lms-lesson-content ol {
  margin-top: 0;
  margin-bottom: 22px;
}

.lms-lesson-content ul,
.lms-lesson-content ol {
  padding-left: 1.35em;
}

.lms-lesson-content li {
  padding-left: 0.2em;
  margin-bottom: 10px;
}

.lms-lesson-content a {
  border-bottom: 1px solid var(--orange);
}

.lms-lesson-content img,
.lms-lesson-content iframe,
.lms-lesson-content table,
.lms-lesson-content figure {
  max-width: 100%;
}

.lms-lesson-content table {
  width: 100%;
  display: block;
  overflow-x: auto;
}

.lms-lesson-content .learning-task {
  padding: 28px;
  margin: 46px 0 0;
  border: 1px solid rgba(67, 187, 179, 0.45);
  border-radius: 24px;
  background: rgba(67, 187, 179, 0.09);
  box-shadow: none;
}

.lms-completion-card {
  max-width: 780px;
  padding: 26px;
  margin-top: 58px;
  border-radius: 24px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.lms-completion-card > div {
  display: grid;
  gap: 5px;
}

.lms-completion-card small {
  color: var(--orange);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lms-completion-card strong {
  font-size: 20px;
  font-weight: 500;
}

.lms-completion-card p {
  margin: 0;
  color: rgba(30, 27, 25, 0.55);
  font-size: 11px;
}

.lms-complete-button {
  min-width: 230px;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.lms-complete-button.is-complete {
  background: var(--blue);
  color: var(--ink);
}

.lms-lesson-navigation {
  max-width: 780px;
  padding-top: 34px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lms-lesson-navigation a {
  min-width: 0;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.lms-lesson-navigation a:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.lms-lesson-navigation a.next {
  text-align: right;
}

.lms-lesson-navigation small {
  color: rgba(30, 27, 25, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lms-lesson-navigation span {
  min-width: 0;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

@media (min-width: 981px) {
  .lms-outline-panel > summary {
    display: none;
  }
}

@media (max-width: 1100px) {
  .lms-course-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
    gap: 45px;
  }

  .lms-course-hero h1 {
    font-size: clamp(50px, 6.5vw, 78px);
  }

  .lms-course-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
    gap: 45px;
  }

  .lms-lesson-layout {
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
    gap: 30px;
  }

  .lms-lesson-main {
    padding: 42px;
  }
}

@media (max-width: 980px) {
  .course-catalog-head,
  .lms-course-hero,
  .lms-course-layout,
  .lms-lesson-layout {
    grid-template-columns: 1fr;
  }

  .lms-course-hero-media {
    width: min(680px, 100%);
    aspect-ratio: 1.45 / 1;
    grid-row: 1;
  }

  .lms-course-sidebar,
  .lms-lesson-sidebar {
    position: static;
  }

  .lms-course-layout {
    gap: 40px;
  }

  .lms-course-sidebar {
    grid-row: 1;
  }

  .lms-lesson-layout {
    padding-top: 25px;
    gap: 24px;
  }

  .lms-outline-inner {
    padding-top: 6px;
  }

  .lms-lesson-main {
    max-width: none;
  }

  .learning-visual--orbit .learning-visual-nodes {
    border-radius: 30px;
  }
}

@media (max-width: 700px) {
  .course-hero {
    padding: 58px 0 52px;
  }

  .course-hero h1 {
    font-size: clamp(48px, 12vw, 72px);
  }

  .course-catalog-head {
    gap: 20px;
  }

  .lms-course-page,
  .lms-lesson-page {
    padding-bottom: 82px;
  }

  .lms-course-hero {
    padding: 34px 0 52px;
  }

  .lms-course-hero h1 {
    font-size: clamp(46px, 12vw, 68px);
  }

  .lms-course-lead {
    font-size: 17px;
  }

  .lms-course-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lms-primary-action {
    width: 100%;
  }

  .lms-text-link {
    width: max-content;
  }

  .lms-course-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .lms-course-hero-media {
    aspect-ratio: 1.2 / 1;
    border-radius: 28px;
  }

  .lms-course-layout {
    padding-top: 48px;
  }

  .lms-lesson-main {
    padding: 32px 24px;
    border-radius: 28px;
  }

  .lms-lesson-header h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .learning-visual {
    padding: 24px 20px;
    margin: 38px 0 42px;
  }

  .learning-visual--flow .learning-visual-nodes,
  .learning-visual--timeline .learning-visual-nodes {
    grid-template-columns: 1fr;
  }

  .learning-visual--flow .learning-visual-node:not(:last-child)::after,
  .learning-visual--timeline .learning-visual-node:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -9px;
    transform: translateX(50%) rotate(90deg);
  }

  .lms-lesson-content {
    font-size: 16px;
  }

  .lms-lesson-content h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .lms-completion-card {
    align-items: stretch;
    flex-direction: column;
  }

  .lms-complete-button {
    width: 100%;
  }

  .lms-lesson-navigation {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .lms-breadcrumbs {
    width: min(100% - 30px, 1440px);
  }

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

  .lms-outline-inner {
    padding: 18px;
  }

  .lms-outline-list a {
    grid-template-columns: 25px minmax(0, 1fr) 18px;
  }

  .lms-outline-list small {
    display: none;
  }

  .lms-lesson-main {
    width: calc(100% + 20px);
    margin-left: -10px;
    padding: 30px 20px;
    border-radius: 24px;
  }

  .learning-visual--grid .learning-visual-nodes,
  .learning-visual--orbit .learning-visual-nodes {
    grid-template-columns: 1fr;
  }

  .learning-visual--orbit .learning-visual-node {
    border-radius: 18px;
  }

  .lms-lesson-content .learning-task {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lms-progress > div span,
  .lms-lesson-navigation a {
    transition: none;
  }
}

/* ==========================================================
   Unified public typography and layout — keep this block last
   ========================================================== */

:root {
  --lvc-title-xl: clamp(64px, 6.4vw, 104px);
  --lvc-title-lg: clamp(52px, 5.2vw, 82px);
  --lvc-title-md: clamp(38px, 3.8vw, 58px);
  --lvc-title-sm: clamp(28px, 2.6vw, 40px);
  --lvc-title-weight: 510;
  --lvc-title-tracking: -0.052em;
}

/* One visual voice for page titles. */
.hero h1,
.jobs-hero h1,
.form-page h1,
.course-hero h1,
.lms-course-hero h1,
.lms-lesson-header h1,
.job-single h1,
.account-page > h1,
.archive-hero h1,
.standard-header h1,
.article-header h1,
.not-found h1,
.market-hero h1,
.market-archive-hero h1,
.market-single h1 {
  max-width: 100%;
  font-weight: var(--lvc-title-weight);
  letter-spacing: var(--lvc-title-tracking);
  overflow-wrap: break-word;
  text-wrap: balance;
}

.jobs-hero h1,
.form-page h1,
.course-hero h1,
.lms-course-hero h1,
.job-single h1,
.account-page > h1,
.archive-hero h1,
.standard-header h1,
.not-found h1,
.market-archive-hero h1,
.market-single h1 {
  font-size: var(--lvc-title-xl);
  line-height: .94;
}

.article-header h1,
.lms-lesson-header h1 {
  font-size: clamp(46px, 5vw, 74px);
  line-height: .98;
}

/* Consistent section title scale. */
.manifesto h2,
.section-head h2,
.status h2,
.partners h2,
.contact h2,
.project-directions .section-head h2,
.course-future h2,
.market-statement h2,
.market-section-head h2,
.market-service h2,
.market-final h2 {
  font-size: var(--lvc-title-lg);
  font-weight: var(--lvc-title-weight);
  line-height: .98;
  letter-spacing: var(--lvc-title-tracking);
  text-wrap: balance;
}

.course-catalog-head h2,
.jobs-catalog-head h2,
.job-description h2,
.course-single-content h2,
.lms-lesson-content h2,
.article-content h2 {
  font-size: var(--lvc-title-md);
  font-weight: 510;
  line-height: 1.04;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.job-card h2,
.course-card h2,
.market-profile-card h2,
.application-card h2,
.account-head h2 {
  font-weight: 520;
  letter-spacing: -.032em;
}

/* Archives and regular pages: no artificial empty first screen. */
.archive-hero,
.standard-header,
.not-found {
  min-height: 0;
  padding-top: clamp(70px, 7vw, 108px);
  padding-bottom: clamp(70px, 7vw, 108px);
}

.article-header {
  padding-top: clamp(58px, 6vw, 92px);
  padding-bottom: clamp(46px, 5vw, 76px);
}

/* Course catalogue: compact, balanced introduction. */
.course-hero {
  min-height: 0;
  padding: clamp(72px, 7vw, 108px) 0;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .48fr);
  gap: clamp(45px, 7vw, 110px);
  align-items: end;
}

.course-hero h1 {
  max-width: 980px;
  margin-top: 22px;
}

.course-hero > p {
  max-width: 390px;
  margin-bottom: 4px;
  font-size: 17px;
}

.course-catalog-head {
  padding: 40px 0;
}

/* Job submission: columns can never overlap. */
.form-page {
  grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 5vw, 88px);
  overflow: clip;
}

.form-page-intro,
.form-card {
  min-width: 0;
}

.form-page h1 {
  width: min-content;
  min-width: 100%;
  font-size: clamp(60px, 5.7vw, 94px);
  overflow-wrap: normal;
  word-break: normal;
}

/* Homepage directions: readable without becoming a poster. */
.project-directions .section-head {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .52fr);
  gap: clamp(42px, 6vw, 96px);
}

.project-directions .section-head h2 {
  max-width: 850px;
}

.project-directions .direction-grid {
  margin-top: 46px;
}

.project-directions .direction-grid > a {
  min-height: 255px;
}

/* Inner LMS screens. */
.lms-course-hero {
  padding-top: clamp(54px, 6vw, 90px);
  padding-bottom: clamp(58px, 6vw, 94px);
}

.lms-course-hero h1 {
  max-width: 850px;
}

body.single-lvc_lesson .lms-lesson-layout {
  width: min(100% - 40px, 1240px);
  grid-template-columns: minmax(250px, 300px) minmax(0, 820px);
  gap: clamp(26px, 4vw, 52px);
}

body.single-lvc_lesson .lms-lesson-main {
  width: 100%;
  max-width: 820px;
}

body.single-lvc_lesson .lms-lesson-content {
  max-width: 700px;
}

/* Market keeps its identity but follows the same proportions. */
.market-hero {
  min-height: 0;
  padding-top: clamp(62px, 6vw, 94px);
  padding-bottom: clamp(68px, 7vw, 106px);
}

.market-hero h1 {
  font-size: clamp(58px, 6.2vw, 98px);
  line-height: .94;
}

.market-section-head h2,
.market-statement h2,
.market-service h2,
.market-final h2 {
  max-width: 1050px;
}

@media (max-width: 1100px) {
  :root {
    --lvc-title-xl: clamp(58px, 7.5vw, 82px);
    --lvc-title-lg: clamp(46px, 6.3vw, 70px);
  }

  .form-page {
    grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
    gap: 36px;
  }

  .form-page h1 {
    font-size: clamp(54px, 6.8vw, 72px);
  }
}

@media (max-width: 900px) {
  .course-hero,
  .form-page,
  .project-directions .section-head {
    grid-template-columns: 1fr;
  }

  .course-hero {
    gap: 30px;
  }

  .course-hero > p {
    max-width: 620px;
  }

  .form-page {
    overflow: visible;
  }

  .form-page h1 {
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  :root {
    --lvc-title-xl: clamp(46px, 12vw, 64px);
    --lvc-title-lg: clamp(40px, 10vw, 56px);
    --lvc-title-md: clamp(30px, 8vw, 42px);
  }

  .archive-hero,
  .standard-header,
  .not-found,
  .course-hero {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .form-page h1 {
    font-size: clamp(48px, 13vw, 66px);
  }

  .project-directions .direction-grid {
    margin-top: 28px;
  }

  .project-directions .direction-grid > a {
    min-height: 205px;
  }

  body.single-lvc_lesson .lms-lesson-layout {
    width: min(100% - 28px, 1240px);
    grid-template-columns: 1fr;
  }
}
