:root {
  --paper: #f7f5ee;
  --ink: #0b3768;
  --gold: #d4aa3a;
  --green: #10d881;
  --line: #ddd6c8;
  --footer: #72808a;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --serif: "EB Garamond", Garamond, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
}

body {
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 100px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 97%, transparent);
}

.wordmark {
  position: absolute;
  top: 29px;
  left: 50%;
  display: block;
  width: 245px;
  height: auto;
  transform: translateX(-50%);
}

.hero-stage {
  position: absolute;
  top: 59px;
  left: 6.5vw;
  width: 61.5vw;
  height: 550px;
}

.ring {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 8px var(--paper), 0 0 0 12px var(--gold), 0 18px 31px rgba(14, 35, 54, 0.15);
}

.ring img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: photograph-breathe 20s ease-in-out infinite alternate;
}

.ring--book {
  top: 58px;
  left: 30%;
  z-index: 3;
  width: clamp(286px, 25.5vw, 368px);
  aspect-ratio: 1;
  box-shadow: 0 0 0 8px var(--paper), 0 0 0 12px var(--gold), 0 19px 32px rgba(14, 35, 54, 0.2);
}

.ring--book img {
  object-position: 48% 50%;
  animation-delay: -7s;
}

.ring--elephant {
  top: 320px;
  left: 5.3%;
  z-index: 2;
  width: clamp(198px, 17.4vw, 250px);
  aspect-ratio: 1;
}

.ring--elephant img {
  object-position: 130% 52%;
  animation-delay: -2s;
}

.ring--balancer {
  top: 318px;
  left: 70.6%;
  z-index: 1;
  width: clamp(190px, 16.7vw, 240px);
  aspect-ratio: 1;
}

.ring--balancer img {
  object-position: 50% 48%;
  animation-delay: -11s;
}

.story {
  position: absolute;
  top: 196px;
  left: 67.92%;
  z-index: 4;
  width: min(27vw, 390px);
}

.story h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(58px, 4.73vw, 68px);
  font-weight: 500;
  line-height: 0.87;
  letter-spacing: -0.065em;
}

.subhead {
  max-width: 376px;
  margin: 29px 0 0;
  color: #304b61;
  font-size: clamp(18px, 1.32vw, 19px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.017em;
}

.campaign-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 193px;
  margin-top: 41px;
  text-align: center;
}

.campaign-lockup span {
  width: 100%;
  color: #193a52;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.campaign-lockup img {
  display: block;
  width: 132px;
  height: auto;
  margin-top: 7px;
}

.campaign-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 193px;
  min-height: 49px;
  margin-top: 14px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.campaign-cta:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--gold);
  color: #102f52;
}

.campaign-cta:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.site-footer {
  position: absolute;
  right: 48px;
  bottom: 29px;
  color: var(--footer);
  font: 500 9px/1.2 var(--mono);
  letter-spacing: 0.1em;
}

@keyframes photograph-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@media (max-width: 1020px) and (min-width: 801px) {
  .hero-stage {
    left: 3.5vw;
    width: 65vw;
  }

  .story {
    left: 70%;
    width: 26vw;
  }

  .story h1 {
    font-size: clamp(48px, 5.5vw, 59px);
  }

  .subhead {
    font-size: 17px;
  }
}

@media (max-width: 800px) {
  .site-shell {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    overflow: hidden;
  }

  .site-header {
    position: relative;
    height: 80px;
    flex: 0 0 80px;
  }

  .wordmark {
    top: 24px;
    width: min(56vw, 218px);
  }

  .hero-stage {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 325px;
    flex: 0 0 325px;
  }

  .ring--book {
    top: 12px;
    left: 50%;
    width: clamp(176px, 50vw, 208px);
    transform: translateX(-50%);
  }

  .ring--elephant {
    top: 206px;
    left: 5.5%;
    width: clamp(112px, 31vw, 134px);
  }

  .ring--balancer {
    top: 206px;
    right: 5.5%;
    left: auto;
    width: clamp(110px, 30vw, 132px);
  }

  .story {
    position: relative;
    top: auto;
    left: auto;
    width: min(87vw, 390px);
    margin: -6px auto 0;
    text-align: center;
  }

  .story h1 {
    font-size: clamp(45px, 13vw, 56px);
    line-height: 0.84;
    letter-spacing: -0.07em;
  }

  .subhead {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.25;
  }

  .campaign-lockup {
    width: 100%;
    margin-top: 24px;
  }

  .campaign-cta {
    width: min(100%, 228px);
    min-height: 48px;
    margin-top: 12px;
  }

  .site-footer {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: auto;
    padding: 14px 20px 17px;
    color: var(--footer);
    font-size: 8px;
    text-align: center;
  }
}

@media (max-width: 420px) and (max-height: 760px) {
  .site-header {
    height: 70px;
    flex-basis: 70px;
  }

  .wordmark {
    top: 21px;
  }

  .hero-stage {
    height: 290px;
    flex-basis: 290px;
  }

  .ring--book {
    width: 172px;
  }

  .ring--elephant,
  .ring--balancer {
    top: 181px;
    width: 117px;
  }

  .story h1 {
    font-size: 43px;
  }

  .subhead {
    margin-top: 16px;
    font-size: 16px;
  }

  .campaign-lockup {
    margin-top: 17px;
  }

  .campaign-cta {
    min-height: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
