:root {
  --ink: #17151d;
  --muted: #706d77;
  --paper: #f7f7f4;
  --white: #ffffff;
  --line: #d8d6dc;
  --purple: #7057e8;
  --purple-dark: #4f38c7;
  --pink: #eec7d9;
  --blue: #a7cfdf;
  --warm: #d9b68b;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 74px;
  padding: 0 clamp(22px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(23, 21, 29, 0.1);
  background: rgba(247, 247, 244, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 800;
  font-size: 18px;
  min-height: 44px;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  background: var(--purple);
  border-radius: 7px;
  overflow: hidden;
}

.brand-mark i {
  position: absolute;
  bottom: 6px;
  width: 4px;
  background: var(--white);
  border-radius: 4px 4px 0 0;
}

.brand-mark i:nth-child(1) {
  left: 7px;
  height: 9px;
}

.brand-mark i:nth-child(2) {
  left: 13px;
  height: 16px;
}

.brand-mark i:nth-child(3) {
  left: 19px;
  height: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 500;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 180ms ease, transform 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: min(860px, 88svh);
  padding: 74px clamp(22px, 4vw, 64px) 42px;
  background: #f4f3f1;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: var(--purple);
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0 0 0 47%;
  background-image: url("./assets/skincare-pink.jpg");
  background-position: center 60%;
  background-size: cover;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(23, 21, 29, 0.08);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(min(860px, 88svh) - 116px);
  width: min(650px, 46%);
  padding-right: clamp(20px, 4vw, 70px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Noto Serif SC", "Songti SC", serif;
}

h1 {
  margin: 0;
  font-size: clamp(50px, 5.7vw, 88px);
  font-weight: 900;
  line-height: 1.13;
}

h1 span {
  color: var(--purple-dark);
}

.hero-lede {
  max-width: 540px;
  margin: 30px 0 0;
  color: #595660;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.primary-button,
.light-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 190px;
  min-height: 54px;
  padding: 0 20px;
  color: var(--white);
  background: var(--purple);
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible,
.light-button:hover,
.light-button:focus-visible {
  background: var(--purple-dark);
  transform: translateY(-3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 540px;
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 17px 12px 0 0;
}

.hero-proof div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-proof strong {
  color: var(--purple-dark);
  font-size: 12px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 13px;
}

.hero-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 24px;
  color: rgba(23, 21, 29, 0.62);
  font-size: 10px;
  font-weight: 700;
}

.intro {
  display: grid;
  grid-template-columns: 0.45fr 1.35fr 0.8fr;
  gap: clamp(28px, 5vw, 74px);
  width: min(calc(100% - 44px), var(--max-width));
  margin: 0 auto;
  padding: 140px 0 124px;
}

.section-index {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.intro h2,
.showcase h2,
.workflow h2,
.closing h2 {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.28;
}

.intro-copy {
  align-self: end;
}

.intro-copy p {
  margin: 0;
  color: #4f4c55;
  font-size: 16px;
  line-height: 1.9;
}

.intro-copy .intro-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.capability-list {
  width: min(calc(100% - 44px), var(--max-width));
  margin: 0 auto 148px;
  border-top: 1px solid var(--ink);
}

.capability-row {
  display: grid;
  grid-template-columns: 0.45fr 1.15fr 1.7fr auto;
  gap: 28px;
  align-items: center;
  min-height: 132px;
  border-bottom: 1px solid var(--line);
}

.capability-number {
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 700;
}

.capability-row h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 28px;
}

.capability-row p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.capability-tag {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 12px;
}

.showcase {
  padding: 130px clamp(22px, 4vw, 64px) 150px;
  color: var(--white);
  background: var(--ink);
}

.showcase-head {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 72px;
  align-items: end;
  width: min(100%, var(--max-width));
  margin: 0 auto 76px;
}

.eyebrow-light {
  color: #a996ff;
}

.showcase-head > p {
  margin: 0 0 8px;
  color: #a9a6ae;
  line-height: 1.9;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: repeat(2, minmax(320px, 1fr));
  gap: 18px;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.work {
  position: relative;
  min-height: 320px;
  border-radius: 6px;
  overflow: hidden;
}

.work-tall {
  grid-row: 1 / 3;
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work:hover img {
  transform: scale(1.035);
}

.work-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 24px 20px;
  background: rgba(23, 21, 29, 0.78);
}

.work-meta span {
  color: #c8c4ce;
  font-size: 11px;
}

.work-meta strong {
  max-width: 230px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px;
  text-align: right;
}

.workflow {
  width: min(calc(100% - 44px), var(--max-width));
  margin: 0 auto;
  padding: 140px 0 150px;
}

.workflow-head {
  display: grid;
  grid-template-columns: 0.45fr 2.55fr;
  gap: 28px;
  margin-bottom: 76px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.steps li {
  min-height: 260px;
  padding: 25px 30px 30px;
  border-bottom: 1px solid var(--line);
}

.steps li + li {
  border-left: 1px solid var(--line);
}

.steps li > span {
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 700;
}

.steps li div {
  margin-top: 88px;
}

.steps h3 {
  margin: 0 0 14px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 25px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.closing {
  position: relative;
  min-height: 620px;
  color: var(--white);
  background: #20242d;
  overflow: hidden;
}

.closing-image {
  position: absolute;
  inset: 0 45% 0 0;
  background-image: url("./assets/perfume-water.jpg");
  background-position: center 46%;
  background-size: cover;
}

.closing-copy {
  position: relative;
  z-index: 2;
  width: 55%;
  margin-left: auto;
  padding: 126px clamp(28px, 7vw, 110px);
}

.closing-copy h2 {
  font-size: clamp(48px, 5.2vw, 78px);
}

.closing-copy > p:not(.eyebrow) {
  margin: 28px 0 38px;
  color: #c3c5cb;
  line-height: 1.8;
}

.light-button {
  color: var(--ink);
  background: var(--white);
}

.light-button:hover,
.light-button:focus-visible {
  color: var(--white);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 120px;
  padding: 24px clamp(22px, 4vw, 64px);
  background: var(--white);
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

footer p:last-child {
  justify-self: end;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: 860px;
    padding-top: 74px;
  }

  .hero-media {
    inset: 46% 0 0 38%;
    background-position: center 54%;
  }

  .hero-copy {
    justify-content: flex-start;
    min-height: auto;
    width: 100%;
    max-width: 720px;
    padding: 92px 0 0;
  }

  .hero-lede {
    max-width: 590px;
  }

  .hero-proof {
    width: min(100%, 590px);
  }

  .hero-caption {
    display: none;
  }

  .intro {
    grid-template-columns: 0.35fr 1.25fr;
  }

  .intro-copy {
    grid-column: 2;
  }

  .capability-row {
    grid-template-columns: 0.25fr 0.8fr 1.55fr;
  }

  .capability-tag {
    display: none;
  }

  .showcase-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .showcase-head > p {
    max-width: 620px;
  }

  .closing-image {
    inset: 0 52% 0 0;
  }

  .closing-copy {
    width: 52%;
    padding-right: 32px;
    padding-left: 44px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .brand-mark i:nth-child(1) {
    left: 6px;
  }

  .brand-mark i:nth-child(2) {
    left: 11px;
  }

  .brand-mark i:nth-child(3) {
    left: 17px;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 13px;
    font-size: 12px;
  }

  .header-cta span {
    display: none;
  }

  .hero {
    min-height: 790px;
    padding: 64px 20px 26px;
  }

  .hero::before {
    width: 4px;
  }

  .hero-media {
    inset: 52% 0 0 24%;
    background-position: center 58%;
  }

  .hero-copy {
    padding-top: 66px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
  }

  h1 {
    font-size: 44px;
    line-height: 1.2;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 18px;
    margin-top: 25px;
  }

  .primary-button {
    min-width: 170px;
    min-height: 50px;
    gap: 16px;
    font-size: 14px;
  }

  .text-link {
    margin-top: 5px;
    font-size: 12px;
  }

  .hero-proof {
    display: none;
  }

  .intro {
    display: block;
    width: calc(100% - 40px);
    padding: 88px 0 78px;
  }

  .section-index {
    margin-bottom: 42px;
  }

  .intro h2,
  .showcase h2,
  .workflow h2,
  .closing h2 {
    font-size: 38px;
    line-height: 1.34;
  }

  .intro-copy {
    margin-top: 36px;
  }

  .capability-list {
    width: calc(100% - 40px);
    margin-bottom: 92px;
  }

  .capability-row {
    grid-template-columns: 36px 1fr;
    gap: 10px 16px;
    min-height: 0;
    padding: 28px 0;
  }

  .capability-row h3 {
    font-size: 23px;
  }

  .capability-row p {
    grid-column: 2;
    font-size: 14px;
  }

  .showcase {
    padding: 88px 20px 98px;
  }

  .showcase-head {
    margin-bottom: 48px;
  }

  .showcase-grid {
    display: block;
  }

  .work {
    height: 420px;
    min-height: 0;
    margin-top: 14px;
  }

  .work:first-child {
    margin-top: 0;
  }

  .work:nth-child(2) {
    height: 300px;
  }

  .work:nth-child(3) {
    height: 390px;
  }

  .work-meta {
    display: block;
    padding: 18px;
  }

  .work-meta span {
    display: block;
    margin-bottom: 6px;
  }

  .work-meta strong {
    font-size: 17px;
    text-align: left;
  }

  .workflow {
    width: calc(100% - 40px);
    padding: 88px 0 98px;
  }

  .workflow-head {
    display: block;
    margin-bottom: 48px;
  }

  .steps {
    display: block;
  }

  .steps li {
    display: grid;
    grid-template-columns: 44px 1fr;
    min-height: 0;
    padding: 28px 0;
  }

  .steps li + li {
    border-left: 0;
  }

  .steps li div {
    margin-top: 0;
  }

  .steps h3 {
    font-size: 22px;
  }

  .steps p {
    font-size: 14px;
  }

  .closing {
    min-height: 720px;
  }

  .closing-image {
    inset: 0 0 48% 0;
    background-position: center 42%;
  }

  .closing-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 54px 20px 62px;
    background: #20242d;
  }

  .closing-copy > p:not(.eyebrow) {
    margin: 20px 0 28px;
  }

  footer {
    grid-template-columns: 1fr auto;
    min-height: 108px;
    padding: 24px 20px;
  }

  footer p:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* MotionSites-inspired motion layer: moving media, clipped reveals, and scroll depth. */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  height: 3px;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

a,
button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f08bb7;
  outline-offset: 3px;
}

.site-header {
  top: 14px;
  right: 18px;
  left: 18px;
  width: auto;
  height: 60px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(23, 21, 29, 0.1);
  border-radius: 7px;
  background: rgba(247, 247, 244, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(23, 21, 29, 0.05);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(23, 21, 29, 0.14);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(23, 21, 29, 0.1);
}

.desktop-nav a.is-active::after {
  background: var(--purple-dark);
  transform: scaleX(1);
}

.hero {
  min-height: min(900px, 90svh);
  padding-top: 88px;
}

.hero-media {
  inset: 0 0 0 47%;
  background: #edeae9;
  isolation: isolate;
  overflow: hidden;
  transform: translate3d(var(--stage-x, 0), var(--stage-y, 0), 0) scale(1.012);
  transition: transform 260ms ease-out;
  will-change: transform;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 850ms cubic-bezier(0.76, 0, 0.24, 1), opacity 500ms ease;
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.hero-slide.is-leaving {
  z-index: 1;
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 4.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-slide.is-active img {
  transform: scale(1.075);
}

.hero-slide:nth-child(1) img {
  object-position: center 60%;
}

.hero-slide:nth-child(2) img {
  object-position: center 48%;
}

.hero-slide:nth-child(3) img {
  object-position: center;
}

.hero-slide:nth-child(4) img {
  object-position: center 64%;
}

.hero-media::after {
  z-index: 4;
  pointer-events: none;
}

.motion-hud {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 6;
  display: grid;
  grid-template-columns: auto 1fr minmax(80px, 0.7fr) 44px;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 10px 12px 10px 16px;
  color: var(--white);
  background: rgba(23, 21, 29, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  backdrop-filter: blur(12px);
}

.motion-count {
  font-size: 11px;
  font-weight: 800;
}

.motion-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.motion-name strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 15px;
}

.motion-name span {
  color: #c9c5d0;
  font-size: 9px;
  font-weight: 700;
}

.motion-timeline {
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.motion-timeline i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}

.motion-timeline i.is-running {
  animation: motion-timeline 4.2s linear forwards;
}

.motion-timeline i.is-paused {
  animation-play-state: paused;
}

@keyframes motion-timeline {
  to {
    transform: scaleX(1);
  }
}

.motion-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease;
}

.motion-toggle:hover {
  color: var(--white);
  background: var(--purple);
}

.hero-copy {
  min-height: calc(min(900px, 90svh) - 130px);
}

.hero-line {
  display: block;
  color: var(--ink);
  overflow: hidden;
}

.hero-line > span {
  display: block;
  color: inherit;
}

.hero-line-accent,
.hero-line-accent > span {
  color: var(--purple-dark);
}

.motion-ready .hero-copy > .eyebrow,
.motion-ready .hero-copy > .hero-lede,
.motion-ready .hero-copy > .hero-actions,
.motion-ready .hero-copy > .hero-proof {
  opacity: 0;
  transform: translateY(18px);
}

.motion-ready .hero-line > span {
  transform: translateY(112%);
}

.motion-ready.is-loaded .hero-copy > .eyebrow,
.motion-ready.is-loaded .hero-copy > .hero-lede,
.motion-ready.is-loaded .hero-copy > .hero-actions,
.motion-ready.is-loaded .hero-copy > .hero-proof {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease-out, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.motion-ready.is-loaded .hero-line > span {
  transform: translateY(0);
  transition: transform 850ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready.is-loaded .hero-line:nth-child(2) > span {
  transition-delay: 100ms;
}

.motion-ready.is-loaded .hero-copy > .hero-lede {
  transition-delay: 220ms;
}

.motion-ready.is-loaded .hero-copy > .hero-actions {
  transition-delay: 300ms;
}

.motion-ready.is-loaded .hero-copy > .hero-proof {
  transition-delay: 380ms;
}

.primary-button span,
.header-cta span,
.light-button span {
  display: inline-block;
  transition: transform 180ms ease;
}

.primary-button:hover span,
.header-cta:hover span,
.light-button:hover span {
  transform: translate(3px, -3px);
}

.motion-strip {
  width: 100%;
  padding: 16px 0;
  color: var(--white);
  background: var(--purple-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.motion-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: motion-strip 28s linear infinite;
}

.motion-strip-track span {
  display: inline-block;
  padding: 0 26px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.motion-strip-track i {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--pink);
  border-radius: 50%;
}

.motion-strip:hover .motion-strip-track {
  animation-play-state: paused;
}

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

.capability-row:nth-child(2) {
  transition-delay: 70ms;
}

.capability-row:nth-child(3) {
  transition-delay: 140ms;
}

.work.reveal {
  clip-path: inset(9% 0 9% 0);
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
    clip-path 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work.reveal.is-visible {
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

.work img[data-parallax] {
  height: calc(100% + 80px);
  margin-top: -40px;
  transform: translate3d(0, var(--media-y, 0), 0) scale(1.04);
  transition: transform 160ms ease-out;
  will-change: transform;
}

.work:hover img[data-parallax] {
  transform: translate3d(0, var(--media-y, 0), 0) scale(1.08);
}

@media (max-width: 980px) {
  .hero-media {
    inset: 46% 0 0 34%;
  }

  .hero {
    min-height: 890px;
  }

  .hero-copy {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    right: 10px;
    left: 10px;
    height: 54px;
    padding: 0 10px 0 12px;
  }

  .hero {
    min-height: 810px;
    padding-top: 76px;
  }

  .hero-media {
    inset: 51% 0 0 18%;
  }

  .hero-copy {
    padding-top: 48px;
  }

  .motion-hud {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: auto 1fr 44px;
    gap: 12px;
    min-height: 58px;
    padding: 7px 7px 7px 12px;
  }

  .motion-timeline {
    display: none;
  }

  .motion-name strong {
    font-size: 13px;
  }

  .motion-strip-track span {
    padding: 0 20px;
  }

  .work img[data-parallax] {
    height: calc(100% + 50px);
    margin-top: -25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-strip-track,
  .motion-timeline i.is-running {
    animation: none;
  }

  .hero-media,
  .hero-slide img,
  .work img[data-parallax] {
    transform: none;
  }

  .hero-slide:not(:first-child),
  .motion-toggle {
    display: none;
  }

  .hero-slide:first-child {
    display: block;
    opacity: 1;
    clip-path: none;
  }

  .motion-ready .hero-copy > .eyebrow,
  .motion-ready .hero-copy > .hero-lede,
  .motion-ready .hero-copy > .hero-actions,
  .motion-ready .hero-copy > .hero-proof,
  .motion-ready .hero-line > span {
    opacity: 1;
    transform: none;
  }
}
