:root {
  --bg: #ffdd00;
  --surface: #141414;
  --surface-strong: #050505;
  --surface-border: #2f2f2f;
  --text: #111111;
  --muted: #4b4100;
  --dim: #786800;
  --border: rgba(17, 17, 17, 0.28);
  --accent: #111111;
  --on-dark: #f5f1da;
  --on-dark-muted: #bdb698;
  --on-dark-dim: #817b68;
  --on-dark-accent: #ffdd00;
  --max-width: 1160px;

  /* H1 controls: mobile, wider phones, tablet, desktop. */
  --h1-home-mobile: 3.2rem;
  --h1-home-mobile-wide: 3.6rem;
  --h1-home-tablet: 5.6rem;
  --h1-home-desktop: 9rem;
  --h1-case-default-mobile: 2.35rem;
  --h1-case-default-mobile-wide: 2.85rem;
  --h1-case-default-tablet: 6.2rem;
  --h1-case-default-desktop: 8rem;
  --h1-hunt-mobile: 4.5rem;
  --h1-hunt-mobile-wide: 3.35rem;
  --h1-hunt-tablet: 6.8rem;
  --h1-hunt-desktop: 7rem;
  --h1-blacknode-mobile: 4rem;
  --h1-blacknode-mobile-wide: 2.95rem;
  --h1-blacknode-tablet: 5.6rem;
  --h1-blacknode-desktop: 6rem;
  --h1-plastyctoy-mobile: 4rem;
  --h1-plastyctoy-mobile-wide: 2.95rem;
  --h1-plastyctoy-tablet: 6rem;
  --h1-plastyctoy-desktop: 6rem;
  --h1-te-ranga-wairua-mobile: 4rem;
  --h1-te-ranga-wairua-mobile-wide: 2.55rem;
  --h1-te-ranga-wairua-tablet: 4.6rem;
  --h1-te-ranga-wairua-desktop: 5.8rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(17, 17, 17, 0.06) 1px, transparent 1px),
    var(--bg);
  background-size: 100% 9px, auto;
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

a {
  color: inherit;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  overflow-wrap: normal;
  word-break: normal;
  font-size: var(--h1-home-mobile);
  line-height: 0.88;
  font-weight: 800;
}

.hero-title--home {
  font-size: var(--h1-home-mobile);
}

h2 {
  margin-bottom: 0;
  overflow-wrap: normal;
  word-break: normal;
  font-size: 2.2rem;
  line-height: 0.95;
  font-weight: 800;
}

.site-shell {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

.hero {
  min-height: 84svh;
  padding: 0.75rem 0 3.5rem;
  display: flex;
}

.hero .site-shell {
  display: flex;
  flex-direction: column;
}

.masthead {
  min-height: 5.75rem;
  padding-block: 0.85rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  min-height: 1.5rem;
  align-items: center;
  text-decoration: none;
}

.signal {
  color: var(--dim);
}

.site-nav {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-nav a {
  min-height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav__current {
  border-color: currentColor;
  color: var(--text);
  outline: 0;
}

.hero__content {
  width: min(100%, 58rem);
  margin-top: auto;
  padding-top: 4.5rem;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__lede {
  width: min(100%, 39rem);
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.22;
  font-weight: 500;
}

.section {
  padding: 4.75rem 0;
  border-top: 1px solid var(--border);
}

.section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.section__grid p,
.philosophy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.5;
}

.section-heading {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--text);
  background: var(--surface);
}

.project-card {
  position: relative;
  min-height: 16.25rem;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.project-card + .project-card {
  border-top: 1px solid var(--surface-border);
}

.project-card::after {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 0.65rem;
  height: 0.65rem;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.35;
  transform: rotate(45deg);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.project-card--image {
  background:
    linear-gradient(0deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.24) 62%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.18)),
    var(--project-card-image);
  background-position: center, center, left top;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
  isolation: isolate;
}

.project-card--image::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: rgba(5, 5, 5, 0);
  transition:
    background-color 180ms ease;
}

.project-card--image::after {
  z-index: 1;
}

.project-card--image .project-card__index,
.project-card--image .project-card__title,
.project-card--image .project-card__text,
.project-card--image .project-card__meta {
  position: relative;
  z-index: 2;
}

.project-card--image .project-card__title,
.project-card--image .project-card__text {
  text-shadow: 0 1px 1.25rem rgba(0, 0, 0, 0.68);
}

.project-card:hover,
.project-card:focus-visible {
  z-index: 1;
  background: var(--surface-strong);
  color: var(--on-dark-accent);
  outline: 1px solid var(--text);
  transform: translateY(-0.25rem);
}

.project-card:hover::after,
.project-card:focus-visible::after {
  opacity: 1;
  transform: translate(0.25rem, -0.25rem) rotate(45deg);
}

.project-card--image:hover,
.project-card--image:focus-visible {
  background:
    linear-gradient(0deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.14) 62%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.08)),
    var(--project-card-image);
  background-position: center, center, left top;
  background-size: cover, cover, cover;
}

.project-card--image:hover::before,
.project-card--image:focus-visible::before {
  background: rgba(255, 221, 0, 0.08);
}

.project-card__index,
.project-card__meta {
  color: var(--on-dark-dim);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card__title {
  margin-top: auto;
  color: var(--on-dark);
  overflow-wrap: normal;
  word-break: normal;
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 800;
}

.project-card__text {
  margin-top: 1rem;
  color: var(--on-dark-muted);
  font-size: 1rem;
  line-height: 1.45;
}

.project-card__meta {
  margin-top: 1.5rem;
}

.project-card:hover .project-card__title,
.project-card:focus-visible .project-card__title,
.project-card:hover .project-card__meta,
.project-card:focus-visible .project-card__meta,
.project-card:hover .project-card__index,
.project-card:focus-visible .project-card__index {
  color: inherit;
}

.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer__inner {
  min-height: 7rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.footer strong {
  color: var(--text);
}

.case-study-page .masthead {
  border-bottom: 1px solid var(--border);
}

.case-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.case-hero--background {
  position: relative;
  min-height: 78svh;
  padding: 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--on-dark);
  isolation: isolate;
}

.case-hero--background::before,
.case-hero--background::after {
  position: absolute;
  inset: 0;
  content: "";
}

.case-hero--background::before {
  z-index: -2;
  background-image: var(--case-hero-image);
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-hero--background::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.52) 48%, rgba(5, 5, 5, 0.22)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.12) 62%);
}

.case-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.case-hero--background .case-hero__grid {
  min-height: inherit;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  display: flex;
  align-items: flex-end;
}

.case-hero--background .case-hero__content {
  max-width: 44rem;
}

.case-hero--background .kicker,
.case-hero--background .case-hero__content h1,
.case-hero--background .case-hero__content h2,
.case-hero--background .case-hero__standfirst {
  color: var(--on-dark);
}

.case-hero--background .case-hero__standfirst {
  color: var(--on-dark-muted);
}

.case-hero__content h1 {
  max-width: none;
  margin-bottom: 0.85rem;
  font-size: var(--h1-case-default-mobile);
  line-height: 0.92;
  overflow-wrap: normal;
  word-break: normal;
}

.case-hero__content .case-title--hunt {
  font-size: var(--h1-hunt-mobile);
  white-space: nowrap;
}

.case-hero__content .case-title--blacknode {
  font-size: var(--h1-blacknode-mobile);
  white-space: nowrap;
}

.case-hero__content .case-title--plastyctoy {
  font-size: var(--h1-plastyctoy-mobile);
  white-space: nowrap;
}

.case-hero__content .case-title--te-ranga-wairua {
  font-size: var(--h1-te-ranga-wairua-mobile);
}

.case-hero__content h2 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 1.85rem;
  line-height: 1;
}

.case-hero__standfirst {
  max-width: 43rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.image-placeholder {
  min-height: 11rem;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    var(--surface);
  background-size: 2rem 2rem;
  color: var(--on-dark-dim);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.image-placeholder--hero {
  min-height: 12rem;
  aspect-ratio: 5 / 4;
}

.image-placeholder--wide {
  min-height: 11rem;
  margin: 3rem 0;
  aspect-ratio: 4 / 3;
}

.case-image {
  margin: 3rem 0;
  overflow: hidden;
  border: 1px solid var(--text);
  background: var(--surface);
}

.case-image img {
  width: 100%;
  display: block;
}

.case-image figcaption {
  padding: 0.75rem 0.85rem;
  border-top: 1px solid var(--surface-border);
  color: var(--on-dark-muted);
  background: var(--surface);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.case-image--hero {
  min-height: 12rem;
  margin: 0;
  aspect-ratio: 5 / 4;
}

.case-image--hero img {
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.case-image--wide img {
  height: auto;
}

.case-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.snapshot-panel {
  padding: 1rem;
  border: 1px solid var(--text);
  background: var(--surface);
}

.snapshot-panel h2 {
  margin-bottom: 1.5rem;
  color: var(--on-dark-accent);
  font-size: 0.75rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.snapshot-panel dl {
  margin: 0;
}

.snapshot-panel dt {
  padding-top: 1rem;
  margin-bottom: 0.35rem;
  border-top: 1px solid var(--surface-border);
  color: var(--on-dark-dim);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.snapshot-panel dd {
  margin: 0 0 1rem;
  color: var(--on-dark);
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.snapshot-panel dd:last-child {
  margin-bottom: 0;
}

.case-content {
  width: 100%;
  max-width: 46rem;
  min-width: 0;
}

.article-section + .article-section {
  margin-top: 3.25rem;
}

.article-section h2 {
  margin-bottom: 1rem;
  font-size: 1.85rem;
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
}

.article-section p,
.article-section li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.article-section p {
  margin-bottom: 1.35rem;
}

.article-section p:last-child {
  margin-bottom: 0;
}

.article-section ul {
  margin: 1.5rem 0 1.75rem;
  padding-left: 1.15rem;
}

.article-section li + li {
  margin-top: 0.65rem;
}

.article-section blockquote {
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 1.25rem 1rem;
  border-left: 2px solid var(--accent);
}

.article-section blockquote p {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
}

.case-cta {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.case-cta__link {
  min-height: 3.5rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.case-cta__link:hover,
.case-cta__link:focus-visible {
  background: var(--accent);
  color: var(--bg);
  outline: 0;
  transform: translateY(-0.15rem);
}

.case-cta__link--static,
.case-cta__link--static:hover,
.case-cta__link--static:focus-visible {
  cursor: default;
  background: transparent;
  color: var(--accent);
  outline: 0;
  transform: none;
}

.project-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding-bottom: 3.5rem;
}

.project-nav__item {
  min-height: 7rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--text);
  background: var(--surface);
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.project-nav__item span {
  color: var(--on-dark-dim);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-nav__item strong {
  color: var(--on-dark);
  font-size: 1.25rem;
  line-height: 1;
}

.project-nav__item:hover,
.project-nav__item:focus-visible {
  background: var(--surface-strong);
  color: var(--on-dark-accent);
  outline: 1px solid var(--text);
}

.project-nav__item:hover strong,
.project-nav__item:focus-visible strong {
  color: inherit;
}

.project-nav__item--muted {
  pointer-events: none;
  opacity: 0.48;
}

@media (max-width: 380px) {
  .site-shell {
    padding-inline: 0.85rem;
  }

  .masthead {
    gap: 0.65rem;
  }

  .site-nav {
    gap: 0.25rem 0.75rem;
  }

  .case-hero__content h1 {
    font-size: 2.35rem;
  }

  .case-hero__content .case-title--hunt,
  .case-hero__content .case-title--blacknode,
  .case-hero__content .case-title--plastyctoy {
    font-size: 2.35rem;
  }

  .case-hero__content .case-title--te-ranga-wairua {
    font-size: 1.95rem;
  }

  .case-hero {
    padding: 2.25rem 0 2rem;
  }

  .case-hero__content h2,
  .article-section h2 {
    font-size: 1.65rem;
  }

  .image-placeholder--hero,
  .image-placeholder--wide {
    min-height: 9rem;
  }

  .case-layout {
    gap: 2.25rem;
    padding-top: 2.25rem;
  }

  .project-nav__item {
    min-height: 5.75rem;
    padding: 1rem;
  }
}

@media (min-width: 421px) {
  .site-shell {
    padding-inline: 1.5rem;
  }

  h1 {
    font-size: var(--h1-home-mobile-wide);
  }

  .hero-title--home {
    font-size: var(--h1-home-mobile-wide);
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero__lede {
    font-size: 1.35rem;
  }

  .project-card__title {
    font-size: 2rem;
  }

  .case-hero__content h1 {
    font-size: var(--h1-case-default-mobile-wide);
  }

  .case-hero__content .case-title--hunt {
    font-size: var(--h1-hunt-mobile-wide);
  }

  .case-hero__content .case-title--blacknode {
    font-size: var(--h1-blacknode-mobile-wide);
  }

  .case-hero__content .case-title--plastyctoy {
    font-size: var(--h1-plastyctoy-mobile-wide);
  }

  .case-hero__content .case-title--te-ranga-wairua {
    font-size: var(--h1-te-ranga-wairua-mobile-wide);
  }
}

@media (min-width: 621px) {
  h1 {
    font-size: var(--h1-home-tablet);
  }

  .hero-title--home {
    font-size: var(--h1-home-tablet);
  }

  h2 {
    font-size: 3.45rem;
  }

  .site-shell {
    padding-inline: 2rem;
  }

  .hero {
    min-height: 76svh;
    padding-bottom: 4rem;
  }

  .masthead {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 1rem;
    min-height: 4rem;
    padding-block: 0;
  }

  .site-nav {
    width: auto;
    gap: 0.35rem 0.85rem;
  }

  .site-nav a {
    min-height: 2rem;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav__current {
    color: var(--text);
  }

  .hero__content {
    padding-top: 8rem;
  }

  .hero__lede {
    font-size: 1.65rem;
  }

  .section {
    padding: clamp(5rem, 10vw, 8rem) 0;
  }

  .section__grid {
    gap: clamp(2rem, 7vw, 8rem);
  }

  .section__grid p,
  .philosophy p {
    font-size: 1.3rem;
  }

  .section-heading {
    align-items: end;
    justify-content: space-between;
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 2rem;
  }

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

  .project-card {
    min-height: 20rem;
  }

  .project-card + .project-card {
    border-top: 0;
  }

  .project-card:nth-child(even) {
    border-left: 1px solid var(--surface-border);
  }

  .project-card:nth-child(n + 3) {
    border-top: 1px solid var(--surface-border);
  }

  .project-card__text {
    min-height: 5.8rem;
  }

  .project-card__title {
    font-size: 2.15rem;
  }

  .footer__inner {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 1rem;
  }

  .case-hero {
    padding: 5.5rem 0 4.5rem;
  }

  .case-hero__content h1 {
    font-size: var(--h1-case-default-tablet);
  }

  .case-hero__content .case-title--hunt {
    font-size: var(--h1-hunt-tablet);
  }

  .case-hero__content .case-title--blacknode {
    font-size: var(--h1-blacknode-tablet);
  }

  .case-hero__content .case-title--plastyctoy {
    font-size: var(--h1-plastyctoy-tablet);
  }

  .case-hero__content .case-title--te-ranga-wairua {
    font-size: var(--h1-te-ranga-wairua-tablet);
  }

  .case-hero__content h2 {
    max-width: 11ch;
    font-size: 3.5rem;
  }

  .case-hero__standfirst {
    font-size: 1.35rem;
  }

  .image-placeholder--wide {
    min-height: 22rem;
    margin: 5rem 0;
    aspect-ratio: 16 / 10;
  }

  .case-layout {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .snapshot-panel {
    padding: 1.5rem;
  }

  .article-section h2 {
    font-size: 3rem;
  }

  .article-section p,
  .article-section li {
    font-size: 1.18rem;
  }

  .article-section blockquote {
    padding-left: 1.75rem;
  }

  .article-section blockquote p {
    font-size: 1.9rem;
  }

  .project-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-nav--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-cta__link {
    width: auto;
  }

  .project-nav__item strong {
    font-size: 1.45rem;
  }
}

@media (min-width: 941px) {
  .hero {
    min-height: 82svh;
  }

  h1 {
    font-size: var(--h1-home-desktop);
  }

  .hero-title--home {
    font-size: var(--h1-home-desktop);
  }

  h2 {
    font-size: 4.5rem;
  }

  .hero__lede {
    font-size: 2.1rem;
  }

  .section__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .project-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-grid--case-index {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-card {
    min-height: 25rem;
  }

  .project-card__title {
    font-size: 2.2rem;
  }

  .project-card:nth-child(n) {
    border-top: 0;
  }

  .project-card:nth-child(even) {
    border-left: 0;
  }

  .project-card + .project-card {
    border-left: 1px solid var(--surface-border);
  }

  .case-hero {
    padding: 7rem 0 5rem;
  }

  .case-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
    align-items: end;
    gap: 5rem;
  }

  .case-hero__content h1 {
    font-size: var(--h1-case-default-desktop);
  }

  .case-hero__content .case-title--hunt {
    font-size: var(--h1-hunt-desktop);
  }

  .case-hero__content .case-title--blacknode {
    font-size: var(--h1-blacknode-desktop);
  }

  .case-hero__content .case-title--plastyctoy {
    font-size: var(--h1-plastyctoy-desktop);
  }

  .case-hero__content .case-title--te-ranga-wairua {
    font-size: var(--h1-te-ranga-wairua-desktop);
  }

  .case-layout {
    grid-template-columns: minmax(15rem, 19rem) minmax(0, 46rem);
    align-items: start;
    justify-content: space-between;
    gap: 5rem;
  }

  .snapshot-panel {
    position: sticky;
    top: 2rem;
  }
}

.case-hero--background {
  min-height: 78svh;
  padding: 0;
}

.case-hero--background .case-hero__grid {
  min-height: inherit;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0;
}

@media (min-width: 621px) {
  .case-hero--background {
    min-height: 82svh;
  }

  .case-hero--background .case-hero__grid {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .case-hero--background .case-hero__content {
    max-width: 52rem;
  }
}

@media (min-width: 941px) {
  .case-hero--background {
    min-height: 84svh;
  }

  .case-hero--background .case-hero__grid {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
}
