/* Motion is progressive enhancement: the static page remains readable without JS. */
.eyebrow a {
  color: inherit;
  text-underline-offset: 4px;
}
.eyebrow a:hover {
  text-decoration: underline;
}
.site-footer a:not(.brand) {
  text-underline-offset: 3px;
}
.site-footer a:not(.brand):hover {
  text-decoration: underline;
}
.faq-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hatch-section {
  position: relative;
  background: #eeeee3;
  margin-top: 4px;
  height: 2100px;
  height: 240svh;
  min-height: 1500px;
}
.hatch-pin {
  position: sticky;
  top: 0;
  min-height: 650px;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hatch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 35px;
  position: relative;
}
.hatch-copy > .eyebrow {
  font-size: 9px;
  letter-spacing: 1.4px;
  margin-bottom: 34px;
}
.hatch-copy > .eyebrow .status-dot {
  background: #a38627;
}
.story-panels {
  display: grid;
  min-height: 235px;
}
.story-panel {
  grid-area: 1/1;
  pointer-events: none;
}
.story-panel > * {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.16s ease,
    transform 0.24s cubic-bezier(0.4, 0, 0.6, 1);
}
.story-panel.is-active {
  pointer-events: auto;
}
.story-panel.is-active > * {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.48s ease var(--copy-delay, 0.18s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--copy-delay, 0.18s);
}
.story-panel.is-leaving > * {
  opacity: 0;
  transform: translateY(-6px);
}
.story-panel > .story-count {
  --copy-delay: 0.17s;
}
.story-panel > h2 {
  --copy-delay: 0.22s;
}
.story-panel > p {
  --copy-delay: 0.28s;
}
.story-count {
  font-size: 9px;
  color: #6b6d60;
  font-weight: 700;
  letter-spacing: 1.7px;
  display: block;
  margin-bottom: 18px;
}
.story-panel h2 {
  font-size: clamp(35px, 3.7vw, 54px);
  line-height: 1.1;
  letter-spacing: -2.4px;
  font-weight: 700;
  margin: 0 0 22px;
}
.story-panel p {
  font-size: 13px;
  color: #66695d;
  line-height: 1.9;
  margin: 0;
}
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #696c5e;
  font-size: 10px;
  margin: 26px 0;
}
.scroll-hint > span {
  font-size: 20px;
  animation: scroll-nudge 2s ease-in-out infinite;
}
.story-steps {
  display: flex;
  gap: 7px;
}
.story-steps button {
  border: 1px solid #d3d5c5;
  cursor: pointer;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 9px;
  font: 600 9px var(--font);
  padding: 10px 12px;
  border-radius: 30px;
  color: #66695e;
  transition:
    color 0.3s,
    background 0.3s,
    border-color 0.3s;
}
.story-steps button > span {
  font-size: 8px;
  opacity: 0.7;
}
.story-steps button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.hatch-scene {
  position: relative;
  min-width: 0;
  isolation: isolate;
  --egg-opacity: 1;
  --shell-opacity: 0;
  --baby-opacity: 0;
  --adult-opacity: 0;
  --crack-opacity: 0;
  --top-y: 0px;
  --top-angle: 0deg;
  --bottom-y: 0px;
  --baby-y: 65px;
  --baby-scale: 0.7;
  --adult-y: 20px;
  --adult-scale: 0.75;
  --egg-angle: 0deg;
  --confetti-opacity: 0;
}
.hatch-art {
  width: 100%;
  height: auto;
  overflow: visible;
  position: relative;
}
.scene-halo {
  position: absolute;
  inset: 15% 12% 12%;
  background: #f8da64;
  border-radius: 50%;
  z-index: -1;
  transform: scale(var(--halo-scale, 1));
  will-change: transform;
}
.scene-halo:before,
.scene-halo:after {
  content: "";
  position: absolute;
  inset: -17px;
  border: 1px solid #dadccb;
  border-radius: 50%;
  transform: rotate(-12deg) scaleX(1.08);
}
.scene-halo:after {
  inset: -37px;
  transform: rotate(22deg) scaleX(1.04);
}
.scene-doodle {
  position: absolute;
  z-index: 2;
  color: #2b3025;
}
.doodle-one {
  left: 5%;
  top: 21%;
  font-size: 36px;
  transform: rotate(var(--doodle-angle, -10deg));
}
.doodle-two {
  right: 5%;
  bottom: 17%;
  font-size: 47px;
  transform: rotate(var(--doodle-angle, 10deg));
}
.scene-caption {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #747768;
  letter-spacing: 0.2px;
  transform: rotate(-5deg);
  margin-top: -7px;
}
.hatch-art g {
  transform-box: view-box;
}
.egg-whole {
  opacity: var(--egg-opacity);
  transform: rotate(var(--egg-angle));
  transform-origin: 250px 357px;
  will-change: transform, opacity;
}
.egg-crack {
  opacity: var(--crack-opacity);
  stroke-dasharray: 180;
  stroke-dashoffset: var(--crack-offset, 180);
}
.shell-pieces {
  opacity: var(--shell-opacity);
}
.egg-top {
  transform: translateY(var(--top-y)) rotate(var(--top-angle));
  transform-origin: 250px 280px;
  will-change: transform;
}
.egg-bottom {
  transform: translateY(var(--bottom-y)) rotate(var(--bottom-angle, 0deg));
  transform-origin: 250px 350px;
}
.baby-bird {
  opacity: var(--baby-opacity);
  transform: translateY(var(--baby-y)) scale(var(--baby-scale));
  transform-origin: 250px 350px;
  will-change: transform, opacity;
}
.adult-bird {
  opacity: var(--adult-opacity);
  transform: translateY(var(--adult-y)) scale(var(--adult-scale));
  transform-origin: 250px 370px;
  will-change: transform, opacity;
}
.hatch-confetti {
  opacity: var(--confetti-opacity);
  transform: scale(var(--confetti-scale, 1));
  transform-origin: 250px 260px;
}
.hatch-section.is-in-view .baby-bob {
  animation: chick-bob 2.8s ease-in-out infinite;
  transform-origin: 250px 340px;
}
.hatch-section.is-in-view .baby-wing-right {
  animation: wing-wave 1.7s ease-in-out infinite;
  transform-origin: 310px 265px;
}
.hatch-section.is-in-view .adult-bob {
  animation: chick-bob 3.2s ease-in-out infinite;
  transform-origin: 255px 350px;
}
.hatch-section.is-in-view .baby-eyes,
.hatch-section.is-in-view .adult-eye {
  animation: blink 5s infinite;
  transform-origin: 250px 240px;
}
.hatch-section.is-in-view .adult-eye {
  transform-origin: 310px 189px;
}
.hatch-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #d4d7c5;
  margin-top: 70px;
  padding-top: 19px;
  font-size: 10px;
  color: #6d7163;
}
.hatch-bottom a {
  font-weight: 600;
  display: flex;
  gap: 18px;
  color: var(--ink);
}
.hatch-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hatch-bottom a > span {
  font-size: 17px;
}
.hero-copy {
  animation: arrive 0.8s both cubic-bezier(0.22, 0.65, 0.3, 1);
}
.hero-art {
  animation: arrive 1s 0.12s both cubic-bezier(0.22, 0.65, 0.3, 1);
}
.note-top {
  --tilt: 7deg;
  animation: float-note 5s ease-in-out infinite;
}
.note-bottom {
  --tilt: -6deg;
  animation: float-note 5s -2s ease-in-out infinite;
}
.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-ready.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.page-window {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-art:hover .page-window {
  transform: rotate(1deg) translateY(-3px);
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float-note {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt));
  }
  50% {
    transform: translateY(-7px) rotate(var(--tilt));
  }
}
@keyframes scroll-nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
@keyframes chick-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-5px) rotate(1deg);
  }
}
@keyframes wing-wave {
  0%,
  100% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-17deg);
  }
}
@keyframes blink {
  0%,
  43%,
  47%,
  100% {
    transform: scaleY(1);
  }
  45% {
    transform: scaleY(0.1);
  }
}
@media (max-width: 900px) {
  .hatch-layout {
    column-gap: 15px;
  }
  .story-panel h2 {
    font-size: 37px;
    letter-spacing: -1.7px;
  }
  .story-panel p {
    font-size: 11px;
  }
  .story-steps {
    gap: 5px;
  }
  .story-steps button {
    font-size: 8px;
    padding: 9px 10px;
    gap: 6px;
  }
  .hatch-bottom {
    margin-top: 45px;
  }
  .doodle-one {
    font-size: 26px;
  }
  .doodle-two {
    font-size: 34px;
  }
  .scene-caption {
    font-size: 8px;
  }
}
@media (max-width: 650px) {
  .hatch-section {
    height: 240svh;
    min-height: 1250px;
  }
  .hatch-pin {
    min-height: 650px;
    height: 100svh;
  }
  .hatch-layout {
    grid-template-columns: 1fr;
    row-gap: 8px;
    padding-block: 24px;
  }
  .hatch-copy > .eyebrow {
    font-size: 7.5px;
    letter-spacing: 1.2px;
    margin: 0 0 16px;
  }
  .story-count {
    font-size: 7px;
    margin-bottom: 10px;
  }
  .story-panel h2 {
    font-size: 33px;
    letter-spacing: -1.6px;
    margin-bottom: 12px;
  }
  .story-panel p {
    font-size: 11px;
    line-height: 1.75;
  }
  .story-panels {
    min-height: 162px;
  }
  .scroll-hint {
    font-size: 8px;
    margin: 9px 0 10px;
  }
  .scroll-hint > span {
    font-size: 16px;
  }
  .story-steps {
    gap: 6px;
  }
  .story-steps button {
    font-size: 8px;
    padding: 8px 12px;
  }
  .hatch-scene {
    width: min(300px, 80%);
    margin: 0 auto;
  }
  .scene-caption {
    font-size: 7px;
    margin-top: -13px;
  }
  .scene-halo:before {
    inset: -10px;
  }
  .scene-halo:after {
    inset: -20px;
  }
  .hatch-bottom {
    margin-top: 18px;
    padding-top: 13px;
    font-size: 8px;
  }
  .hatch-bottom a {
    gap: 10px;
  }
  .doodle-one {
    font-size: 23px;
  }
  .doodle-two {
    font-size: 30px;
  }
}
@media (max-width: 650px) and (max-height: 740px) {
  .hatch-pin {
    min-height: 570px;
  }
  .hatch-layout {
    padding-block: 15px;
  }
  .hatch-copy > .eyebrow {
    margin-bottom: 12px;
  }
  .story-panel h2 {
    font-size: 29px;
  }
  .story-panels {
    min-height: 148px;
  }
  .hatch-scene {
    width: 235px;
  }
  .hatch-bottom {
    margin-top: 9px;
  }
  .scroll-hint {
    margin: 5px 0 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hatch-section {
    height: auto;
    min-height: 0;
    padding-block: 65px;
  }
  .hatch-pin {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .hatch-art * {
    will-change: auto !important;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
  .scroll-hint {
    display: none;
  }
  .story-panel {
    transition: none;
  }
  .story-steps {
    margin-top: 22px;
  }
  .note-top {
    transform: rotate(7deg);
  }
  .note-bottom {
    transform: rotate(-6deg);
  }
}
