/* Wells Hamilton: styles used only by index.html.
   Load after style.css:
   <link rel="stylesheet" href="css/style.css" />
   <link rel="stylesheet" href="css/index.css" /> */

/* =========================================================
   HERO
   ========================================================= */

.glow {
  position: absolute;
  left: 0;
  top: 0;
  width: min(90vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #2f4a55;
  filter: blur(110px);
  opacity: 0.3;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-home {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #0e0c0a;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 110px 6% 120px;
}

.glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(90vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #6d6d6d;
  filter: blur(110px);
  opacity: 0.35;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.float {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fl {
  position: absolute;
  width: clamp(72px, 11vw, 150px);
  pointer-events: auto;
}

.hc {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hc h1 {
  font-size: clamp(2.5rem, 7.4vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
}

.hc h1 em {
  color: var(--gold);
}

.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.ln span {
  display: block;
}

.mq {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.7);
}

.mq div {
  display: flex;
  width: max-content;
  /* --mq-dur is set from index.js so the speed stays constant whatever the number of names */
  animation: mq var(--mq-dur, 240s) linear infinite;
}

.mq:hover div {
  animation-play-state: paused;
}

.mq span {
  padding: 0 28px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #b1b1b1;
  white-space: nowrap;
}

.mq span::after {
  content: "\2726";
  margin-left: 56px;
  color: var(--gold);
  font-style: normal;
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .fl {
    opacity: 0.45;
  }

  .hero-home {
    padding-bottom: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mq div {
    animation: none;
  }
}

.typewriter {
  display: inline-flex;
  align-items: baseline;
}

#tw {
  display: inline;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  margin-left: 5px;
  background: currentColor;
  vertical-align: -0.05em;
  animation: caretBlink 0.8s steps(1) infinite;
}

.hc h1 .ln:first-child {
  min-height: 1.05em;
}

/* =========================================================
   SIDE RAIL
   ========================================================= */

.rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  height: 230px;
  width: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}

.rail::before,
.rf {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: #ffffff78;
}

.rf {
  background: #fff;
  transform-origin: top;
  transform: scaleY(0);
}

.rail a {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: #000;
  transition:
    background 0.3s,
    transform 0.3s;
}

.rail a.on {
  background: #fff;
  transform: scale(1.35);
}

.rail a::after {
  content: attr(data-l);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: 0.3s;
  white-space: nowrap;
  pointer-events: none;
}

.rail a span {
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

.rail a.show-label span {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.rail a::after {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.rail a.show-label::after {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 600px) {
  .rail {
    right: 6px;
    height: 150px;
    display: none;
  }

  .rail a::after {
    display: none;
  }
}
/* =========================================================
   ABOUT / STATS
   ========================================================= */

.mf {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 4.2vw, 3.5rem);
  line-height: 1.25;
  margin-top: 26px;
  max-width: 1050px;
  color: var(--dark);
}

.w {
  color: rgb(179 179 179 / 50%);
}

.hl {
  background: linear-gradient(rgb(107 107 107 / 40%), rgb(161 161 161 / 40%))
    left center / 0% 100% no-repeat;
  border-radius: 4px;
  padding: 0 0.12em;
  margin: 0 -0.12em;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px clamp(30px, 7vw, 100px);
  margin-top: 70px;
  padding-top: 34px;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}

.stats b {
  display: block;
  font:
    400 clamp(2.4rem, 5vw, 4rem) "Playfair Display",
    serif;
  color: var(--dark);
}

.stats span {
  color: var(--dark);
  font-size: 0.9rem;
}

.about-home {
  padding: 150px 8% 110px;
  background: var(--color-background-gray);
}

@media (max-width: 768px) {
  .about-home {
    padding: 110px 6% 80px;
  }
}

@media (max-width: 860px) {
  .stats {
    display: none;
  }
}

/* =========================================================
   AUTHORS CAROUSEL
   ========================================================= */

.authors {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 130px;
  color: #fff;
  background: #080808;
}

/* animated black / grey / white gradient */
/* Ascendant Light — animated background */
.ax-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  isolation: isolate;
  /* soft spotlight behind the portrait + faint glow bottom-left */
  background:
    radial-gradient(55% 70% at 74% 52%, rgba(255, 238, 204, 0.13), transparent 70%),
    radial-gradient(40% 50% at 6% 100%, rgba(255, 255, 255, 0.06), transparent 70%),
    #0d0d0d;
}

/* Main ascending light rays */
.ax-bg::before,
.ax-bg::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 300%;
  height: 150%;
  pointer-events: none;

  background: linear-gradient(
    45deg,
    rgba(255, 238, 204, 0) 40%,
    rgba(255, 238, 204, 0.25) 48%,
    rgba(255, 238, 204, 0.25) 52%,
    rgba(255, 238, 204, 0) 60%
  );

  -webkit-mask-image: radial-gradient(
    ellipse at 50% -20%,
    #000 20%,
    transparent 70%
  );

  mask-image: radial-gradient(ellipse at 50% -20%, #000 20%, transparent 70%);

  will-change: transform;
}

/* First light beam */
.ax-bg::before {
  animation: axPanLight 10s linear infinite alternate;
}

/* Second beam — different angle and speed */
.ax-bg::after {
  opacity: 0.65;
  animation: axPanLightTwo 8s linear infinite alternate;
}

@keyframes axPanLight {
  from {
    transform: translateX(-50%) rotate(-40deg);
  }

  to {
    transform: translateX(-50%) rotate(40deg);
  }
}

@keyframes axPanLightTwo {
  from {
    transform: translateX(-50%) rotate(-60deg);
  }

  to {
    transform: translateX(-50%) rotate(20deg);
  }
}

/* Floating particles */
.ax-bg .ax-mote {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 238, 204, 0.9);
  opacity: 0;
  pointer-events: none;

  animation: axFloat 10s linear infinite;
  will-change: transform, opacity;
}

@keyframes axFloat {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }

  10% {
    opacity: 0.7;
  }

  90% {
    opacity: 0.7;
  }

  100% {
    transform: translate3d(100px, -110vh, 0);
    opacity: 0;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .ax-bg::before,
  .ax-bg::after,
  .ax-bg .ax-mote {
    animation: none;
  }
}

.ax-stage {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(8px, 1.5vw, 24px);
}

/* ---------- left: text ---------- */
.ax-info {
  position: relative;
  padding-left: 8vw;
  min-width: 0;
}

/* huge outlined numeral sitting behind the name */
.ax-num {
  position: absolute;
  top: -0.42em;
  left: calc(8vw - 0.06em);
  z-index: -1;
  font: 400 clamp(9rem, 20vw, 18rem) / 1 "Playfair Display", serif;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 238, 204, 0.16);
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
  pointer-events: none;
  user-select: none;
}

.ax-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffeecc;
}

.ax-eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.ax-name {
  margin: 16px 0 14px;
  font-size: clamp(2.1rem, 4.9vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

.ax-pen {
  margin: 0 0 22px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #ffeecc;
  opacity: 0.85;
}

.ax-pen:empty {
  display: none;
}

/* thin gold divider between title and copy */
.ax-rule {
  display: block;
  width: 64px;
  height: 1px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #ffeecc, rgba(255, 238, 204, 0));
}

.ax-desc {
  max-width: 32rem;
  font-size: 0.97rem;
  line-height: 1.8;
  color: #d4d4d4;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ax-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 32px;
}

.ax-go {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  background: #f4efe4;
  color: #111;
  font-size: 0.9rem;
  font-weight: 500;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s;
}

.ax-go i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111;
  color: #ffeecc;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ax-go:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(255, 238, 204, 0.45);
}

.ax-go:hover i {
  transform: translateX(4px) rotate(-45deg);
}

.ax-books {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bdbdbd;
}

.ax-books:empty {
  display: none;
}

.ax-books::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffeecc;
  box-shadow: 0 0 10px rgba(255, 238, 204, 0.8);
}

/* ---------- right: portrait rail ---------- */
.ax-rail {
  --axw: clamp(240px, min(30vw, 56svh), 440px);
  --px: 0;
  --py: 0;
  --gx: 50%;
  --gy: 30%;
  width: var(--axw);
  justify-self: center;
  overflow: hidden;
  padding: 28px 0 34px;
  touch-action: pan-y;
}

.ax-track {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 40px;
  width: max-content;
}

.ax-card {
  position: relative;
  flex: 0 0 var(--axw);
  aspect-ratio: 4 / 5;
  display: block;
  text-align: left;
}

.ax-in {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: 0 18px 35px -12px rgba(0, 0, 0, 0.4);
  transform-origin: center bottom;
  transform: scale(0.86);
  opacity: 0.8;
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s,
    box-shadow 0.8s;
}

.ax-card.is-first .ax-in {
  transform: scale(1);
  opacity: 1;
  box-shadow:
    0 0 0 1px rgba(255, 238, 204, 0.22),
    0 40px 70px -20px rgba(0, 0, 0, 0.75),
    0 0 90px -30px rgba(255, 238, 204, 0.35);
}

.ax-in img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* front card: slight zoom + parallax following the pointer */
.ax-card.is-first .ax-in img {
  transform: scale(1.09)
    translate(calc(var(--px) * -14px), calc(var(--py) * -14px));
  transition: transform 0.35s ease-out;
}

/* inner hairline frame (front card only) */
.ax-in::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  border: 1px solid rgba(255, 238, 204, 0.38);
  border-radius: 15px;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.8s 0.2s,
    transform 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.ax-card.is-first .ax-in::before {
  opacity: 1;
  transform: scale(1);
}

/* soft light glare that follows the pointer */
.ax-in::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    circle at var(--gx) var(--gy),
    rgba(255, 255, 255, 0.2),
    transparent 55%
  );
  opacity: 0;
  mix-blend-mode: soft-light;
  transition: opacity 0.5s;
  pointer-events: none;
}

.ax-rail:hover .ax-card.is-first .ax-in::after {
  opacity: 1;
}

.ax-in b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font:
    400 clamp(3rem, 6vw, 5rem) "Playfair Display",
    serif;
  opacity: 0.85;
}

.ax-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 80px 24px 24px;
  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.88)
  );
}

.ax-cap h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.ax-cap p {
  margin-top: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #d0d0d0;
}

/* ---------- controls ---------- */
.ax-ctrl {
  position: absolute;
  right: 5%;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 22px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ax-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s,
    border-color 0.3s;
}

.ax-arrow:hover {
  background: #ffeecc;
  border-color: #ffeecc;
  color: #111;
}

.ax-arrow:active {
  transform: scale(0.92);
}

.ax-count {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.ax-prog {
  position: relative;
  width: clamp(70px, 11vw, 150px);
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.ax-bar {
  position: absolute;
  inset: 0;
  background: #ffeecc;
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- mobile ---------- */
@media (max-width: 800px) {
  .authors {
    padding: 110px 0 70px;
  }

  .ax-stage {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ax-info {
    padding: 0 6%;
  }

  .ax-num {
    top: -0.3em;
    left: 4%;
    right: auto;
    font-size: clamp(7rem, 34vw, 11rem);
  }

  .ax-rail {
    --axw: min(70vw, 300px);
    order: -1;
  }

  .ax-ctrl {
    position: static;
    justify-content: space-between;
    margin: 20px 6% 0;
    padding: 8px 20px 8px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-bg,
  .ax-bg::before,
  .ax-bg::after {
    animation: none;
  }

  .ax-in,
  .ax-in img,
  .ax-in::before,
  .ax-go,
  .ax-go i {
    transition: none;
  }
}

/* =========================================================
   SECTION HEADING
   ========================================================= */

.sh {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 54px;
}

.sh h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.hint {
  font-size: 0.85rem;
  color: var(--cream);
}

@media (max-width: 600px) {
  .hint {
    display: none;
  }
}

.hint {
  margin-top: 22px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  color: #d8d2c6;
}

.hint svg {
  animation: bob 1.6s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hint svg {
    animation: none;
  }
}

/* =========================================================
   FEATURED BOOKS
   ========================================================= */

.hs {
  background: var(--color-background-gray);
  padding: 110px 0;
  color: var(--dark);
}

.hs .sh {
  padding: 0 8%;
}

.track {
  display: flex;
  gap: clamp(24px, 3vw, 44px);
  padding: 0 8%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.bc {
  flex: 0 0 clamp(170px, 19vw, 240px);
  scroll-snap-align: start;
}

.bw {
  perspective: 700px;
}

.bc h3 {
  font-size: 1.3rem;
  margin-top: 20px;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hs .sh h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

.bc p {
  margin-top: 4px;
  color: #333333;
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .hs {
    height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .track {
    overflow: visible;
    width: max-content;
    padding-right: 18vw;
    margin-top: 10px;
  }

  .hs .sh {
    margin-bottom: 34px;
  }
}

.bw {
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* =========================================================
   VIDEOS
   ========================================================= */

.videos-sec {
  background: #111111;
  padding: 120px 8%;
}

.vg {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}

.vc {
  display: block;
  text-align: left;
}

.vc.feat {
  grid-row: 1 / 3;
}

.vp {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.2),
      transparent 55%
    ),
    linear-gradient(160deg, var(--c1), var(--c2));
}

.pl {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  transition: transform 0.4s;
}

.vc:hover .pl {
  transform: scale(1.12);
}

.vc .eyebrow {
  display: block;
  margin-top: 16px;
}

.vc h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-top: 6px;
}

.vc.feat h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.vc p {
  margin-top: 6px;
  color: #b9b1a3;
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .vg {
    grid-template-columns: 1fr;
  }

  .vc.feat {
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .videos-sec {
    padding: 80px 6%;
  }
}

/* =========================================================
   NOTES
   ========================================================= */

.notes {
  background: var(--color-background-gray);
  color: var(--dark);
  padding: 120px 8%;
}

.notes .eyebrow {
  color: #555;
}

.notes h2 {
  max-width: 14em;
  margin: 14px 0 56px;
}

.nc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 34px;
  border-top: 1px solid rgba(17, 17, 17, 0.2);
}

.nc h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.nc p,
.nb {
  line-height: 1.85;
  color: #333;
}

.nb {
  margin: 56px 0 26px;
  max-width: 38rem;
  font-size: 1.1rem;
}

.notes .cta {
  color: #fff;
}

.notes .cta:hover {
  color: var(--dark);
}

.vp {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.vp-thumb {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vc:hover .vp-thumb {
  transform: scale(1.06);
}

.vp .pl {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .nc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .notes {
    padding: 80px 6%;
  }
}

/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

@keyframes axShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes axDriftA {
  to {
    transform: translate(28vw, 22vh) scale(1.15);
  }
}

@keyframes axDriftB {
  to {
    transform: translate(-30vw, -18vh) scale(0.9);
  }
}

@keyframes bob {
  50% {
    transform: translateY(6px);
  }
}

@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}
