*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  overflow-x: clip;
  margin: 0;
  background: #fafbfc;
  color: #16171a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid #16171a;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
}

.band {
  margin-inline: calc(50% - 50vw);
  padding: 48px calc(50vw - 50%);
  background: #f1f3f6;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
}

.nav__name {
  font-weight: 600;
  text-decoration: none;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  list-style: none;
}

.nav__link {
  color: #5c5f69;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav__link:hover {
  color: #16171a;
}

.nav__link[aria-current=page] {
  color: #16171a;
  font-weight: 600;
}

@media (max-width: 640px) {
  .nav {
    flex-wrap: nowrap;
    gap: 12px;
  }
  .nav__name {
    white-space: nowrap;
  }
  .nav__links {
    flex-wrap: nowrap;
    gap: 16px;
  }
  .nav__item--home {
    display: none;
  }
}
@media (max-width: 374px) {
  .nav__name {
    font-size: 0.875rem;
  }
  .nav__links {
    gap: 12px;
  }
  .nav__link {
    font-size: 0.75rem;
  }
}
.home-hero {
  display: grid;
  gap: 16px;
  padding-block: 64px;
}

.home-hero__hello {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #5c5f69;
  font-size: 1.25rem;
  font-weight: 500;
}

.home-hero__line {
  font-size: 3.25rem;
  letter-spacing: -0.02em;
}

.home-hero__sub {
  max-width: 62ch;
  color: #5c5f69;
  font-size: 1.25rem;
  line-height: 1.3;
  text-wrap: balance;
}

@media (max-width: 640px) {
  .home-hero__line {
    font-size: 2.5rem;
  }
}
.case-hero {
  display: grid;
  gap: 12px;
  padding-block: 64px 32px;
}

.case-hero--portrait {
  grid-template-columns: minmax(0, 1fr) 240px;
  grid-template-rows: auto auto 1fr;
  column-gap: 48px;
}

.case-hero--portrait > * {
  grid-column: 1;
}

.case-hero--portrait > .portrait-group {
  grid-column: 2;
  grid-row: 1/span 3;
  align-self: start;
  margin-bottom: 0;
}

.case-hero__eyebrow {
  color: #5c5f69;
  font-size: 0.875rem;
  font-weight: 500;
}

.case-hero__title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

.case-hero__sub {
  max-width: 62ch;
  color: #5c5f69;
  font-size: 1.25rem;
  line-height: 1.3;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e3e5ea;
}

.stats__item {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
}

.stats__term {
  color: #5c5f69;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats__value {
  font-size: 0.875rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .case-hero__title {
    font-size: 1.5rem;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-hero--portrait {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  .case-hero--portrait > .portrait-group {
    grid-column: 1;
    grid-row: auto;
    order: -1;
  }
}
.section {
  display: grid;
  grid-template-columns: minmax(0, 62ch) minmax(0, 1fr);
  column-gap: 48px;
  row-gap: 24px;
  padding-block: 64px;
}

.section__text {
  display: grid;
  align-content: start;
  gap: 12px;
  grid-column: 1;
  min-width: 0;
}

.section__title {
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section__body {
  display: grid;
  gap: 12px;
}

.section__body ul {
  display: grid;
  gap: 4px;
  padding-left: 1.25em;
}

.section__subtitle {
  font-weight: 600;
}

.section__media {
  grid-column: 1/-1;
  min-width: 0;
}

.section__media--stack {
  display: grid;
  gap: 64px;
}

.section--split .section__media {
  grid-column: 2;
  align-self: start;
}

@media (max-width: 960px) {
  .section {
    grid-template-columns: minmax(0, 1fr);
  }
  .section--split .section__media {
    grid-column: 1;
  }
}
.media {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.media__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #e3e5ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(22, 23, 26, 0.06);
}

.media__frame img {
  width: 100%;
}

.media__video {
  display: block;
  width: 100%;
  height: auto;
}

.media__toggle {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 23, 26, 0.64);
  color: #ffffff;
  font: inherit;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
}

.media__toggle:focus-visible {
  outline: 2px solid #16171a;
  outline-offset: 2px;
}

.media__caption {
  color: #5c5f69;
  font-size: 0.875rem;
  line-height: 1.4;
}

.media-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}

.media-group--phones {
  grid-template-columns: repeat(auto-fill, minmax(200px, 280px));
}

.media-group--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-group--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.media-group--fit {
  grid-template-columns: var(--cols);
}

.media-group--narrow {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

@media (max-width: 960px) {
  .media-group--trio {
    grid-template-columns: minmax(0, 1fr);
  }
  .media-group--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.annotated {
  position: relative;
}

.annotated .media__frame {
  position: relative;
}

.annotated__spotlight {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  width: var(--w, 0);
  height: var(--h, 0);
  border-radius: 4px;
  box-shadow: 0 0 0 100vmax rgba(22, 23, 26, 0.3);
  pointer-events: none;
}

.sticker {
  position: absolute;
  left: max(var(--x, 0px), -8px);
  top: var(--y, 0);
  z-index: 1;
  padding: 8px 12px;
  border-radius: 4px;
  background: #16171a;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transform: rotate(var(--tilt, -6deg));
  box-shadow: 0 1px 1px rgba(22, 23, 26, 0.2), 0 2px 4px rgba(22, 23, 26, 0.12);
  pointer-events: none;
}

.sticker--end {
  right: max(var(--x, 0px), -8px);
  left: auto;
}

@media (max-width: 640px) {
  .sticker {
    padding: 4px 8px;
  }
}
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  align-items: start;
}

.compare__side {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.compare__label {
  font-size: 0.875rem;
  font-weight: 500;
}

.compare__caption {
  grid-column: 1/-1;
  max-width: 62ch;
  font-size: 0.875rem;
  line-height: 1.5;
}

.marker {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #16171a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.annotated .marker {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  z-index: 1;
  box-shadow: 0 1px 1px rgba(22, 23, 26, 0.2), 0 2px 4px rgba(22, 23, 26, 0.12);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.annotations {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.annotations__item {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .compare {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.tags__item {
  padding: 2px 8px;
  border: 1px solid #e3e5ea;
  border-radius: 999px;
  color: #5c5f69;
  font-size: 0.75rem;
  line-height: 1.4;
}

.card {
  display: grid;
  gap: 16px;
  align-content: start;
  color: inherit;
  text-decoration: none;
}

.card__cover {
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  padding: 32px;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f3f6;
}

.card__cover--blue {
  background: #e6edf8;
}

.card__cover--purple {
  background: #ece6f7;
}

.card__cover--warm {
  background: #f5ece2;
}

.card__cover--bleed {
  align-items: start;
  padding-bottom: 0;
}

.card__cover > * {
  width: 100%;
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card__cover > .device--laptop {
  width: 96%;
}

.card__cover > .device--phone {
  width: 58%;
}

.card__text {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.card__eyebrow {
  color: #5c5f69;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card__title {
  font-size: 1.25rem;
  line-height: 1.3;
}

.card__sub {
  margin-bottom: 8px;
  color: #5c5f69;
}

.card:hover .card__cover > *,
.card:focus-visible .card__cover > *,
.card.is-hovered .card__cover > * {
  box-shadow: 0 2px 4px rgba(22, 23, 26, 0.08), 0 6px 14px rgba(22, 23, 26, 0.06);
  transform: translateY(-4px);
}

.card:focus-visible {
  outline: 2px solid #16171a;
  outline-offset: 12px;
  border-radius: 8px;
}

.tip {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 4px;
  background: #16171a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 1px 1px rgba(22, 23, 26, 0.2), 0 2px 4px rgba(22, 23, 26, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 160ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tip:hover,
.tip:focus-visible {
  z-index: 2;
  transform: translateY(-4px) rotate(0deg) scale(1.08);
}

.tip:hover::after,
.tip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tip:focus-visible {
  outline: 2px solid #16171a;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .tip,
  .tip::after {
    transition: none;
  }
}
.portrait {
  width: min(240px, 100%);
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(22, 23, 26, 0.08), 0 6px 14px rgba(22, 23, 26, 0.06);
}

.portrait-group {
  position: relative;
  width: min(240px, 100%);
  margin-bottom: 24px;
}

.portrait-group > .portrait {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

.portrait-group__bubble {
  position: absolute;
  width: 30%;
  aspect-ratio: 1;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 1px rgba(22, 23, 26, 0.2), 0 2px 4px rgba(22, 23, 26, 0.12);
  animation: portrait-settle 900ms cubic-bezier(0.34, 1.56, 0.64, 1) 200ms backwards;
}

.portrait-group__bubble img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.portrait-group__bubble--warm {
  background: #f5ece2;
}

.portrait-group__bubble--blue {
  background: #e6edf8;
}

.portrait-group__bubble--low {
  right: 22%;
  bottom: -16px;
}

.portrait-group__bubble--high {
  right: -16px;
  bottom: 32px;
  animation-delay: 320ms;
}

@keyframes portrait-settle {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.6) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-group__bubble {
    animation: none;
  }
}
.button {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid #e3e5ea;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(22, 23, 26, 0.06);
  color: #16171a;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 160ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.button:hover {
  box-shadow: 0 2px 4px rgba(22, 23, 26, 0.08), 0 6px 14px rgba(22, 23, 26, 0.06);
  transform: translateY(-1px);
}

.button:active {
  box-shadow: 0 1px 2px rgba(22, 23, 26, 0.06);
  transform: none;
}

.prompt-list {
  display: grid;
  gap: 16px;
  max-width: 560px;
  padding: 0;
  list-style: none;
}

.prompt {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(22, 23, 26, 0.06), 0 4px 12px rgba(22, 23, 26, 0.06);
}

.prompt__question {
  font-size: 1rem;
  line-height: 1.4;
}

.prompt__answer {
  font-family: "Young Serif", Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.prompt__aside {
  color: #5c5f69;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .prompt {
    padding: 24px;
  }
  .prompt__answer {
    font-size: 1.25rem;
  }
}
.device {
  position: relative;
  max-width: 100%;
  background: #16171a;
  box-shadow: 0 1px 2px rgba(22, 23, 26, 0.06);
}

.device__screen {
  overflow: hidden;
  background: #ffffff;
}

.device__screen img {
  width: 100%;
}

.device--browser {
  overflow: hidden;
  border: 1px solid #e3e5ea;
  border-radius: 8px;
  background: #ffffff;
}

.device__bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #e3e5ea;
  background: #fafbfc;
}

.device__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3e5ea;
}

.device--phone {
  width: min(280px, 100%);
  padding: 8px;
  border-radius: 40px;
}

.device--phone .device__screen {
  position: relative;
  border-radius: 32px;
}

.device--phone .device__screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 1;
  width: 30%;
  height: 22px;
  border-radius: 999px;
  background: #16171a;
  transform: translateX(-50%);
}

.device--tablet {
  width: min(640px, 100%);
  padding: 14px;
  border-radius: 24px;
}

.device--tablet .device__screen {
  border-radius: 10px;
}

.device--laptop {
  width: 100%;
  padding: 6px 6px 8px;
  border-radius: 10px 10px 0 0;
  margin-bottom: 10px;
}

.device--laptop .device__screen {
  border-radius: 4px;
}

.device--laptop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -8%;
  width: 116%;
  height: 10px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#e3e5ea, #c9ccd3);
  box-shadow: 0 1px 2px rgba(22, 23, 26, 0.06);
}

.device--laptop::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1;
  width: 16%;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: #b5b9c1;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .device--phone {
    width: min(220px, 100%);
  }
  .device--tablet {
    padding: 8px;
    border-radius: 16px;
  }
  .device--tablet .device__screen {
    border-radius: 8px;
  }
}
.quote {
  display: grid;
  gap: 12px;
  max-width: 62ch;
}

.quote__text {
  font-size: 1.25rem;
  line-height: 1.3;
  text-indent: -0.4em;
}

.quote__cite {
  color: #5c5f69;
  font-size: 0.875rem;
  font-style: normal;
}

.pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-block: 48px;
  border-top: 1px solid #e3e5ea;
}

.pager__link {
  display: grid;
  gap: 4px;
  text-decoration: none;
}

.pager__link--next {
  grid-column: 2;
  text-align: right;
}

.pager__label {
  color: #5c5f69;
  font-size: 0.875rem;
  font-weight: 500;
}

.pager__title {
  font-weight: 600;
  transition: color 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pager__link:hover .pager__title {
  color: #5c5f69;
}

.placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16/10;
  padding: 16px;
  background: #edeff3;
  color: #5c5f69;
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.placeholder--phone {
  aspect-ratio: 9/19.5;
}

.placeholder--doc {
  aspect-ratio: 3/4;
}

.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox-trigger:focus-visible {
  outline: 2px solid #16171a;
  outline-offset: 2px;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(22, 23, 26, 0.88);
}

.lightbox[open]::backdrop {
  animation: lightbox-fade-in 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lightbox.is-closing::backdrop {
  animation: lightbox-fade-out 160ms ease-in forwards;
}

.lightbox.is-opening .lightbox__button,
.lightbox.is-opening .lightbox__count,
.lightbox.is-closing .lightbox__button,
.lightbox.is-closing .lightbox__count {
  opacity: 0;
}

.lightbox[open] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 48px 16px;
}

.lightbox__figure {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 0;
  margin: 0;
}

.lightbox__image {
  max-width: 100%;
  max-height: calc(100vh - 128px);
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
}

.lightbox__button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lightbox__button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.lightbox__button[hidden] {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.lightbox__count {
  position: absolute;
  bottom: 16px;
  left: 50%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
  transition: opacity 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes lightbox-fade-in {
  from {
    opacity: 0;
  }
}
@keyframes lightbox-fade-out {
  to {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox[open]::backdrop,
  .lightbox.is-closing::backdrop {
    animation: none;
  }
}
@media (max-width: 640px) {
  .lightbox[open] {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 8px;
  }
  .lightbox__prev,
  .lightbox__next {
    position: absolute;
    bottom: 12px;
  }
  .lightbox__prev {
    left: 16px;
  }
  .lightbox__next {
    right: 16px;
  }
}
.home-work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
  padding-bottom: 64px;
}

@media (max-width: 960px) {
  .home-work {
    grid-template-columns: minmax(0, 1fr);
  }
}
.reveal--media {
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.card__cover.reveal--media {
  transform: translateY(8px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms), transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.reveal--media.is-revealed {
  opacity: 1;
  transform: none;
}

.home-work .card__cover {
  animation: float-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 60ms backwards;
}

main > .band:first-of-type {
  animation: fade-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 120ms backwards;
}

.home-work .card:nth-child(2) .card__cover {
  animation-delay: 100ms;
}

.home-work .card:nth-child(3) .card__cover {
  animation-delay: 140ms;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-work .card__cover,
  main > .band:first-of-type {
    animation: none;
  }
}
.site-footer {
  display: grid;
  gap: 16px;
  padding-block: 48px 64px;
  border-top: 1px solid #e3e5ea;
  scroll-margin-top: 24px;
}

.site-footer__head {
  display: flex;
  gap: 16px;
  align-items: center;
}

.site-footer__cats {
  display: flex;
}

.site-footer__cats .tip + .tip {
  margin-left: -12px;
}

.site-footer__cats .tip:first-child {
  transform: rotate(-6deg);
}

.site-footer__cats .tip:last-child {
  transform: rotate(6deg);
}

.site-footer__cats .tip:hover,
.site-footer__cats .tip:focus-visible {
  transform: translateY(-4px) rotate(0deg) scale(1.08);
}

.site-footer__cats .avatar {
  display: block;
}

.site-footer__title {
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.site-footer__email {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__email:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer__links {
  display: flex;
  gap: 24px;
  padding: 0;
  color: #5c5f69;
  font-size: 0.875rem;
  list-style: none;
}

.site-footer__links a {
  text-underline-offset: 0.2em;
}

@media (max-width: 640px) {
  .site-footer__email {
    font-size: 1.25rem;
  }
}
.home-about {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  padding-block: 64px 48px;
}

.home-about__body {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.home-about__body .prompt {
  width: 100%;
}

.avatar {
  display: inline-block;
  flex: none;
  width: 48px;
  height: 48px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 1px rgba(22, 23, 26, 0.2), 0 2px 4px rgba(22, 23, 26, 0.12);
}

.avatar--lg {
  width: 64px;
  height: 64px;
}

.avatar--warm {
  background: #f5ece2;
}

.avatar--blue {
  background: #e6edf8;
}
