/* Two families, one job each.

   --font-sans carries everything a visitor reads as language: headings, body
   copy, names, lists. --font-mono is the label voice — section labels, tags,
   roles, dates, counters, the footer clock. Anything that is a sentence
   belongs in sans; anything that is a tag on a sentence belongs in mono. */

:root {
  --font-sans: 'Geist', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --bg: #000000;
  --text: #fff;
  --text-muted: #999;
  --border-subtle: #ffffff1a;
  --glow: rgba(255, 255, 255, .5);
  --glow-soft: rgba(255, 255, 255, .24);
}

html[data-theme="light"] {
  --bg: #fff;
  --text: #111;
  --text-muted: #6b6b6b;
  --border-subtle: #0000001a;
  --glow: rgba(17, 17, 17, .4);
  --glow-soft: rgba(17, 17, 17, .14);
}

html {
  background-color: var(--bg);
  overscroll-behavior-y: none;
}

body {
  background-color: transparent;
}

.layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

body {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
}

h1 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

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

.body {
  color: var(--text);
  transition: opacity .6s, color .3s ease;
  font-family: var(--font-sans);
}

.scroll-wrap {
  background-color: var(--bg);
  transition: background-color .3s ease;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  justify-items: center;
  width: 100%;
  display: grid;
  position: relative;
  will-change: transform;
}

.scroll-wrap.case {
  align-items: stretch;
}

.edge-colors {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, #b24bff 0 36px, #6b4bff 36px 72px, #2d9cff 72px 108px, #34d37a 108px 144px, #ffd400 144px 180px, #ff8a00 180px 216px, #ff2d87 216px 252px);
}

.edge-colors-top {
  top: 0;
}

.edge-colors-bottom {
  bottom: 0;
}

.nav {
  z-index: 999;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  display: flex;
  position: sticky;
  inset: 0 auto auto;
}

.modernbody_16 {
  flex: 0 auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* Same class does double duty in the case-study markup: on the left column it
   is a section heading, on the right it is the paragraph. As a heading it
   becomes the site's standard label — the same mono treatment as
   .page-col__label on /about and .index-row-tag on /work. */

h2.modernbody_16 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.container {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: 562px;
  margin: 200px 20px 16px;
  display: flex;
}

.container.case {
  max-width: 1200px;
}

.column {
  padding-left: 0;
  padding-right: 10px;
}

.column-2 {
  padding-left: 0;
  padding-right: 0;
}

.grid {
  grid-column-gap: 20px;
  grid-row-gap: 64px;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.header-link {
  color: var(--text);
  margin-left: 0;
  margin-right: 32px;
  padding-left: 0;
}

.header-link:hover {
  color: var(--text-muted);
}

.text-999 {
  color: var(--text-muted);
}

.headerimage_desktop {
  border-radius: 6px;
  width: 100%;
  margin-top: 0;
}

.grid2column {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto;
  margin-top: 120px;
}

.image90_desktop {
  border-radius: 6px;
  width: 100%;
  margin-top: 120px;
}

.grid2image {
  border-radius: 10px;
}

.headerimage_mobile {
  display: none;
}

.image90_mobile {
  border-radius: 6px;
  margin-top: 120px;
  display: none;
}

.containerarticle {
  width: 100%;
  max-width: 1200px;
  margin-top: 120px;
  margin-left: 20px;
  margin-right: 20px;
}

.containerarticle + .footer {
  width: 100%;
  max-width: 1200px;
  margin-left: 20px;
  margin-right: 20px;
}

.gridfooter {
  grid-column-gap: 20px;
  grid-row-gap: 120px;
  grid-template-columns: 1fr;
  margin-top: 128px;
}

.garamondfooter {
  padding-bottom: 16px;
}

.modernbody {
  padding-bottom: 0;
}

.text-span-10, .text-span-11, .text-span-12 {
  color: var(--text-muted);
}

.nav-link {
  color: var(--text);
  text-shadow: 0 0 8px #00000040;
}

.nav-link:hover {
  color: var(--text-muted);
}

.gridfinalfooter {
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: row;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.columns {
  color: var(--text);
  margin-top: 20px;
}

.theme-switch {
  align-items: center;
  gap: 10px;
  display: flex;
}

.theme-switch-option {
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  transition: color .2s ease;
}

.theme-switch-option:hover {
  color: var(--text);
}

.theme-switch-option[aria-checked="true"] {
  color: var(--text);
  cursor: default;
}

.utility-page-wrap {
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  display: flex;
}

.utility-page-content {
  text-align: center;
  flex-direction: column;
  width: 260px;
  display: flex;
}

.utility-page-form {
  flex-direction: column;
  align-items: stretch;
  display: flex;
}

.column-3, .column-4 {
  padding-left: 0;
  padding-right: 0;
}

.text-block-3 {
  color: var(--text-muted);
}

.columns-2 {
  margin-top: 10px;
}

.navarticle {
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
  padding-left: 32px;
  display: flex;
}

.text-span-18 {
  color: var(--text);
}

.navarticle2 {
  width: 40%;
}

.navarticle1 {
  width: 30%;
}

.navarticle3 {
  text-align: right;
  order: 1;
  width: 30%;
}

.headerlinkarticle {
  color: var(--text);
}

.headerlinkarticle:hover {
  color: var(--text-muted);
}

.headerlinkarticle.is-current {
  color: var(--text);
}

.home-image-link-block {
  object-fit: fill;
  width: 100%;
}

.home-image-link-block:hover {
  color: var(--text-muted);
}

/* Role and year under the case title: the same label voice the section
   headings and /work's tags use. */
.modernbody_14_grey {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.credits_role {
  color: var(--text-muted);
  text-align: right;
  margin-bottom: 0;
  padding-right: 0;
}

.credits_name {
  margin-bottom: 0;
  padding-left: 0;
}

.column-7 {
  padding-left: 0;
}

.column-8 {
  padding-right: 0;
}

.columns-3 {
  word-break: keep-all;
  margin-bottom: 10px;
}

.grid-6 {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto;
  margin-top: 120px;
}

.image-10 {
  border-radius: 6px;
  width: 100%;
}

.image-11, .image-12, .image-13 {
  border-radius: 6px;
}

.columns-4 {
  margin-top: 120px;
  margin-bottom: 10px;
}

.grid2column_nextprevious {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto;
  margin-top: 120px;
  display: none;
}

.div-block-13 {
  object-fit: fill;
  width: 100%;
}

.div-block-14 {
  margin-top: 0;
}

.div-block-15 {
  margin-top: 0;
}

.div-block-16 {
  width: 100%;
}

.html-embed, .div-block-17 {
  margin-top: 120px;
}

.heading {
  color: var(--text);
  margin-bottom: 24px;
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.body-2 {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  color: var(--text);
  object-fit: fill;
  background-color: transparent;
  flex-direction: column;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  grid-auto-flow: row dense;
  display: block;
}

.paragraph-2 {
  color: var(--text-muted);
  text-align: center;
  width: 80%;
  margin-bottom: 8px;
  padding-right: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  display: block;
}

.div-block-18 {
  flex-flow: column wrap;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.html-embed-2 {
  width: auto;
  height: auto;
}

.div-block-19 {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  align-items: center;
  display: flex;
}

.div-block-20 {
  flex-direction: column;
  align-items: center;
  width: 100%;
  display: flex;
}

.nav-link-wrapper {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}


.heading-3 {
  max-width: 600px;
  margin-top: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.field-label {
  font-family: var(--font-sans);
  font-weight: 400;
}

.submit-button {
  background-color: #222;
}

.journal-wrapper {
  align-items: center;
  margin-right: 32px;
  display: inline;
}

.journal-wrapper.home {
  margin-right: 0;
}

.image-17 {
  object-fit: fill;
  border-radius: 64px;
  position: relative;
  inset: 0%;
  overflow: hidden;
}

.div-block-22 {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 562px;
  margin: 8px;
  display: flex;
}

.blur-styles {
  display: none;
}

.blurring {
  z-index: -1;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  width: 100%;
  position: absolute;
  inset: 0%;
  transform: rotate(180deg);
}

.cta {
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  color: #fff;
  background-color: #050506;
  border: 1px solid #26272f;
  border-radius: 4px;
  justify-content: flex-start;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  padding: 4px 8px;
  display: none;
  overflow: visible;
}

.heading-section {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  align-items: flex-start;
  display: flex;
}

.text-block-6 {
  font-size: 12px;
  line-height: 12px;
}

.slide-wrap {
  align-items: center;
  width: 5000px;
  margin-left: -20px;
  margin-right: -20px;
  padding: 40px;
  display: flex;
  overflow: hidden;
}

.logo-img._50-r-m {
  margin-right: 200px;
}

.slide-container {
  width: 100%;
  position: static;
  overflow: hidden;
}

.slide-container.hidden {
  display: none;
}

.link-4 {
  color: var(--text);
  text-decoration: underline;
}

.text-span-26, .text-span-27 {
  color: var(--text-muted);
}

.glowing-wrapper-button {
  z-index: 1;
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  color: var(--text);
  letter-spacing: -.01em;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  align-items: center;
  padding: 4px 8px;
  font-size: .88rem;
  line-height: 1.42;
  text-decoration: none;
  display: flex;
  position: relative;
}

.glowing-wrapper-animations {
  opacity: 0;
  width: 100%;
  transition: opacity 1s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.glowing-wrapper {
  border-radius: 62.5rem;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.glowing-wrapper.glowing-wrapper-active {
  border-radius: 4px;
  align-self: flex-start;
}

.glowing-wrapper-borders {
  opacity: 1;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.glowing-wrapper-mask-wrapper {
  opacity: 1;
}

.glowing-wrapper-borders-masker {
  opacity: 0;
  border-radius: 4px;
  width: 100%;
  padding: .06rem;
  line-height: 100%;
  transition: opacity 1s;
  position: absolute;
  top: 0;
  left: 0;
}

.glowing-wrapper-glow {
  opacity: .12;
  filter: blur(8px);
}

.glowing-wrapper-mask {
  opacity: 1;
}

.button-text {
  z-index: 2;
  color: var(--text);
  -webkit-text-fill-color: inherit;
  background-clip: border-box;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  position: relative;
}

.styles---glowing-button {
  display: none;
}

.has-tooltip {
  text-decoration: none;
}

.project-image-wrapper {
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.project-teaser-image {
  width: 100%;
}

.hidden {
  display: none;
}

.warning-banner {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  background-color: #ffe770;
  border: 1px solid #ffe770;
  border-radius: 4px;
  flex: 0 auto;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 4px 8px;
  display: flex;
}

.warning-text {
  color: #000000d6;
  font-size: 14px;
}

.warning-icon {
  width: 16px;
}

.black {
  color: #000000d6;
  text-decoration: underline;
}

.footer {
  width: 100%;
  margin-top: 128px;
  padding-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-status {
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  display: flex;
}

.footer-status-emoji {
  width: 1.2em;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .2s ease, transform .2s ease;
}

.footer-status-text {
  font-variant-numeric: tabular-nums;
}

.footer-status:hover .footer-status-emoji {
  opacity: 1;
  transform: scale(1);
}

.link-7 {
  text-decoration: underline;
}

@media screen and (max-width: 991px) {
  .container {
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 32px;
    padding-right: 32px;
  }
  .column-2 {
    padding-left: 0;
  }
  .grid {
    grid-column-gap: 20px;
    grid-row-gap: 60px;
  }
  .header-link {
    text-align: right;
    justify-content: flex-end;
    margin-bottom: 0;
    margin-right: 0;
    display: flex;
  }
  .grid2column {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
  .image90_desktop {
    margin-top: 80px;
  }
  .containerarticle {
    margin-top: 100px;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 32px;
    padding-right: 32px;
  }
  .containerarticle + .footer {
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 32px;
    padding-right: 32px;
  }
  .gridfooter {
    grid-column-gap: 20px;
    grid-row-gap: 40px;
  }
  .nav-link {
    margin-right: 0;
  }
  .navarticle {
    justify-content: space-between;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .navarticle2 {
    flex-direction: column;
    justify-content: flex-end;
    display: flex;
  }
  .navarticle3 {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    justify-content: flex-end;
    display: flex;
  }
  .headerlinkarticle.is-current {
    display: none;
  }
  .grid-6 {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
  .grid2column_nextprevious {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
  .div-block-13 {
    width: 100%;
  }
  .nav-link-wrapper {
    grid-column-gap: 16px;
    margin-left: 0;
    margin-right: 16px;
  }
  .heading-3 {
    font-weight: 400;
  }
  .journal-wrapper {
    align-items: flex-start;
    display: flex;
  }
}

@media screen and (max-width: 767px) {
  .nav {
    display: flex;
  }
  .modernbody_16 {
    margin-top: 20px;
  }
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .grid {
    grid-column-gap: 20px;
    grid-row-gap: 40px;
  }
  .header-link {
    text-align: right;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    display: block;
  }
  .headerimage_desktop {
    margin-top: 0;
  }
  .grid2column {
    display: block;
  }
  .image90_desktop {
    margin-top: 80px;
  }
  .grid2image {
    margin-top: 0;
    padding-top: 0;
  }
  .containerarticle {
    margin-left: 10px;
    margin-right: 10px;
  }
  .gridfooter {
    display: block;
  }
  .garamondfooter {
    margin-top: 40px;
    padding-bottom: 8px;
  }
  .modernbody {
    margin-top: 0;
  }
  .nav-link {
    margin-right: 0;
  }
  .gridfinalfooter {
    grid-template-columns: 1fr .5fr;
    align-items: stretch;
  }
  .div-block-10 {
    margin-top: 40px;
  }
  .navarticle {
    justify-content: space-between;
  }
  .navarticle2 {
    justify-content: flex-start;
    align-items: flex-start;
  }
  .navarticle3 {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    flex-direction: column;
    justify-content: flex-start;
    display: flex;
  }
  .grid2column_nextprevious {
    display: none;
  }
  .div-block-15 {
    margin-top: 200px;
  }
  .paragraph-2 {
    text-align: center;
    padding-right: 0;
  }
  .div-block-18 {
    flex-direction: column;
    align-items: center;
  }
  .nav-link-wrapper {
    grid-column-gap: 32px;
    flex-direction: row;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
  .heading-3 {
    font-weight: 400;
  }
  .journal-wrapper {
    align-items: center;
    margin-right: 16px;
    display: block;
  }
  .code-embed-3 {
    margin-top: 240px;
  }
}

@media screen and (max-width: 479px) {
  .modernbody_16 {
    margin-top: 20px;
  }
  .container {
    margin-top: 80px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .grid {
    grid-row-gap: 30px;
    justify-content: stretch;
    margin-bottom: 0;
  }
  .header-link {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .headerimage_desktop {
    display: none;
  }
  .grid2column {
    margin-top: 64px;
    display: block;
  }
  .image90_desktop {
    margin-top: 32px;
  }
  .grid2image {
    margin-top: 0;
    padding-top: 0;
  }
  .headerimage_mobile {
    border-radius: 6px;
    margin-top: 0;
    max-width: 100%;
    display: block;
  }
  .containerarticle {
    margin-top: 60px;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .containerarticle + .footer {
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .gridfooter {
    margin-top: 140px;
  }
  .modernbody {
    margin-top: 10px;
    padding-bottom: 0;
  }
  .modernbody.padding-t-0 {
    margin-top: 0;
  }
  .nav-link {
    grid-column-gap: 2px;
    grid-row-gap: 2px;
    display: flex;
  }
  .nav-link.hidden {
    display: none;
  }
  .text-span-15, .text-span-17 {
    display: block;
  }
  .gridfinalfooter {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    flex-flow: column;
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 10px;
    display: flex;
  }
  .columns {
    margin-top: 10px;
  }
  .navarticle {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 16px;
    display: flex;
  }
  .navarticle2 {
    justify-content: flex-end;
    width: 100%;
    display: block;
  }
  .navarticle1 {
    flex-direction: row;
    justify-content: space-between;
    display: flex;
  }
  .navarticle3 {
    width: 100%;
    display: none;
  }
  .grid-6 {
    grid-auto-flow: row;
    margin-top: 60px;
    padding-bottom: 0;
    display: block;
  }
  .image-10, .image-11, .image-12 {
    padding-bottom: 10px;
  }
  .grid2column_nextprevious {
    margin-top: 140px;
    display: none;
  }
  .div-block-14 {
    margin-bottom: 140px;
  }
  .div-block-15 {
    margin-top: 128px;
  }
  .heading {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 20px;
  }
  .paragraph-2 {
    text-align: center;
    width: 80%;
    margin-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14px;
    line-height: 20px;
  }
  .paragraph-2.hidden {
    display: none;
    overflow: visible;
  }
  .div-block-18 {
    flex-direction: column;
  }
  .html-embed-2 {
    width: 80%;
    display: none;
  }
  .div-block-20 {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
  }
  .nav-link-wrapper {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: flex-end;
    display: flex;
  }
  .heading-3 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
  }
  .field-label {
    font-family: var(--font-sans);
    font-weight: 400;
  }
  .submit-button {
    background-color: #222;
  }
  .journal-wrapper {
    vertical-align: baseline;
    align-items: center;
    margin-right: 0;
    display: flex;
    overflow: hidden;
  }
  .glowing-wrapper-button {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .warning-banner {
    justify-content: flex-start;
    align-items: center;
  }
  .warning-icon, .link-6 {
    display: none;
  }
  .code-embed-3 {
    margin-top: 168px;
  }
}

#case-study-col-a, #case-study-col-b, #case-study-grid-img-1, #case-study-grid-img-2, #case-study-grid-img-3, #case-study-grid-img-4 {
  grid-area: span 1 / span 1 / span 1 / span 1;
}

/* Project card hover, desktop breakpoint only, using an "outQuart" easing
   curve: cubic-bezier(.165, .84, .44, 1). */

@media screen and (min-width: 992px) {
  .project-teaser-image {
    transition: transform 1s cubic-bezier(.165, .84, .44, 1);
  }

  .project-image-wrapper:hover .project-teaser-image {
    transform: scale(1.05);
    transition-duration: 1.4s;
  }
}

/* Page-load reveal — content fades/lifts in top to bottom on refresh,
   staggered by position. Targets the top-level landmarks (nav, footer)
   plus each direct child of the main content column so long case-study
   pages cascade the same way the homepage grid does. */

@media (prefers-reduced-motion: no-preference) {
  .nav,
  .navarticle,
  .container > *,
  .footer {
    animation: page-reveal .6s cubic-bezier(.22, .61, .36, 1) both;
  }

  .nav,
  .navarticle {
    animation-delay: 0s;
  }

  .container > *:nth-child(1) { animation-delay: .06s; }
  .container > *:nth-child(2) { animation-delay: .12s; }
  .container > *:nth-child(3) { animation-delay: .18s; }
  .container > *:nth-child(4) { animation-delay: .24s; }
  .container > *:nth-child(n+5) { animation-delay: .3s; }

  .footer {
    animation-delay: .36s;
  }
}

@keyframes page-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
