:root {
  --red: #cf1d24;
  --red-dark: #a90e17;
  --ink: #1b1b1b;
  --muted: #625e59;
  --cream: #f7f3ed;
  --paper: #fffdf9;
  --orange: #d7832d;
  --line: #e5ddd3;
  --white: #ffffff;
  --max-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 30;
}

.brand {
  width: 320px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 52px);
  font-size: 16px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 14px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  width: min(calc(100% - 64px), var(--max-width));
  min-height: min(760px, calc(100vh - 110px));
  margin: 0 auto;
  padding: 76px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 6vw, 96px);
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(58px, 5.2vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 850;
}

.hero h1 span {
  display: block;
}

.hero-intro {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
}

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

.button {
  min-height: 56px;
  padding: 0 26px;
  border: 1.5px solid var(--red);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 16px 30px rgba(207, 29, 36, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
  box-shadow: 0 20px 36px rgba(207, 29, 36, 0.28);
}

.button-secondary {
  color: var(--red);
  background: rgba(255, 253, 249, 0.75);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #fff1ef;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
  color: #3d3935;
  font-size: 14px;
  font-weight: 650;
}

.hero-proof li:not(:last-child)::after {
  content: "•";
  margin-left: 24px;
  color: var(--red);
}

.hero-visual {
  min-height: 580px;
  position: relative;
  isolation: isolate;
}

.hero-red-shape {
  position: absolute;
  z-index: -2;
  inset: -40px -160px -70px 28px;
  border-radius: 46% 0 0 52%;
  background: linear-gradient(140deg, #e12128 0%, var(--red) 58%, #a50c15 100%);
  transform: rotate(-2deg);
}

.hero-photo-wrap {
  height: 535px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 34% 12% 28% 26% / 26% 20% 30% 34%;
  background: #e4ddd4;
  box-shadow: 0 38px 60px rgba(70, 16, 19, 0.18);
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.network-card {
  position: absolute;
  right: -18px;
  bottom: 8px;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 24px 50px rgba(42, 22, 18, 0.18);
  transform: rotate(4deg);
}

.node {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
}

.node-one { left: 25px; top: 62px; background: var(--orange); }
.node-two { left: 62px; top: 30px; background: var(--red); }
.node-three { left: 65px; top: 73px; width: 28px; height: 28px; background: var(--red); }
.node-four { right: 22px; top: 51px; background: #5d5e60; }
.node-five { left: 47px; bottom: 14px; width: 31px; height: 31px; background: #454649; }

.line {
  position: absolute;
  z-index: 1;
  width: 48px;
  height: 2px;
  background: repeating-linear-gradient(to right, #343434 0 5px, transparent 5px 9px);
  transform-origin: left center;
}

.line-one { left: 39px; top: 68px; transform: rotate(-42deg); }
.line-two { left: 78px; top: 45px; transform: rotate(30deg); }
.line-three { left: 39px; top: 76px; transform: rotate(18deg); }
.line-four { left: 76px; top: 88px; transform: rotate(86deg); }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--cream);
}

.marquee div {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #4f4944;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.marquee i {
  color: var(--red);
  font-style: normal;
}

.section {
  width: min(calc(100% - 64px), 1160px);
  margin: 0 auto;
  padding: 120px 0;
}

.section-intro {
  text-align: center;
}

.section-intro h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-intro > p:last-child {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.courses-section {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.courses-inner {
  width: min(calc(100% - 64px), var(--max-width));
}

.section-heading,
.testimonial-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
}

.section-heading h2,
.value-copy h2,
.testimonial-heading h2,
.contact-copy h2,
.resource-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.048em;
}

.text-link {
  flex: 0 0 auto;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: var(--red);
  font-size: 15px;
  font-weight: 750;
}

.text-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

.course-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.course-card {
  min-height: 510px;
  padding: 28px;
  border: 1px solid #ded4c8;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(52, 34, 26, 0.04);
  transition-property: opacity, transform, box-shadow, border-color;
}

.course-card:hover {
  transform: translateY(-7px);
  border-color: rgba(207, 29, 36, 0.42);
  box-shadow: 0 22px 45px rgba(52, 34, 26, 0.1);
}

.course-card:nth-child(2) { transition-delay: 80ms; }
.course-card:nth-child(3) { transition-delay: 160ms; }

.course-topline,
.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.course-topline {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.course-symbol {
  width: 82px;
  height: 82px;
  margin: 50px 0 40px;
  border-radius: 25px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 34px;
  font-weight: 400;
  background: var(--red);
  box-shadow: 0 18px 35px rgba(207, 29, 36, 0.18);
}

.accent-orange .course-symbol {
  background: var(--orange);
  box-shadow: 0 18px 35px rgba(215, 131, 45, 0.18);
}

.accent-ink .course-symbol {
  background: var(--ink);
  box-shadow: 0 18px 35px rgba(27, 27, 27, 0.16);
}

.course-level {
  margin: 0 0 12px !important;
  color: var(--red) !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.course-card > p {
  margin: 17px 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.course-footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 750;
}

.course-footer > span {
  color: var(--muted);
}

.course-footer a {
  color: var(--red);
}

.value-section {
  width: min(calc(100% - 64px), var(--max-width));
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(70px, 10vw, 150px);
  align-items: start;
}

.value-copy {
  position: sticky;
  top: 48px;
}

.value-copy > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow),
.resource-copy > p {
  max-width: 570px;
  margin: 26px 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.benefit-list {
  border-top: 1px solid var(--line);
}

.benefit {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
}

.benefit > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.benefit h3 {
  margin: 0 0 11px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.benefit p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.community-section {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
}

.community-section::before,
.community-section::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.community-section::before {
  width: 620px;
  height: 620px;
  right: -180px;
  top: -280px;
}

.community-section::after {
  width: 390px;
  height: 390px;
  left: -200px;
  bottom: -250px;
}

.community-inner {
  width: min(calc(100% - 64px), 1100px);
  position: relative;
  z-index: 3;
  text-align: center;
}

.eyebrow.light {
  color: #ffd6d7;
}

.community-inner h2 {
  margin: 0;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.community-inner > p:not(.eyebrow) {
  max-width: 760px;
  margin: 30px auto 34px;
  color: #ffe9e9;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

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

.button-light:hover,
.button-light:focus-visible {
  background: #fff0ee;
}

.community-stats {
  margin-top: 80px;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.community-stats div {
  min-height: 116px;
  padding: 6px 24px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.community-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.community-stats strong {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.05em;
}

.community-stats span {
  color: #ffd6d7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.community-orbit {
  position: absolute;
  inset: 0;
}

.community-orbit i {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.community-orbit i:nth-child(1) { top: 16%; left: 8%; background: var(--orange); }
.community-orbit i:nth-child(2) { top: 12%; right: 20%; background: var(--white); }
.community-orbit i:nth-child(3) { bottom: 20%; left: 15%; background: var(--ink); }
.community-orbit i:nth-child(4) { bottom: 26%; right: 8%; background: var(--orange); }

.resources-section {
  width: min(calc(100% - 64px), var(--max-width));
}

.resource-card {
  padding: clamp(26px, 5vw, 70px);
  border: 1px solid var(--line);
  border-radius: 36px;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
  background: var(--cream);
  overflow: hidden;
}

.resource-visual {
  min-height: 430px;
  padding: 38px;
  border-radius: 20px 20px 34px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, var(--orange) 0 8px, transparent 9px),
    radial-gradient(circle at 79% 26%, var(--white) 0 6px, transparent 7px),
    radial-gradient(circle at 91% 31%, #272727 0 10px, transparent 11px),
    linear-gradient(142deg, #df252b, #a90e17);
  box-shadow: 22px 28px 0 #e6ddd2, 0 28px 60px rgba(75, 35, 24, 0.16);
  transform: rotate(-2.5deg);
}

.resource-visual span {
  width: max-content;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.resource-visual strong {
  max-width: 330px;
  font-size: clamp(38px, 4vw, 55px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.resource-visual i {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.testimonial-section {
  background: #211f1e;
  color: var(--white);
}

.testimonial-section .section {
  width: min(calc(100% - 64px), var(--max-width));
}

.testimonial-heading {
  align-items: start;
}

.testimonial-heading .eyebrow {
  color: #ef7b7f;
}

.testimonial-heading h2 {
  max-width: 820px;
  text-align: right;
}

.testimonial-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testimonial {
  min-height: 380px;
  margin: 0;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid #44403d;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  background: #2a2725;
}

.testimonial:nth-child(2) { transition-delay: 100ms; }

.stars {
  color: #e7953d;
  font-size: 14px;
  letter-spacing: 0.16em;
}

.testimonial blockquote {
  margin: 36px 0 46px;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.testimonial figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
}

.testimonial figcaption > span:last-child {
  display: grid;
  gap: 4px;
}

.testimonial small {
  color: #bdb5af;
  font-size: 12px;
}

.contact-section {
  width: min(calc(100% - 64px), 1180px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(60px, 9vw, 130px);
}

.contact-details {
  margin-top: 48px;
  display: grid;
  gap: 10px;
}

.contact-details a {
  width: max-content;
  color: var(--red);
  font-size: 21px;
  font-weight: 800;
}

.contact-details span {
  color: var(--muted);
  font-size: 13px;
}

.contact-form {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 28px;
  display: grid;
  gap: 22px;
  background: var(--cream);
}

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

.contact-form label:not(.check-label) {
  display: grid;
  gap: 9px;
  color: #413d39;
  font-size: 13px;
  font-weight: 750;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9cfc4;
  border-radius: 12px;
  outline: 0;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:not([type="checkbox"]),
.contact-form select {
  height: 52px;
  padding: 0 15px;
}

.contact-form textarea {
  padding: 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(207, 29, 36, 0.1);
}

.check-label {
  display: flex;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.check-label input {
  width: 17px;
  height: 17px;
  accent-color: var(--red);
}

.contact-form .button {
  width: max-content;
  border: 0;
  cursor: pointer;
}

.form-success {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #b7d6b8;
  border-radius: 10px;
  color: #235927;
  background: #eff8ef;
  font-size: 13px;
  font-weight: 700;
}

.form-success.is-error {
  border-color: #e4b4b4;
  color: #852328;
  background: #fff0f0;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-main,
.footer-bottom {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.footer-main {
  min-height: 220px;
  gap: 48px;
}

.footer-brand {
  width: 250px;
  flex: 0 0 auto;
}

.footer-main > p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.footer-links {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 750;
}

.footer-bottom {
  min-height: 74px;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 22px;
}

@media (max-width: 1080px) {
  .site-header {
    min-height: 92px;
  }

  .brand {
    width: 250px;
  }

  .main-nav {
    gap: 24px;
    font-size: 15px;
  }

  .hero {
    grid-template-columns: 1fr 0.92fr;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(52px, 6vw, 70px);
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-photo-wrap {
    height: 460px;
  }

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

  .course-card:last-child {
    grid-column: 1 / -1;
    min-height: 430px;
  }

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

  .community-stats div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .community-stats div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .resource-card {
    grid-template-columns: minmax(280px, 0.75fr) 1fr;
  }

  .footer-main {
    flex-wrap: wrap;
    padding: 50px 0;
  }
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .section {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .main-nav {
    position: fixed;
    inset: 86px 20px auto;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    display: grid;
    gap: 4px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 28px 80px rgba(45, 29, 25, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .main-nav a:hover {
    background: var(--cream);
  }

  .hero {
    min-height: auto;
    padding: 50px 0 78px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-intro {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 600px);
    min-height: 510px;
    margin: 10px auto 0;
  }

  .hero-red-shape {
    inset: -18px -110px -40px 16px;
  }

  .marquee div {
    min-height: 60px;
    justify-content: center;
  }

  .marquee span:nth-of-type(n+3),
  .marquee i:nth-of-type(n+3) {
    display: none;
  }

  .section-heading,
  .testimonial-heading {
    display: grid;
  }

  .section-heading,
  .testimonial-heading h2 {
    text-align: left;
  }

  .course-grid,
  .value-section,
  .resource-card,
  .testimonial-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .course-card:last-child {
    grid-column: auto;
  }

  .value-copy {
    position: static;
  }

  .resource-visual {
    max-width: 520px;
    min-height: 390px;
    margin: 0 auto;
  }

  .testimonial-heading h2 {
    text-align: left;
  }

  .contact-section {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .footer-main,
  .footer-bottom {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .footer-main {
    display: grid;
    gap: 24px;
  }

  .footer-links {
    margin: 12px 0 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 80px;
  }

  .brand {
    width: 210px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding-top: 34px;
  }

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

  .hero-intro {
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 8px;
  }

  .hero-proof li::after {
    display: none;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-photo-wrap {
    height: 365px;
    border-radius: 26% 12% 24% 20% / 20% 16% 26% 28%;
  }

  .network-card {
    right: -8px;
    bottom: -2px;
    width: 116px;
    height: 116px;
    transform: scale(0.84) rotate(4deg);
    transform-origin: bottom right;
  }

  .marquee span:nth-of-type(n+2),
  .marquee i {
    display: none;
  }

  .section {
    padding: 88px 0;
  }

  .courses-inner,
  .value-section,
  .resources-section,
  .testimonial-section .section,
  .community-inner {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .section-heading h2,
  .value-copy h2,
  .testimonial-heading h2,
  .contact-copy h2,
  .resource-copy h2 {
    font-size: 40px;
  }

  .course-card {
    min-height: 470px;
  }

  .course-symbol {
    margin: 38px 0 32px;
  }

  .community-stats {
    margin-top: 58px;
  }

  .community-stats div {
    min-height: 100px;
    padding-inline: 12px;
  }

  .community-stats strong {
    font-size: 33px;
  }

  .community-stats span {
    font-size: 10px;
  }

  .resource-card {
    border-radius: 24px;
  }

  .resource-visual {
    min-height: 340px;
    padding: 28px;
    box-shadow: 12px 18px 0 #e6ddd2, 0 20px 45px rgba(75, 35, 24, 0.14);
  }

  .resource-visual strong {
    font-size: 39px;
  }

  .testimonial {
    min-height: 340px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-form .button {
    width: 100%;
  }

  .footer-main {
    text-align: center;
  }

  .footer-brand,
  .footer-main > p {
    margin-inline: auto;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-bottom {
    padding: 22px 0;
    flex-direction: column;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
