@font-face {
  font-family: "MessinaSans";
  src: url("https://mitadmissions.org/wp-content/themes/mit-admissions-theme/static/fonts/MessinaSansWeb-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "MessinaSans";
  src: url("https://mitadmissions.org/wp-content/themes/mit-admissions-theme/static/fonts/MessinaSansWeb-SemiBold.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "MessinaSans";
  src: url("https://mitadmissions.org/wp-content/themes/mit-admissions-theme/static/fonts/MessinaSansWeb-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "MessinaSans";
  src: url("https://mitadmissions.org/wp-content/themes/mit-admissions-theme/static/fonts/MessinaSansWeb-Black.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Cooper";
  src: url("https://mitadmissions.org/wp-content/themes/mit-admissions-theme/static/fonts/CooperLightBT.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

:root {
  --c-text: #111111;
  --c-navy: #1b2a3d;
  --c-bg: #ffffff;
  --c-spot: #111111;
  --c-spot-alt: #ffc61a;
  --c-blue: #1365fb;
  --c-muted: #5f6470;
  --c-line: #dfe3e8;
  --c-soft: #f5f7fa;
  --c-reverse: #ffffff;
  --c-rainbow: linear-gradient(90deg, #025fff, #22d278, #f5e400, #f09835, #e9373f, #9650a9, #025fff);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "MessinaSans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

a:hover,
a:focus {
  color: #1365fb;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  gap: 26px;
  align-items: center;
  padding: 21px clamp(22px, 5vw, 74px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--c-line);
}

.site-header::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--c-rainbow);
  background-size: 220% 100%;
  animation: rainbow-slide 12s linear infinite;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.brand small {
  margin-top: 5px;
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a,
.language-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
}

.language-toggle {
  padding-left: 20px;
  border-left: 1px solid var(--c-line);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) clamp(22px, 5vw, 74px) clamp(28px, 5vw, 58px);
}

.hero-copy {
  max-width: 820px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--c-text);
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 800;
  line-height: 0.92;
}

h2 {
  margin-bottom: 20px;
  color: var(--c-text);
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 800;
  line-height: 0.98;
}

h3 {
  margin-bottom: 8px;
  color: var(--c-text);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.05;
}

.lead {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--c-text);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.18;
}

.small-lead {
  max-width: 700px;
  color: var(--c-muted);
  font-size: clamp(19px, 2vw, 25px);
}

.byline {
  display: flex;
  align-items: center;
  gap: 17px;
  max-width: 620px;
  margin-top: 32px;
}

.byline img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: var(--c-bg);
}

.byline strong,
.byline span {
  display: block;
}

.byline strong {
  font-size: 20px;
  font-weight: 800;
}

.byline span {
  margin-top: 4px;
  color: var(--c-muted);
  font-size: 15px;
  font-weight: 500;
}

.hero-actions,
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 2px solid currentColor;
  color: var(--c-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.button.primary {
  background: var(--c-text);
  border-color: var(--c-text);
  color: var(--c-reverse);
}

.button.secondary {
  color: var(--c-text);
}

.button:hover,
.button:focus {
  background: var(--c-text);
  border-color: var(--c-text);
  color: var(--c-reverse);
}

.home-notes {
  border-top: 6px solid transparent;
  border-image: var(--c-rainbow) 1;
}

.home-notes h2 {
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--c-line);
  font-size: 28px;
}

.home-notes a {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
}

.home-notes span,
.quick-links span,
.section-label,
.resume time {
  display: block;
  margin-bottom: 7px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-notes strong {
  display: block;
  color: var(--c-text);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.08;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 74px) 44px;
}

.quick-links a {
  padding: 24px 26px 24px 0;
  border-top: 1px solid var(--c-line);
}

.quick-links a + a {
  padding-left: 26px;
  border-left: 1px solid var(--c-line);
}

.quick-links strong {
  display: block;
  max-width: 320px;
  color: var(--c-text);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.08;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(50px, 8vw, 96px) clamp(22px, 5vw, 74px);
  border-top: 1px solid var(--c-line);
}

.band {
  background: var(--c-bg);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading p:not(.section-label) {
  max-width: 820px;
  color: var(--c-muted);
  font-size: 23px;
  line-height: 1.28;
}

.prose {
  max-width: 860px;
  color: var(--c-text);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.28;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.prose p {
  margin-bottom: 26px;
}

.approach-grid,
.feature-list,
.results-grid,
.resume,
.credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line);
}

.approach-grid article,
.feature-list article,
.results-grid article,
.resume article,
.credentials > div {
  padding: 26px 24px 28px 0;
  border-bottom: 1px solid var(--c-line);
}

.approach-grid article + article,
.feature-list article + article,
.results-grid article + article,
.resume article + article,
.credentials > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--c-line);
}

.approach-grid p,
.feature-list p,
.results-grid p,
.resume p,
.stage p,
.stage li,
.credentials li {
  color: var(--c-muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--c-line);
}

.stage {
  padding: 26px 22px 28px 0;
  border-bottom: 1px solid var(--c-line);
}

.stage + .stage {
  padding-left: 22px;
  border-left: 1px solid var(--c-line);
}

.stage span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  background: var(--c-text);
  color: var(--c-reverse);
  font-weight: 800;
}

.stage:nth-child(2) span {
  background: #e9373f;
}

.stage:nth-child(3) span {
  background: var(--c-blue);
}

.stage:nth-child(4) span {
  background: var(--c-spot-alt);
  color: var(--c-text);
}

ul {
  margin-top: 16px;
  padding-left: 1.1em;
}

li {
  margin-bottom: 10px;
}

.stage ul {
  font-size: 16px;
  line-height: 1.35;
}

.feature-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 38px;
}

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

.feature-list p {
  font-size: 16px;
}

.included {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 6px solid transparent;
  border-image: var(--c-rainbow) 1;
}

.included ul {
  columns: 2;
  column-gap: 54px;
  color: var(--c-muted);
}

.note,
.form-note {
  color: var(--c-muted);
  font-size: 15px;
}

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

.results-grid h3 {
  color: var(--c-text);
}

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

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.72fr);
  gap: clamp(34px, 6vw, 84px);
}

.contact-cards a {
  color: var(--c-text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #1365fb;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding-top: 4px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--c-text);
  font-size: 15px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(27, 42, 61, 0.22);
  background: transparent;
  color: var(--c-text);
  font: inherit;
  font-size: 18px;
  padding: 14px 16px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: rgba(27, 42, 61, 0.08);
  box-shadow: 0 10px 35px rgba(27, 42, 61, 0.1), 0 2px 0 #1365fb;
}

textarea {
  resize: vertical;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 34px;
  padding: 40px clamp(22px, 5vw, 74px);
  position: relative;
  background: var(--c-navy);
  color: var(--c-reverse);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--c-rainbow);
  background-size: 220% 100%;
  animation: rainbow-slide 12s linear infinite reverse;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.footer a {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.youtube-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--c-bg);
}

.redirect-card {
  max-width: 680px;
  text-align: center;
}

.redirect-card h1 {
  font-size: clamp(42px, 8vw, 76px);
}

@keyframes rainbow-slide {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 220% 50%;
  }
}

@media (max-width: 1120px) {
  .timeline,
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage:nth-child(odd),
  .feature-list article:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .language-toggle {
    width: fit-content;
    padding-left: 0;
    border-left: 0;
  }

  .hero,
  .two-column,
  .contact-layout,
  .footer,
  .resume,
  .results-grid,
  .credentials {
    grid-template-columns: 1fr;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .quick-links a,
  .quick-links a + a,
  .approach-grid article,
  .approach-grid article + article,
  .results-grid article,
  .results-grid article + article,
  .resume article,
  .resume article + article,
  .credentials > div,
  .credentials > div + div {
    padding-left: 0;
    border-left: 0;
  }

  h1 {
    font-size: clamp(46px, 15vw, 78px);
  }
}

@media (max-width: 580px) {
  body {
    font-size: 16px;
  }

  .nav {
    gap: 14px;
  }

  .nav a,
  .language-toggle {
    font-size: 15px;
  }

  .byline img {
    width: 76px;
    height: 76px;
  }

  .timeline,
  .feature-list,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .stage,
  .stage + .stage,
  .feature-list article,
  .feature-list article + article {
    padding-left: 0;
    border-left: 0;
  }

  .included ul {
    columns: 1;
  }
}
