.site-footer.ribbon-footer {
  display: block;
  overflow: clip;
  padding: clamp(28px, 5vw, 90px) 4.8% 22px;
  color: #ffeed6;
  background: radial-gradient(ellipse at 73% 83%, #233b29, transparent 43%),
    linear-gradient(110deg, #11271c, #193123 65%, #11271c);
}
.ribbon-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(34px, 6vw, 115px);
  padding-bottom: clamp(20px, 3vw, 58px);
  border-bottom: 1px solid #a8a77b;
}
.ribbon-signup h2, .ribbon-wordmark {
  font: 400 clamp(40px, 5vw, 104px)/.97 var(--serif);
  letter-spacing: -.055em;
}
.ribbon-signup h2 { margin-bottom: 22px; }
.ribbon-email-form {
  display: flex;
  max-width: 610px;
  padding: 4px;
  border: 1px solid #e6ddbd;
  border-radius: 40px;
}
.ribbon-email-form input {
  flex: 1;
  min-width: 0;
  color: inherit;
  background: none;
  border: 0;
  padding: 6px 15px;
  font: inherit;
}
.ribbon-email-form input::placeholder { color: #e7e1ce; }
.ribbon-email-form button {
  border: 0;
  background: #ffeed6;
  color: #1b3122;
  font-weight: 700;
  padding: 8px 23px;
  border-radius: 32px;
  cursor: pointer;
}
.ribbon-footer .ribbon-top nav {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3px;
  font: inherit;
}
.ribbon-top nav strong { margin-bottom: 4px; }
.ribbon-footer .ribbon-top nav a:hover, .ribbon-signup h2 a:hover { color: inherit; text-decoration: underline; }
.ribbon-footer .signature {
  display: grid;
  grid-template-columns: 53% 47%;
  align-items: end;
  margin-right: -5.3%;
}
.ribbon-wordmark {
  font-size: clamp(30px, 10vw, 214px);
  line-height: .82;
  white-space: nowrap;
  margin: 0 -7% 9% -1.5%;
}
.ribbon-footer .scene {
  position: relative;
  display: block;
  width: 105%;
  max-height: 54svh;
  margin-left: -5%;
  overflow: visible;
}
.ribbon-footer .controls { display: flex; justify-content: flex-end; margin-top: 12px; }
.ribbon-footer #replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7efd9;
  background: transparent;
  border: 1px solid #80917a;
  border-radius: 99px;
  padding: 7px 15px;
  font-size: .83rem;
  cursor: pointer;
}
.ribbon-footer #replay:disabled { opacity: .55; cursor: default; }
.ribbon-footer #replay span { font: 1.5em/1 Arial, sans-serif; }
@media (max-width: 720px) and (orientation: portrait), (max-width: 520px) {
  .site-footer.ribbon-footer { padding: 22px 6% 16px; }
  .ribbon-top { grid-template-columns: 1fr 1fr; gap: 15px 10px; padding-bottom: 14px; }
  .ribbon-signup { grid-column: 1/-1; }
  .ribbon-signup h2 { font-size: clamp(36px, 9.5vw, 62px); margin-bottom: 12px; }
  .ribbon-footer .ribbon-top nav { font-size: 14px; }
  .ribbon-footer .signature { grid-template-columns: 1fr; margin: 0; }
  .ribbon-footer .scene { grid-row: 1; width: 109%; max-height: 34svh; margin: 8px 0 0 -4%; }
  .ribbon-wordmark { text-align: center; margin: 10px 0 0; font-size: 17.3vw; }
  .ribbon-footer .controls { justify-content: flex-end; }
}
@media (min-width: 521px) and (orientation: landscape) and (max-height: 580px) {
  .site-footer.ribbon-footer { padding: 10px 4% 8px; }
  .ribbon-top { padding-bottom: 8px; }
  .ribbon-signup h2 { font-size: 7svh; margin-bottom: 8px; }
  .ribbon-footer .ribbon-top nav { gap: 0; font-size: 13px; }
  .ribbon-footer .scene { max-height: 48svh; }
  .ribbon-footer .controls { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-footer .controls { visibility: hidden; }
}
/* Allow the entire footer to clear a fractional scroll boundary. */
body:has(> .ribbon-footer) { border-bottom: 2px solid #142b20; }
@media (max-width: 520px) and (max-height: 660px) {
  .site-footer.ribbon-footer { padding: 12px 5% 14px; }
  .ribbon-top { gap: 10px; padding-bottom: 8px; }
  .ribbon-signup h2 { font-size: 32px; margin-bottom: 8px; }
  .ribbon-footer .scene { max-height: 29svh; }
  .ribbon-footer .controls { margin-top: 8px; }
}
