:root {
  --color-black: #000000;
  --color-dark-grey: #6E6E6E;
  --color-light-grey: #999999;
  --bg-white: #ffffff;
  --max-width: 1160px;
  --page-gap: 36px;
  --radius: 0;
  --header-height: 64px;
}

@font-face {
  font-family: 'Avenir Next LT Pro Regular';
  src: url('fonts/avenir/AvenirNextLTPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Next LT Pro';
  src: url('fonts/avenir/AvenirNextLTPro-Demi.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Next LT bold Pro';
  src: url('fonts/avenir/AvenirNextLTPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Next LT UltLt Pro';
  src: url('fonts/avenir/AvenirNextLTPro-UltLt.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica Bold Local';
  src: local('Helvetica Bold'), url('fonts/helvetica-255-webfont/Helvetica-Bold.woff') format('woff');
  font-weight: 700;
}

@font-face {
  font-family: 'Helvetica Local';
  src: local('Helvetica'), url('fonts/helvetica-255-webfont/Helvetica.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica Light Local';
  src: local('Helvetica Light'), url('fonts/helvetica-255-webfont/helvetica-light-587ebe5a59211.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Preserve the current laptop sizing, then scale type gradually on wide displays. */
@media (min-width: 1440px) {
  :root {
    --max-width: clamp(1160px, 80vw, 1682px);
    --header-height: clamp(64px, 4rem, 144px);
  }

  html {
    font-size: clamp(16px, calc(-6px + 1.45vw), 30px);
  }

}

body {
  margin: 0;
  background: var(--bg-white);
  color: var(--color-dark-grey);
  font-family: 'Avenir Next LT Pro Regular', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

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

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.site-shell {
  width: min(100%, calc(var(--max-width) - 40px));
  margin: 0 auto;
  padding: 0 20px;
}

.site-header .site-shell {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  /* border-bottom: 1px solid rgba(0,0,0,0.05); */
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.logo {
  color: var(--color-black);
  text-decoration: none;
  font-family: 'Helvetica Local', system-ui, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0em;
  text-transform: uppercase;
}

.logo-bold {
  font-family: 'Helvetica Bold Local', system-ui, sans-serif;

}

.logo-regular {
  font-family: 'Helvetica Light Local', system-ui, sans-serif;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--color-dark-grey);
  text-decoration: none;
  font-family: 'Avenir Next LT UltLt Pro', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
  font-size: 0.85rem;
  /* text-transform: tit; */
  letter-spacing: 0.16em;
}

.site-nav a.active,
.site-header.nav-open .site-nav a {
  color: var(--color-black);
  font-family: 'Avenir Next LT Regular Pro', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  margin-top: -4px;

}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-black);
}

.hero {
  box-sizing: border-box;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-shell {
  text-align: center;
  width: auto;
  flex: 1;
  display: flex;
  margin: 0 auto;
  padding: 0 20px;
}
.practice-shell{
      width: auto;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-copy {
  --hero-lockup-width: clamp(320px, 39vw, 850px);
  width: 100%;
  display: grid;
  grid-template-rows: auto auto;
  align-content: space-evenly;
  justify-items: center;
}

.hero-title {
  margin: 0;
  color: var(--color-black);
  font-family: 'Helvetica Local', system-ui, sans-serif;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: 0em;
}

.hero-title--animated {
  letter-spacing: 0;
}

.hero-title-stage {
  display: flex;
  justify-content: center;
  width: var(--hero-lockup-width);
  min-height: 3rem;
}

.hero-title-expander {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.08em 0;
  max-width: 100%;
  line-height: 1.22;
  white-space: nowrap;
  animation: dnaTitleScale 8.5s ease-in-out infinite;
}

.hero-space-word {
  letter-spacing: 0em;
  margin-right: 0;
}

.hero-dna-word {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: 0em;
  margin-left: 0;
}

.hero-dna-word>span:first-child {
  animation: dnaLetterWeight 8.5s ease-in-out infinite;
}

.hero-space-word+.hero-dna-word::before {
  content: "\00a0";
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  animation: dnaLeadingSpace 8.5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-dna-tail {
  display: inline-block;
  max-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
  opacity: 0;
  font-family: 'Helvetica Light Local', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: 0em;
  animation: dnaTailReveal 8.5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-subtitle {
  margin: 0px auto 0;
  width: var(--hero-lockup-width);
  font-family: 'Helvetica Light Local', system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.26em;
  margin-left: 4px;
  text-transform: lowercase;
  color: var(--color-light-grey);
}

.principles {
   font-family: 'Avenir Next LT Pro';
  /* font-weight: 500; */
  color: black;
}

.hero-meta {
  margin: 26px auto 0;
  max-width: 720px;
  color: var(--color-dark-grey);
  font-size: 0.98rem;
}

.hero-description {
  margin: 0 auto;
  max-width: 1250px;
  color: var(--color-dark-grey);
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 60px;

  @media screen and (max-width:600px) {
    padding: 0 10px;
    font-size: 0.75rem;
    text-align: justify;

  }

}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  display: flex;
  justify-content: center;
}

.scroll-indicator-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--color-dark-grey);
  animation: float 1.8s ease-in-out infinite;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.scroll-indicator.is-hidden .scroll-indicator-button {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
}

.scroll-indicator-button svg {
  width: 24px;
  height: 24px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes dnaTailReveal {

  0%,
  24% {
    max-width: 0;
    opacity: 0;
  }

  42%,
  68% {
    max-width: var(--tail-width);
    opacity: 1;
  }

  82%,
  100% {
    max-width: 0;
    opacity: 0;
  }
}

@keyframes dnaTitleScale {

  0%,
  24% {
    font-size: 1em;
  }

  42%,
  68% {
    font-size: 0.82em;
  }

  82%,
  100% {
    font-size: 1em;
  }
}

@keyframes dnaLetterWeight {

  0%,
  24%,
  82%,
  100% {
    font-family: 'Helvetica Local', system-ui, sans-serif;
    font-weight: 700;
  }

  42%,
  68% {
    font-family: 'Helvetica Light Local', system-ui, sans-serif;
    font-weight: 400;
  }
}

@keyframes dnaLeadingSpace {

  0%,
  24%,
  82%,
  100% {
    max-width: 0;
    opacity: 0;
  }

  42%,
  68% {
    max-width: 1ch;
    opacity: 1;
  }
}

.section-label,
.project-eyebrow {
  margin: 0 auto 24px;
  color: var(--color-dark-grey);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 180px;
}

.project-card {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: #ffffff;
}

.project-card__image {
  width: 100%;
  height: 100%;
  /* aspect-ratio: 4 / 3; */
  aspect-ratio: auto;

  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card--reveal .project-card__image img {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 700ms ease-out var(--reveal-delay, 0ms),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.project-card--reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #ffffff;
  pointer-events: none;
  opacity: 1;
  transition: opacity 760ms ease-out var(--reveal-delay, 0ms);
}

.project-card--reveal.is-image-ready .project-card__image img {
  opacity: 1;
  transform: translateY(0);
}

.project-card--reveal.is-image-ready::after {
  opacity: 0;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-card__overlay,
.project-card:focus-within .project-card__overlay {
  opacity: 1;
}

.project-card__overlay span {
  color: white;
  font-size: 1rem;
  letter-spacing: 0em;
  /* text-transform: uppercase; */
}

.practice,
.awards,
.publications,
/* .project-hero,
.project-graphics,
.project-gallery, */
.site-footer {
  padding: 80px 0;
  padding-top: 180px;
}

.awards{
  padding-top: 50px;
}

.project-hero{
  padding-top: 100px;
}
.project-gallery{
  padding-top: 24px !important;
}

.project-graphics{
  padding-top: 50px;
}

.practice-copy {
  max-width: 1250px;
  margin: 0 auto;
  color: var(--color-dark-grey);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  padding: 0 60px;

  @media screen and (max-width:600px) {
    padding: 0 10px;
    font-size: 0.75rem;
    text-align: justify;

  }
}

.practice-copy p {
  margin: 0 0 24px;
}

.practice-copy strong {
  font-weight: 600;
  color: var(--color-black);
}

.award-grid, .publications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
 .publications-grid { 
  grid-template-columns: repeat(5, 1fr); 
}

.award-card img {
  width: 100%;
  display: block;
}

.publications-card {
  display: block;
}

.publications-card img {
  width: 100%;
  display: block;
}

.site-footer {
  padding-bottom: 180px;
}

.footer-shell {
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  /* width: min(100%, 540px); */
  text-align: center;
}

.contact-list div {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-dark-grey);
}

.contact-list div:not(:last-child) {
  justify-content: flex-start;
}

.contact-icon {
  display: inline-flex;
  width: 20px;
  min-width: 20px;
  height: 20px;
  color: #bebebe;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-list span {
  /* opacity: 0.85; */
}

.contact-list a {
  color: var(--color-dark-grey);
  /* opacity: 0.85; */

  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  text-decoration: underline;
}


.project-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 4rem);
  line-height: 3;
  letter-spacing: -0.04em;
  text-align: center;
  color: rgb(21, 21, 21)
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 36px auto;
  text-align: center;
      max-width: 1250px;
      
}

.project-meta-grid div {
  display: grid;
  grid-template-rows: max-content max-content;
  align-content: start;
  gap: 8px;
}

.meta-label {
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  /* text-transform: uppercase; */
  color: var(--color-light-grey);
}

.project-meta-grid span:last-child {
  color: var(--color-black);
  font-size: 0.95rem;
}

.project-intro {
  margin: 0 auto;
  font-size: 1rem;
  color: var(--color-dark-grey);
  text-align: center;
  margin-top: 60px;
  line-height: 1.6;
  padding: 0 60px;
      max-width: 1250px;

  @media screen and (max-width:600px) {
    padding: 0 10px;
    font-size: 0.75rem;
    text-align: justify;

  }
}

.project-graphic-stack {
  display: grid;
  gap: 40px;
  margin-top: 24px;
}

.project-graphic-stack img {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin: auto;
}

.gallery-stack {
  display: block;
}

/* Make each gallery item fill the viewport (minus header) so one image is visible per scroll.
   Use box-sizing so padding does not increase overall height. Keep overflow as fallback. */
.gallery-item {
  /* height: calc(100vh - var(--header-height)); */
  /* height: calc(100vh - 78px); */

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
  overflow: auto;

  @media (max-width: 720px) {
    height: auto;
  }
}

.gallery-item img {
  max-width: 600px;
  max-height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;

  @media screen and (max-width:600px) {
    max-width: -webkit-fill-available;
  }
}

.project-detail-image {
  cursor: zoom-in;
}

.project-detail-image:focus-visible {
  outline: 1px solid var(--color-light-grey);
  outline-offset: 6px;
}

.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 72px 120px;
  background: rgb(255, 255, 255);
  /* backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px); */
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__figure {
  margin: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.image-lightbox__image {
  display: block;
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-lightbox__image.is-loaded {
  opacity: 1;
  transform: translateY(0);
}

.image-lightbox__image.is-loaded.is-zoomed {
  cursor: zoom-out;
  transform: translateY(0) scale(1.45);
}

.image-lightbox__close,
.image-lightbox__nav {
  position: fixed;
  z-index: 101;
  width: 56px;
  height: 56px;
  color: var(--color-dark-grey);
}

.image-lightbox__close {
  top: 36px;
  right: 36px;
}

.image-lightbox__close::before,
.image-lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
}

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

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

.image-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.image-lightbox__nav--prev {
  left: 32px;
}

.image-lightbox__nav--next {
  right: 32px;
}

.image-lightbox__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.image-lightbox__nav--prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.image-lightbox__nav--next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.image-lightbox__close:hover,
.image-lightbox__close:focus-visible,
.image-lightbox__nav:hover,
.image-lightbox__nav:focus-visible {
  color: var(--color-black);
}

.image-lightbox__close:focus-visible,
.image-lightbox__nav:focus-visible {
  outline: 1px solid var(--color-light-grey);
  outline-offset: 4px;
}

/* Remove the default section padding for gallery so the gallery-item can exactly match viewport */
.project-gallery {
  padding: 0;
}

.project-actions {
  width: calc(100% - 40px);
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.project-share {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-dark-grey);
  font-family: 'Avenir Next LT UltLt Pro';
  font-size: 0.875rem;
  line-height: 1;
}

.project-share > span {
  display: inline-flex;
  align-items: center;
  height: 20px;
}

.project-share a {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-grey);
  transition: color 160ms ease;
}

.project-share svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.project-share__link--whatsapp:hover,
.project-share__link--whatsapp:focus-visible {
  color: #25d366;
}

.project-share__link--facebook:hover,
.project-share__link--facebook:focus-visible {
  color: #1877f2;
}

.project-share__link--x:hover,
.project-share__link--x:focus-visible {
  color: #000000;
}

.back-link {
  margin-left: auto;
  text-align: right;
  font-size: 0.875rem;

  @media screen and (max-width:600px) {
    font-size: 0.75rem;
  }
}

.back-link a {
  color: var(--color-dark-grey);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Avenir Next LT UltLt Pro';
  @media screen and (max-width:600px) {
    font-size: 0.75rem;
  }
}

/* .back-link a:hover,
.back-link a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--color-light-grey); 
 
  outline-offset: 4px;
} */
.scroll-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-black);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scroll-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 22px;
  height: 22px;
  color: var(--color-dark-grey);
}

.copyright-footer {
  padding: 14px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.copyright-footer p {
  margin: 0;
  font-family: 'Helvetica Light Local', system-ui, sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--color-light-grey);
}

.copyright-footer .year {
  display: inline;
  color: var(--color-light-grey) !important;
}

@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card__overlay {
    inset: auto 0 0;
    background: rgba(0, 0, 0, 0.38);
    opacity: 1;
    padding: 5px 0px 2px 0px;
  }

  .project-card__overlay span {
    color: #ffffff;
    text-align: center;
    font-size: 0.75rem;
  }

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

@media (max-width: 1024px) {
  .award-grid {
    grid-template-columns: repeat(2, 1fr);
  }
    .publications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

p>span {
    font-family: 'Avenir Next LT Pro';
    color: black;
}

@media (prefers-reduced-motion: reduce) {
  .project-card--reveal .project-card__image img {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .project-card--reveal::after {
    opacity: 0;
    transition: none;
  }

  .image-lightbox,
  .image-lightbox__image {
    transition: none;
  }

  .hero-dna-tail {
    animation: none;
    max-width: var(--tail-width);
    opacity: 1;
    transform: none;
  }

  .hero-dna-word {
    margin-left: 0;
  }

  .hero-dna-word>span:first-child {
    animation: none;
    font-family: 'Helvetica Light Local', system-ui, sans-serif;
    font-weight: 400;
  }

  .hero-space-word+.hero-dna-word::before {
    animation: none;
    max-width: 1ch;
    opacity: 1;
  }

  .hero-title-expander {
    animation: none;
    font-size: 0.82em;
  }
}

.project-hero > .site-shell{
  width: auto;
}

.project-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  width: fit-content;
  max-width: min(460px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  color: var(--color-dark-grey);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .project-toast {
    transition: none;
  }
}

@media (min-width: 1400px) {
  .hero-description,
  .practice-copy,
  .project-meta-grid,
  .project-intro {
    max-width: min(78.125rem, calc(100vw - 200px));
  }

  .project-graphic-stack img,
  .gallery-item img,
  .project-actions {
    max-width: clamp(600px, 42vw, 870px);
  }
}

@media (min-width: 2500px) {
  :root {
    --max-width: clamp(1682px, 70vw, 2800px);
  }

  .hero-description,
  .practice-copy,
  .project-meta-grid,
  .project-intro {
    max-width: min(78.125rem, calc(100vw - 200px));
  }

  .project-graphic-stack img,
  .gallery-item img,
  .project-actions {
    max-width: clamp(870px, 35vw, 1250px);
  }
}


@media (max-width: 720px) {
  .award-grid, .publications-grid {
    grid-template-columns: 1fr;
  }

  .header-shell {
    gap: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 18px 0 24px;
    display: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .hero-copy {
    --hero-lockup-width: min(100%, 330px);
  }

  .hero-title {
    font-size: 2.375rem;
  }

  .hero-subtitle {
    font-size: 0.78125rem;
  }

  .hero-title-stage {
    min-height: 3rem;
  }

  .hero-title-expander {
    animation: none;
    gap: 0.08em 0;
    line-height: 1.25;
  }

  .hero-dna-tail,
  .hero-space-word+.hero-dna-word::before {
    animation: none;
    max-width: 0;
    opacity: 0;
  }

  .hero-dna-word>span:first-child {
    animation: none;
    font-family: 'Helvetica Local', system-ui, sans-serif;
    font-weight: 700;
  }

  .hero-space-word,
  .hero-dna-word {
    letter-spacing: 0em;
  }

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

  .project-card {
    min-height: 260px;
  }

  .project-hero h1 {
    font-size: 2rem;
  }

  .project-meta-grid {
    grid-template-columns: 1fr;
  }

  .image-lightbox {
    padding: 72px 28px;
  }

  .image-lightbox__image {
    max-height: calc(100vh - 140px);
  }

  .image-lightbox__close {
    top: 18px;
    right: 18px;
  }

  .image-lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .image-lightbox__nav--prev {
    left: 8px;
  }

  .image-lightbox__nav--next {
    right: 8px;
  }
  .meta-label{
    font-size: 0.85rem;
  }
  .project-meta-grid span:last-child{
    font-size: 0.75rem;
  }
  .copyright-footer p{
    font-size: 0.65rem;
  }
  .publications-card{
    width: 250px;
    margin: 0 auto;
  }
}
