#cr-responsive-home {
  display: none;
}

@media (max-width: 1280px) {
  html.cr-responsive-home-active,
  html.cr-responsive-home-active body {
    min-width: 0 !important;
    overflow-x: hidden !important;
    background: #3d3d3f !important;
  }

  html.cr-responsive-home-active body {
    width: 100% !important;
    min-height: 0 !important;
  }

  html.cr-responsive-home-active #SITE_CONTAINER,
  html.cr-responsive-home-active #codex-car-3d-viewer {
    display: none !important;
  }

  html.cr-responsive-home-active #cr-responsive-home {
    display: block;
    width: min(100%, 1280px);
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    color: #fffffe;
    background: #000;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .cr-shell {
    width: min(100% - clamp(24px, 5vw, 64px), 1180px);
    margin: 0 auto;
  }

  .cr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: clamp(58px, 9vw, 86px);
    padding-block: 10px;
  }

  .cr-logo {
    width: clamp(134px, 24vw, 206px);
    height: auto;
    display: block;
  }

  .cr-nav {
    display: flex;
    justify-content: flex-end;
    gap: clamp(14px, 3vw, 34px);
    flex-wrap: wrap;
    font: 700 15px/1.2 Arial, Helvetica, sans-serif;
  }

  .cr-nav a,
  .cr-actions a {
    color: #fffffe;
    -webkit-text-fill-color: #fffffe;
    text-decoration: none;
  }

  .cr-hero {
    min-height: max(520px, calc(100svh - clamp(58px, 9vw, 86px)));
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 44px;
    padding-block: clamp(26px, 5vw, 70px);
  }

  .cr-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;
  }

  .cr-hero-lockup {
    width: min(100%, 606px);
    display: grid;
    justify-items: center;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: url("../media/hero-negative-space.gif");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    text-align: center;
    font: 900 92px/1.12 Impact, "Arial Black", Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .cr-hero-lockup span {
    display: block;
    width: 100%;
  }

  @supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .cr-hero-lockup {
      color: #808080;
      -webkit-text-fill-color: #808080;
      background-image: none;
    }
  }

  .cr-actions {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 4vw, 30px);
    flex-wrap: wrap;
  }

  .cr-actions a {
    min-width: 112px;
    padding: 14px 26px;
    border-radius: 999px;
    color: #000;
    -webkit-text-fill-color: #000;
    background: #fff9d9;
    text-align: center;
    font: 400 14px/1 Arial, Helvetica, sans-serif;
  }

  .cr-section {
    padding-block: clamp(42px, 7vw, 92px);
    border-top: 1px solid rgba(255, 255, 254, 0.32);
  }

  .cr-title {
    margin: 0 0 clamp(26px, 4vw, 44px);
    color: #fffffe;
    -webkit-text-fill-color: #fffffe;
    font: 400 58px/1.1 Questrial, Arial, Helvetica, sans-serif;
    letter-spacing: 0;
  }

  .cr-title span,
  .cr-feature h2 {
    color: #c8102e;
    -webkit-text-fill-color: #c8102e;
  }

  .cr-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.78fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: start;
  }

  .cr-features {
    display: grid;
    gap: clamp(22px, 4vw, 44px);
  }

  .cr-feature {
    display: grid;
    grid-template-columns: minmax(210px, 0.82fr) minmax(260px, 1fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
  }

  .cr-feature img {
    width: 100%;
    aspect-ratio: 1.42;
    object-fit: cover;
    display: block;
  }

  .cr-feature h2 {
    margin: 0 0 18px;
    font: 400 28px/1.25 Questrial, Arial, Helvetica, sans-serif;
    letter-spacing: 0;
  }

  .cr-feature h3 {
    margin: 0 0 18px;
    color: #fffffe;
    -webkit-text-fill-color: #fffffe;
    font: 700 15px/1.35 Arial, Helvetica, sans-serif;
  }

  .cr-feature p,
  .cr-fsae p,
  .cr-contact p {
    margin: 0;
    color: #fffffe;
    -webkit-text-fill-color: #fffffe;
    font: 400 16px/1.5 Arial, Helvetica, sans-serif;
  }

  .cr-model {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
  }

  .cr-model-frame {
    width: 100%;
    height: clamp(320px, 38vw, 520px);
    min-height: 0;
    overflow: hidden;
    background: transparent;
  }

  .cr-model-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
  }

  .cr-fsae {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
    gap: clamp(24px, 5vw, 60px);
    align-items: center;
  }

  .cr-fsae h2,
  .cr-contact h2 {
    margin: 0 0 22px;
    color: #fffffe;
    -webkit-text-fill-color: #fffffe;
    font: 400 54px/1.05 Questrial, Arial, Helvetica, sans-serif;
    letter-spacing: 0;
  }

  .cr-fsae img {
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    display: block;
  }

  .cr-contact {
    max-width: 720px;
  }

  .cr-contact a {
    color: #fffffe;
    -webkit-text-fill-color: #fffffe;
    text-decoration: underline;
  }

  .cr-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 28px;
  }

  .cr-contact-grid h3 {
    margin: 0 0 10px;
    color: #c8102e;
    -webkit-text-fill-color: #c8102e;
    font: 400 24px/1.25 Questrial, Arial, Helvetica, sans-serif;
  }

  .cr-contact-form {
    display: grid;
    gap: 16px;
    margin-top: 34px;
  }

  .cr-contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .cr-contact-form label {
    display: grid;
    gap: 8px;
    color: #fffffe;
    -webkit-text-fill-color: #fffffe;
    font: 700 14px/1.25 Arial, Helvetica, sans-serif;
  }

  .cr-contact-form input,
  .cr-contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 254, 0.78);
    border-radius: 0;
    padding: 12px 0;
    color: #fffffe;
    -webkit-text-fill-color: #fffffe;
    background: transparent;
    font: 400 16px/1.35 Arial, Helvetica, sans-serif;
  }

  .cr-contact-form textarea {
    min-height: 132px;
    resize: vertical;
  }

  .cr-contact-form button {
    min-height: 46px;
    border: 1px solid #fffffe;
    border-radius: 999px;
    color: #fffffe;
    -webkit-text-fill-color: #fffffe;
    background: #6d0000;
    font: 700 14px/1 Arial, Helvetica, sans-serif;
  }

  @media (max-width: 900px) {
    .cr-overview-grid,
    .cr-fsae {
      grid-template-columns: 1fr;
    }

    .cr-model {
      max-width: 560px;
      margin-inline: auto;
      width: 100%;
    }

    .cr-title {
      font-size: 48px;
    }

    .cr-fsae h2,
    .cr-contact h2 {
      font-size: 46px;
    }

    .cr-model-frame {
      height: min(78vw, 460px);
      min-height: 300px;
    }
  }

  @media (max-width: 700px) {
    .cr-shell {
      width: min(100% - 28px, 560px);
    }

    .cr-header {
      align-items: flex-start;
      flex-direction: column;
    }

    .cr-nav {
      justify-content: flex-start;
      gap: 12px 18px;
      font-size: 13px;
    }

    .cr-hero {
      min-height: max(520px, calc(100svh - 104px));
    }

    .cr-hero-lockup {
      font-size: 58px;
      width: min(100%, 360px);
    }

    .cr-feature {
      grid-template-columns: 1fr;
    }

    .cr-feature img {
      aspect-ratio: 1.5;
    }

    .cr-title {
      font-size: 38px;
    }

    .cr-feature h2 {
      font-size: 24px;
    }

    .cr-fsae h2,
    .cr-contact h2 {
      font-size: 40px;
    }

    .cr-contact-fields {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 390px) {
    .cr-shell {
      width: min(100% - 22px, 360px);
    }

    .cr-logo {
      width: 122px;
    }

    .cr-nav {
      font-size: 12px;
      gap: 10px 14px;
    }

    .cr-title {
      font-size: 34px;
    }

    .cr-hero-lockup {
      font-size: 50px;
      width: min(100%, 326px);
    }

    .cr-feature p,
    .cr-fsae p,
    .cr-contact p {
      font-size: 15px;
    }

    .cr-model-frame {
      height: 300px;
      min-height: 300px;
    }
  }

  @media (max-width: 360px) {
    .cr-hero-lockup {
      font-size: 46px;
      width: min(100%, 304px);
    }
  }
}
