.stage-scroll.enabled .gallery:not(.inspecting) .orbit {
  transform-origin: 50% 43%;
  filter: blur(var(--orbit-haze, 0px));
  transform: translateY(var(--orbit-lift, 0%)) scale(var(--orbit-scale, 1));
}
.studio-team, .studio-contact {
  position: absolute;
  z-index: 1;
  inset: 0 var(--inset) 94px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(16px, 4vh, 40px);
  pointer-events: none;
}
.studio-team h2, .studio-contact h2, #member-name {
  margin: 0;
  font: 640 clamp(2rem, 5.5vw, 5.3rem)/1.04 "Zalando Sans Expanded", Arial, sans-serif;
  letter-spacing: -.065em;
}
.studio-team {
  inset-inline: 0;
  padding-inline: var(--inset);
  transform-origin: 0 0;
  color: #322d37;
}
.studio-team.melting-etch {
  visibility: visible;
  z-index: 3;
  clip-path: url("#team-foil-outline");
  opacity: calc(var(--scene-opacity, 1) * var(--etch-opacity));
}
.studio-team[aria-hidden="false"] :is(h2, .member-card),
.studio-team.melting-etch :is(h2, .member-card) {
  will-change: transform;
}
.studio-team h2, .member-identity strong, .member-caption > [aria-hidden] {
  /* Like the underside wordmark, the bevel is cut inside each glyph. */
  filter: url("#letter-recess");
  color: #29252e;
  opacity: .92;
  text-shadow: none;
}
.studio-team h2 {
  font-weight: 760;
}
.member-grid {
  width: min(1080px, 96%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 26px);
}
.member-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  min-width: 0;
  padding: clamp(7px, .8vw, 12px);
  border: 0;
  border-radius: 7px;
  /* The floor is translucent so the real concentric grain continues across the cut. */
  background: linear-gradient(155deg, #211b263a, #28232e26 62%, #332d361c);
  box-shadow:
    inset 1px 2px 0 #29242e,
    inset 3px 5px 3px #2e28349c,
    inset -1px -1px 0 #c2b8c9,
    inset -2px -3px 1px #958a9d;
  text-align: left;
  pointer-events: auto;
  transition: background-color 180ms ease;
}
.member-card:is(:hover, :focus-visible) {
  background-color: #ded6e110;
}
.member-card:focus-visible { outline: 2px solid #ede5f2; outline-offset: 3px; }
[data-tone="iris"] { --paper: #83788e; --ink: #322938; }
[data-tone="slate"] { --paper: #75858a; --ink: #232f35; }
[data-tone="clay"] { --paper: #92817a; --ink: #3c2e29; }
.member-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  height: min(27vh, 230px);
  border-radius: 5px;
  color: var(--ink);
  text-shadow: 0 1px 0 #eee4f19e, 0 -1px 1px #231c2a;
  box-shadow: inset 1px 2px 5px #2b243171;
  background: repeating-linear-gradient(105deg, transparent 0 2px, #30283812 3px, transparent 4px), var(--paper);
  font: 550 clamp(3rem, 6vw, 6rem)/1 "Zalando Sans Expanded", Arial, sans-serif;
}
.member-photo img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--focus);
}
.member-card .member-photo {
  container-type: size;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  filter: url("#portrait-engraving");
}
.member-bust {
  position: relative;
  width: min(100cqw, 100cqh);
  aspect-ratio: 1;
}
.member-bust img {
  /* Express the square crop in source pixels so the photo and silhouette scale together. */
  inset: auto;
  left: calc(-100% * var(--crop-x) / var(--crop-size));
  top: calc(-100% * var(--crop-y) / var(--crop-size));
  width: calc(100% * var(--source-width) / var(--crop-size));
  height: auto;
  max-width: none;
}
.bust-sahib {
  --source-width: 960; --crop-size: 392; --crop-x: 212; --crop-y: 702;
  filter: brightness(1.16);
  clip-path: url("#sahib-bust");
}
.bust-taran {
  --source-width: 1888; --crop-size: 1888; --crop-x: 0; --crop-y: 0;
  clip-path: url("#taran-bust");
}
.bust-vedant {
  --source-width: 1440; --crop-size: 650; --crop-x: 395; --crop-y: 175;
  clip-path: url("#vedant-bust");
}
#member-profile .portrait-sahib { object-view-box: inset(45% 31% 17% 17%); --focus: 50% 100%; }
#member-profile .member-photo:has(.portrait-taran) { aspect-ratio: 1888 / 2216; width: min(100%, 48dvh, 440px); }
#member-profile .member-photo:has(.portrait-vedant) { aspect-ratio: 1; width: min(100%, 55dvh, 510px); }
@media (max-width: 820px) and (orientation: portrait) {
  #member-profile .member-photo:has(.portrait-taran) { width: min(70vw, 36dvh); }
  #member-profile .member-photo:has(.portrait-vedant) { width: min(75vw, 43dvh); }
}
.member-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: clamp(8px, 1.4vw, 22px);
}
.member-caption > [aria-hidden] {
  font: 800 clamp(18px, 1.8vw, 26px)/1 "Zalando Sans Expanded", Arial, sans-serif;
}
.member-identity strong {
  font: 760 clamp(1.05rem, 2.15vw, 2.1rem)/1.12 "Zalando Sans Expanded", Arial, sans-serif;
  letter-spacing: -.045em;
}
/* The native modal owns focus and Escape. Its transparent surface lets the
   same header, stage lighting and floor used for project inspection show through. */
#member-profile {
  position: fixed; inset: 76px 0 0; margin: 0; border: 0; padding: 0;
  width: 100%; max-width: none; height: calc(100dvh - 76px); max-height: none;
  background: transparent; color: #f8f5fc; overflow: auto;
}
#member-profile::backdrop { background: transparent; }
:root:has(#member-profile[open]) { overflow-y: hidden; }
.viewing-member .studio-team, .viewing-member .scroll-cue, .gallery.inspecting .studio-team { visibility: hidden !important; }
#member-profile[open] {
  display: grid; grid-template-columns: minmax(0, 35fr) minmax(0, 50fr);
  align-items: center; gap: 7%; padding: 2vh 6vw 12vh;
}
#member-profile .member-photo {
  grid-column: 2; grid-row: 1; width: min(100%, 60vh); height: auto; aspect-ratio: 4/3;
  justify-self: center; transform-origin: top left; font-size: clamp(4rem, 11vw, 10rem);
}
.profile-copy { grid-column: 1; grid-row: 1; }
#member-name { font-size: clamp(2rem, 4.6vw, 5.8rem); }
.profile-copy p { line-height: 1.5; }
.profile-copy button { border: 0; border-radius: 24px; padding: 10px 18px; }
@media (max-width: 720px) {
  #member-profile { top: 62px; height: calc(100dvh - 62px); }
}
@media (max-width: 820px) and (orientation: portrait) {
  #member-profile[open] { grid-template-columns: 1fr; align-content: center; gap: 4vh; }
  #member-profile .member-photo { grid-column: 1; width: min(75vw, 43vh); }
  .profile-copy { grid-row: 2; }
}
@media (max-width: 600px) and (orientation: portrait) {
  .member-card .member-photo { font-size: 2.2rem; }
}
@media (max-height: 520px) {
  .studio-team, .studio-contact { gap: 8px; bottom: 84px; }
  .member-photo { height: 14vh; font-size: 2rem; }
  .member-caption { padding: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .member-card, .member-card:is(:hover, :focus-visible) { transition: none; transform: none; translate: none; }
}

.member-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - clamp(5px, 1vw, 13px)); justify-self: center; }
.member-card .member-photo { height: clamp(68px, 19dvh, 194px); }
.member-identity { display: grid; gap: 6px; }
.member-identity small {
  font-size: clamp(.8125rem, 1.2vw, 1rem);
  color: #e4dce8;
  text-shadow: 0 -1px 0 #302935;
}
#member-role { color: #dcc9ef; }
#member-profile .profile-copy button { background: #e8e0ef; color: #221b2a; }
@media (max-width: 600px) {
  .member-grid { gap: 10px; }
  .member-card { grid-template-columns: minmax(0, 1fr); }
  .member-card .member-photo { height: clamp(42px, 11dvh, 100px); }
  .member-caption { padding: 6px; }
}
@media (max-width: 360px) {
  .member-caption { padding-inline: 2px; gap: 2px; }
}
@media (forced-colors: active) {
  .studio-team h2, .member-identity strong, .member-caption > [aria-hidden] { filter: none; opacity: 1; }
  .member-card { border: 1px solid ButtonText; }
}
@media (max-height: 540px) {
  .member-card .member-photo { height: clamp(30px, 12dvh, 64px); }
  .studio-team h2 { font-size: 1.6rem; }
  .member-grid { row-gap: 6px; }
}

.stage-scroll.enabled .studio-team, .stage-scroll.enabled .studio-contact { bottom: 0; }

.stage-scroll { position: relative; }
.stage-anchor { position: absolute; left: 0; pointer-events: none; }
.contact-logos {
  position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none;
  visibility: hidden;
}
.contact-logos.spreading { visibility: visible; }
.contact-logos:not(.settled) .contact-mark { pointer-events: none; }
.contact-mark {
  position: absolute; pointer-events: auto; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  --travel: clamp(0, (var(--spread) - var(--delay, 0)) / (1 - var(--delay, 0)), 1);
  --depart: calc(var(--travel) * var(--travel) * (3 - 2 * var(--travel)));
  left: calc(var(--flight-x) * (1 - var(--depart)) + var(--x) * var(--depart));
  top: calc(var(--flight-y) * (1 - var(--depart)) + var(--y) * var(--depart));
  width: calc(var(--seed-size) * (1 - var(--depart)) + var(--size) * var(--depart));
  opacity: clamp(0, (var(--depart) - .65) * 5, 1);
  transform: translate(-50%, -50%) rotate(calc(var(--tilt) * var(--depart)));
}
.contact-mark svg {
  display: block; width: 100%; overflow: visible;
  translate: calc(var(--pointer-x, 0px) * var(--depth, .5) * var(--depart))
             calc(var(--pointer-y, 0px) * var(--depth, .5) * var(--depart));
  transition: translate 220ms ease-out;
  filter: drop-shadow(0 2px 0 #f7f6f5) drop-shadow(0 7px 5px #26223325);
  animation: goggles-bob 4.6s var(--phase) ease-in-out infinite;
}
.contact-mark path { paint-order: stroke; stroke: #f7f6f5; stroke-width: calc(2.6px * var(--depart)); stroke-linejoin: round; }
.mark-hero {
  width: calc(var(--liquid-size) * (1 - var(--depart)) + var(--size) * var(--depart));
  opacity: 1;
}
.mark-hero svg {
  filter: drop-shadow(0 calc(2px * var(--depart)) 0 #f7f6f5) drop-shadow(0 calc(7px * var(--depart)) calc(5px * var(--depart)) #26223325);
}
.contact-logos:not(.fanning) .contact-mark svg {
  animation: none;
  filter: none;
  translate: none;
}
.mark-hero { --x: 73%; --y: 45%; --size: min(34vw, 520px); --tilt: -15deg; --ink: #262233; --depth: 1; }
.mark-satellite { --x: 89%; --y: 76%; --size: min(14vw, 206px); --tilt: 18deg; --ink: #81729d; --delay: .18; }
.mark-edge { --x: 10%; --y: 19%; --size: min(12vw, 170px); --tilt: -25deg; --ink: #6d6979; --delay: .13; }
.mark-echo { --x: 34%; --y: 85%; --size: min(8vw, 120px); --tilt: 12deg; --ink: #363144; --delay: .26; }
.mark-accent { --x: 89%; --y: 16%; --size: min(6vw, 90px); --tilt: 21deg; --ink: #b79cde; --delay: .32; }
@keyframes goggles-bob {
  0%, 100% { transform: rotate(calc(-1deg * var(--depart))); }
  52% { transform: translateY(calc(-7px * var(--depart))) rotate(calc(2deg * var(--depart))); }
}
.studio-contact {
  inset-inline: clamp(20px, 9vw, 160px); z-index: 3; justify-items: start;
}
.contact-card {
  width: min(41vw, 540px); padding: clamp(24px, 3.6vw, 60px);
  border: 1px solid #ffffffd9; border-radius: 24px; pointer-events: auto;
  background: #ffffffa8; backdrop-filter: blur(16px);
  box-shadow: 0 17px 54px #00000012, inset 0 1px 0 white; color: #262233;
}
.contact-card h2 { font-size: clamp(2.4rem, 4.5vw, 5rem); }
.contact-card h2 span { color: #81729d; }
.contact-card dl { display: grid; gap: 18px; margin: 26px 0 22px; }
.contact-card dl div { border-top: 1px solid #00000029; padding-top: 12px; }
.contact-card dt, .contact-card small { font-size: .8rem; color: #595959; }
.contact-card dd { margin: 4px 0 0; font-size: clamp(1rem, 1.5vw, 1.45rem); overflow-wrap: anywhere; }
@media (max-width: 680px) and (orientation: portrait) {
  .studio-contact { inset-inline: 6vw; align-content: end; padding-bottom: min(10dvh, 90px); }
  .contact-card { width: 100%; }
  .mark-hero { --x: 58%; --y: 28%; --size: min(55vw, 33vh); }
  .mark-satellite { --x: 16%; --y: 42%; --size: 20vw; }
  .mark-edge { --x: 11%; --y: 11%; --size: 15vw; }
  .mark-echo { --x: 89%; --y: 90%; --size: 19vw; }
  .mark-accent { --x: 90%; --y: 10%; --size: 9vw; }
}
@media (max-height: 520px) {
  .mark-hero { --size: min(34vw, 52dvh); }
  .contact-card { padding: 16px 22px; }
  .contact-card dl { gap: 8px; margin: 10px 0; }
  .contact-card dl div { padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-mark { transition: none; transform: translate(-50%, -50%) rotate(var(--tilt)); }
  .contact-mark svg { animation: none; transition: none; translate: none; }
}
/* Use the landing lockup's reveal curve when the profile text joins its portrait. */
@media (prefers-reduced-motion: no-preference) {
  #member-profile[open] .profile-copy {
    animation: profile-arrival 420ms cubic-bezier(.25,.7,.25,1) both;
  }
  @keyframes profile-arrival {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
  .studio-contact h2 { translate: 0 calc((1 - var(--scene-opacity, 0)) * 10px); }
  .studio-contact dl { translate: 0 calc((1 - var(--scene-opacity, 0)) * 18px); }
}

.site-footer {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  background: #262233;
  color: #ded9e7;
  padding: 5rem var(--inset);
}
.footer-wordmark {
  display: block;
  width: min(78vw, 1180px);
  height: auto;
  overflow: visible;
  color: #f5f2f8;
  pointer-events: none;
}
.closing-goggles { fill: currentColor; paint-order: stroke; stroke-linejoin: round; }
.footer-credit {
  position: absolute;
  inset-inline-start: clamp(22px, 4vw, 72px);
  bottom: max(24px, env(safe-area-inset-bottom));
}
.footer-credit p { margin: 0 0 4px; }
.footer-credit small { color: #bab4c7; }
