@import url("/styles/footer.css");

/*
 * Page-scoped hooks for the Figma implementation.
 * These rules are inert until the future page markup opts into one of the
 * body classes below; Case 2 and Case 3 must never use this stylesheet.
 */

body.home,
body.about,
body.case-one {
  background: var(--color-canvas);
  color: var(--color-text);
}

body.home .page-content,
body.about .page-content,
body.case-one .page-content {
  width: min(100% - (var(--layout-gutter) * 2), var(--layout-content-max));
  margin-inline: auto;
}

body.home .page-sections,
body.about .page-sections {
  display: grid;
  gap: var(--layout-section-gap);
}

body.about {
  --about-section-gap: var(--layout-section-gap);
}

body.case-one {
  --page-section-gap: var(--case-section-gap);
}

body.case-one .case-narrative {
  display: grid;
  gap: var(--case-content-group);
}

body.case-one .case-chapter--about {
  margin-top: var(--case-chapter-before-about);
}

body.case-one .case-reflection {
  margin-top: var(--case-reflection-gap);
}

/* Home — Figma frames: 1440 / 768 / 375. */
.home-page{overflow-x:clip}.home-header{position:sticky;top:0;z-index:10;background:color-mix(in srgb,var(--color-canvas) 66%,transparent);backdrop-filter:blur(10px)}.home-nav{display:flex;min-height:40px;align-items:center;justify-content:space-between}.nav-link{display:inline-flex;min-height:32px;align-items:center;padding:8px 12px;color:var(--color-text);font:600 var(--font-size-ui)/1.4 var(--font-ui);text-decoration:none}.nav-links{display:flex;gap:16px}.nav-link:hover{text-decoration:underline;text-underline-offset:4px}.home-content{display:grid;gap:var(--layout-section-gap);padding-block:80px 120px}.home-hero{display:grid;grid-template-columns:minmax(0,1fr) 226px;align-items:end;gap:32px;min-height:386px;padding-block:48px}.home-hero__copy{min-width:0}.home-title{min-width:0;margin:0;color:var(--color-text);overflow-wrap:anywhere;font:var(--font-weight-display) var(--font-size-display)/var(--line-height-display) var(--font-family-display);letter-spacing:0}.home-title__muted,.home-title__muted .hero-word{color:var(--color-text-muted)}.home-hero__details{display:grid;gap:48px}.home-lead{margin:0;color:var(--color-text-muted);font:400 var(--font-size-body)/var(--line-height-body) var(--font-ui)}.home-actions{display:flex;gap:24px;flex-wrap:wrap}.button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:12px 24px;border:1px solid var(--color-text);border-radius:4px;font:400 var(--font-size-action)/1.4 var(--font-ui);text-decoration:none}.button--primary{background:var(--color-text);color:var(--color-surface)}.button--outline{color:var(--color-text)}.home-portrait{width:180px;height:180px;justify-self:end;overflow:hidden;border:1px solid var(--color-border);border-radius:50%;box-shadow:inset 0 0 0 6px var(--color-surface)}.home-portrait img{width:100%;height:100%;object-fit:cover;transform:scale(1.17)}.home-work,.home-clients{display:grid;gap:32px}.project-list{display:grid;gap:32px}.project-card{display:grid;grid-template-columns:minmax(0,2fr) 408px;overflow:hidden;border:1px solid var(--color-border);border-radius:4px;background:var(--color-surface);box-shadow:inset 0 0 0 6px var(--color-surface);color:inherit;text-decoration:none;transition:transform .2s ease,border-color .2s ease}.project-card:hover{border-color:var(--color-border-structural);transform:translateY(-2px)}.project-card__media{display:grid;min-height:471px;place-items:center;overflow:hidden;background:var(--color-media)}.project-card__media>img{width:100%;height:100%;object-fit:cover}.experiments{grid-auto-flow:column;gap:28px;padding:18px}.experiments img{width:200px;height:434px;object-fit:cover}.project-card__content{display:grid;align-content:center;gap:24px;padding:48px}.project-card__content>div{display:grid;gap:16px}.project-card__content p:not(.eyebrow){margin:0;font:400 var(--font-size-small)/var(--line-height-small) var(--font-ui)}.project-card__content>span{font:400 var(--font-size-action)/1.4 var(--font-ui)}.logo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.logo-grid>div{display:grid;height:166px;place-items:center;overflow:hidden;border:1px solid var(--color-border);border-radius:4px;background:var(--color-card-soft);padding:24px}.logo-grid img{max-width:164px;max-height:90px}.home-testimonials{display:grid;grid-template-columns:144px minmax(0,1fr);gap:24px}.testimonial-list{display:grid}.testimonial-list article{display:grid;grid-template-columns:264px minmax(0,1fr);gap:48px;padding:24px 0;border-top:1px solid var(--color-border)}.testimonial-list article:first-child{padding-top:0;border:0}.testimonial-list h2{margin:0 0 8px;font:600 var(--font-size-ui)/1.4 var(--font-ui)}.testimonial-list p{margin:0;color:var(--color-text-muted);font:500 var(--font-size-label)/1.4 var(--font-ui)}.testimonial-list blockquote{margin:0;font:400 var(--font-size-body)/var(--line-height-body) var(--font-ui)}@media(max-width:1439px){.home-content{padding-block:64px}.home-hero{grid-template-columns:minmax(0,1fr) 238px;min-height:398px;padding:0}.project-card{grid-template-columns:1fr}.project-card__media{min-height:0;aspect-ratio:331/215}.project-card__content{padding:24px}.logo-grid{gap:16px}.logo-grid>div{height:120px}.home-testimonials{grid-template-columns:1fr;gap:32px}.testimonial-list article{grid-template-columns:1fr;gap:12px}}
@media(max-width:767px){.home-content{padding-block:48px}.home-nav{width:calc(100% - 40px)}.home-hero{grid-template-columns:1fr;min-height:0}.home-lead br{display:none}.home-work,.project-list{gap:24px}.experiments{gap:18px;padding:12px}.experiments img{width:min(40%,130px);height:auto;max-height:250px}.logo-grid{grid-template-columns:repeat(2,1fr)}.home-testimonials{gap:24px}.testimonial-list article{padding:16px 0}}

.home-header{background:var(--header-glass-surface)}

/* Hero portrait — see .home-page .home-portrait (Figma 1851:1487 / 1502 / 1517). */

/* Home header has no divider in the Figma frames. */
.home-header{border-bottom:0}

/* Project card surface — Figma node 13:83 has a true 6px white border. */
.project-card{gap:0;padding:6px;box-shadow:none}

@media (max-width: 767px) {
  body.about {
    /* Confirmed by the 375px About frame: 56px between direct sections. */
    --about-section-gap: 56px;
  }
}

/* Linked logo cards in the “Also shipped for” section. */
.logo-grid > a {
  position: relative;
  isolation: isolate;
  display: grid;
  height: 166px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-card-soft);
  padding: 24px;
  color: inherit;
  text-decoration: none;
}

.home-page .logo-grid > a .logo-grid__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  transition: opacity 0.45s ease;
}

.home-page .logo-grid > a .logo-grid__logo {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
}

@media (max-width: 1439px) {
  .logo-grid > a { height: 120px; }
}

.home-page .home-testimonials > .eyebrow {
  display: flex;
  align-self: start;
  align-items: center;
  gap: 4px;
}

.home-page .project-card__content > span {
  display: inline-flex;
  height: 38px;
  align-items: center;
  padding: 8px 12px;
}

.home-page .project-card .type-project-title {
  line-height: 1.22;
}

@media (min-width: 1440px) {
  .home-page .project-card__media {
    min-height: 0;
    aspect-ratio: 768 / 471;
  }

  .home-page .project-card__content > div {
    gap: 24px;
  }

}

@media (max-width: 1439px) {
  .home-page .home-content {
    gap: 72px;
  }

  .home-page .project-card {
    padding: 5px;
  }

  .home-page .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-page .home-work > .eyebrow,
.home-page .home-clients > .eyebrow,
.home-page .home-testimonials > .eyebrow,
.home-page .project-card__content > .eyebrow {
  text-transform: uppercase;
}

@media (min-width: 768px) and (max-width: 1439px) {
  .home-page .project-card__content > div {
    gap: 20px;
  }

}

@media (max-width: 767px) {
  .home-page .home-content {
    gap: 56px;
  }

  .home-page .project-card__content p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.5;
  }

  .home-page .home-clients {
    gap: 16px;
  }

}

/* Home page — Figma frame 883:4659. */
.home-page {
  overflow-x: clip;
}

.home-page .home-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 72px;
  padding: var(--space-4) 0;
  border: 0;
  background: var(--header-glass-surface);
  -webkit-backdrop-filter: var(--header-glass-blur);
  backdrop-filter: var(--header-glass-blur);
}

.home-page .home-nav,
.home-page .home-nav.site-container {
  display: flex;
  width: min(1200px, calc(100vw - 80px));
  max-width: none;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.home-page .home-nav > .nav-link {
  margin-inline-start: -12px;
}

.home-page .nav-links {
  margin-inline-end: -12px;
}

.home-page .nav-link {
  min-height: 32px;
  padding: var(--space-2) var(--space-3);
  font: 600 var(--font-size-ui) / 1.4 var(--font-ui);
}

.home-page .nav-links {
  gap: 16px;
}

.home-page .home-content {
  gap: 120px;
  padding-block: 80px 120px;
}

body.home .page-content.home-content {
  width: min(1200px, calc(100vw - 80px));
  margin-inline: auto;
}

.home-page .home-hero {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) 313px;
  align-items: end;
  gap: var(--space-8);
  padding: 0 0 var(--space-6);
}

.home-page .home-hero__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-self: stretch;
}

.home-page .home-hero__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

@media (min-width: 1440px) {
  .home-page .home-hero {
    align-items: stretch;
    padding-bottom: var(--space-6);
  }

  .home-page .home-hero__copy {
    justify-content: space-between;
    align-self: stretch;
    min-height: 440px;
    gap: 0;
  }

  .home-page .home-portrait {
    align-self: end;
    height: 440px;
  }

  .home-page .home-hero__details {
    gap: 40px;
  }

}

.home-page .home-title {
  color: var(--color-text);
  font-family: var(--font-family-display);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-display);
  line-height: var(--line-height-display);
  letter-spacing: 0;
  overflow-wrap: normal;
}

.home-page .home-title__muted,
.home-page .home-title__muted .hero-word {
  color: var(--color-text-muted);
}

.home-page .home-lead {
  margin: 0;
  color: var(--color-text-muted);
  font: 400 var(--font-size-body) / var(--line-height-body) var(--font-ui);
}

.home-page .home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
  width: 100%;
}

.home-page .button {
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-control);
  font: 400 var(--font-size-action) / var(--line-height-action) var(--font-ui);
}

.button--primary {
  transition: opacity 160ms ease;
}

.button--primary:hover {
  opacity: 0.8;
}

.button--outline {
  transition: background-color 160ms ease;
}

.button--outline:hover {
  background: var(--color-card-soft);
}

.home-page .home-portrait {
  display: block;
  flex-shrink: 0;
  width: 313px;
  height: 440px;
  padding: 0;
  justify-self: end;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--color-card-soft);
  box-shadow: none;
}

.home-page .home-portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-page .home-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: fill;
  transform: none;
  pointer-events: none;
}

.home-page .home-work,
.home-page .home-clients {
  gap: 24px;
}

.home-page .home-work > .eyebrow,
.home-page .home-clients > .eyebrow,
.home-page .home-testimonials > .eyebrow {
  margin: 0;
  color: var(--color-text-muted);
  font: 600 var(--font-size-ui) / 1.4 var(--font-ui);
  text-transform: none;
}

.home-page .project-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.home-page .project-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0;
  padding: 5px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
  box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-page .project-card__media {
  min-height: 0;
  aspect-ratio: 331 / 215;
  background: var(--color-media);
}

.home-page .project-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .project-card--experiments .project-card__media {
  position: relative;
  overflow: hidden;
}

.home-page .project-card--experiments .project-card__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.home-page .project-card__content {
  min-width: 0;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 8px;
  padding: 32px;
  position: relative;
  z-index: 1;
  background: var(--color-surface);
}

.home-page .project-card__content > h2 {
  margin: 0;
  font: 500 18px/1.35 var(--font-ui);
}

.home-page .project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-page .project-card__content .project-card__meta > p {
  margin: 0;
  color: var(--color-text-muted);
  font: 400 14px/1.45 var(--font-ui);
}

.home-page .project-card__arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.home-page .project-card__arrow img {
  display: block;
  width: 16px;
  height: 16px;
}

.home-page .project-card__arrow,
.home-page .project-card:hover .project-card__arrow {
  text-decoration: none !important;
  background-image: none !important;
}

.home-page .logo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-page .logo-grid > a {
  height: 166px;
  padding: 24px;
}

.home-page .logo-grid__logo {
  width: auto;
  max-width: 164px;
  max-height: 90px;
}

.home-page .logo-grid > a:nth-child(1) .logo-grid__photo {
  object-position: 50% 0;
}

.home-page .logo-grid > a:nth-child(2) .logo-grid__photo {
  object-position: 48% center;
}

.home-page .logo-grid > a:nth-child(3) .logo-grid__photo {
  object-position: center 48%;
}

.home-page .logo-grid > a:nth-child(4) .logo-grid__photo {
  object-position: 48% center;
}

.home-page .home-testimonials {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.home-page .home-testimonials__linkedin {
  width: fit-content;
  text-decoration: none;
}

.home-page .home-testimonials__linkedin > img {
  display: block;
  flex: 0 0 16px;
}

.home-page .home-testimonials__linkedin:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-page .testimonial-list {
  display: flex;
  flex-direction: column;
}

.home-page .testimonial-list article {
  display: grid;
  align-items: start;
  padding: 24px 0;
  border-top: 1px dashed var(--color-border-structural);
}

.home-page .testimonial-list article:last-child {
  border-bottom: 1px dashed var(--color-border-structural);
}

.home-page .testimonial-list__attribution {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-page .testimonial-list h2 {
  margin: 0;
  font: 600 var(--font-size-ui) / 1.4 var(--font-ui);
}

.home-page .testimonial-list__attribution > p {
  margin: 0;
  color: var(--color-text-muted);
  font: 400 var(--font-size-small) / var(--line-height-small) var(--font-ui);
}

.home-page .testimonial-list blockquote {
  margin: 0;
  font: 400 var(--font-size-body) / var(--line-height-body) var(--font-ui);
}

.home-page .testimonial-quote--narrow {
  display: none;
}

.home-page .testimonial-quote--wide {
  display: block;
}

@media (min-width: 1440px) {
  .home-page .home-testimonials > .eyebrow {
    min-height: 22px;
  }

  .home-page .testimonial-list article {
    grid-template-columns: 264px minmax(0, 760px);
    gap: 8px;
  }

  .home-page .testimonial-list blockquote {
    max-width: 760px;
  }
}

@media (max-width: 1439px) {
  .home-page .home-content {
    gap: 72px;
    padding: 64px 0 80px;
  }

  .home-page .home-title {
    font-size: var(--font-size-display);
  }

  .home-page .project-card {
    padding: 5px;
  }

  .home-page .project-card__content {
    padding: 20px;
  }

  .home-page .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .home-page .logo-grid > a {
    height: 120px;
  }

  .home-page .home-testimonials {
    gap: 20px;
  }

}

/* Tablet hero — Figma 2637:1145, held from 768px through 1439px. */
@media (min-width: 768px) and (max-width: 1439px) {
  .home-page .home-title {
    font-size: 42px;
    line-height: 1.18;
  }

  .home-page .home-lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .home-page .home-hero {
    grid-template-columns: minmax(0, 1fr) 297px;
    align-items: end;
    gap: var(--space-8);
    padding-bottom: var(--space-6);
  }

  .home-page .home-hero__copy {
    justify-content: space-between;
    align-self: stretch;
    min-height: 440px;
    gap: 0;
  }

  .home-page .home-hero__details {
    gap: var(--space-8);
  }

  .home-page .home-portrait {
    display: flex;
    align-items: flex-end;
    width: 297px;
    height: 440px;
    padding: 0 0 0 16px;
    margin-top: 0;
    align-self: end;
    overflow: hidden;
    background: var(--color-card-soft);
  }

  .home-page .home-portrait picture {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: auto;
    aspect-ratio: 311 / 306;
  }

  .home-page .home-portrait img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center bottom;
  }
}

@media (min-width: 768px) and (max-width: 1439px) {
  .home-page .project-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .home-page .home-work {
    gap: 20px;
  }

  .home-page .home-clients {
    gap: 20px;
  }

  .home-page .project-card {
    padding: 5px;
  }

  .home-page .project-card__media {
    aspect-ratio: 331 / 215;
  }

  .home-page .project-card__content {
    gap: 8px;
    padding: 28px 24px 24px;
  }

  .home-page .home-testimonials {
    gap: 20px;
  }

  .home-page .testimonial-list article {
    grid-template-columns: 202px minmax(0, 1fr);
    gap: 24px;
  }

  .home-page .testimonial-list blockquote {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
  }

}

@media (max-width: 767px) {
  .home-page .home-content {
    gap: 56px;
    padding: 40px 0 64px;
  }

  .home-page .home-nav,
  .home-page .home-nav.site-container,
  body.home .page-content.home-content {
    width: calc(100% - 40px);
  }

  .home-page .home-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-10);
    min-height: 0;
    padding-bottom: var(--space-4);
  }

  .home-page .home-hero__copy {
    width: 100%;
    gap: var(--space-4);
  }

  .home-page .home-hero__details {
    gap: var(--space-6);
  }

  .home-page .home-title br {
    display: inline;
  }

  .home-page .home-lead br {
    display: none;
  }

  .home-page .home-lead {
    max-width: 500px;
  }

  .home-page .home-portrait {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    height: 209px;
    padding-left: 0;
    margin: 0;
    overflow: hidden;
    background: var(--color-card-soft);
  }

  .home-page .home-portrait picture {
    display: contents;
  }

  .home-page .home-portrait img {
    flex: none;
    width: 335px;
    height: 209px;
    max-width: none;
    object-fit: fill;
    object-position: right center;
  }

  .home-page .home-actions {
    flex-wrap: nowrap;
    gap: var(--space-2);
  }

  .home-page .home-actions .button {
    font-size: var(--font-size-action);
  }

  .home-page .home-actions .button--primary {
    flex-shrink: 0;
  }

  .home-page .home-actions .button--outline {
    flex: 0 1 auto;
    max-width: 201px;
    min-height: 48px;
    border: 0;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .home-page .home-actions .button--outline:hover {
    background: transparent;
    opacity: 0.8;
  }

  .home-page .home-work {
    gap: 16px;
  }

  .home-page .project-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .home-page .project-card {
    height: auto;
    grid-template-rows: auto auto;
  }

  .home-page .project-card__media {
    aspect-ratio: 331 / 215;
  }

  .home-page .project-card__content {
    padding: 24px 20px;
  }

  .home-page .project-card__content > h2 {
    font-size: 16px;
    line-height: 1.4;
  }

  .home-page .project-card__content .project-card__meta > p {
    font-size: 12px;
  }

  .home-page .home-clients {
    gap: 24px;
  }

  .home-page .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .home-page .logo-grid > a {
    height: 120px;
    padding: 24px;
  }

  .home-page .logo-grid__logo {
    display: block;
    width: auto;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
    object-position: center;
  }

  .home-page .logo-grid > a:nth-child(1) .logo-grid__logo {
    max-width: 119px;
    max-height: 49px;
  }

  .home-page .logo-grid > a:nth-child(2) .logo-grid__logo {
    max-width: 86px;
    max-height: 63px;
  }

  .home-page .logo-grid > a:nth-child(3) .logo-grid__logo {
    max-width: 119px;
    max-height: 55px;
  }

  .home-page .logo-grid > a:nth-child(4) .logo-grid__logo {
    max-width: 119px;
    max-height: 45px;
  }

  .home-page .home-testimonials {
    gap: 16px;
  }

  .home-page .testimonial-list article {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }

  .home-page .testimonial-list blockquote {
    order: -1;
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
  }

  .home-page .testimonial-list__attribution {
    order: 0;
  }

  .home-page .testimonial-quote--narrow {
    display: block;
  }

  .home-page .testimonial-quote--wide {
    display: none;
  }

}

/* Home — project + client logo card hovers (pointer devices). */
@media (hover: hover) and (pointer: fine) {
  .home-page .project-card {
    transition:
      box-shadow 0.32s ease,
      transform 0.32s cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  .home-page .project-card:hover {
    border-color: var(--color-border);
    box-shadow:
      0 1px 0 rgb(21 22 20 / 0.03),
      0 6px 20px rgb(21 22 20 / 0.06);
    transform: translateY(-1px);
  }

  .home-page .project-card__media {
    overflow: hidden;
  }

  .home-page .project-card__media > img {
    transition: transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  .home-page .project-card:hover .project-card__media > img {
    transform: scale(1.035);
  }

  .home-page .project-card__content > h2 {
    transition: color 0.25s ease;
  }

  .home-page .project-card:hover .project-card__content > h2 {
    color: var(--color-text);
  }

  .home-page .project-card__arrow {
    margin-inline-end: 2px;
  }

  .home-page .project-card__arrow img {
    opacity: 0.85;
    transition: opacity 0.25s ease, filter 0.25s ease;
  }

  .home-page .project-card:hover .project-card__arrow img {
    opacity: 1;
    filter: brightness(0);
  }

  .home-page .logo-grid > a {
    transition:
      border-color 0.32s ease,
      box-shadow 0.32s ease,
      transform 0.32s cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  .home-page .logo-grid > a:hover,
  .home-page .logo-grid > a:focus-visible {
    border-color: var(--color-border);
    box-shadow:
      0 1px 0 rgb(21 22 20 / 0.02),
      0 5px 16px rgb(21 22 20 / 0.05);
    transform: translateY(-1px);
  }

  .home-page .logo-grid > a:hover .logo-grid__photo,
  .home-page .logo-grid > a:focus-visible .logo-grid__photo {
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .project-card,
  .home-page .project-card__media > img,
  .home-page .project-card__arrow img,
  .home-page .logo-grid > a,
  .home-page .logo-grid__photo {
    transition: none;
  }

  .home-page .project-card:hover,
  .home-page .logo-grid > a:hover,
  .home-page .logo-grid > a:focus-visible {
    transform: none;
    box-shadow: none;
  }

  .home-page .project-card:hover .project-card__media > img,
  .home-page .project-card:hover .project-card__arrow img,
  .home-page .logo-grid > a:hover .logo-grid__photo,
  .home-page .logo-grid > a:focus-visible .logo-grid__photo {
    opacity: 0.4;
  }
}
