@font-face {
  font-family: "Inter Local";
  src: url("assets/optimized/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@view-transition {
  navigation: auto;
}

@font-face {
  font-family: "Inter Local";
  src: url("assets/optimized/inter-italic-variable.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --accent: #ffb521;
  --ink: #111111;
  --muted: #a7a7a7;
  --page-pad: clamp(22px, 3.15vw, 54px);
  font-family: "Inter Local", Inter, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
}

html:has(body.home-page) {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}

body.home-page {
  height: 100%;
  overflow: hidden;
}

.home-page .site-shell {
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}

html:not(.i18n-ready) [data-i18n],
html:not(.i18n-ready) [data-i18n-html] {
  visibility: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  min-height: 100svh;
  padding: 27vh var(--page-pad) 7vh;
}

.top-bar {
  position: absolute;
  top: 4.5vh;
  left: 12.8vw;
  right: 12.8vw;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  view-transition-name: persistent-top-bar;
}

.top-logo {
  display: block;
  width: 20vw;
  min-width: 300px;
  max-width: 420px;
}

.top-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  height: 14px;
}

.language-option {
  display: grid;
  width: 18px;
  height: 14px;
  padding: 0;
  border: 0;
  place-items: center;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 180ms ease;
}

.language-option:hover,
.language-option:focus-visible {
  color: var(--accent);
}

.language-option.is-active {
  color: var(--ink);
}

html:not(.i18n-ready) .language-option.is-active {
  color: var(--muted);
}

html:not(.i18n-ready)[data-initial-language="es"] .language-option[data-language="es"],
html:not(.i18n-ready)[data-initial-language="ca"] .language-option[data-language="ca"],
html:not(.i18n-ready)[data-initial-language="en"] .language-option[data-language="en"] {
  color: var(--ink);
}

.language-option:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  top: 12.5vh;
  left: 12.8vw;
  z-index: 10;
  view-transition-name: persistent-navigation;
}

::view-transition-old(persistent-top-bar),
::view-transition-old(persistent-navigation) {
  display: none;
}

::view-transition-group(persistent-top-bar),
::view-transition-group(persistent-navigation),
::view-transition-new(persistent-top-bar),
::view-transition-new(persistent-navigation) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  animation: page-out 140ms ease both;
}

::view-transition-new(root) {
  animation: page-in 220ms ease both;
}

@keyframes page-out {
  to {
    opacity: 0;
  }
}

@keyframes page-in {
  from {
    opacity: 0;
  }
}

.main-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.nav-link {
  color: var(--muted);
  font-size: clamp(13px, 0.75vw, 16px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--accent);
}

.nav-link:focus-visible,
.top-logo:focus-visible,
.slide:focus-visible,
.legacy-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.home-main {
  width: min(48vw, 980px);
  min-width: 0;
  margin: 0 auto;
}

.featured {
  width: 100%;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  background: #eeeeec;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
}

.slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.slide.is-active.is-entering {
  animation: slide-in-from-right 1300ms cubic-bezier(0.65, 0, 0.35, 1);
}

.slide.is-exiting {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translateX(-100%);
  animation: slide-out-to-left 1300ms cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes slide-in-from-right {
  from {
    opacity: 0.65;
    transform: translateX(100%);
  }

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

@keyframes slide-out-to-left {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0.65;
    transform: translateX(-100%);
  }
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide:hover img {
  transform: scale(1.012);
}

.studio-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 0 12.5%;
  color: var(--muted);
  font-size: clamp(13px, 0.75vw, 16px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.studio-meta time {
  font-variant-numeric: tabular-nums;
}

.home-footer {
  display: flex;
  justify-content: center;
  padding-top: clamp(28px, 3.5vh, 42px);
  text-align: center;
}

.legacy-link {
  color: #3b3b3b;
  font-size: clamp(11px, 0.65vw, 13px);
  font-weight: 300;
  transition: color 180ms ease;
}

.legacy-link:hover {
  color: var(--accent);
}

.projects-shell {
  padding: max(250px, 27vh) 12.8vw 8vh;
}

.project-detail-shell {
  padding: 27vh 12.8vw 9vh;
}

.project-detail {
  width: min(54vw, 880px);
  margin: 0 auto;
}

.project-detail:empty {
  min-height: 55vh;
}

.project-detail-header {
  margin-bottom: clamp(28px, 4vh, 48px);
}

.project-detail-header h1 {
  margin: 0;
  font-size: clamp(22px, 1.55vw, 30px);
  font-weight: 500;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  align-content: start;
  gap: clamp(20px, 2.6vw, 34px);
  margin: 0;
  color: #777;
  font-size: clamp(12px, 0.8vw, 15px);
}

.project-meta-item {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.project-meta dt {
  color: #242424;
  font-weight: 600;
  text-transform: lowercase;
}

.project-meta dd {
  min-width: 0;
  margin: 0;
  color: #777;
  overflow-wrap: anywhere;
}

.project-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: transparent;
}

.project-media-frame {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.project-media-frame > img,
.project-media-frame > video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(74vh, 760px);
  object-fit: contain;
  background: transparent;
  image-rendering: auto;
}

.project-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0 0 4px;
  border: 0;
  place-items: center;
  color: #8a8a8a;
  background: transparent;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 180ms ease, opacity 180ms ease;
}

.project-arrow:hover,
.project-arrow:focus-visible {
  color: #5f5f5f;
  background: transparent;
}

.project-arrow.is-previous { left: 22px; }
.project-arrow.is-next { right: 22px; }

.project-carousel-counter {
  position: absolute;
  right: 16px;
  bottom: 12px;
  padding: 4px 7px;
  color: #fff;
  background: rgb(20 20 20 / 42%);
  font-size: 10px;
}

.project-carousel-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  color: #999;
  font-size: 13px;
  transform: translate(-50%, -50%);
}

.project-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-top: 14px;
  font-size: clamp(12px, 0.8vw, 15px);
}

.project-caption-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.project-caption-dot {
  padding: 0;
  border: 0;
  background: none;
  color: #c2c2c2;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease;
}

.project-caption-dot:hover {
  color: #777;
}

.project-caption-dot.is-active {
  color: #242424;
  font-weight: 600;
}

.project-caption-name {
  color: #777;
  overflow-wrap: anywhere;
}

.project-information {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4.5vh, 52px);
  margin-top: clamp(28px, 4vh, 48px);
}

.project-information > * {
  min-width: 0;
}

.project-information > * + * {
  border-top: 1px solid #ececec;
  padding-top: clamp(26px, 4vh, 44px);
}

.project-memory h2 {
  margin: 0 0 12px;
  color: #242424;
  font-size: clamp(12px, 0.8vw, 15px);
  font-weight: 600;
  text-transform: lowercase;
}

.project-memory p {
  margin: 0;
  color: #6f6f6f;
  font-size: clamp(13px, 0.9vw, 17px);
  line-height: 1.55;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-line;
}

.project-back {
  display: inline-block;
  margin-top: 52px;
  color: #777;
  font-size: 13px;
  text-transform: lowercase;
}

.project-back:hover {
  color: var(--accent);
}

.project-detail-loading {
  color: #888;
  font-size: 14px;
}

.projects-main {
  width: 100%;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, clamp(155px, 10vw, 200px));
  justify-content: space-between;
  gap: 34px;
  width: 100%;
  transition: opacity 0.35s ease;
}

/* Oculta la rejilla mientras Firebase carga los proyectos, para no mostrar
   el orden inicial del HTML antes de aplicar el orden real. */
html.projects-loading .projects-grid {
  opacity: 0;
}

.project-category h1,
.project-category h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(13px, 0.8vw, 16px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-align: center;
  text-transform: lowercase;
  white-space: nowrap;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7.5vh, 76px);
  margin-top: 28px;
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #efefed;
}

.project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 350ms ease;
}

.project-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgb(235 235 233 / 0%);
  transition: background-color 400ms ease;
}

.project-name {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: calc(100% - 30px);
  color: var(--ink);
  font-size: clamp(12px, 0.75vw, 15px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-align: center;
  text-transform: lowercase;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 8px));
  transition: opacity 350ms ease, transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover img,
.project-card:focus-visible img {
  opacity: 0;
}

.project-card:hover::after,
.project-card:focus-visible::after {
  background: rgb(235 235 233 / 100%);
}

.project-card:hover .project-name,
.project-card:focus-visible .project-name {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.project-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.project-card.has-no-image::after {
  background: rgb(235 235 233 / 100%);
}

.project-card.has-no-image:hover::after,
.project-card.has-no-image:focus-visible::after {
  background: rgb(235 235 233 / 100%);
}

.studio-shell {
  padding: 22vh 12.8vw 7vh;
}

.studio-main {
  width: 100%;
}

.studio-photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(360px, 53vh, 610px);
  margin: 0;
  background: #ffffff;
}

.studio-photo-placeholder[hidden] {
  display: none;
}

.studio-photo-placeholder[hidden] + .studio-copy {
  margin-top: clamp(72px, 10vh, 120px);
}

.studio-photo-placeholder span {
  color: #000000;
  font-size: clamp(42px, 4.8vw, 74px);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.studio-photo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-copy {
  margin: 34px auto 0;
  color: #777777;
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  text-align: center;
}

.studio-copy p {
  margin: 0;
}

.studio-copy a {
  color: var(--accent);
  transition: color 180ms ease;
}

.studio-copy a:hover,
.studio-copy a:focus-visible {
  color: #d89200;
}

.studio-copy a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.studio-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(70px, 9vw, 180px);
  margin-top: clamp(72px, 10vh, 120px);
}

.archive-column h1,
.archive-column h2 {
  margin: 0 0 28px;
  color: #292929;
  font-size: clamp(20px, 1.5vw, 29px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.archive-scroll {
  height: clamp(330px, 43vh, 470px);
  padding-right: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  color: #747474;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
  transition: -webkit-mask-image 250ms ease, mask-image 250ms ease;
}

.archive-scroll::-webkit-scrollbar {
  display: none;
}

.archive-scroll.is-at-end {
  -webkit-mask-image: none;
  mask-image: none;
}

.archive-scroll:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 5px;
}

.archive-entry {
  margin-bottom: 9px;
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.archive-year {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  line-height: 1.1;
}

.team-shell {
  padding: 31vh 12.8vw 7vh;
}

.contact-shell {
  padding: 31vh 12.8vw 7vh;
}

.contact-main {
  width: 100%;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(180px, 1fr);
  align-items: end;
  gap: clamp(14px, 1.2vw, 24px);
}

.contact-field {
  display: grid;
  gap: 8px;
  color: #777777;
  font-size: clamp(11px, 0.68vw, 14px);
  font-weight: 450;
}

.contact-field input {
  width: 100%;
  height: clamp(42px, 3.1vw, 52px);
  padding: 0 14px;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  outline: none;
  background: #f5f5f5;
  color: var(--ink);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.contact-field input:focus {
  border-color: var(--accent);
  background: #ffffff;
}

.contact-submit {
  height: clamp(42px, 3.1vw, 52px);
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: var(--muted);
  color: #ffffff;
  font-size: clamp(12px, 0.72vw, 15px);
  font-weight: 650;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: #8f8f8f;
  color: #ffffff;
}

.contact-submit:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form-message {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 2px 0 0;
  color: #555555;
  font-size: clamp(11px, 0.72vw, 13px);
}

.contact-form-message.is-success { color: #2f6a3c; }
.contact-form-message.is-error { color: #a21919; }

.contact-details {
  margin-top: clamp(42px, 4.2vw, 72px);
  border-top: 1px solid #333333;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 64%) minmax(0, 36%);
  gap: 24px;
  padding: 11px 0;
  border-bottom: 1px solid #555555;
  color: #222222;
  font-size: clamp(13px, 0.92vw, 18px);
  line-height: 1.3;
}

.contact-row a {
  width: fit-content;
  transition: color 180ms ease;
}

.contact-row a:hover,
.contact-row a:focus-visible {
  color: var(--accent);
}

.team-main {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 4.2vw, 86px);
  width: 100%;
}

.team-portrait {
  width: 100%;
  margin: 0;
}

.team-portrait img {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(800px, 62svh);
  object-fit: contain;
}

.team-biography {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: min(800px, 62svh);
  color: #707070;
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.team-biography h1 {
  margin: -0.1em 0 0;
  color: #303030;
  font-size: clamp(20px, 1.5vw, 29px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.team-biography p {
  margin: 0;
}

.team-biography p:last-child {
  margin-bottom: 0;
}

.team-details {
  margin-top: clamp(64px, 9vh, 105px);
  color: #707070;
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.managed-team {
  display: grid;
  gap: clamp(64px, 8vw, 130px);
}

.managed-team:empty {
  display: none;
}

.team-page:not(.team-content-ready) .team-main,
.team-page:not(.team-content-ready) .managed-team,
.team-page:not(.team-content-ready) .team-details {
  visibility: hidden;
}

.managed-person {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: stretch;
  font-family: inherit;
}

.managed-person img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.managed-person h1 {
  margin: 0 0 12px;
  color: #303030;
  font-family: inherit;
  font-size: clamp(20px, 1.5vw, 29px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.managed-person h1.is-yellow {
  color: var(--accent);
}

.managed-person h1 + p {
  margin-top: 28px;
}

.managed-person h2 {
  margin: 0 0 28px;
  color: #707070;
  font-family: inherit;
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.managed-person p {
  margin: 0;
  color: #707070;
  font-family: inherit;
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.015em;
  white-space: pre-line;
}

.team-details h2 {
  margin: 0;
  color: #303030;
  font-size: clamp(20px, 1.5vw, 29px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.career-block p {
  margin: 26px 0 0;
  white-space: pre-line;
}

.career-block em {
  font-style: italic;
}

.team-roster-row {
  display: grid;
  grid-template-columns: minmax(280px, 29%) minmax(0, 1fr);
  gap: clamp(50px, 6vw, 120px);
  margin-top: clamp(70px, 10vh, 115px);
}

.team-roster-row p {
  margin: 0;
}

.internal-collaborators span {
  color: var(--accent);
}

.external-collaborators {
  margin: 0;
  padding: 0;
  list-style: none;
}

.external-collaborators li {
  margin-bottom: 6px;
}

.archive-entry p {
  margin: 0;
}

@media (max-width: 1250px) {
  .projects-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    row-gap: clamp(48px, 6vh, 68px);
  }

  .project-category h1,
  .project-category h2 {
    text-align: left;
    white-space: normal;
  }

  .project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 22px;
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 195px 20px 32px;
  }

  .top-bar {
    top: 32px;
    left: 20px;
    right: 20px;
  }

  .top-logo {
    width: min(60vw, 360px);
    min-width: 0;
  }

  .language-switcher {
    gap: 8px;
  }

  .site-header {
    top: 95px;
    left: 20px;
  }

  .main-nav {
    gap: 2px;
  }

  .nav-link {
    font-size: 13px;
  }

  .home-main {
    width: 100%;
  }

  .studio-meta {
    padding: 0;
    font-size: 13px;
  }

  .home-footer {
    padding: 30px 0 18px;
  }

  .projects-shell {
    padding: 215px 20px 48px;
  }

  .project-detail-shell {
    padding: 195px 20px 48px;
  }

  .project-detail-header {
    margin-bottom: 24px;
  }

  .project-detail {
    width: 100%;
  }

  .project-information {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .project-arrow { width: 38px; height: 38px; font-size: 28px; }
  .project-arrow.is-previous { left: 10px; }
  .project-arrow.is-next { right: 10px; }

  .studio-shell {
    padding: 195px 20px 48px;
  }

  .team-shell {
    padding: 195px 20px 48px;
  }

  .contact-shell {
    padding: 195px 20px 48px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-submit {
    margin-top: 2px;
  }

  .contact-details {
    margin-top: 44px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 0;
  }

  .team-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .managed-person {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .managed-person img {
    height: auto;
  }

  .team-portrait img {
    width: 100%;
    height: auto;
  }

  .team-biography {
    display: block;
    height: auto;
    font-size: 13px;
    line-height: 1.45;
  }

  .team-biography h1 {
    margin-top: 0;
    margin-bottom: 22px;
    font-size: 23px;
  }

  .team-biography p {
    margin-bottom: 22px;
  }

  .team-details {
    margin-top: 58px;
    font-size: 13px;
    line-height: 1.55;
  }

  .team-details h2 {
    font-size: 21px;
  }

  .career-block p {
    margin-top: 20px;
  }

  .team-roster-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 54px;
  }

  .studio-photo-placeholder {
    min-height: 42vh;
  }

  .studio-photo-placeholder span {
    font-size: clamp(32px, 12vw, 52px);
  }

  .studio-copy {
    margin-top: 28px;
    font-size: 13px;
    text-align: left;
  }

  .studio-archive {
    grid-template-columns: 1fr;
    gap: 58px;
    margin-top: 64px;
  }

  .archive-column h1,
  .archive-column h2 {
    margin-bottom: 22px;
    font-size: 21px;
  }

  .archive-scroll {
    height: 360px;
  }

  .archive-entry {
    font-size: 13px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .project-category h1,
  .project-category h2 {
    font-size: 13px;
  }

  .project-card {
    max-width: 100%;
  }
}

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

  .slide,
  .slide img,
  .nav-link,
  .legacy-link,
  .project-card img,
  .project-card::after,
  .project-name {
    transition: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }

}
