@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("./manrope-cyrillic-400.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("./manrope-cyrillic-500.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("./manrope-cyrillic-600.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("./manrope-cyrillic-700.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("./manrope-cyrillic-800.woff2") format("woff2");
}

:root {
  --black: #000000;
  --muted: #5b5b5b;
  --yellow: #ffd764;
  --yellow-strong: #ffcd3c;
  --yellow-mid: #ffe696;
  --yellow-soft: #ffeeb8;
  --yellow-pale: #fff2c8;
  --white: #ffffff;
  --paper: #fbfaf6;
  --line: #e8e4d8;
  --shadow: 0 24px 70px rgba(80, 65, 22, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

main {
  overflow: hidden;
}

.site-header,
.section,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-line {
  display: inline-block;
  width: 30px;
  height: 5px;
  background: var(--yellow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--black);
}

.section {
  margin-bottom: 110px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 58px;
  min-height: 690px;
  padding: 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker {
  margin: 0 0 15px;
  color: #8a6810;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(50px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 span,
.marker {
  padding: 0 0.09em 0.07em;
  background: var(--yellow);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

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

.button-dark:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

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

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  min-width: 0;
}

.hero-meta strong,
.hero-meta span {
  display: block;
}

.hero-meta strong {
  margin-bottom: 5px;
  font-size: 27px;
  line-height: 1;
}

.hero-meta span {
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -24px 28px 24px -26px;
  border-radius: 38px;
  background: var(--yellow-pale);
  transform: rotate(-3deg);
}

.hero-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 28px 65px rgba(72, 53, 8, 0.16);
  transform: rotate(1.7deg);
}

.hero-note {
  position: absolute;
  right: -18px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border: 2px solid var(--black);
  border-radius: 16px;
  background: var(--yellow);
  transform: rotate(-2deg);
}

.hero-note span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note strong {
  font-size: 18px;
}

.problem {
  padding-inline: 40px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 70px;
  align-items: start;
}

.problem h2,
.section-head h2,
.curator h2,
.registration h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.problem-copy {
  padding-top: 8px;
  color: var(--muted);
  font-size: 17px;
}

.problem-copy p {
  margin: 0 0 18px;
}

.how,
.week,
.program {
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 15px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 180px;
  padding: 30px 36px;
  border-radius: var(--radius-lg);
}

.step-one {
  background: var(--yellow-pale);
}

.step-two {
  background: var(--yellow-soft);
}

.step-three {
  background: var(--yellow-mid);
}

.step-number {
  padding-right: 28px;
  border-right: 2px solid var(--yellow-strong);
  color: #efb900;
  font-size: clamp(70px, 8vw, 100px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.08em;
}

.step h3 {
  margin: 4px 0 7px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.step p {
  margin: 0;
  color: #3d3a31;
}

.step-days {
  font-size: 13px;
  font-weight: 800;
}

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

.day {
  grid-column: span 2;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffdf8;
}

.day-7 {
  grid-column: 3 / span 2;
  background: var(--yellow);
}

.day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #765b16;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.day-index {
  color: #e9b500;
  font-size: 25px;
  line-height: 1;
}

.day h3 {
  margin: 42px 0 10px;
  font-size: 22px;
  line-height: 1.1;
}

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

.day-7 .day-top,
.day-7 p {
  color: #4d3b0d;
}

.day-7 .day-index {
  color: var(--black);
}

.week-note {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 18px 22px;
  border-left: 5px solid var(--yellow);
  color: #4b463a;
  background: var(--yellow-pale);
  font-size: 14px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.format-card {
  grid-column: span 2;
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.format-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.format-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.format-card h3 {
  margin: 34px 0 10px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

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

.curator {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.curator-main,
.curator-side {
  border-radius: var(--radius-xl);
}

.curator-main {
  padding: 56px;
  background: var(--yellow);
}

.curator-main .section-kicker {
  color: #5f490f;
}

.curator-main > p:last-child {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: 17px;
}

.curator-regalia {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.curator-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  padding: 42px;
  color: var(--white);
  background: var(--black);
}

.curator-side p {
  margin: auto 0 0;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.quote-mark {
  color: var(--yellow);
  font-size: 100px;
  line-height: 0.7;
}

.registration {
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--yellow-pale);
}

.registration-head {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.registration-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -28px;
}

.registration-head > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

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

.registration-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  background: var(--white);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.registration-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(80, 65, 22, 0.12);
}

.registration-card:nth-child(2) {
  background: var(--yellow-soft);
}

.registration-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #765b16;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.registration-card-top span:last-child {
  color: var(--black);
  font-size: 19px;
  line-height: 1;
}

.registration-card h3 {
  margin: auto 0 10px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

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

.other-subjects {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--black);
}

.other-subjects div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.other-subjects strong {
  font-size: 16px;
}

.other-subjects span {
  color: #cfcfcf;
  font-size: 13px;
}

.other-subjects .button {
  flex: 0 0 auto;
  color: var(--black);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
  margin-bottom: 28px;
  padding: 30px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-links a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .section {
    margin-bottom: 78px;
  }

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

  .hero-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .problem-grid,
  .section-head,
  .curator {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 22px;
  }

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

  .day,
  .day-7,
  .format-card,
  .format-card:nth-child(4) {
    grid-column: auto;
  }

  .format-card:last-child,
  .day-7 {
    grid-column: 1 / -1;
  }

  .registration-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .registration-head .section-kicker {
    grid-column: auto;
    margin-bottom: 0;
  }

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

  .registration-card {
    min-height: 210px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section,
  .footer {
    width: min(100% - 24px, 560px);
  }

  .site-header {
    min-height: 70px;
  }

  .nav > a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 10px 14px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 32px 22px;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta strong {
    font-size: 22px;
  }

  .hero-meta span {
    font-size: 10px;
  }

  .hero-note {
    right: -6px;
    bottom: 12px;
  }

  .problem {
    padding-inline: 8px;
  }

  .problem-grid {
    gap: 28px;
  }

  .problem h2,
  .section-head h2,
  .curator h2,
  .registration h2 {
    font-size: 37px;
  }

  .how,
  .week,
  .program {
    padding: 34px 20px;
    border-radius: 24px;
  }

  .step {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 18px;
    min-height: 165px;
    padding: 24px 18px;
  }

  .step-number {
    padding-right: 15px;
    font-size: 52px;
  }

  .step h3 {
    font-size: 23px;
  }

  .step p {
    font-size: 13px;
  }

  .week-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .day,
  .day-7,
  .format-card,
  .format-card:nth-child(4),
  .format-card:last-child {
    grid-column: auto;
    min-height: 190px;
  }

  .day h3 {
    margin-top: 30px;
  }

  .curator-main,
  .curator-side,
  .registration {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .curator-side {
    min-height: 300px;
  }

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

  .footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-inline: 8px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}

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

  .button {
    transition: none;
  }
}
