/*
 * Copyright (c) 2026 Sam Loane
 * Motion Elite website overhaul
 * Aston Martin design language: black/white luxury palette, racing green accent,
 * uppercase tracked display type with period rhythm, full-bleed imagery, hairline rules
 */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f6f3;
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --fg: #111111;
  --fg-muted: #6b6b6b;
  --fg-inverse: #fafafa;
  --accent: #00574b;
  --accent-light: #1a7a6c;
  --rule: #e8e8e8;
  --rule-dark: rgba(255, 255, 255, 0.12);

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --pad-section: clamp(4rem, 9vw, 9rem);
  --pad-side: clamp(1.25rem, 4vw, 4rem);
  --max-width: 1480px;
  --transition: 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* TYPOGRAPHY */

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.eyebrow.on-dark {
  color: rgba(255, 255, 255, 0.7);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

h1.display,
h2.display {
  font-weight: 200;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 200;
  letter-spacing: 0.01em;
}

h2.section-heading {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

p.lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 60ch;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* LAYOUT */

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

section {
  padding: var(--pad-section) 0;
}

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  width: 100%;
}

.rule.on-dark {
  background: var(--rule-dark);
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem var(--pad-side);
  padding-top: max(1.1rem, env(safe-area-inset-top));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition:
    background var(--transition),
    backdrop-filter var(--transition),
    padding var(--transition);
  color: var(--fg-inverse);
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.85rem var(--pad-side);
    padding-top: max(0.85rem, env(safe-area-inset-top));
  }
  .brand span:last-child {
    font-size: 0.7rem;
  }
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem var(--pad-side);
  border-bottom: 1px solid var(--rule-dark);
}

.site-header.light {
  color: var(--fg);
}

.site-header.light.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-weight: 300;
  font-size: 0.85rem;
  font-family: var(--font-serif);
  font-style: italic;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}

.nav a:hover::after,
.nav a.current::after {
  width: 100%;
}

.cta-pair {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border: 1px solid currentColor;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.btn:hover {
  background: currentColor;
}

.btn:hover span,
.btn:hover .btn-text {
  color: var(--bg);
  mix-blend-mode: difference;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--fg-inverse);
}

.btn.primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--fg-inverse);
}

.btn.ghost-light {
  color: var(--fg-inverse);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn.ghost-light:hover {
  background: var(--fg-inverse);
  color: var(--bg-dark);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: currentColor;
  transition: transform var(--transition);
}

.menu-toggle span:nth-child(1) {
  top: 16px;
}

.menu-toggle span:nth-child(2) {
  top: 24px;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  top: 20px;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    color: var(--fg-inverse);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: var(--pad-side);
  }

  .nav a {
    font-size: 1.4rem;
    letter-spacing: 0.16em;
  }

  .site-header.menu-open .nav {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
    z-index: 101;
  }

  .cta-pair .btn:not(.primary) {
    display: none;
  }
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: var(--fg-inverse);
  overflow: hidden;
}

@media (max-width: 720px) {
  .hero {
    min-height: 92svh;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--pad-side) clamp(2.5rem, 6vw, 6rem);
  padding-bottom: max(clamp(2.5rem, 6vw, 6rem), env(safe-area-inset-bottom));
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 1.2rem;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 50ch;
}

.hero-cta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-feature {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 28rem;
}

.hero-feature-label {
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-feature-title {
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
}

.hero-feature-price {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 500;
}

@media (max-width: 720px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-row .btn {
    justify-content: center;
    width: 100%;
  }
  .hero-feature {
    margin-top: 1.8rem;
    padding-top: 1.2rem;
  }
  .hero p.lead {
    font-size: 0.95rem;
    margin-bottom: 1.6rem;
  }
}

/* SECTION INTRO */

.intro {
  padding: var(--pad-section) 0 calc(var(--pad-section) * 0.6);
  text-align: center;
}

.intro .wrap {
  max-width: 80ch;
}

.intro p {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  font-weight: 300;
  color: var(--fg);
}

.intro p .accent {
  color: var(--accent);
}

/* SHOWCASE / FEATURED CARS */

.showcase {
  padding: var(--pad-section) 0;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0 var(--pad-side);
}

@media (max-width: 720px) {
  .showcase-header {
    align-items: flex-start;
  }
  .showcase-header .btn {
    width: 100%;
    justify-content: center;
  }
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

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

.car-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  color: inherit;
  transition: background var(--transition);
}

.car-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}

.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.car-card:hover .car-card-image img {
  transform: scale(1.04);
}

.car-card-body {
  padding: 1.6rem 1.8rem 1.8rem;
}

.car-card-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.8rem;
}

.car-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.car-card-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}

.price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.car-card-link {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
}

/* TWO-UP / SPLIT BLOCKS */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.split.dark {
  background: var(--bg-dark);
  color: var(--fg-inverse);
}

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

.split-image {
  min-height: clamp(360px, 50vh, 700px);
  background-size: cover;
  background-position: center;
}

.split-text {
  padding: clamp(2.5rem, 6vw, 6rem) clamp(2rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-text h2 {
  margin-bottom: 1.4rem;
}

.split-text p {
  color: var(--fg-muted);
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.split.dark .split-text p {
  color: rgba(255, 255, 255, 0.72);
}

/* VALUES STRIP */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.values > div {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--rule);
}

.values > div:last-child {
  border-right: 0;
}

.values .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.values h3 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.values p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .values {
    grid-template-columns: 1fr;
  }
  .values > div {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .values > div:last-child {
    border-bottom: 0;
  }
}

/* SERVICES TABLE */

.services-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(200px, 28%) 1fr minmax(180px, 22%);
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.service-row .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.service-row .desc {
  color: var(--fg-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.service-row .rate {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-align: right;
  color: var(--accent);
}

@media (max-width: 720px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1.5rem 0;
  }
  .service-row .rate {
    text-align: left;
    margin-top: 0.4rem;
  }
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

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

.contact-card {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border: 1px solid var(--rule);
}

.contact-card + .contact-card {
  border-left: 0;
}

@media (max-width: 880px) {
  .contact-card + .contact-card {
    border-left: 1px solid var(--rule);
    border-top: 0;
  }
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line .label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.contact-line .value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.contact-line .value a:hover {
  color: var(--accent);
}

/* FOOTER */

.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(3rem, 6vw, 5rem) var(--pad-side) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-dark);
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

.footer-grid h4 {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--fg-inverse);
  margin-bottom: 1.4rem;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-grid ul a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-grid ul a:hover {
  color: var(--fg-inverse);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-inverse);
  margin-bottom: 1.2rem;
}

.footer-grid p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* CAR DETAIL PAGE */

.car-detail-hero {
  padding-top: clamp(5.5rem, 10vw, 7rem);
  padding-bottom: 0;
  background: var(--bg);
}

body.has-light-hero,
body.has-light-hero .site-header {
  color: var(--fg);
}

body.has-light-hero .site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--rule);
  color: var(--fg);
}

.car-detail-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.4rem;
}

.car-detail-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 200;
  letter-spacing: 0.01em;
  line-height: 1.05;
  max-width: 22ch;
  margin-bottom: 2rem;
}

.car-detail-price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.car-gallery {
  margin-top: 3rem;
}

.car-gallery-main {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  overflow: hidden;
  cursor: zoom-in;
}

.car-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 240ms ease;
}

.car-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

@media (max-width: 720px) {
  .car-gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.car-gallery-thumbs button {
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.car-gallery-thumbs button.active,
.car-gallery-thumbs button:hover {
  opacity: 1;
}

.car-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 4rem;
}

@media (max-width: 720px) {
  .car-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

.car-specs > div {
  padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--rule);
}

.car-specs > div:last-child {
  border-right: 0;
}

@media (max-width: 720px) {
  .car-specs > div:nth-child(2) {
    border-right: 0;
  }
}

.car-specs .label {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.car-specs .value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
}

/* STOCKLIST GRID */

.stocklist-header {
  padding: clamp(6rem, 12vw, 9rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.stocklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

@media (max-width: 1100px) {
  .stocklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* UTILITY */

.text-center {
  text-align: center;
}

.dark-section {
  background: var(--bg-dark);
  color: var(--fg-inverse);
}

.dark-section p {
  color: rgba(255, 255, 255, 0.78);
}

.dark-section .rule {
  background: var(--rule-dark);
}

/* QUOTE */

.quote {
  text-align: center;
  padding: var(--pad-section) var(--pad-side);
}

.quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.4;
  max-width: 38ch;
  margin: 0 auto 1.5rem;
  color: var(--fg);
}

.quote cite {
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ANIMATIONS */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
}

.fade-up.in-view {
  animation: fadeUp 900ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
