.tipjar-button[hidden] {
  display: none !important;
}

body > header.site-footer-obscures-header {
  visibility: hidden;
  transform: translateY(-100%);
  pointer-events: none;
}

.site-footer-lead {
  --footer-lead-serif: Georgia, "Times New Roman", serif;
  --footer-lead-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 52px clamp(24px, 7vw, 104px) 40px;
  background: #0d2527;
  color: #f8f0e4;
  font-family: var(--footer-lead-sans);
  line-height: normal;
  -webkit-font-smoothing: antialiased;
}

.site-footer-lead::before {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background:
    radial-gradient(circle at 78% 18%, rgba(227, 164, 106, 0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 43%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 67% 66%, rgba(255, 255, 255, 0.6) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 91% 73%, rgba(35, 108, 170, 0.9) 0 2px, transparent 3px);
  content: "";
}

.site-footer-lead__inner {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.site-footer-lead__kicker {
  margin: 0;
  color: #efb480;
  font-family: var(--footer-lead-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer-lead h2 {
  margin: 0 0 16px;
  color: #fffaf1;
  font-family: var(--footer-lead-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.site-footer-lead p:not(.site-footer-lead__kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 250, 241, 0.77);
  font-size: 16px;
  line-height: 1.75;
}

.site-footer {
  --footer-paper: #f4efe6;
  --footer-ink: #1d1a16;
  --footer-teal: #0c4e4b;
  --footer-teal-deep: #083b3a;
  --footer-orange: #e86734;
  --footer-cobalt: #236caa;
  --footer-gold: #d79b28;
  --footer-serif: Georgia, "Times New Roman", serif;
  --footer-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --footer-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--footer-paper);
  color: var(--footer-ink);
  font-family: var(--footer-sans);
  line-height: normal;
  -webkit-font-smoothing: antialiased;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer__scene {
  position: relative;
  isolation: isolate;
  background: #f7f4eb;
}

.site-footer__hero {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  top: auto;
  height: auto;
  object-fit: contain;
  mask-image: linear-gradient(to bottom, transparent, #000 12%);
}

.site-footer__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(247, 244, 235, 0.35), transparent 48%);
  pointer-events: none;
}

.site-footer__content {
  display: flex;
  align-items: center;
  min-height: max(560px, 52.5vw);
  padding: clamp(32px, 4.5vw, 80px) 4%;
}

.site-footer__panel {
  width: 39%;
  max-width: 540px;
}

.site-footer__wordmark {
  display: inline-block;
  margin-bottom: clamp(28px, 4vw, 62px);
  color: #26221d;
  font: 700 11px/1.5 var(--footer-mono);
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__eyebrow {
  margin: 0 0 15px;
  color: #5a554d;
  font: 700 11px/1.35 var(--footer-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__title {
  max-width: 490px;
  margin: 0;
  color: var(--footer-ink);
  font-family: var(--footer-serif);
  font-size: clamp(38px, 4.6vw, 76px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.site-footer__copy {
  max-width: 430px;
  margin: 21px 0 0;
  color: #4f4a43;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
}

.footer-signup {
  margin-top: 30px;
}

.footer-signup__row {
  display: flex;
  width: min(100%, 494px);
  min-height: 54px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.footer-signup__input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(29, 26, 22, 0.22);
  border-right: 0;
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--footer-ink);
  padding: 0 17px;
  font: 16px/1 var(--footer-sans);
}

.footer-signup__input::placeholder {
  color: #8a857c;
}

.footer-signup__input:focus {
  position: relative;
  z-index: 1;
  border-color: var(--footer-cobalt);
  box-shadow: inset 0 0 0 2px var(--footer-cobalt);
}

.footer-signup__input[aria-invalid="true"] {
  border-color: #b94331;
  box-shadow: inset 0 0 0 1px #b94331;
}

.footer-signup__button {
  min-width: 110px;
  border: 0;
  border-radius: 0;
  background: var(--footer-teal);
  color: #fffdf7;
  padding: 0 16px;
  font: 700 15px/1 var(--footer-sans);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-signup__button:hover {
  background: var(--footer-teal-deep);
}

.footer-signup__button:active {
  transform: translateY(1px);
}

.footer-signup__button:focus-visible {
  outline: 3px solid var(--footer-cobalt);
  outline-offset: 3px;
}

.footer-signup__help,
.footer-signup__error {
  min-height: 18px;
  margin: 10px 0 0;
  color: #625d55;
  font-size: 12px;
  line-height: 1.45;
}

.footer-signup__error {
  color: #973626;
  font-weight: 650;
}

.footer-signup-success {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 494px);
  min-height: 78px;
  margin-top: 30px;
  padding: 14px 17px;
  border: 1px solid rgba(12, 78, 75, 0.32);
  background: rgba(250, 250, 242, 0.92);
  box-shadow: 0 12px 34px rgba(32, 26, 16, 0.12);
}

.footer-signup-success__icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--footer-teal);
  color: #fff;
}

.footer-signup-success strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--footer-serif);
  font-size: 19px;
}

.footer-signup-success span {
  color: #5b554c;
  font-size: 13px;
  line-height: 1.35;
}

.site-footer__replay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  margin-top: 19px;
  border: 0;
  background: none;
  color: #5d574e;
  padding: 0;
  font: 700 11px/1 var(--footer-mono);
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.site-footer__replay:hover {
  color: var(--footer-ink);
}

.site-footer__replay:focus-visible {
  outline: 3px solid var(--footer-cobalt);
  outline-offset: 4px;
}

.site-footer__bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 20px clamp(28px, 6.8vw, 100px);
  background: var(--footer-teal-deep);
  color: rgba(255, 253, 247, 0.86);
}

.site-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 27px;
}

.site-footer__links a {
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.site-footer__meta {
  margin: 0;
  color: rgba(255, 253, 247, 0.62);
  font: 500 11px/1.4 var(--footer-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-footer__content {
    min-height: 540px;
  }

  .site-footer__panel {
    width: 46%;
  }

  .site-footer__wash {
    background: linear-gradient(90deg, rgba(247, 244, 235, 0.96) 0%, rgba(247, 244, 235, 0.85) 38%, transparent 68%);
  }

  .site-footer__wordmark {
    margin-bottom: 28px;
  }

  .site-footer__copy {
    margin-top: 18px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 24px 4%;
  }
}

@media (max-width: 600px) {
  .site-footer-lead {
    min-height: 195px;
    padding: 34px 24px 28px;
  }

  .site-footer-lead h2 {
    font-size: 30px;
  }

  .site-footer-lead p:not(.site-footer-lead__kicker),
  .site-footer-lead__kicker {
    font-size: 14px;
    line-height: 1.6;
  }

  .site-footer__content {
    align-items: flex-start;
    min-height: 480px;
    padding: 32px 24px 48px;
  }

  .site-footer__panel {
    width: 100%;
    max-width: 390px;
  }

  .site-footer__wash {
    background: linear-gradient(180deg, #f7f4eb 0%, rgba(247, 244, 235, 0.94) 38%, rgba(247, 244, 235, 0.7) 66%, rgba(247, 244, 235, 0.08) 100%);
  }

  .site-footer__wordmark {
    margin-bottom: 30px;
    font-size: 10px;
  }

  .site-footer__eyebrow {
    margin-bottom: 12px;
  }

  .site-footer__title {
    max-width: 300px;
    font-size: clamp(40px, 10vw, 52px);
  }

  .site-footer__copy {
    max-width: 340px;
    font-size: 15px;
    line-height: 1.55;
  }

  .footer-signup,
  .footer-signup-success {
    margin-top: 24px;
  }

  .footer-signup__row {
    min-height: 50px;
  }

  .footer-signup__input {
    padding: 0 12px;
  }

  .footer-signup__button {
    min-width: 100px;
    padding: 0 12px;
    font-size: 14px;
  }

  .site-footer__replay {
    min-height: 44px;
    margin-top: 12px;
  }

  .site-footer__bottom {
    padding: 22px 24px;
  }

  .site-footer__links {
    gap: 8px 20px;
  }

  .site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
  }

  .site-footer__meta {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
