.site-footer {
  --site-footer-background: var(--color-primary-orange);
  --site-footer-foreground: var(--color-secondary-cream);
  --site-footer-divider: rgba(238, 236, 229, 0.2);

  position: relative;
  z-index: var(--z-content);
  width: 100%;
  max-width: none;
  padding: 0 var(--page-gutter) var(--page-gutter);
  margin: 0;
  clear: both;
  color: var(--site-footer-foreground);
  isolation: isolate;
}

.site-footer--cocktail {
  --site-footer-background: var(--color-primary-lime);
  --site-footer-foreground: var(--color-primary-green);
  --site-footer-divider: rgba(28, 59, 46, 0.2);
}

.site-footer--story {
  --site-footer-background: var(--color-secondary-ink);
  --site-footer-foreground: var(--color-secondary-cream);
  --site-footer-divider: rgba(238, 236, 229, 0.2);

  margin-top: var(--section-space-medium);
}

.site-footer__masthead {
  /* Figma node 40000992:874 uses a 2.24% gap (about 32px at 1440px). */
  --site-footer-masthead-gap: clamp(14px, 2.24vw, 32px);

  position: relative;
  display: flex;
  width: 100%;
  max-width: var(--page-container);
  min-height: clamp(50px, 10.8vw, 152px);
  align-items: flex-end;
  justify-content: center;
  gap: var(--site-footer-masthead-gap);
  padding-bottom: clamp(3px, 0.3vw, 4px);
  overflow: hidden;
  margin-right: auto;
  margin-left: auto;
}

.site-footer__masthead-word {
  position: relative;
  min-width: 0;
  flex-basis: 0;
  height: auto;
}

.site-footer__masthead-word--roaming {
  max-width: 686px;
  flex-grow: 686;
}

.site-footer__masthead-word--rhythm {
  max-width: 610px;
  flex-grow: 610;
}

.site-footer__vehicle {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 53px;
  z-index: var(--z-content);
  width: 390px;
  height: auto;
  pointer-events: none;
}

.site-footer__panel {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  border-radius: var(--footer-radius);
  background: var(--site-footer-background);
}

.site-footer__content {
  position: relative;
  width: 100%;
  max-width: var(--page-container);
  min-height: 596px;
  overflow: hidden;
  margin-right: auto;
  margin-left: auto;
}

.site-footer__brand {
  position: absolute;
  top: 38px;
  left: 60px;
  z-index: var(--z-content);
  display: block;
  width: 225px;
}

.site-footer__wordmark {
  width: 225px;
  height: auto;
}

.site-footer__illustration {
  position: absolute;
  top: 76px;
  left: 50%;
  width: 489.355px;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.site-footer__links {
  position: absolute;
  top: 38px;
  right: 60px;
  z-index: var(--z-content);
  display: flex;
  width: 302px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 27px;
}

.site-footer__link-group {
  min-width: 0;
}

.site-footer__heading {
  margin: 0;
  color: var(--site-footer-foreground);
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-20);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body-20);
  white-space: nowrap;
}

.site-footer__heading::after {
  display: block;
  width: 54px;
  height: 1px;
  margin-top: 16px;
  background: var(--site-footer-foreground);
  content: "";
}

.site-footer__list {
  padding: 0;
  margin: 16px 0 0;
  color: var(--site-footer-foreground);
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-18);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body-18);
  list-style: none;
}

.site-footer__list-item + .site-footer__list-item {
  margin-top: 16px;
}

.site-footer__link {
  position: relative;
  display: inline-flex;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__link-roll,
.site-footer__link-roll .button-roll__line {
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .site-footer__links {
    width: auto;
    justify-content: flex-start;
  }

  .site-footer__link-group {
    flex: 0 0 auto;
    min-width: max-content;
  }
}

.site-footer__link::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__link:is(:hover, :focus-visible)::after {
  transform: scaleX(1);
}

.site-footer__link:focus-visible,
.site-footer__brand:focus-visible {
  outline-color: var(--site-footer-foreground);
}

.site-footer__tagline {
  position: absolute;
  right: auto;
  bottom: 101px;
  left: 50%;
  z-index: var(--z-content);
  width: 1052px;
  max-width: calc(100% - 80px);
  margin: 0;
  color: var(--site-footer-foreground);
  font-family: var(--font-family-caveat);
  font-size: var(--font-size-footer-tagline);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-footer-tagline);
  text-align: center;
  transform: translateX(-50%);
}

.site-footer__tagline.is-writing {
  isolation: isolate;
}

.site-footer__tagline-placeholder {
  visibility: hidden;
}

.site-footer__tagline-writing {
  position: absolute;
  inset: 0;
  display: block;
}

.site-footer__tagline-writing-copy {
  white-space: pre-wrap;
}

.site-footer__tagline-caret {
  display: inline-block;
  width: 2px;
  height: 0.82em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.05em;
  animation: site-footer-caret-blink 720ms steps(1, end) infinite;
}

.site-footer__tagline.is-writing-complete .site-footer__tagline-caret {
  animation: none;
}

@keyframes site-footer-caret-blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

.site-footer__divider {
  position: absolute;
  right: 38px;
  bottom: 78px;
  left: 38px;
  height: 1px;
  background: var(--site-footer-divider);
}

.site-footer__copyright {
  position: absolute;
  right: auto;
  bottom: 25px;
  left: 50%;
  width: 651px;
  max-width: calc(100% - 80px);
  margin: 0;
  color: var(--site-footer-foreground);
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-18);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body-18);
  text-align: center;
  transform: translateX(-50%);
}

@media (min-width: 1600px) {
  .site-footer__vehicle {
    width: 440px;
  }

  .site-footer__illustration {
    top: 45px;
    width: 560px;
  }
}

@media (max-width: 1366px) {
  .site-footer__vehicle {
    left: 38px;
    width: 355px;
  }

  .site-footer__content {
    min-height: 500px;
  }

  .site-footer__brand {
    top: 30px;
    left: 48px;
    width: 200px;
  }

  .site-footer__wordmark {
    width: 200px;
  }

  .site-footer__links {
    top: 30px;
    right: 48px;
  }

  .site-footer__illustration {
    top: 62px;
    width: 438px;
  }

  .site-footer__tagline {
    bottom: 73px;
  }

  .site-footer__divider {
    bottom: 56px;
  }

  .site-footer__copyright {
    bottom: 18px;
  }
}

@media (max-width: 1166px) {
  .site-footer__vehicle {
    top: auto;
    bottom: 0;
    left: 30px;
    width: 300px;
  }

  .site-footer__brand {
    top: 28px;
    left: 40px;
    width: 190px;
  }

  .site-footer__wordmark {
    width: 190px;
  }

  .site-footer__links {
    top: 28px;
    right: 40px;
  }

  .site-footer__illustration {
    top: 58px;
    width: 400px;
  }
}

@media (max-width: 1024px) {
  .site-footer__content {
    display: grid;
    min-height: 0;
    padding: var(--section-padding-y) 44px 24px;
    grid-template-columns: 1fr 302px;
    grid-template-rows: auto auto auto auto;
  }

  .site-footer__brand {
    position: relative;
    top: auto;
    left: auto;
    align-self: start;
    grid-column: 1;
    grid-row: 1;
  }

  .site-footer__links {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 2;
    grid-row: 1;
  }

  .site-footer__illustration {
    top: 182px;
    width: 420px;
  }

  .site-footer__tagline {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: none;
    align-self: end;
    margin-top: 68px;
    grid-column: 1 / -1;
    grid-row: 2;
    transform: none;
  }

  .site-footer__divider {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 24px;
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .site-footer__copyright {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    max-width: none;
    margin-top: 22px;
    grid-column: 1 / -1;
    grid-row: 4;
    transform: none;
  }
}

@media (max-width: 768px) {
  .site-footer__vehicle {
    top: auto;
    bottom: 0;
    left: 22px;
    width: 225px;
  }

  .site-footer__content {
    grid-template-columns: minmax(0, 1fr) 250px;
    padding: 32px 24px 18px;
  }

  .site-footer__brand {
    width: 180px;
  }

  .site-footer__wordmark {
    width: 180px;
  }

  .site-footer__links {
    width: 250px;
    gap: 20px;
  }

  .site-footer__list-item + .site-footer__list-item {
    margin-top: 0;
  }

  .site-footer__link {
    align-items: center;
    padding: 8px 0;
  }

  .site-footer__link::after {
    bottom: 6px;
  }

  .site-footer__illustration {
    top: 142px;
    width: 320px;
  }

  .site-footer__tagline {
    width: 100%;
    margin-top: 32px;
  }

  .site-footer__divider {
    margin-top: 20px;
  }

  .site-footer__copyright {
    width: 100%;
    max-width: none;
    padding-right: 112px;
    margin-top: 16px;
  }

  .site-footer--no-sidebar-cta .site-footer__copyright {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 576px) {
  .site-footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__brand {
    width: 170px;
    align-self: center;
    margin: 0 auto;
  }

  .site-footer__wordmark {
    width: 170px;
  }

  .site-footer__links {
    display: grid;
    width: 100%;
    max-width: 420px;
    margin-top: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .site-footer__tagline {
    margin-top: 32px;
  }

  .site-footer__copyright {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .site-footer__vehicle {
    top: auto;
    bottom: 0;
    left: 12px;
    width: 180px;
  }

  .site-footer__content {
    padding: 28px 18px 20px;
  }

  .site-footer__panel {
    border-radius: 14px;
  }

  .site-footer__brand,
  .site-footer__wordmark {
    width: 160px;
  }

  .site-footer__links {
    max-width: 320px;
    gap: 24px;
  }

  .site-footer__illustration {
    top: 176px;
    width: 330px;
  }

  .site-footer__tagline {
    margin-top: 30px;
  }

  .site-footer__copyright {
    padding-right: 54px;
  }
}

@media (max-width: 430px) {
  .site-footer__links {
    gap: 20px;
  }

  .site-footer__illustration {
    top: 168px;
    width: 310px;
  }

  .site-footer__tagline {
    margin-top: 28px;
  }
}

@media (max-width: 360px) {
  .site-footer__content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-footer__links {
    gap: 16px;
  }

  .site-footer__illustration {
    top: 160px;
    width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__vehicle,
  .site-footer__tagline-writing {
    transform: none;
  }

  .site-footer__tagline-caret {
    display: none;
    animation: none;
  }

  .site-footer__link::after {
    transition: none;
  }
}

