:root {
  --ink: #162033;
  --muted: #5c6678;
  --line: #cfd8e5;
  --paper: #eef2f6;
  --panel: #fbfcfe;
  --white: #ffffff;
  --navy: #14284a;
  --deep: #101927;
  --green: #2f6f5e;
  --gold: #c79a3b;
  --burgundy: #7e2f46;
  --shadow: 0 22px 54px rgba(16, 25, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #101927;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--green));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  color: var(--white);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 30px);
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

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

.main-nav .nav-cta {
  color: #101927;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.main-nav .lang-link {
  min-width: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 7px 10px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 23, 42, 0.92), rgba(10, 23, 42, 0.7) 46%, rgba(10, 23, 42, 0.15)),
    linear-gradient(0deg, rgba(10, 23, 42, 0.25), rgba(10, 23, 42, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 0 86px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ee1cf;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  max-width: 720px;
  font-size: clamp(2rem, 3.2vw, 2.95rem);
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  color: var(--white);
  background: var(--green);
}

.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 700;
}

.student-stories {
  padding: 84px 0;
  background: #f1efe9;
}

.stories-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 38px;
}

.stories-head h2 {
  max-width: 560px;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
}

.stories-head h2 span {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-weight: 700;
}

.stories-head > p {
  margin: 36px 0 0;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.55;
}

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

.carousel-shell {
  position: relative;
}

.carousel-track {
  --visible-cards: 4;
  --carousel-gap: 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--carousel-gap) * (var(--visible-cards) - 1))) / var(--visible-cards));
  grid-template-columns: none;
  gap: var(--carousel-gap);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track > * {
  scroll-snap-align: start;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(16, 25, 39, 0.55);
  box-shadow: 0 14px 30px rgba(16, 25, 39, 0.18);
  cursor: pointer;
  font-size: 2.7rem;
  line-height: 0.8;
  transform: translateY(-50%);
}

.carousel-btn:hover {
  background: rgba(16, 25, 39, 0.78);
}

.carousel-btn.prev {
  left: -25px;
}

.carousel-btn.next {
  right: -25px;
}

.story-card {
  min-height: 420px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(16, 25, 39, 0.05), rgba(16, 25, 39, 0.78)),
    var(--story-image, url("./assets/admissions-hero.png")) center / cover;
  box-shadow: 0 22px 44px rgba(16, 25, 39, 0.14);
}

.story-one {
  --story-image: url("./assets/thumbnails/student-story-1-thumbnail.png");
  background-position: center;
}

.story-two {
  --story-image: url("./assets/thumbnails/student-story-2-thumbnail.png");
  background-position: center;
}

.story-three {
  --story-image: url("./assets/thumbnails/student-story-3-thumbnail.png");
  background-position: center;
}

.story-four {
  --story-image: url("./assets/thumbnails/student-story-4-thumbnail.png");
  background-position: center;
}

.story-five {
  --story-image: url("./assets/thumbnails/student-story-5-thumbnail.png");
  background-position: center;
}

.story-six {
  --story-image: url("./assets/thumbnails/student-story-6-thumbnail.png");
  background-position: 36% center;
}

.story-seven {
  --story-image: url("./assets/thumbnails/student-story-7-thumbnail.png");
  background-position: 50% center;
}

.story-eight {
  --story-image: url("./assets/thumbnails/student-story-8-thumbnail.png");
  background-position: 64% center;
}

.story-nine {
  background-position: 76% center;
}

.story-ten {
  background-position: 90% center;
}

.story-card div {
  width: 100%;
  padding: 24px 20px 24px;
  color: var(--white);
}

.story-card span {
  display: block;
  margin-bottom: 12px;
  color: #f0ca74;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card h3 {
  max-width: 280px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 1.12rem;
  line-height: 1.35;
}

.story-card a,
.story-watch {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.story-watch::before {
  content: "▶";
  margin-right: 8px;
  font-size: 0.76rem;
}

.story-watch:hover,
.story-card a:hover {
  background: #f0ca74;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
}

.video-modal.is-open {
  display: grid;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 13, 22, 0.78);
  cursor: pointer;
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  max-height: 90vh;
  display: grid;
  place-items: center;
  background: #05070b;
  box-shadow: 0 26px 70px rgba(8, 13, 22, 0.42);
}

.video-modal__close {
  position: absolute;
  top: -46px;
  right: -4px;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal__player {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 90vh;
  background: #05070b;
}

body.video-open {
  overflow: hidden;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
}

.image-modal.is-open {
  display: grid;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 13, 22, 0.82);
  cursor: pointer;
}

.image-modal__panel {
  position: relative;
  z-index: 1;
  width: min(94vw, 1120px);
  max-height: 90vh;
  display: grid;
  gap: 12px;
  place-items: center;
}

.image-modal__close {
  position: absolute;
  top: -46px;
  right: -4px;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.image-modal__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82vh;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 26px 70px rgba(8, 13, 22, 0.42);
  object-fit: contain;
}

.image-modal__caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  text-align: center;
}

body.image-open {
  overflow: hidden;
}

.section {
  padding: 84px 0;
  background: var(--panel);
}

.section.muted {
  background: #e7edf3;
}

.section.accent {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #24436c 60%, var(--burgundy));
}

.section-head {
  margin-bottom: 34px;
}

.section-head:not(.compact) {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 12px 58px;
  align-items: end;
}

.section-head:not(.compact) .eyebrow {
  grid-column: 1 / -1;
}

.section-head p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-head:not(.compact) > p:not(.eyebrow) {
  margin: 0;
  padding-bottom: 6px;
}

.section-head .section-updated {
  grid-column: 2;
  margin-top: 12px;
  padding: 0;
  color: #7c8798;
  font-size: 0.88rem;
  font-weight: 700;
}

.accent .section-head p,
.accent .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.compact {
  margin-bottom: 0;
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(16, 25, 39, 0.08);
}

.service-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  content: "";
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.service-card-head img {
  width: 42px;
  height: 42px;
  border: 1px solid #d9c5c9;
  border-radius: 8px;
  padding: 8px;
  background: #f8f1f2;
  object-fit: contain;
}

.service-card-head span {
  color: rgba(20, 40, 74, 0.28);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p,
.timeline p,
.about-grid p {
  color: var(--muted);
}

.service-card p {
  margin: 0;
  line-height: 1.55;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 700;
}

.service-card li::before {
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.split,
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.timeline span {
  grid-row: span 2;
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 800;
}

.timeline p {
  margin: 0;
}

.acceptance-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.acceptance-grid.carousel-track {
  --visible-cards: 3;
  --carousel-gap: 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--carousel-gap) * (var(--visible-cards) - 1))) / var(--visible-cards));
  grid-template-columns: none;
  overflow-x: auto;
}

.acceptance-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(16, 25, 39, 0.08);
}

.acceptance-shot {
  height: clamp(300px, 32vw, 390px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #aeb9c8;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(20, 40, 74, 0.08), rgba(47, 111, 94, 0.08)),
    #f8fafc;
}

.acceptance-shot span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.acceptance-shot img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  object-fit: contain;
  background: #f8fafc;
  cursor: zoom-in;
}

.acceptance-shot img:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.acceptance-card p {
  margin: 14px 4px 2px;
  color: var(--muted);
  font-size: 0.94rem;
}

.resource-grid a {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 26px;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.resource-grid span {
  color: #f0ca74;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-grid strong {
  font-size: 1.2rem;
  line-height: 1.35;
}

.news-section {
  background: #f6f4ef;
}

.update-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.update-grid.carousel-track {
  --visible-cards: 3;
  --carousel-gap: 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--carousel-gap) * (var(--visible-cards) - 1))) / var(--visible-cards));
  grid-template-columns: none;
  gap: var(--carousel-gap);
  overflow-x: auto;
}

.news-carousel .carousel-btn {
  background: rgba(16, 25, 39, 0.68);
}

.update-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(16, 25, 39, 0.08);
}

.update-card span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.update-card h3 {
  margin: 28px 0 18px;
  color: var(--navy);
  font-size: 1.32rem;
  line-height: 1.28;
}

.update-card p {
  margin: auto 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.featured-update {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #24436c 66%, var(--green));
}

.featured-update span {
  color: #f0ca74;
}

.featured-update h3,
.featured-update p {
  color: var(--white);
}

.featured-update p {
  color: rgba(255, 255, 255, 0.82);
}

.about-grid p:first-child {
  margin-top: 0;
}

.final-cta {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.final-cta-image,
.final-cta-overlay {
  position: absolute;
  inset: 0;
}

.final-cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88);
}

.final-cta-overlay {
  background:
    linear-gradient(180deg, rgba(16, 25, 39, 0.44), rgba(16, 25, 39, 0.92)),
    linear-gradient(90deg, rgba(16, 25, 39, 0.72), rgba(16, 25, 39, 0.28), rgba(16, 25, 39, 0.78));
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 86px 0 98px;
  text-align: center;
}

.final-cta h2 {
  max-width: none;
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  font-weight: 400;
}

.final-cta h2 span {
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  text-transform: none;
}

.final-cta p {
  max-width: 780px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.25rem;
  line-height: 1.55;
}

.gold-btn {
  min-width: 260px;
  margin-top: 34px;
  color: var(--white);
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(199, 154, 59, 0.28);
}

.site-footer {
  padding: 72px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  background: #0d1319;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1.15fr 1.15fr;
  gap: 56px;
}

.site-footer .footer-logo-link {
  display: inline-block;
  margin: 0 0 18px;
  color: inherit;
}

.footer-logo {
  width: min(165px, 54vw);
  height: auto;
  display: block;
  border-radius: 8px;
}

.site-footer h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer p {
  max-width: 270px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-line {
  display: block;
  margin-top: 18px;
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 62px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.footer-bottom a,
.footer-bottom span {
  display: inline;
  margin: 0;
}

@media (max-width: 1120px) {
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px;
    background: #101927;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 12px;
  }

  .main-nav .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    min-height: 640px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 23, 42, 0.94), rgba(10, 23, 42, 0.58));
  }

  .service-grid,
  .acceptance-grid,
  .resource-grid,
  .update-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-update {
    grid-column: 1 / -1;
  }

  .stories-head {
    grid-template-columns: 1fr;
  }

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

  .carousel-track {
    --visible-cards: 2;
    grid-template-columns: none;
  }

  .carousel-btn.prev {
    left: -12px;
  }

  .carousel-btn.next {
    right: -12px;
  }

  .stories-head > p {
    margin-top: 0;
  }

  .section-head:not(.compact) {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-head:not(.compact) > p:not(.eyebrow) {
    margin-top: 8px;
    padding-bottom: 0;
  }

  .section-head .section-updated {
    grid-column: 1;
    margin-top: 0;
  }

  .split,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 86px 0 54px;
  }

  .hero-overlay {
    background: rgba(10, 23, 42, 0.78);
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 64px 0;
  }

  .story-grid,
  .service-grid,
  .acceptance-grid,
  .resource-grid,
  .update-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    --visible-cards: 1;
    grid-template-columns: none;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 2.3rem;
  }

  .carousel-btn.prev {
    left: -8px;
  }

  .carousel-btn.next {
    right: -8px;
  }

  .student-stories {
    padding: 60px 0;
  }

  .story-card {
    min-height: 360px;
  }

  .timeline div {
    grid-template-columns: 1fr;
  }

  .timeline span {
    grid-row: auto;
  }

  .final-cta {
    min-height: 430px;
  }

  .final-cta-content {
    padding: 72px 0;
  }

  .final-cta p {
    font-size: 1.04rem;
  }

  .gold-btn {
    min-width: 0;
    width: 100%;
  }

  .site-footer {
    padding-top: 52px;
  }
}
