/* Revit landing page
   Sections are split by feature blocks so future edits can be scoped quickly. */

:root {
  --revit-blue: #1479ff;
  --revit-blue-2: #2f8cff;
  --revit-navy: #06162b;
  --revit-navy-2: #0d2b5a;
  --revit-text: #0f1b2d;
  --revit-muted: #66758d;
  --revit-line: #dce7f6;
  --revit-card: #ffffff;
  --revit-soft: #f5f9ff;
  --revit-shadow: 0 16px 42px rgba(15, 37, 68, .11);
}

body.home .az9s-urgency,
body.home .az9s-header,
body.home .az9s-footer {
  display: none;
}

body.home {
  background: #fff;
}

.revit-page {
  font-family: var(--az9s-site-font, var(--font, 'Be Vietnam Pro', Arial, sans-serif));
  color: var(--revit-text);
  background:
    radial-gradient(circle at 15% 48%, rgba(20, 121, 255, .08), transparent 32rem),
    radial-gradient(circle at 82% 42%, rgba(129, 174, 235, .13), transparent 28rem),
    #fff;
}

.revit-shell {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
}

.revit-section {
  padding: 52px 0;
}

.revit-section h2,
.revit-why h2,
.revit-testimonials h2,
.revit-class h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0;
  color: #101a2c;
}

.revit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--revit-blue);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--revit-blue), #216df0);
  color: #fff;
  font-size: .94rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(20, 121, 255, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.revit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(20, 121, 255, .32);
  color: #fff;
}

.revit-btn--small {
  min-height: 36px;
  padding: 0 20px;
  border-radius: 18px;
  font-size: .78rem;
}

.revit-btn--ghost,
.revit-btn--outline {
  background: rgba(4, 18, 37, .36);
  border-color: var(--revit-blue);
  box-shadow: none;
}

.revit-btn--outline {
  min-height: 40px;
  background: transparent;
  color: var(--revit-blue);
}

/* Hero */
.revit-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(1, 10, 23, .98) 0%, rgba(5, 22, 44, .92) 46%, rgba(8, 26, 51, .74) 100%),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80') center/cover;
}

.revit-hero__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 10%, rgba(53, 135, 255, .24), transparent 32rem);
  pointer-events: none;
}

.revit-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 34px;
}

.revit-logo {
  color: #fff;
  line-height: .95;
  letter-spacing: 0;
}

.revit-logo strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
}

.revit-logo span {
  display: block;
  font-size: .47rem;
  letter-spacing: .45em;
  font-weight: 800;
}

.revit-nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.revit-nav__links a {
  color: rgba(255, 255, 255, .88);
  font-size: .78rem;
  font-weight: 700;
}

.revit-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, .9fr) minmax(560px, 1.2fr);
  gap: 64px;
  align-items: center;
  padding-bottom: 34px;
}

.revit-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--revit-blue-2);
  font-size: 1.12rem;
  font-weight: 800;
  text-transform: uppercase;
}

.revit-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.3rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.revit-hero__copy p {
  margin: 0 0 28px;
  font-size: clamp(1.15rem, 2.1vw, 1.75rem);
  line-height: 1.38;
  color: rgba(255, 255, 255, .9);
}

.revit-rating-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 500px;
  column-gap: 22px;
  margin-bottom: 32px;
}

.revit-mini-stat {
  position: relative;
  display: grid;
  gap: 2px;
  padding-right: 22px;
}

.revit-mini-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 78px;
  transform: translateY(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, .44) 18%,
    rgba(255, 255, 255, .44) 82%,
    transparent
  );
}

.revit-mini-stat i {
  min-height: 26px;
  color: #ffb62d;
  font-size: 1.45rem;
}

.revit-mini-stat:nth-child(2) i,
.revit-mini-stat:nth-child(3) i {
  color: var(--revit-blue-2);
}

.revit-mini-stat strong {
  font-size: 1.02rem;
  font-weight: 900;
}

.revit-mini-stat span,
.revit-hero__copy small {
  color: rgba(255, 255, 255, .86);
  font-size: .78rem;
  font-weight: 600;
}

.revit-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.revit-hero__media {
  display: grid;
  gap: 18px;
}

.revit-video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.revit-video-card img {
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
}

.revit-video-card button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--revit-blue);
  font-size: 1.6rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
}

.revit-thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.revit-thumb-row img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  opacity: .82;
}

.revit-thumb-row img.is-active {
  border-color: #fff;
  opacity: 1;
}

/* Why Revit workflow */
.revit-why {
  padding: 72px 0 64px;
  background: #fff;
}

.revit-why__intro {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 96px;
  align-items: start;
  margin-bottom: 150px;
}

.revit-why__intro h2 {
  max-width: 560px;
  margin: 0;
  text-align: left;
  color: #050505;
  font-size: clamp(3rem, 5.3vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.revit-why__intro p {
  max-width: 730px;
  margin: 0;
  color: #4c4c4c;
  font-size: clamp(1.1rem, 1.55vw, 1.48rem);
  line-height: 1.42;
  font-weight: 500;
}

.revit-why__flow {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 78px minmax(220px, 1fr) 78px minmax(220px, 1fr);
  gap: 0;
  align-items: center;
  width: min(980px, 100%);
  margin: 0 auto;
}

.revit-workflow-card {
  min-width: 0;
}

.revit-workflow-card__image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #f0f2f4;
}

.revit-workflow-card__image img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.revit-workflow-card__image strong {
  position: absolute;
  top: 6px;
  right: 9px;
  color: #fff;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 2px 0 #161616,
    1px 0 0 #161616,
    -1px 0 0 #161616,
    0 -1px 0 #161616;
}

.revit-workflow-card__caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.revit-workflow-card__caption span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 3px;
  background: #e91d54;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 900;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .16);
}

.revit-workflow-card:last-of-type .revit-workflow-card__caption span {
  background: #1d72f3;
}

.revit-workflow-card__caption h3 {
  margin: 0;
  color: #111;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.revit-workflow-arrow {
  position: relative;
  width: 48px;
  height: 12px;
  margin: 0 auto;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, #ff9c18, #f57d00);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

.revit-workflow-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #f57d00;
}

/* Student projects */
.revit-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.revit-section-title h2 {
  margin: 0;
  text-align: left;
}

.revit-section-title a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--revit-blue);
  border-radius: 18px;
  color: var(--revit-blue);
  font-size: .78rem;
  font-weight: 800;
}

.revit-project-grid {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, 1fr);
  grid-auto-rows: 170px;
  gap: 12px;
}

.revit-project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.revit-project-card--tall {
  grid-row: span 2;
}

.revit-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.revit-project-card:hover img {
  transform: scale(1.04);
}

.revit-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .82));
}

.revit-project-card div {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
}

.revit-project-card h3,
.revit-project-card p {
  margin: 0;
}

.revit-project-card h3 {
  font-size: .98rem;
  font-weight: 900;
}

.revit-project-card p {
  font-size: .76rem;
  font-weight: 700;
}

/* Curriculum */
.revit-curriculum {
  padding: 86px 0 72px;
  background: #fff;
}

.revit-curriculum__grid {
  display: grid;
  grid-template-columns: calc(60% - 21px) calc(40% - 21px);
  gap: 42px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.revit-curriculum__grid > .revit-module-list,
.revit-curriculum__grid > .revit-chapter-media-grid {
  min-width: 0;
}

.revit-curriculum__blocks {
  display: grid;
  gap: 76px;
}

.revit-curriculum__intro {
  max-width: 1060px;
  margin: 0 auto 72px;
}

.revit-curriculum__intro h2 {
  max-width: 940px;
  margin: 0 auto;
  color: #050505;
  text-align: center;
  font-size: clamp(3rem, 5.25vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.revit-module-list {
  display: grid;
  gap: 0;
}

.revit-module {
  border: 0;
  border-top: 1.5px solid #111;
  border-radius: 0;
  background: transparent;
}

.revit-module:last-child {
  border-bottom: 1.5px solid #111;
}

.revit-module summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 0 10px 0 0;
  cursor: pointer;
  list-style: none;
}

.revit-module summary::-webkit-details-marker {
  display: none;
}

.revit-module summary strong {
  display: block;
  color: #4b4b4b;
  font-size: clamp(1.08rem, 1.45vw, 1.2rem);
  font-weight: 800;
  line-height: 1.25;
}

.revit-module summary small {
  display: none;
}

.revit-module p,
.revit-module__lessons {
  color: #666;
  font-size: .95rem;
  line-height: 1.55;
}

.revit-module p,
.revit-module__lessons {
  margin: 0;
  padding: 0 44px 18px 0;
}

.revit-module__lessons {
  list-style: disc;
  padding-left: 20px;
}

.revit-module__lessons li + li {
  margin-top: 6px;
}

.revit-module[open] summary i {
  transform: rotate(45deg);
}

.revit-chapter-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.revit-chapter-media {
  overflow: hidden;
  margin: 0;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f5f9ff;
  box-shadow: 0 12px 28px rgba(15, 37, 68, .07);
}

.revit-chapter-media img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: contain;
  background: #dbeef3;
}

.revit-chapter-media figcaption {
  min-height: 44px;
  padding: 10px 12px;
  color: #14213a;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
}

/* Class gallery and stats */
.revit-class {
  padding-top: 28px;
}

.revit-class h2 {
  text-align: left;
}

.revit-class__strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.revit-class__strip img {
  width: 100%;
  aspect-ratio: 1.75 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.revit-stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #06234d, #0b3670);
  color: #fff;
  box-shadow: var(--revit-shadow);
}

.revit-stat-band div {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 2px 14px;
  padding: 22px 20px;
  border-right: 1px solid rgba(255, 255, 255, .32);
}

.revit-stat-band div:last-child {
  border-right: 0;
}

.revit-stat-band i {
  grid-row: span 2;
  color: #38a2ff;
  font-size: 1.35rem;
}

.revit-stat-band strong {
  font-size: 1.45rem;
  line-height: 1;
}

.revit-stat-band span {
  font-size: .78rem;
  font-weight: 700;
}

/* Testimonials */
.revit-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.revit-testimonial-card {
  position: relative;
  min-height: 218px;
  padding: 22px;
  border: 1px solid #e3ebf6;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--revit-shadow);
}

.revit-testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.revit-testimonial-card__head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.revit-testimonial-card__head strong,
.revit-testimonial-card__head span {
  display: block;
}

.revit-testimonial-card__head strong {
  font-size: .86rem;
}

.revit-testimonial-card__head span {
  color: var(--revit-muted);
  font-size: .72rem;
}

.revit-stars {
  color: #ffb62d;
  font-size: .82rem;
  letter-spacing: 1px;
}

.revit-testimonial-card p {
  margin: 12px 0 0;
  color: #40506a;
  font-size: .82rem;
  line-height: 1.65;
}

.revit-testimonial-card button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid #cfe0f8;
  border-radius: 50%;
  background: #fff;
  color: var(--revit-blue);
  box-shadow: 0 8px 18px rgba(20, 121, 255, .18);
}

.revit-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.revit-slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d6dfec;
}

.revit-slider-dots .active {
  width: 30px;
  height: 5px;
  background: #111;
}

/* Teachers */
.revit-teachers {
  padding-top: 12px;
}

.revit-teachers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.revit-teacher-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e4edf8;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--revit-shadow);
}

.revit-teacher-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.revit-teacher-card h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 900;
}

.revit-teacher-card p {
  margin: 0 0 10px;
  font-weight: 700;
}

.revit-teacher-card ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: #52627a;
  font-size: .82rem;
  line-height: 1.65;
  list-style: disc;
}

.revit-socials {
  display: flex;
  gap: 10px;
}

.revit-socials i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #bcd4fb;
  border-radius: 50%;
  color: var(--revit-blue);
}

/* Other courses */
.revit-other-courses {
  padding: 76px 0 84px;
  background: #fff;
}

.revit-other-courses h2 {
  max-width: 1120px;
  margin: 0 auto 58px;
  color: #050505;
  text-align: center;
  font-size: clamp(2.8rem, 4.8vw, 2.75rem);
  font-weight: 900;
  line-height: 1.08;
}

.revit-other-courses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.revit-course-card {
  overflow: hidden;
  border: 1px solid #e1eaf7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 37, 68, .08);
}

.revit-course-card > img {
  width: calc(100% - 24px);
  margin: 12px 12px 0;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.revit-course-card__body {
  padding: 20px 20px 18px;
}

.revit-course-card h3 {
  min-height: 66px;
  margin: 0 0 18px;
  color: #3f3f3f;
  font-size: clamp(1.25rem, 1.8vw, 1.25rem);
  font-weight: 900;
  line-height: 1.08;
}

.revit-course-card p {
  min-height: 56px;
  margin: 0 0 18px;
  color: #4f4f4f;
  font-size: 1rem;
  line-height: 1.45;
}

.revit-course-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid #d5d5d5;
  color: #4a4a4a;
  font-size: .95rem;
}

.revit-course-card__meta span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.revit-course-card__meta i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: #202020;
  color: #fff;
  font-size: .72rem;
}

.revit-course-card__meta strong {
  color: #3e3e3e;
  font-size: 1.05rem;
  font-weight: 900;
}

/* Final CTA */
.revit-cta {
  padding: 42px 0;
  background:
    linear-gradient(90deg, rgba(2, 13, 31, .97), rgba(7, 35, 72, .93)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80') center/cover;
  color: #fff;
}

.revit-cta__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 76px;
  align-items: center;
}

.revit-cta h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.24;
}

.revit-cta p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
}

.revit-cta__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(255, 255, 255, .9);
  font-size: .82rem;
  font-weight: 800;
}

.revit-cta__perks i {
  color: #38a2ff;
  margin-right: 7px;
}

.revit-form {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

.revit-form h3 {
  margin: 0 0 14px;
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
}

.revit-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.revit-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.revit-form input,
.revit-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  background: rgba(8, 22, 43, .58);
  color: #fff;
  font-size: .84rem;
}

.revit-form input::placeholder {
  color: rgba(255, 255, 255, .7);
}

.revit-form .revit-btn {
  width: 100%;
  min-height: 40px;
}

.revit-form small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  font-size: .72rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .revit-nav__links {
    gap: 18px;
  }

  .revit-why__intro {
    gap: 44px;
    margin-bottom: 92px;
  }

  .revit-why__flow {
    grid-template-columns: minmax(190px, 1fr) 58px minmax(190px, 1fr) 58px minmax(190px, 1fr);
  }

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

  .revit-other-courses__grid {
    gap: 18px;
  }

  .revit-curriculum__grid {
    grid-template-columns: calc(60% - 15px) calc(40% - 15px);
    gap: 30px;
  }

  .revit-curriculum__blocks {
    gap: 58px;
  }

  .revit-curriculum__intro {
    margin-bottom: 54px;
  }

  .revit-curriculum__intro h2 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
  }
}

@media (max-width: 860px) {
  .revit-shell {
    width: min(100% - 28px, 640px);
  }

  .revit-nav {
    padding-bottom: 22px;
  }

  .revit-nav__links {
    display: none;
  }

  .revit-hero__grid,
  .revit-cta__grid,
  .revit-curriculum__grid,
  .revit-teachers__grid {
    grid-template-columns: 1fr;
  }

  .revit-why__intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 56px;
  }

  .revit-why__intro h2 {
    max-width: 620px;
  }

  .revit-why__flow {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(460px, 100%);
  }

  .revit-workflow-arrow {
    width: 12px;
    height: 42px;
    margin: 0 auto;
    border-radius: 999px 999px 0 0;
  }

  .revit-workflow-arrow::after {
    top: auto;
    right: auto;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 24px solid #f57d00;
    border-bottom: 0;
  }

  .revit-curriculum {
    padding: 56px 0 46px;
  }

  .revit-curriculum__blocks {
    gap: 48px;
  }

  .revit-curriculum__intro {
    margin-bottom: 34px;
  }

  .revit-curriculum__intro h2 {
    font-size: clamp(2.35rem, 9vw, 3.4rem);
  }

  .revit-rating-row,
  .revit-stat-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .revit-mini-stat:nth-child(2) {
    padding-right: 0;
  }

  .revit-mini-stat:nth-child(2)::after {
    display: none;
  }

  .revit-mini-stat:nth-child(3) {
    grid-column: span 2;
    margin-top: 16px;
  }

  .revit-project-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }

  .revit-project-card--tall {
    grid-row: span 1;
  }

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

  .revit-teacher-card {
    grid-template-columns: 130px 1fr;
  }

  .revit-other-courses__grid {
    grid-template-columns: 1fr;
  }

  .revit-course-card > img {
    aspect-ratio: 1.55 / 1;
  }
}

@media (max-width: 560px) {
  .revit-section {
    padding: 32px 0;
  }

  .revit-logo strong {
    font-size: 1.35rem;
  }

  .revit-hero {
    min-height: auto;
  }

  .revit-hero__grid {
    gap: 26px;
  }

  .revit-hero h1 {
    font-size: 2.45rem;
  }

  .revit-rating-row,
  .revit-project-grid,
  .revit-chapter-media-grid,
  .revit-testimonials__grid,
  .revit-stat-band,
  .revit-form__grid {
    grid-template-columns: 1fr;
  }

  .revit-module summary {
    min-height: 68px;
  }

  .revit-module summary strong {
    font-size: 1rem;
  }

  .revit-why {
    padding: 44px 0 38px;
  }

  .revit-why__intro h2 {
    font-size: 2.65rem;
  }

  .revit-why__intro p {
    font-size: 1rem;
  }

  .revit-other-courses {
    padding: 44px 0 52px;
  }

  .revit-other-courses h2 {
    margin-bottom: 30px;
    font-size: 2.55rem;
  }

  .revit-mini-stat,
  .revit-mini-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    padding: 0 0 14px;
    margin: 0 0 14px;
  }

  .revit-mini-stat::after {
    display: none;
  }

  .revit-mini-stat:nth-child(3) {
    grid-column: auto;
  }

  .revit-thumb-row {
    gap: 8px;
  }

  .revit-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .revit-class__strip {
    grid-template-columns: 1fr;
  }

  .revit-stat-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .revit-teacher-card {
    grid-template-columns: 1fr;
  }

  .revit-teacher-card img {
    max-width: 220px;
  }
}
