:root {
  --dark: #0b0a09;
  --dark-soft: #12110f;
  --cream: #f5f1ea;
  --cream-deep: #ebe5dc;
  --ink: #161513;
  --muted: #746c62;
  --sand: #c7baa1;
  --line: rgba(22, 21, 19, 0.12);
  --line-strong: rgba(22, 21, 19, 0.18);
  --line-inverse: rgba(245, 241, 234, 0.14);
  --line-inverse-soft: rgba(245, 241, 234, 0.08);
  --light: #f6f2eb;
  --display: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
  --sans: "Inter", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --content-max: 1460px;
  /* Vertical section rhythm. Same-tone neighbours share ~1.5× this
     (full bottom + half top) so About→Works is neither doubled nor flush. */
  --section-y: clamp(4rem, 8vw, 7rem);

  /* Fluid type scale — single source of truth for sizing.
     Endpoints match the previous per-element clamps; the middle term
     uses rem + vw so text also responds to user zoom. */
  --text-body-sm: clamp(0.98rem, 0.93rem + 0.25vw, 1.06rem);
  --text-body:    clamp(1rem, 0.94rem + 0.3vw, 1.08rem);
  --text-quote:   clamp(1.35rem, 1.05rem + 1.5vw, 2.1rem);
  --text-xl:      clamp(1.3rem, 1.03rem + 1.35vw, 2rem);
  --text-2xl:     clamp(1.7rem, 1.3rem + 2vw, 2.6rem);
  --text-3xl:     clamp(2.2rem, 1.66rem + 2.7vw, 3.8rem);
  --text-4xl:     clamp(2.05rem, 1.51rem + 2.7vw, 3.9rem);
  --text-5xl:     clamp(3.1rem, 2.3rem + 4vw, 5.4rem);
  --text-6xl:     clamp(3.16rem, 2.13rem + 5.1vw, 5.8rem);

  /* Tracking + leading tokens */
  --tracking-label: 0.24em;
  --tracking-tight: -0.02em;
  --tracking-tighter: -0.03em;
  --leading-tight: 0.92;
  --leading-snug: 1.02;
  --leading-body: 1.9;

  --modal-inset-block: clamp(1.25rem, 4vh, 2.5rem);
  --modal-inset-inline: clamp(1rem, 4vw, 3.5rem);
}

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

div:focus,
div:focus-visible,
article:focus,
article:focus-visible {
  outline: none;
}

html {
  scroll-behavior: smooth;
  background: var(--dark);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}

/* Display headings: balance ragged lines and enable serif ligatures. */
.hero-title,
.section-title,
.profile-title,
.work-title,
.modal-title,
.other-title,
.footer-email,
.error-title {
  text-wrap: balance;
  font-variant-ligatures: normal;
  font-synthesis: none;
}

html.fonts-loading .hero-copy {
  visibility: hidden;
  animation: hero-fonts-fallback 0s linear 3s forwards;
}

html.fonts-ready .hero-copy {
  visibility: visible;
  animation: none;
}

@keyframes hero-fonts-fallback {
  to {
    visibility: visible;
  }
}

/* Body copy: avoid orphans / short last lines. */
.hero-intro,
.footer-intro,
.about-subtitle,
.section-body,
.profile-subtitle,
.profile-body,
.modal-copy,
.modal-description,
.footer-detail-value {
  text-wrap: pretty;
}

/* Numeric labels (years, counts) align cleanly with tabular figures. */
.work-kicker,
.other-meta,
.modal-meta-value,
.footer-detail-label {
  font-variant-numeric: tabular-nums;
}

body.is-locked {
  overflow: hidden;
  overflow-x: clip;
}


img,
picture,
video {
  display: block;
  max-width: 100%;
}

a,
button {
  color: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.05rem var(--gutter);
  isolation: isolate;
  transition: border-color 220ms ease;
}

.site-nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 12rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.24) 12%,
    rgba(0, 0, 0, 0.16) 28%,
    rgba(0, 0, 0, 0.09) 48%,
    rgba(0, 0, 0, 0.04) 68%,
    rgba(0, 0, 0, 0.015) 84%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: height 320ms ease, background 320ms ease;
}

body.is-scrolled .site-nav::before {
  height: 14rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.3) 14%,
    rgba(0, 0, 0, 0.2) 32%,
    rgba(0, 0, 0, 0.11) 52%,
    rgba(0, 0, 0, 0.05) 72%,
    rgba(0, 0, 0, 0.015) 88%,
    rgba(0, 0, 0, 0) 100%
  );
}

.site-brand,
.nav-toggle,
.mobile-nav {
  display: none;
}

@media (min-width: 641px) {
  .nav-toggle,
  .site-brand,
  .mobile-nav {
    display: none !important;
  }
}

.site-brand {
  align-items: center;
  text-decoration: none;
}

.site-brand-img {
  height: 18px;
  width: auto;
  opacity: 0.88;
}

/* Default / homepage: white mark on dark hero / nav wash */
.site-brand-img--black {
  display: none;
}

body.work-page .site-brand-img--white {
  display: none;
}

body.work-page .site-brand-img--black {
  display: block;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-lines {
  position: relative;
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto;
  background: rgba(246, 242, 235, 0.72);
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(246, 242, 235, 0.72);
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.site-nav.is-open {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.site-nav.is-open::before {
  height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.46) 0%,
    rgba(0, 0, 0, 0.34) 16%,
    rgba(0, 0, 0, 0.22) 34%,
    rgba(0, 0, 0, 0.12) 52%,
    rgba(0, 0, 0, 0.06) 68%,
    rgba(0, 0, 0, 0.025) 82%,
    rgba(0, 0, 0, 0) 100%
  );
}

body.is-scrolled .site-nav.is-open::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.36) 16%,
    rgba(0, 0, 0, 0.24) 34%,
    rgba(0, 0, 0, 0.13) 52%,
    rgba(0, 0, 0, 0.06) 68%,
    rgba(0, 0, 0, 0.025) 82%,
    rgba(0, 0, 0, 0) 100%
  );
}

.site-nav.is-open .nav-toggle-lines {
  background: transparent;
}

.site-nav.is-open .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.site-nav.is-open .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 1.05rem var(--gutter) 1.25rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  display: none;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  z-index: 69;
}

.mobile-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 242, 235, 0.78);
}

.mobile-nav a:focus-visible,
.mobile-nav a:hover {
  color: rgba(246, 242, 235, 0.96);
}

.site-nav.is-open .mobile-nav {
  display: flex;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  justify-content: center;
}

.site-nav-links a {
  position: relative;
  font-size: 0.64rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 242, 235, 0.85);
}

.site-nav-links a + a::before {
  content: none;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--dark);
  color: var(--light);
  overflow: hidden;
  padding: 7.2rem var(--gutter) 2.6rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #070606;
}

.hero-media-el {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  filter: saturate(0.86) contrast(1.06) brightness(0.72);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 32% 42%, rgba(10, 9, 8, 0.04) 0%, rgba(10, 9, 8, 0.38) 68%, rgba(10, 9, 8, 0.64) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.56) 0%, rgba(10, 9, 8, 0.12) 34%, rgba(10, 9, 8, 0.62) 100%);
}

.hero-frame {
  position: absolute;
  inset: 1rem;
  border: 1px solid var(--line-inverse-soft);
  pointer-events: none;
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border-top: 1px solid rgba(246, 242, 235, 0.34);
  border-left: 1px solid rgba(246, 242, 235, 0.34);
}

.hero-frame::before {
  top: -1px;
  left: -1px;
}

.hero-frame::after {
  right: -1px;
  bottom: -1px;
  transform: rotate(180deg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: end;
  max-width: none;
  min-height: calc(100svh - 9.2rem);
  margin: 0;
}

.hero-copy {
  grid-column: 1 / span 6;
  max-width: 44rem;
  align-self: end;
  padding: 0 0 1.1rem;
  text-align: left;
}

.hero-title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--display);
  font-size: var(--text-6xl);
  font-weight: 300;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tighter);
}

.hero-sectors {
  margin: 1.65rem 0 0;
  font-family: var(--sans);
  font-size: clamp(0.68rem, 0.64rem + 0.22vw, 0.76rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 242, 235, 0.58);
}

.hero-sectors-sep {
  margin-inline: 0.4em;
  letter-spacing: 0;
  opacity: 0.42;
}

.hero-intro {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: var(--text-body);
  line-height: 1.85;
  color: rgba(246, 242, 235, 0.72);
}

.hero-logo {
  display: block;
  width: min(18vw, 120px);
  height: auto;
  margin: 0 0 1.5rem;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}

.section {
  padding: var(--section-y) var(--gutter);
}

/* Consecutive same-tone sections: keep half top padding so the gap is
   ~1.5× --section-y instead of 2× (too open) or 1× (too tight). */
.section--light + .section--light,
.section--dark + .section--dark,
.section--dark + .section--profile,
.section--profile + .section--dark {
  padding-top: calc(var(--section-y) / 2);
}

/* About → Works: tighter than the default same-tone rhythm. */
.section--light + .section--works {
  padding-top: 0;
}

.section--light {
  background: var(--cream);
  color: var(--ink);
}

.section--dark {
  background: var(--dark);
  color: var(--light);
}

.section--profile {
  background: var(--dark-soft);
}

.section--profile .section-label {
  color: rgba(246, 242, 235, 0.5);
}

.section-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-label {
  padding-top: 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  justify-self: start;
}

.section--dark .section-label {
  color: rgba(246, 242, 235, 0.5);
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

#about .section-shell {
  gap: 2.5rem;
}

#profile .section-shell {
  gap: 2.5rem;
}

.about-copy .section-title {
  line-height: 1.12;
}

.about-subtitle {
  margin: 2rem 0 0;
  max-width: 34rem;
  font-family: var(--display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(22, 21, 19, 0.72);
}

.about-copy .section-body {
  margin-top: 2rem;
  max-width: 100%;
}

.about-copy .section-body + .section-body {
  margin-top: 1.25rem;
}

.section-body--about {
  max-width: 44rem;
}

.section-body {
  margin: 0;
  max-width: 42rem;
  font-size: var(--text-body-sm);
  line-height: var(--leading-body);
  color: var(--muted);
}

.about-grid {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
}

.about-masonry {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.about-tile {
  flex: 1 1 0;
  margin: 0;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-deep);
}

.about-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

.about-tile--b img {
  object-position: center 18%;
}

.works-grid {
  display: grid;
  gap: 2.25rem;
  max-width: var(--content-max);
  margin: 2.5rem auto 0;
  padding: 0;
}

@media (min-width: 1101px) {
  .works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(3.5rem, 6vw, 5.5rem);
    row-gap: 2.5rem;
    align-items: start;
  }
}

.works-more {
  max-width: var(--content-max);
  margin: clamp(5.75rem, 9.5vw, 8.5rem) auto 0;
  padding: 0;
}

.works-more-list {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0;
}

.other-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  padding: 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background-color 250ms ease;
}

.other-row:first-child {
  border-top: 1px solid var(--line);
}

.other-row-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
}

.other-row-hit:focus {
  outline: none;
}

.other-copy {
  min-width: 0;
  padding: 1.1rem 0;
  align-self: center;
}

.other-title {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 1rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1rem, 0.8rem + 1.05vw, 1.55rem);
  font-weight: 400;
  line-height: 1.05;
}

.other-title-text {
  font-size: inherit;
}

.work-deeper,
.other-deeper {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  flex: 0 0 auto;
  position: relative;
  font-size: 0.9rem;
  letter-spacing: 0;
  opacity: 0.55;
  transition: opacity 250ms ease;
}

.work-deeper {
  margin-left: 0;
}

.other-deeper {
  margin-left: 0.55rem;
}

.other-visual {
  position: relative;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.other-deeper--stack {
  display: none;
}

.project-action-arrow {
  display: inline-block;
  transition: transform 250ms ease;
}

.project-action-label {
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--muted);
  opacity: 0;
  position: absolute;
  left: calc(100% + 0.4rem);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 250ms ease;
}

.work-card:has(.work-card-hit:focus-visible) .project-action-label,
.other-row:has(.other-row-hit:focus-visible) .project-action-label {
  opacity: 0.72;
}

.work-card:has(.work-card-hit:focus-visible) .project-action-arrow,
.other-row:has(.other-row-hit:focus-visible) .project-action-arrow {
  transform: translate(3px, -3px);
}

.other-cover {
  position: relative;
  z-index: 1;
  pointer-events: none;
  box-sizing: content-box;
  width: 300px;
  height: 60px;
  margin: 10px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-deep);
}

.other-cover img,
.other-cover video {
  width: 100%;
  height: 60px;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.8;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 250ms ease, filter 250ms ease, opacity 250ms ease;
}

.other-cover--placeholder {
  background:
    repeating-linear-gradient(
      -45deg,
      var(--cream-deep),
      var(--cream-deep) 8px,
      transparent 8px,
      transparent 16px
    );
}

.other-row:has(.other-row-hit:hover) .other-cover img,
.other-row:has(.other-row-hit:hover) .other-cover video,
.other-row:has(.other-row-hit:focus-visible) .other-cover img,
.other-row:has(.other-row-hit:focus-visible) .other-cover video {
  opacity: 1;
  transform: scale(1.04);
  filter: saturate(0.96) contrast(1.06);
}

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 0 48px;
  align-items: start;
  align-content: start;
  transition: transform 120ms ease;
}

.work-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
}

.work-card-hit:focus {
  outline: none;
}

.work-media {
  grid-column: 1 / -1;
  position: relative;
  z-index: 0;
}

.work-media-main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-deep);
}

.work-body {
  grid-column: 1 / -1;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  position: relative;
  z-index: 0;
}

.work-media-main img,
.work-media-main video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  filter: saturate(0.92) contrast(1.02);
  opacity: 1;
  transition: transform 250ms ease, filter 250ms ease;
}

.work-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--cream-deep),
      var(--cream-deep) 12px,
      transparent 12px,
      transparent 24px
    );
}

.work-kicker {
  margin: 0 0 14px;
  font-size: clamp(11px, 0.7rem, 12px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-title {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(33px, 2.9vw, 47px);
  font-weight: 400;
  line-height: 0.95;
  transition: color 250ms ease;
}

.work-title-text {
  flex: 0 1 auto;
  min-width: 0;
  font-size: inherit;
  transition: color 250ms ease;
}

.work-meta,
.other-meta {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.work-meta {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px;
}

.work-year,
.other-year {
  color: var(--ink);
}

.work-tags {
  color: var(--muted);
}

.other-meta {
  margin-top: 0.45rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1rem;
}

.other-category {
  color: var(--muted);
}

.work-card:has(.work-card-hit:focus-visible) .work-media-main img,
.work-card:has(.work-card-hit:focus-visible) .work-media-main video {
  transform: scale(1.015);
  filter: saturate(0.94) contrast(1.04);
}

.work-card:has(.work-card-hit:focus-visible) .work-deeper {
  opacity: 0.9;
}

.work-card:has(.work-card-hit:focus-visible) .work-title-text {
  color: rgba(22, 21, 19, 0.92);
}

@media (hover: hover) and (pointer: fine) {
  .work-card-hit {
    cursor: pointer;
  }

  .other-row-hit {
    cursor: pointer;
  }

  .work-card:has(.work-card-hit:hover) .work-media-main img,
  .work-card:has(.work-card-hit:hover) .work-media-main video {
    transform: scale(1.015);
    filter: saturate(0.94) contrast(1.04);
  }

  .work-card:has(.work-card-hit:hover) .work-deeper {
    opacity: 0.9;
  }

  .work-card:has(.work-card-hit:hover) .project-action-arrow {
    transform: translate(3px, -3px);
  }

  .work-card:has(.work-card-hit:hover) .project-action-label {
    opacity: 0.72;
  }

  .work-card:has(.work-card-hit:hover) .work-title-text {
    color: rgba(22, 21, 19, 0.92);
  }

  .other-row:has(.other-row-hit:hover) {
    background-color: rgba(22, 21, 19, 0.03);
  }

  .other-row:has(.other-row-hit:hover) .other-deeper {
    opacity: 1;
  }

  .other-row:has(.other-row-hit:hover) .project-action-arrow {
    transform: translate(3px, -3px);
  }

  .other-row:has(.other-row-hit:hover) .project-action-label {
    opacity: 0.72;
  }

  .other-row:has(.other-row-hit:hover) .other-cover img,
  .other-row:has(.other-row-hit:hover) .other-cover video {
    opacity: 1;
    transform: scale(1.04);
    filter: saturate(0.96) contrast(1.06);
  }
}

.other-row:has(.other-row-hit:focus-visible) {
  background-color: rgba(22, 21, 19, 0.03);
}

.other-row:has(.other-row-hit:focus-visible) .other-deeper {
  opacity: 1;
}

.other-row:has(.other-row-hit:focus-visible) .other-cover img,
.other-row:has(.other-row-hit:focus-visible) .other-cover video {
  opacity: 1;
  transform: scale(1.04);
  filter: saturate(0.96) contrast(1.06);
}

@media (max-width: 1100px) {
  .project-action-label {
    position: static;
    transform: none;
    opacity: 0.72;
  }

  .work-card:has(.work-card-hit:active) {
    transform: scale(0.99);
  }
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 0.9fr);
  gap: 3rem;
  align-items: start;
}

.profile-copy .profile-title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: var(--tracking-tight);
  color: var(--light);
}

.profile-subtitle {
  margin: 2rem 0 0;
  max-width: 34rem;
  font-family: var(--display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(246, 242, 235, 0.72);
}

.profile-copy .profile-body {
  margin: 2rem 0 0;
  max-width: 44rem;
  font-size: var(--text-body-sm);
  line-height: var(--leading-body);
  color: rgba(246, 242, 235, 0.55);
}

.profile-copy .profile-body + .profile-body {
  margin-top: 1.25rem;
}

.profile-portrait {
  width: 100%;
  border: 1px solid var(--line-inverse-soft);
  background: rgba(255, 255, 255, 0.04);
}

.profile-portrait-el {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  background: var(--dark);
  color: var(--light);
  padding: 3.25rem var(--gutter) 1.5rem;
}

.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  max-width: var(--content-max);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 2.5rem;
  min-width: 0;
  max-width: 100%;
}

.footer-left {
  display: flex;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
}

.footer-brand {
  display: grid;
  gap: 1.35rem;
  max-width: min(22rem, 100%);
  min-width: 0;
}

.footer-logo-img {
  width: min(22vw, 140px);
  height: auto;
  opacity: 0.86;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  max-width: 100%;
}

.footer-intro {
  margin: 0;
  max-width: min(22rem, 100%);
  font-size: var(--text-body-sm);
  line-height: 1.85;
  color: rgba(246, 242, 235, 0.68);
}

.footer-contact {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
  max-width: min(52rem, 100%);
  min-width: 0;
  text-align: left;
}

.footer-kicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(246, 242, 235, 0.5);
}

.footer-email {
  display: inline-block;
  margin-top: 0.15rem;
  max-width: 100%;
  font-family: var(--display);
  font-size: var(--text-3xl);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-decoration: none;
  color: rgba(246, 242, 235, 0.92);
  overflow-wrap: anywhere;
}

.footer-email:hover,
.footer-email:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.footer-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem 2rem;
  width: 100%;
  margin-top: 0.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-inverse-soft);
}

.footer-detail {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.footer-detail-label {
  margin: 0;
  font-size: 0.6rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(246, 242, 235, 0.45);
}

.footer-detail-value {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(246, 242, 235, 0.74);
}

.footer-detail-value a {
  text-decoration: none;
  color: rgba(246, 242, 235, 0.82);
  border-bottom: 1px solid rgba(246, 242, 235, 0.22);
  padding-bottom: 0.1rem;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-detail-value a:hover,
.footer-detail-value a:focus-visible {
  color: var(--light);
  border-bottom-color: rgba(246, 242, 235, 0.5);
}

.footer-detail-links {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.footer-detail-links a {
  border-bottom: 0;
  padding-bottom: 0;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  line-height: 1;
  vertical-align: middle;
}

.footer-instagram-icon {
  flex-shrink: 0;
  width: 1.3em;
  height: 1.3em;
  display: block;
}

.footer-detail-link-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: inherit;
  text-decoration: none;
  cursor: pointer;
  color: rgba(246, 242, 235, 0.82);
}

.footer-detail-links a:hover,
.footer-detail-links a:focus-visible,
.footer-detail-link-btn:hover,
.footer-detail-link-btn:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.footer-bottomline {
  margin-top: 3.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0.75rem;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 242, 235, 0.44);
}

.footer-bottomline .footer-legal-link,
.footer-bottomline a.iubenda-nostyle {
  color: inherit;
  text-decoration: none;
  letter-spacing: inherit;
  text-transform: inherit;
  font: inherit;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  display: inline;
  box-shadow: none;
}

.footer-bottomline .footer-legal-link:hover,
.footer-bottomline .footer-legal-link:focus-visible,
.footer-bottomline a.iubenda-nostyle:hover,
.footer-bottomline a.iubenda-nostyle:focus-visible {
  color: rgba(246, 242, 235, 0.72);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  overflow-x: clip;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.project-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#project-modal .modal-backdrop,
#press-kit-modal .modal-backdrop {
  background: rgba(8, 7, 6, 0.38);
  backdrop-filter: blur(28px) saturate(1.1);
  -webkit-backdrop-filter: blur(28px) saturate(1.1);
}

.modal-panel {
  position: absolute;
  z-index: 1;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}

#project-modal .modal-panel,
#press-kit-modal .modal-panel {
  top: var(--modal-inset-block);
  bottom: var(--modal-inset-block);
  left: 50%;
  right: auto;
  width: min(2000px, calc(100% - (2 * var(--modal-inset-inline))));
  max-width: 2000px;
  display: flex;
  flex-direction: column;
  border-radius: 1.15rem;
  box-shadow: 0 12px 48px rgba(8, 7, 6, 0.16);
  opacity: 1;
  transform: translateX(-50%) translateY(105%);
  transition: transform 520ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

#project-modal.is-open .modal-panel,
#press-kit-modal.is-open .modal-panel {
  transform: translateX(-50%) translateY(0);
}

.project-modal.is-instant,
.project-modal.is-instant .modal-panel {
  transition: none !important;
}

#project-modal.is-loading .modal-panel,
#press-kit-modal.is-loading .modal-panel {
  opacity: 0 !important;
}

.modal-topbar {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem 0.65rem;
  background: var(--cream);
  flex: 0 0 auto;
}

#project-modal .modal-topbar,
#press-kit-modal .modal-topbar {
  position: sticky;
  top: 0;
}

.modal-topbar :is(.modal-close, .modal-brand) {
  color: rgba(22, 21, 19, 0.84);
}

.modal-brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.modal-brand img {
  display: block;
  width: clamp(36px, 2.5rem, 44px);
  height: auto;
  opacity: 0.88;
  transition: opacity 180ms ease;
}

.modal-brand:hover img,
.modal-brand:focus-visible img {
  opacity: 1;
}

.modal-close {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#press-kit-modal .press-kit-detail {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#project-modal .modal-layout,
#press-kit-modal .modal-layout {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

#project-modal .modal-layout {
  display: block;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#project-modal .modal-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  grid-template-areas: "visual detail";
  align-items: start;
  min-height: 0;
  height: auto;
  overflow: visible;
}

#project-modal.is-media-empty .modal-content {
  grid-template-columns: 1fr;
  grid-template-areas: "detail";
  min-height: 100%;
}

#project-modal.is-media-empty .modal-visual,
#project-modal.is-media-empty .modal-media-hero,
#project-modal.is-media-empty .modal-media-rest {
  display: none;
}

#project-modal .modal-detail {
  grid-area: detail;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/*
 * Both columns can stick; JS sets --sticky-top per column:
 * - fits in scrollport → top offset (stick at top)
 * - taller than scrollport → port - height (scroll 1:1, then bottom-pin)
 */
#project-modal:not(.is-media-empty) .modal-visual,
#project-modal:not(.is-media-empty) .modal-detail {
  position: sticky;
  top: var(--sticky-top, 0px);
  align-self: start;
}

#project-modal.is-media-empty .modal-detail {
  height: 100%;
  overflow: hidden;
}

#project-modal .modal-detail-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}

#project-modal .modal-project-nav--desktop {
  flex: 0 0 auto;
  margin-top: auto;
}

#press-kit-modal .modal-layout--single {
  display: block;
}

#press-kit-modal .modal-content {
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}

#project-modal .modal-intro,
#press-kit-modal .modal-intro {
  padding: 2.25rem 3.25rem 0;
}

#project-modal .modal-visual {
  grid-area: visual;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: visible;
}

.modal-media-hero,
.modal-media-rest {
  width: 100%;
}

.modal-media-hero .modal-media,
.modal-media-stack-item .modal-media,
.modal-media-stack-col .modal-media {
  display: block;
  width: 100%;
  height: auto;
}

.modal-media-rest.is-empty,
.modal-media-rest[hidden] {
  display: none;
}

.modal-media-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
}

.modal-disclaimer {
  margin: 0.55rem 0 0;
  max-width: 36rem;
  font-size: 0.62rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--muted);
  opacity: 0.72;
}

.modal-disclaimer.is-empty,
.modal-links.is-empty {
  display: none;
}

#project-modal .modal-links:not(.is-empty) {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

#project-modal .modal-links .modal-section-label {
  margin-bottom: 0.55rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
}

.modal-links-list {
  display: grid;
  gap: 0.35rem;
}

.modal-links-row {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.modal-links-prefix {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
}

.modal-links-url {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.modal-links-url:hover,
.modal-links-url:focus-visible {
  opacity: 0.72;
}

.modal-media-stack-item {
  width: 100%;
}

/* Nested gallery arrays → equal columns on desktop and mobile */
.modal-media-stack-item--columns {
  display: grid;
  grid-template-columns: repeat(var(--gallery-cols, 2), minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.modal-media-stack-col {
  min-width: 0;
}

.modal-media-stack-item--caption {
  padding: 1.75rem var(--gutter) 1.5rem;
}

.modal-gallery-caption-title {
  margin: 0 0 0.65rem;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-gallery-caption-text {
  margin: 0;
  max-width: 42rem;
  font-size: var(--text-body-sm);
  line-height: var(--leading-body);
  color: var(--muted);
}

.modal-media-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 14px;
  box-sizing: border-box;
}

.modal-media {
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.modal-media-frame .modal-media {
  min-width: 0;
  min-height: 0;
}

.modal-media-frame.is-portrait .modal-media {
  height: 100%;
  width: auto;
  max-width: 100%;
}

.modal-media-frame.is-landscape .modal-media {
  width: 100%;
  height: auto;
  max-height: 100%;
}

.modal-media-frame.is-square .modal-media {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

#project-modal.is-media-empty .modal-intro {
  padding-bottom: 0.5rem;
}

.modal-body {
  overflow: auto;
  padding: 2.25rem 3.25rem 3rem;
}

#project-modal .modal-body {
  overflow: visible;
  flex: 0 0 auto;
  min-height: 0;
  padding: 0 3.25rem 1.5rem;
}

#press-kit-modal .modal-body {
  overflow: visible;
  padding: 0 3.25rem 3rem;
}

#project-modal .modal-title {
  max-width: 12ch;
  line-height: 1.08;
  margin: 1rem 0 0;
}

#project-modal .modal-intro:not(:has(.modal-description:not(.is-empty))) .modal-title {
  margin-bottom: 1.75rem;
}

.modal-description {
  margin: 1.35rem 0 0;
  max-width: 36rem;
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--muted);
}

.modal-description:not(.is-empty) {
  margin-bottom: 1.75rem;
}

#press-kit-modal .modal-title {
  max-width: none;
  margin-bottom: 1rem;
}

#project-modal .modal-notes {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}

.modal-kicker {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-title {
  margin: 1rem 0 0;
  max-width: 10ch;
  font-family: var(--display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: var(--leading-tight);
}

.modal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.modal-meta-item {
  min-width: 0;
}

.modal-meta.is-empty,
.modal-meta-item.is-empty,
.modal-section.is-empty,
.modal-notes.is-empty,
.modal-notes-item.is-empty,
.modal-kicker.is-empty,
.modal-description.is-empty {
  display: none;
}

#project-modal .modal-intro + .modal-body:not(.is-compact) {
  padding-top: 0;
}

#project-modal .modal-body > .modal-section {
  padding-top: 1.35rem;
}

#project-modal .modal-meta:not(.is-empty) + .modal-section:not(.is-empty) {
  padding-top: 0;
}

#project-modal .modal-meta:not(.is-empty) + #modal-concept-section:not(.is-empty) {
  padding-top: 1.5rem;
}

#project-modal .modal-meta.is-empty + .modal-section:not(.is-empty) {
  padding-top: 0;
}

#project-modal .modal-kicker.is-empty + .modal-title {
  margin-top: 0;
}

#project-modal .modal-content:has(.modal-body.is-compact) .modal-title {
  margin-bottom: 0;
}

#project-modal .modal-body.is-compact {
  display: none;
}

#project-modal .modal-notes:not(.is-empty) {
  gap: 1.35rem;
}

.modal-project-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: auto;
  /* Horizontal inset matches .modal-body / .modal-intro so the border lines up with content */
  margin-inline: 3.25rem;
  padding: 1.35rem 0 1.6rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.modal-project-nav--mobile {
  display: none;
  flex: 0 0 auto;
  margin-top: 0;
  margin-inline: 0;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 4;
}

.modal-project-nav.is-hidden {
  display: none;
}

.modal-project-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: opacity 180ms ease;
  min-width: 0;
}

.modal-project-nav-btn--next {
  justify-content: flex-end;
  justify-self: end;
  text-align: right;
}

.modal-project-nav-arrow {
  flex: 0 0 auto;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--muted);
}

.modal-project-nav-name {
  font-family: var(--display);
  font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.35rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-project-nav-btn:hover,
.modal-project-nav-btn:focus-visible {
  opacity: 0.72;
}

.modal-meta-label {
  margin: 0 0 0.45rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-meta-value {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
}

.modal-section {
  padding-top: 1.6rem;
}

#project-modal #modal-concept-section .modal-section-label {
  margin-bottom: 1rem;
}

#project-modal #modal-concept-section .modal-copy {
  padding-bottom: 0.25rem;
}

.modal-section-label {
  margin: 0 0 0.8rem;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-copy {
  margin: 0;
  max-width: 42rem;
  font-size: var(--text-body-sm);
  line-height: var(--leading-body);
  color: var(--muted);
}

.modal-notes {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 2rem;
}

.modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.modal-list li {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.modal-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.press-kit-lead {
  max-width: 36rem;
}

.press-kit-page .press-kit-detail .modal-layout,
.press-kit-page .press-kit-detail .modal-content {
  display: block;
  max-width: none;
  margin: 0;
  overflow: visible;
}

.press-kit-page .press-kit-detail .modal-intro {
  padding: 0;
}

.press-kit-page .press-kit-detail .modal-body {
  overflow: visible;
  padding: 0 0 3rem;
}

.press-kit-page .press-kit-detail .modal-title {
  max-width: none;
  margin: 1rem 0 1rem;
}

.press-kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.press-kit-item {
  display: grid;
  gap: 0.9rem;
}

.press-kit-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 1.25rem;
  background: rgba(235, 229, 220, 0.55);
  border: 1px solid var(--line);
}

.press-kit-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.press-kit-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.press-kit-name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
}

.press-kit-download {
  flex: 0 0 auto;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(22, 21, 19, 0.72);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.35rem;
  transition: color 180ms ease, transform 180ms ease;
}

.press-kit-download:hover,
.press-kit-download:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  :root {
    --modal-inset-inline: 3vw;
  }

  .hero-copy {
    grid-column: 1 / -1;
    padding: 0 0 1.1rem;
    text-align: left;
  }

  .about-grid,
  .profile-grid,
  .section-shell {
    grid-template-columns: 1fr;
  }

  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  /* Flatten so lead / masonry / tail can reorder on mobile */
  .about-copy {
    display: contents;
  }

  .about-copy-lead {
    order: 1;
  }

  .about-masonry {
    order: 2;
    height: auto;
  }

  .about-copy-tail {
    order: 3;
  }

  /* Match paragraph spacing; avoid stacking section-body margin on flex gap */
  .about-copy-tail .section-body:first-child {
    margin-top: 0;
  }

  .about-tile {
    flex: none;
  }

  .about-tile img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-body {
    padding-top: 18px;
  }

  .work-kicker {
    margin-bottom: 10px;
  }

  .work-title {
    margin-bottom: 14px;
    font-size: clamp(28px, 8.25vw, 39px);
  }

  .other-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
  }

  .other-copy {
    padding: 0;
    align-self: center;
  }

  .other-deeper--inline {
    display: none;
  }

  .other-deeper--stack {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.3rem;
    font-size: 0.62rem;
    gap: 0.28rem;
    justify-content: flex-end;
  }

  .other-deeper--stack .project-action-label {
    font-size: 0.48rem;
    letter-spacing: 0.1em;
  }

  .other-meta {
    margin-top: 0.35rem;
    gap: 0.45rem 0.8rem;
  }

  .other-visual {
    align-self: center;
  }

  .other-cover {
    width: min(300px, 42vw);
    margin: 0;
  }

  .footer-logo-img {
    width: min(28vw, 120px);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
  }

  .footer-brand {
    justify-items: center;
    max-width: min(28rem, 100%);
    text-align: center;
  }

  .footer-intro {
    max-width: min(28rem, 100%);
  }

  .footer-contact {
    justify-items: center;
    text-align: center;
  }

  .footer-email {
    /* Fit the address on one line at phone widths without widening the page */
    font-size: clamp(1.35rem, 7.8vw, 2.2rem);
  }

  .footer-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    text-align: center;
    gap: 1.4rem 1.5rem;
  }

  .footer-detail-links {
    justify-items: center;
  }

  #project-modal .modal-panel,
  #press-kit-modal .modal-panel {
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
  }

  #project-modal .modal-panel {
    --modal-mobile-nav-block: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  #project-modal .modal-topbar,
  #press-kit-modal .modal-topbar {
    position: relative;
    top: auto;
    flex: 0 0 auto;
    padding: 0.75rem 0.85rem 0.6rem;
    border-bottom: 0;
  }

  #project-modal .modal-brand img,
  #press-kit-modal .modal-brand img {
    width: clamp(32px, 2.25rem, 40px);
  }

  #project-modal .modal-layout,
  #press-kit-modal .modal-layout {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #project-modal .modal-layout {
    padding-bottom: var(--modal-mobile-nav-block);
  }

  #project-modal .modal-panel:has(.modal-project-nav--mobile.is-hidden) .modal-layout {
    padding-bottom: 1.5rem;
  }

  #press-kit-modal .modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "body";
  }

  #project-modal .modal-content {
    display: flex;
    flex-direction: column;
    min-height: min-content;
    height: auto;
    overflow: visible;
  }

  #project-modal .modal-detail {
    display: contents;
  }

  #project-modal .modal-detail-scroll {
    display: contents;
  }

  #project-modal .modal-intro {
    order: 1;
    flex: 0 0 auto;
    padding: 1.1rem 1.25rem 0;
    padding-bottom: 0;
  }

  #project-modal .modal-visual {
    display: contents;
  }

  #project-modal .modal-media-hero {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
  }

  #project-modal .modal-body {
    order: 3;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 0;
  }

  #project-modal .modal-media-rest {
    order: 4;
    flex: 0 0 auto;
    width: 100%;
    padding-top: clamp(0.65rem, 2.5vw, 0.85rem);
  }

  #press-kit-modal .modal-content {
    display: contents;
  }

  #press-kit-modal .modal-intro {
    grid-area: intro;
    padding: 1.1rem 1.25rem 0;
  }

  #project-modal .modal-intro:not(:has(.modal-description:not(.is-empty))) {
    padding-bottom: 1.15rem;
  }

  #project-modal .modal-description:not(.is-empty) {
    margin: 0.95rem 0 0;
    margin-bottom: 1.15rem;
  }

  #project-modal .modal-media-stack {
    gap: clamp(0.65rem, 2.5vw, 0.85rem);
    padding-bottom: 0;
  }

  #project-modal .modal-media-stack-item--columns {
    gap: clamp(0.65rem, 2.5vw, 0.85rem);
  }

  #project-modal .modal-media-stack-item--caption {
    padding: 1.35rem var(--gutter) 1.15rem;
  }

  #project-modal .modal-notes {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  #project-modal .modal-meta {
    flex: 0 0 auto;
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.45rem, 2vw, 0.7rem);
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  #project-modal .modal-meta-label {
    margin-bottom: 0.3rem;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  #project-modal .modal-meta-value {
    font-size: clamp(0.82rem, 0.76rem + 0.45vw, 0.95rem);
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  #project-modal #modal-concept-section {
    flex: 0 0 auto;
    padding: 1.35rem 1.25rem 0;
  }

  #project-modal .modal-meta:not(.is-empty) + #modal-concept-section:not(.is-empty) {
    padding: 1.35rem 1.25rem 0;
    border-top: 0;
  }

  #project-modal .modal-meta.is-empty + #modal-concept-section:not(.is-empty) {
    padding-top: 1.35rem;
    border-top: 1px solid var(--line);
  }

  #project-modal #modal-deliverables-section {
    flex: 0 0 auto;
    padding: 1.35rem 1.25rem 0;
  }

  #project-modal #modal-notes-block {
    flex: 0 0 auto;
    padding: 1.35rem 1.25rem 1.5rem;
  }

  #project-modal #modal-deliverables-section:not(.is-empty) + #modal-notes-block:not(.is-empty) {
    padding-top: 1.35rem;
  }

  #project-modal #modal-deliverables-section:not(.is-empty):has(+ #modal-notes-block.is-empty) {
    padding-bottom: 1.35rem;
  }

  #project-modal .modal-list {
    gap: 0.7rem;
  }

  #project-modal .modal-list li {
    padding-bottom: 0.7rem;
  }

  #project-modal .modal-links:not(.is-empty) {
    flex: 0 0 auto;
    margin-top: 0;
    padding: 1.35rem 1.25rem 1.6rem;
  }

  #project-modal .modal-links .modal-section-label {
    margin-bottom: 0.9rem;
  }

  #project-modal .modal-links-list {
    gap: 0.85rem;
  }

  #project-modal .modal-links-row {
    font-size: 0.7rem;
    line-height: 1.55;
  }

  #project-modal .modal-disclaimer {
    margin-top: 1.1rem;
  }

  #press-kit-modal .modal-body {
    grid-area: body;
    order: unset;
    flex: none;
    min-height: 0;
    overflow: visible;
    padding: 0 1.25rem 1.75rem;
  }

  #project-modal .modal-project-nav--desktop {
    display: none;
  }

  #project-modal .modal-project-nav--mobile {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    margin-top: 0;
    padding: 0.9rem 1.1rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: rgba(247, 244, 238, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -10px 28px rgba(8, 7, 6, 0.06);
  }

  #project-modal .modal-project-nav--mobile.is-hidden {
    display: none;
  }

  #project-modal .modal-project-nav--mobile .modal-project-nav-btn {
    gap: 0.45rem;
    min-width: 0;
  }

  #project-modal .modal-project-nav--mobile .modal-project-nav-name {
    font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.1rem);
  }

  #project-modal .modal-title {
    max-width: 14ch;
    line-height: 1.08;
    margin: 0.85rem 0 0;
  }

  #project-modal .modal-intro:not(:has(.modal-description:not(.is-empty))) .modal-title {
    margin-bottom: 0;
  }

  #press-kit-modal .modal-title {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --modal-inset-inline: clamp(0.65rem, 3.5vw, 1rem);
  }

  .footer-bottomline {
    margin-top: 2.75rem;
    letter-spacing: 0.18em;
  }

  #project-modal .modal-panel,
  #press-kit-modal .modal-panel {
    border-radius: 1rem;
  }

  #project-modal .modal-meta {
    gap: 0.4rem;
    padding: 0.85rem 1.1rem;
  }

  #project-modal .modal-meta-label {
    font-size: 0.54rem;
    letter-spacing: 0.14em;
  }

  #project-modal .modal-meta-value {
    font-size: clamp(0.76rem, 0.72rem + 0.4vw, 0.86rem);
    line-height: 1.24;
  }

  #project-modal .modal-media-stack {
    gap: 0.65rem;
  }
}

@media (max-width: 640px) {
  .site-nav {
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem var(--gutter);
  }

  .site-nav-links {
    display: none;
  }

  .site-brand,
  .nav-toggle {
    display: inline-flex;
  }

  .site-brand-img {
    height: 46px;
  }

  .hero {
    padding-top: 8.4rem;
  }

  .hero-title {
    font-size: clamp(2.53rem, 9.5vw, 3.88rem);
    line-height: 0.94;
    max-width: 22ch;
  }

  .hero-sectors {
    margin-top: 1.25rem;
    letter-spacing: 0.18em;
  }

  .hero-intro {
    margin-top: 1.25rem;
    font-size: clamp(0.88rem, 0.84rem + 0.35vw, 0.96rem);
    line-height: 1.72;
  }

  .hero-logo {
    display: none;
  }

  .about-masonry {
    gap: 0.65rem;
  }

  .footer-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modal-notes {
    grid-template-columns: 1fr;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .work-card:has(.work-card-hit:active) {
    transform: none !important;
  }

  .work-card:has(.work-card-hit:hover) .work-media-main img,
  .work-card:has(.work-card-hit:focus-visible) .work-media-main img,
  .work-card:has(.work-card-hit:hover) .work-media-main video,
  .work-card:has(.work-card-hit:focus-visible) .work-media-main video,
  .work-card:has(.work-card-hit:hover) .project-action-arrow,
  .work-card:has(.work-card-hit:focus-visible) .project-action-arrow,
  .other-row:has(.other-row-hit:hover) .project-action-arrow,
  .other-row:has(.other-row-hit:focus-visible) .project-action-arrow,
  .other-row:has(.other-row-hit:hover) .other-cover img,
  .other-row:has(.other-row-hit:focus-visible) .other-cover img,
  .other-row:has(.other-row-hit:hover) .other-cover video,
  .other-row:has(.other-row-hit:focus-visible) .other-cover video {
    transform: none !important;
  }
}

/* Static work pages (/works/[slug]) — site chrome + modal content structure */
html:has(body.work-page) {
  background: var(--cream);
  overflow-x: clip;
}

body.work-page {
  --work-sticky-top: 6.75rem;
  background: var(--cream);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body.work-page .site-nav::before {
  background: linear-gradient(
    to bottom,
    rgba(245, 241, 234, 0.96) 0%,
    rgba(245, 241, 234, 0.82) 35%,
    rgba(245, 241, 234, 0.4) 70%,
    rgba(245, 241, 234, 0) 100%
  );
  height: 6.5rem;
}

body.work-page.is-scrolled .site-nav::before {
  height: 7.5rem;
  background: linear-gradient(
    to bottom,
    rgba(245, 241, 234, 0.98) 0%,
    rgba(245, 241, 234, 0.9) 40%,
    rgba(245, 241, 234, 0.45) 75%,
    rgba(245, 241, 234, 0) 100%
  );
}

body.work-page .site-nav-links a {
  color: rgba(22, 21, 19, 0.72);
}

body.work-page .site-nav-links a:hover,
body.work-page .site-nav-links a:focus-visible {
  color: var(--ink);
}

/*
 * Shared desktop header mark:
 * - work pages: always visible
 * - homepage: after scrolling past half the hero (body.is-hero-halfway)
 */
@media (min-width: 641px) {
  body.work-page .site-brand,
  body.home .site-brand {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex !important;
    z-index: 1;
  }

  /* Homepage: align with section-shell / --content-max */
  body.home .site-brand {
    left: max(var(--gutter), calc((100vw - var(--content-max)) / 2));
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  /* Work pages: align with work-main-inner (92rem column + gutter) */
  body.work-page .site-brand {
    left: max(var(--gutter), calc((100vw - min(100vw, 92rem)) / 2 + var(--gutter)));
  }

  body.home.is-hero-halfway .site-brand {
    opacity: 1;
    pointer-events: auto;
  }

  body.work-page .site-brand-img,
  body.home .site-brand-img {
    height: 2.65rem;
    width: auto;
    opacity: 0.92;
  }
}

body.work-page .site-brand-img {
  opacity: 0.92;
}

@media (max-width: 640px) {
  body.work-page .site-brand-img {
    height: 2.65rem;
  }
}

body.work-page .nav-toggle-lines,
body.work-page .nav-toggle-lines::before,
body.work-page .nav-toggle-lines::after {
  background: rgba(22, 21, 19, 0.72);
}

body.work-page .site-nav.is-open {
  background: rgba(245, 241, 234, 0.98);
}

body.work-page .site-nav.is-open .mobile-nav {
  background: rgba(245, 241, 234, 0.98);
}

body.work-page .mobile-nav a {
  color: rgba(22, 21, 19, 0.78);
}

body.work-page .mobile-nav a:hover,
body.work-page .mobile-nav a:focus-visible {
  color: var(--ink);
}

.work-main {
  padding: var(--work-sticky-top) 0 0;
}

.work-main-inner {
  width: min(100%, 92rem);
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
}

.work-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: opacity 180ms ease, color 180ms ease;
}

.work-back-arrow {
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.work-back:hover,
.work-back:focus-visible {
  color: var(--ink);
  opacity: 0.85;
}

.project-view {
  background: var(--cream);
  min-width: 0;
  max-width: 100%;
}

.project-view .modal-layout {
  display: block;
  min-width: 0;
  max-width: 100%;
}

.project-view .modal-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
}

.project-view.is-media-empty .modal-content {
  grid-template-columns: 1fr;
  grid-template-areas: "detail";
}

.project-view.is-media-empty .modal-visual,
.project-view.is-media-empty .modal-media-hero,
.project-view.is-media-empty .modal-media-rest {
  display: none;
}

.project-view .modal-visual {
  grid-area: visual;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.project-view .modal-detail {
  grid-area: detail;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.project-view .modal-intro {
  padding: 0;
}

.project-view .modal-body {
  overflow: visible;
  padding: 0;
}

/* Desktop: two columns + sticky text while images scroll (Humaan-style) */
@media (min-width: 981px) {
  .project-view .modal-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    grid-template-areas: "visual detail";
    align-items: start;
  }

  .project-view .modal-visual {
    grid-area: visual;
  }

  .project-view .modal-detail {
    grid-area: detail;
  }

  /* --sticky-top set in JS (top-stick if fits, else bottom-pin after 1:1 scroll) */
  .project-view:not(.is-media-empty) .modal-visual,
  .project-view:not(.is-media-empty) .modal-detail {
    position: sticky;
    top: var(--sticky-top, var(--work-sticky-top));
    align-self: start;
  }

  .project-view:not(.is-media-empty) .modal-detail-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
  }

  /* Match #project-modal text-column padding */
  .project-view .modal-intro {
    padding: 2.25rem 3.25rem 0;
  }

  .project-view .modal-body {
    padding: 0 3.25rem 1.5rem;
  }
}

.project-view .modal-title {
  max-width: 12ch;
  line-height: 1.08;
  margin: 1rem 0 0;
}

.project-view .modal-intro:not(:has(.modal-description:not(.is-empty))) .modal-title {
  margin-bottom: 1.75rem;
}

.project-view .modal-notes:not(.is-empty) {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 1.35rem;
}

.project-view .modal-intro + .modal-body {
  padding-top: 0;
}

.project-view .modal-body > .modal-section {
  padding-top: 1.35rem;
}

.project-view .modal-meta:not(.is-empty) + .modal-section:not(.is-empty) {
  padding-top: 0;
}

.project-view .modal-meta:not(.is-empty) + #modal-concept-section:not(.is-empty) {
  padding-top: 1.5rem;
}

.project-view .modal-links:not(.is-empty) {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.project-view .modal-project-nav--desktop {
  margin-top: 0;
}

.project-view .modal-project-nav--mobile {
  display: none;
}

.project-view .modal-project-nav-btn {
  text-decoration: none;
  color: inherit;
}

.project-view .modal-project-nav-btn.is-disabled {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 980px) {
  body.work-page {
    --work-sticky-top: 5.5rem;
  }

  .work-main {
    padding-top: var(--work-sticky-top);
  }

  .project-view .modal-content {
    display: flex;
    flex-direction: column;
  }

  .project-view .modal-detail,
  .project-view .modal-detail-scroll,
  .project-view .modal-visual {
    display: contents;
  }

  .project-view .modal-intro {
    order: 1;
    padding: 0.35rem 0 0;
  }

  .project-view .modal-media-hero {
    order: 2;
    width: 100%;
  }

  .project-view .modal-body {
    order: 3;
    padding: 0;
  }

  .project-view .modal-media-rest {
    order: 4;
    width: 100%;
    padding-top: clamp(0.65rem, 2.5vw, 0.85rem);
  }

  .project-view .modal-project-nav--desktop {
    display: none;
  }

  .project-view .modal-project-nav--mobile {
    display: grid;
    order: 5;
    position: static;
    margin-top: 0;
    padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .project-view .modal-title {
    max-width: 14ch;
    margin: 0.85rem 0 0;
  }

  .project-view .modal-description:not(.is-empty) {
    margin: 0.95rem 0 1.15rem;
  }

  .project-view .modal-meta {
    margin: 0;
    gap: clamp(0.45rem, 2vw, 0.7rem);
    padding: 1rem 0;
  }

  .project-view #modal-concept-section {
    padding: 1.35rem 0 0;
  }

  .project-view #modal-deliverables-section {
    padding: 1.35rem 0 0;
  }

  .project-view #modal-notes-block {
    padding: 1.35rem 0 1.5rem;
  }

  .project-view #modal-deliverables-section:not(.is-empty):has(+ #modal-notes-block.is-empty) {
    padding-bottom: 1.35rem;
  }

  .project-view .modal-notes:not(.is-empty) {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .project-view .modal-list {
    gap: 0.7rem;
  }

  .project-view .modal-list li {
    padding-bottom: 0.7rem;
  }

  .project-view .modal-links:not(.is-empty) {
    margin: 0;
    padding: 1.35rem 0 1.6rem;
  }

  .project-view .modal-links .modal-section-label {
    margin-bottom: 0.9rem;
  }

  .project-view .modal-links-list {
    gap: 0.85rem;
  }

  .project-view .modal-disclaimer {
    margin-top: 1.1rem;
  }

  .project-view .modal-media-stack-item--caption {
    padding: 1.35rem var(--gutter) 1.15rem;
  }
}

/* Legacy crawlable stub (kept for safety; pages now render real content) */
.seo-project {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.seo-project[hidden] {
  display: none;
}

/* —— Error pages (404 / 500) —— */
.error-main {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 18rem);
}

.error-main .work-main-inner {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  padding-block: clamp(3rem, 10vh, 7rem) clamp(4rem, 12vh, 8rem);
}

.error-status {
  max-width: 28rem;
}

.error-code {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--muted);
}

.error-title {
  margin: 1.1rem 0 0;
  font-family: var(--display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
}

.error-message {
  margin: 1.35rem 0 0;
  max-width: 34ch;
  font-family: var(--sans);
  font-size: var(--text-body);
  font-weight: 300;
  line-height: var(--leading-body);
  color: rgba(22, 21, 19, 0.72);
  text-wrap: pretty;
}

.error-back {
  margin-top: 2.25rem;
  margin-bottom: 0;
}
