:root {
  --white: #ffffff;
  --text-shadow: 0 2px 14px rgba(0, 0, 0, 1);
  --quote-shadow: 0 6px 20px rgba(0, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #111;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-page {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-page picture {
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.22) 32%, rgba(0, 0, 0, 0.55) 100%);
}

body.js-bg-enabled .hero-image,
body.js-bg-enabled .hero-overlay {
  display: none;
}

.home-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-copy {
  position: absolute;
  right: 6%;
  bottom: 3%;
  width: min(46%, 760px);
  z-index: 3;
  text-shadow: var(--text-shadow);
  overflow: hidden;
}

.hero-cta {
  position: absolute;
  top: 275px;
  right: 6%;
  width: min(46%, 760px);
  z-index: 3;
}

.hero-cta-heading {
  margin: 0 0 14px;
  text-align: center;
  font-size: 59px;
  line-height: 1.2;
  text-shadow: var(--text-shadow);
}

.quote-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.quote-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 760ms ease;
}

.quote-panel.no-anim {
  transition: none;
}

.quote-panel.is-active {
  transform: translateX(0);
}

.quote-panel.is-next {
  transform: translateX(100%);
}

.quote-panel.is-out {
  transform: translateX(-100%);
}

.hero-copy blockquote {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.35;
  font-style: italic;
  text-shadow: var(--quote-shadow);
}

.hero-copy cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: clamp(14px, 1vw, 26px);
  text-shadow: var(--quote-shadow);
}

.cta-variants {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.cta-btn {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1;
  padding: 14px 20px;
  transition: all 220ms ease;
}


.cta-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cta-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.cta-ivory {
  color: #1a1a1a;
  border: 1px solid rgba(243, 239, 231, 0.95);
  border-radius: 10px;
  background: rgba(243, 239, 231, 0.94);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.cta-ivory:hover {
  background: #faf7f1;
  transform: translateY(-1px);
}

.home-page .hero-cta .cta-ivory {
  animation:
    top-cta-pulse-burst 6s ease-in-out 1,
    top-cta-pulse-burst 6s ease-in-out 6s infinite;
  transform-origin: center;
}

.cta-underline {
  position: relative;
  color: var(--white);
  padding: 12px 2px 10px;
  border: 0;
  background: transparent;
  font-size: 12px;
}

.cta-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.82);
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.cta-underline:hover::after {
  transform: scaleX(1);
}

.quote-followup-link {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 32%, rgba(0, 0, 0, 0.6) 100%);
  }

  .hero-page {
    height: auto;
    min-height: 100vh;
    overflow: auto;
    padding: 16px 14px 30px;
  }

  .hero-image,
  .hero-overlay {
    position: fixed;
    height: 100vh;
  }

  .home-page .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-bottom: 24px;
  }

  .hero-cta-heading {
    font-size: clamp(34px, 9.2vw, 52px);
    line-height: 1.1;
    margin: 0 0 20px;
  }

  .hero-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 34px;
    overflow: hidden;
  }

  .hero-cta {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
  }

  .cta-variants {
    gap: 12px;
  }

  .hero-copy blockquote {
    font-size: clamp(23px, 7.3vw, 32px);
    line-height: 1.44;
  }

  .hero-copy cite {
    margin-top: 12px;
    font-size: clamp(17px, 5.2vw, 24px);
  }

  .quote-followup-link {
    display: inline-block;
    width: auto;
    margin-top: 24px;
  }
}
