@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/public/assets/inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/public/assets/inter-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/public/assets/inter-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/public/assets/inter-700.ttf") format("truetype");
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/public/assets/oswald-600.ttf") format("truetype");
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/public/assets/oswald-700.ttf") format("truetype");
}

:root {
  --black: #000;
  --gray-bg: #f7f7f7;
  --orange: #ee7c50;
  --pink: #e76c9b;
  --purple: #7b4a8c;
  --yellow: #fdca15;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: "Inter", Arial, sans-serif;
}

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

button {
  color: inherit;
}

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.section {
  position: relative;
  overflow: hidden;
}

.section__inner,
.section-rule {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section-rule {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

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

.button:focus-visible,
.text-link:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid #4d90fe;
  outline-offset: 3px;
}

.button--yellow {
  color: #000;
  background: var(--yellow);
}

.button--yellow:hover {
  background: #ffdc57;
}

.button--ghost-light {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.button--ghost-light:hover {
  color: #000;
  background: #fff;
}

.button--black {
  color: #fff;
  background: #000;
}

.button--black:hover {
  background: #282828;
}

.button--white {
  color: #000;
  background: #fff;
}

.button--white:hover {
  background: #f1f1f1;
}

.button--outline-dark {
  color: #000;
  border-color: #000;
  background: transparent;
}

.button--outline-dark:hover {
  color: #fff;
  background: #000;
}

.button--small {
  min-height: 37px;
  padding: 0 14px;
  font-size: 12px;
  letter-spacing: 0.055em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.text-link--purple {
  color: var(--purple);
}

.hero {
  position: relative;
  height: 748px;
  overflow: hidden;
  color: #fff;
  background: #211813;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  width: min(1440px, 100%);
  height: 88px;
  margin: 0 auto;
  padding: 0 40px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/public/assets/header-texture.webp") center / cover no-repeat;
  content: "";
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 38px;
  height: 36px;
}

.brand__copy {
  display: flex;
  flex-direction: column;
}

.brand__copy strong {
  font-size: 9px;
  font-weight: 700;
  line-height: 12px;
  text-transform: uppercase;
}

.brand__copy span {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  line-height: 12px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.primary-nav a,
.search-link {
  transition: opacity 160ms ease;
}

.primary-nav a:hover,
.search-link:hover {
  opacity: 0.65;
}

.search-link {
  justify-self: end;
}

.search-link img {
  width: 18px;
  height: 18px;
}

.hero__inner {
  position: relative;
  width: min(1440px, 100%);
  height: 100%;
  margin: 0 auto;
}

.hero__title {
  position: absolute;
  top: 332px;
  left: 80px;
  width: 535px;
  font-family: "Oswald", sans-serif;
  font-size: 76px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero__intro {
  position: absolute;
  top: 507px;
  left: auto;
  right: 115px;
  width: 295px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.hero__actions {
  position: absolute;
  top: 620px;
  left: auto;
  right: 143px;
  display: flex;
  gap: 20px;
}

.hero__actions .button,
.specialties__button,
.admissions__actions .button {
  font-size: 16px;
}

.campaign-card {
  position: absolute;
  top: 448px;
  right: 40px;
  display: flex;
  width: 199px;
  height: 172px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  color: #000;
  background: #fff;
}

.campaign-card .eyebrow {
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.campaign-card strong {
  margin-top: 12px;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.campaign-card .button {
  margin-top: 19px;
}

.history {
  height: 900px;
  background: #fff;
}

.history__layout {
  display: grid;
  width: min(1200px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  padding-top: 90px;
  grid-template-columns: 520px 664px;
  gap: 16px;
}

.history__copy {
  position: relative;
  height: 688px;
}

.history__year {
  position: relative;
  top: 0;
  color: var(--purple);
  font-family: "Oswald", sans-serif;
  font-size: 160px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -3.84px;
}

.history h2 {
  margin-top: 32px;
  color: #1d1b20;
  font-family: "Oswald", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.history__description {
  width: 422px;
  margin-top: 28px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 18px;
  line-height: 28px;
}

.history .text-link {
  margin-top: 24px;
  font-size: 16px;
}

.history__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 40px;
}

.history__stats div {
  display: flex;
  min-width: 157px;
  flex-direction: column;
}

.history__stats strong {
  font-family: "Oswald", sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.2;
}

.history__stats span {
  max-width: 155px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  line-height: 19px;
}

.history__gallery {
  display: grid;
  height: 658px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 250px 400px;
  gap: 8px;
  margin-top: 30px;
}

.history__gallery figure {
  position: relative;
  overflow: hidden;
}

.history__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history__gallery figure:first-child img {
  object-position: 43% 36%;
}

.history__gallery figure:nth-child(2) img {
  object-position: 58% 17%;
}

.history__gallery-wide {
  grid-column: 1 / -1;
}

.history__gallery-wide img {
  object-position: 50% 48%;
}

.section--gray {
  background: var(--gray-bg);
}

.specialties {
  height: 879px;
}

.specialties .section__inner {
  position: relative;
  height: 100%;
  padding-top: 120px;
}

.specialties__title {
  width: 685px;
  font-family: "Oswald", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.specialties__title span {
  color: var(--orange);
}

.specialty-grid {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 16px;
}

.specialty-card {
  position: relative;
  height: 236px;
  overflow: hidden;
  background: #fff;
}

.specialty-card::after {
  position: absolute;
  top: 156px;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  content: "";
}

.specialty-card--yellow {
  --accent: var(--yellow);
}

.specialty-card--orange {
  --accent: var(--orange);
}

.specialty-card--pink {
  --accent: var(--pink);
}

.specialty-card--purple {
  --accent: var(--purple);
}

.specialty-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.specialty-card:nth-child(1) img {
  object-position: center 45%;
}

.specialty-card:nth-child(2) img {
  object-position: center 42%;
}

.specialty-card:nth-child(3) img {
  object-position: center 54%;
}

.specialty-card:nth-child(6) img {
  object-position: center 43%;
}

.specialty-card h3 {
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.specialties__button {
  position: absolute;
  top: 120px;
  right: 0;
}

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

.admissions {
  height: 704px;
}

.admissions__layout {
  display: grid;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 120px;
  grid-template-columns: 348px 678px;
  gap: 174px;
}

.admissions__aside {
  position: relative;
  height: 464px;
}

.admissions__aside h2 {
  font-family: "Oswald", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.admissions__aside h2 span {
  color: var(--yellow);
}

.admissions__aside > p {
  width: 348px;
  margin-top: 30px;
  color: rgba(0, 0, 0, 0.7);
  font-size: 16px;
  line-height: 1.45;
}

.admissions__contact {
  display: none;
}

.admissions__contact {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  width: 265px;
  flex-direction: column;
  border-top: 4px solid var(--yellow);
  padding-top: 21px;
}

.admissions__contact strong,
.admissions__contact a {
  font-size: 14px;
  line-height: 1.5;
}

.admissions__contact a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admissions__content {
  width: 678px;
}

.admission-steps {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.admission-steps li {
  display: grid;
  height: 92px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  grid-template-columns: 76px 1fr;
  align-items: center;
}

.admission-steps li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.admission-steps > li > span {
  font-family: "Oswald", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 43px;
}

.admission-steps strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
}

.admission-steps p {
  margin-top: 4px;
  color: rgba(0, 0, 0, 0.4);
  font-size: 14px;
  line-height: 17px;
}

.admissions__actions {
  display: grid;
  margin-top: 44px;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.boarding {
  display: grid;
  height: 713px;
  grid-template-columns: minmax(0, 700px) 1fr;
  background: var(--purple);
}

.boarding__photo {
  height: 713px;
  overflow: hidden;
}

.boarding__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.boarding__panel {
  color: #fff;
  background: var(--purple);
}

.boarding__content {
  width: min(527px, calc(100% - 80px));
  margin-left: 93px;
  padding-top: 85px;
}

.boarding h2 {
  font-family: "Oswald", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.boarding__content > p {
  margin-top: 25px;
  font-size: 14px;
  line-height: 1.4;
}

.boarding__features {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.boarding__features li {
  display: flex;
  min-height: 79px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.boarding__features li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.boarding__features div {
  display: flex;
  flex-direction: column;
}

.boarding__features strong {
  font-size: 14px;
  line-height: 1.2;
}

.boarding__features span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  line-height: 1.2;
}

.boarding__features img {
  width: 11px;
  height: 8px;
}

.boarding .button {
  margin-top: 30px;
}

.news {
  height: 654px;
  background: #fff;
}

.news__inner {
  padding-top: 120px;
}

.section-heading {
  display: flex;
  min-height: 122px;
  align-items: flex-end;
  justify-content: space-between;
}

.section-heading h2,
.faq h2 {
  font-family: "Oswald", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading .text-link {
  margin-bottom: 27px;
}

.news .section-heading {
  min-height: 65px;
}

.news .section-heading .text-link {
  margin-bottom: 0;
  font-size: 14px;
}

.news__layout {
  display: grid;
  margin-top: 40px;
  border-bottom: 2px solid var(--yellow);
}

.news-story {
  display: grid;
  min-height: 159px;
  border-top: 2px solid var(--yellow);
  grid-template-columns: 160px 510px 1fr;
  align-items: center;
}

.news-story time {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-story time strong {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}

.news-story time span {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.news-story h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.news-story p {
  width: 360px;
  margin-left: auto;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1.4;
}

.events {
  height: 826px;
  background: #fff;
}

.events__inner {
  padding-top: 76px;
}

.section-heading--single {
  min-height: 110px;
  align-items: flex-start;
}

.section-heading--single .text-link {
  margin-top: 41px;
  margin-bottom: 0;
}

.event-grid {
  display: grid;
  margin-top: 41px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.event-card {
  position: relative;
  height: 480px;
  padding: 24px;
  overflow: hidden;
}

.event-card--yellow {
  color: #000;
  background: var(--yellow);
}

.event-card--purple {
  color: #fff;
  background: var(--purple);
}

.event-card--pink {
  color: #fff;
  background: var(--pink);
}

.event-card__type {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0.5;
}

.event-card time {
  display: block;
  position: absolute;
  top: 239px;
  left: 24px;
  margin-top: 0;
  font-family: "Oswald", sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.event-card h3 {
  position: absolute;
  top: 310px;
  left: 24px;
  margin-top: 0;
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.event-card__footer {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding-top: 12px;
  border-top: 1px solid currentColor;
}

.event-card__footer p {
  font-size: 12px;
  line-height: 1.2;
}

.event-card__footer a {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 14px;
  opacity: 0.48;
}

.faq {
  height: 729px;
  background: #fff;
}

.faq__layout {
  display: grid;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 120px;
  grid-template-columns: 456px 744px;
}

.faq h2 {
  width: 288px;
}

.accordion {
  width: 744px;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item button {
  display: flex;
  width: 100%;
  height: 73px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.faq-item button img,
.faq-all img {
  width: 24px;
  height: 24px;
}

.faq-item.is-open button {
  height: 64px;
  align-items: flex-end;
  padding-bottom: 16px;
}

.faq-answer {
  padding-bottom: 25px;
}

.faq-answer p {
  width: 100%;
  color: rgba(0, 0, 0, 0.8);
  font-size: 16px;
  line-height: 1.4;
}

.faq-all {
  display: flex;
  height: 73px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 16px;
  font-weight: 600;
}

.site-quote {
  height: 360px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 5%, #fff 12%, var(--pink) 32%, var(--purple) 50.5%, rgba(0, 0, 0, 0.33) 90%),
    #000;
}

.site-quote__inner {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  padding: 134px 289px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-quote blockquote {
  width: 621px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-style: italic;
  line-height: 1;
}

.site-quote cite {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 1px;
  line-height: 15px;
}

.site-footer {
  height: 413px;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.footer__inner {
  position: relative;
  display: grid;
  width: min(1200px, calc(100% - 48px));
  height: 413px;
  margin: 0 auto;
  padding-top: 72px;
  grid-template-columns: 354.9px 177.45px 177.45px 224.2px 266px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
}

.footer__brand > strong {
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
}

.footer__brand > span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  font-weight: 700;
  line-height: 13.5px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.footer__colors {
  display: flex;
  margin-top: 24px;
  gap: 6px;
}

.footer__colors i {
  width: 18px;
  height: 4px;
  background: var(--yellow);
  opacity: 0.7;
}

.footer__colors i:nth-child(2) {
  background: var(--orange);
}

.footer__colors i:nth-child(3) {
  background: var(--pink);
}

.footer__colors i:nth-child(4) {
  background: var(--purple);
}

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

.footer__column h2 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.28);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.footer__column a {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 17px;
}

.footer__contacts {
  display: flex;
  grid-column: 5;
  flex-direction: column;
  font-style: normal;
}

.footer__contacts span {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 10px;
  line-height: 15px;
}

.footer__contacts span:first-child {
  margin-top: 20px;
}

.footer__contacts p,
.footer__contacts a {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 23px;
}

.footer__bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 16.5px;
}

@media (max-width: 1200px) {
  .site-header {
    padding: 0 24px;
  }

  .primary-nav {
    gap: 16px;
    font-size: 12px;
  }

  .hero__title,
  .hero__intro,
  .hero__actions {
    left: 48px;
  }

  .history__layout {
    grid-template-columns: minmax(380px, 44%) 1fr;
  }

  .admissions__layout {
    grid-template-columns: minmax(300px, 36%) 1fr;
    gap: 8%;
  }

  .admissions__content {
    width: 100%;
  }

  .boarding {
    grid-template-columns: 49% 51%;
  }

  .boarding__content {
    width: calc(100% - 80px);
    margin-left: 56px;
  }

  .faq__layout {
    grid-template-columns: 38% 62%;
  }

  .accordion {
    width: 100%;
  }

  .footer__inner {
    grid-template-columns: 29% 17% 20% 7% 27%;
  }
}

@media (max-width: 960px) {
  .primary-nav {
    display: none;
  }

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

  .hero {
    height: 720px;
  }

  .hero__title {
    top: 138px;
    font-size: 66px;
  }

  .campaign-card {
    top: auto;
    right: 32px;
    bottom: 32px;
  }

  .history,
  .specialties,
  .admissions,
  .news,
  .events,
  .faq,
  .site-footer {
    height: auto;
  }

  .history__layout {
    height: auto;
    padding: 80px 0;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .history__copy {
    height: auto;
  }

  .history__stats {
    position: static;
    margin-top: 64px;
  }

  .history__gallery {
    height: 580px;
    grid-template-rows: 220px 352px;
  }

  .specialties .section__inner {
    padding: 80px 0;
  }

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

  .specialties__button {
    position: static;
    margin: 48px auto 0;
    transform: none;
  }

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

  .admissions__layout {
    padding: 80px 0;
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .admissions__aside {
    height: auto;
  }

  .admissions__contact {
    position: static;
    margin-top: 56px;
  }

  .boarding {
    height: auto;
    grid-template-columns: 1fr;
  }

  .boarding__photo {
    height: 620px;
  }

  .boarding__content {
    width: min(620px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0;
  }

  .news__inner,
  .events__inner {
    padding: 80px 0;
  }

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

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

  .event-card {
    height: 360px;
  }

  .event-card time {
    top: 136px;
  }

  .event-card h3 {
    top: 206px;
  }

  .site-quote {
    height: 300px;
  }

  .site-quote__inner {
    display: flex;
    width: min(620px, calc(100% - 48px));
    padding: 96px 0 0;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  .site-quote blockquote {
    width: 100%;
  }

  .faq__layout {
    padding: 80px 0;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__inner {
    display: grid;
    height: auto;
    padding: 72px 0 32px;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px 32px;
  }

  .footer__contacts {
    grid-column: auto;
  }

  .footer__bottom {
    position: static;
    grid-column: 1 / -1;
    margin-top: 32px;
  }
}

@media (max-width: 640px) {
  .section__inner,
  .section-rule,
  .history__layout,
  .admissions__layout,
  .faq__layout,
  .footer__inner {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 76px;
    padding: 0 20px;
  }

  .brand__copy {
    display: none;
  }

  .hero {
    height: 780px;
  }

  .hero__image {
    object-position: 57% center;
  }

  .hero__title {
    top: 124px;
    left: 20px;
    width: calc(100% - 40px);
    font-size: clamp(48px, 14vw, 64px);
    line-height: 1.05;
  }

  .hero__intro {
    top: 350px;
    left: 20px;
    right: auto;
    width: calc(100% - 40px);
    font-size: 16px;
    line-height: 24px;
  }

  .hero__actions {
    top: 440px;
    left: 20px;
    right: auto;
    flex-wrap: wrap;
    gap: 12px;
  }

  .campaign-card {
    right: 20px;
    bottom: 20px;
    left: 20px;
    width: auto;
  }

  .history__layout,
  .specialties .section__inner,
  .admissions__layout,
  .news__inner,
  .events__inner,
  .faq__layout {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .history__year {
    font-size: 112px;
    line-height: 0.9;
  }

  .history h2,
  .specialties__title,
  .admissions__aside h2,
  .boarding h2,
  .section-heading h2,
  .faq h2 {
    width: 100%;
    font-size: 42px;
  }

  .history__description {
    width: 100%;
  }

  .history__stats {
    gap: 24px;
  }

  .history__stats div {
    min-width: 0;
  }

  .history__stats strong {
    font-size: 48px;
  }

  .history__gallery {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 260px);
  }

  .history__gallery-wide {
    grid-column: auto;
  }

  .specialties__title {
    width: 100%;
  }

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

  .admissions__aside > p {
    width: 100%;
  }

  .admission-steps li {
    height: auto;
    min-height: 100px;
    grid-template-columns: 60px 1fr;
  }

  .admission-steps > li > span {
    font-size: 30px;
  }

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

  .boarding__photo {
    height: 430px;
  }

  .boarding__content {
    width: calc(100% - 40px);
    padding: 56px 0;
  }

  .boarding__features span {
    max-width: 260px;
  }

  .section-heading {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .section-heading .text-link,
  .section-heading--single .text-link {
    margin-bottom: 0;
  }

  .news__layout {
    margin-top: 36px;
  }

  .news-story {
    min-height: 0;
    padding: 24px 0;
    grid-template-columns: 88px 1fr;
    gap: 0 16px;
  }

  .news-story time strong {
    font-size: 40px;
  }

  .news-story time span {
    font-size: 15px;
  }

  .news-story h3 {
    font-size: 18px;
  }

  .news-story p {
    width: auto;
    margin: 12px 0 0;
    grid-column: 2;
  }

  .event-grid {
    margin-top: 36px;
  }

  .event-card time {
    font-size: 52px;
  }

  .event-card h3 {
    font-size: 30px;
  }

  .event-card {
    height: 330px;
  }

  .event-card time {
    top: 114px;
  }

  .event-card h3 {
    top: 177px;
  }

  .site-quote {
    height: 280px;
  }

  .site-quote__inner {
    width: calc(100% - 40px);
    padding-top: 72px;
  }

  .site-quote blockquote {
    font-size: 26px;
    line-height: 1.08;
  }

  .faq-item button,
  .faq-all {
    min-height: 73px;
    height: auto;
    gap: 20px;
    padding: 20px 0;
    font-size: 14px;
  }

  .faq-item.is-open button {
    height: auto;
    align-items: center;
    padding: 20px 0 12px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .site-footer {
    overflow: visible;
  }

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

  .footer__brand,
  .footer__contacts,
  .footer__bottom {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
