:root {
  --paper: #f4f3ef;
  --ink: #181a19;
  --muted: #777974;
  --accent: #171717;
  --g: clamp(20px,4.4vw,78px);
  --line: #cecec7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.5 Arial,Helvetica,sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.lock {
  overflow: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

button:focus-visible,a:focus-visible {
  outline: 2px solid #777777;
  outline-offset: 5px;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.skip {
  position: absolute;
  left: 12px;
  top: -70px;
  background: white;
  z-index: 100;
  padding: 12px;
}

.skip:focus {
  top: 12px;
}

header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--g);
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  color: var(--ink);
  background: var(--paper);
  transition: background .35s,color .35s;
  height: 76px;
}

header.transparent {
  background: transparent;
  color: white;
}

header.open {
  background: var(--paper);
  color: var(--ink);
}

.brand {
  font-size: 43px;
  font-weight: 900;
  letter-spacing: -6px;
  line-height: 1;
  padding-right: 7px;
}

.brand span {
  color: var(--accent);
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 14px;
  position: relative;
}

nav a:after {
  content: '';
  height: 1px;
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 100%;
  background: currentColor;
  transition: right .25s;
}

nav a:hover:after,nav a.active:after {
  right: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.plain {
  padding: 8px 0;
  font-size: 12px;
}

.menu-button {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
}

.menu-button i {
  width: 26px;
  height: 10px;
  display: block;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transition: transform .3s;
}

.open .menu-button i {
  transform: rotate(-45deg);
  border-bottom: 0;
}

.menu {
  position: fixed;
  inset: 76px 0 0;
  z-index: 29;
  background: var(--paper);
  padding: 5vh var(--g) 5vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 7vw;
  animation: appear .35s ease;
}

.menu-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: clamp(30px,5.5vw,90px);
  letter-spacing: -.06em;
  line-height: 1.15;
  padding: 12px 0;
}

.menu-links a span {
  font-size: 14px;
  letter-spacing: 0;
}

main {
  min-height: 65vh;
  outline: 0;
}

.hero {
  height: 100svh;
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: #333;
  color: white;
}

.hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero .slide.active {
  opacity: 1;
}

.hero .slide img {
  height: 100%;
  transform: scale(1.045);
  transition: transform 8s linear;
}

.hero .slide.active img {
  transform: scale(1);
}

.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,#0006 0%,transparent 25%,transparent 50%,#0009 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 8%;
  left: var(--g);
  right: var(--g);
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero h1 {
  margin: 12px 0 3px;
  font-size: clamp(46px,8vw,126px);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .9;
}

.hero .sub {
  font-size: 15px;
  margin: 16px 0 0;
}

.round {
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  font-size: 21px;
  transition: background .2s,color .2s;
}

.round:hover {
  background: white;
  color: #151515;
}

.hero-progress {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: var(--g);
  right: var(--g);
  height: 2px;
  display: flex;
  gap: 6px;
}

.hero-progress button {
  padding: 0;
  background: #ffffff50;
  flex: 1;
}

.hero-progress button.active {
  background: #fff;
}

.section {
  padding: clamp(65px,10vw,150px) var(--g);
}

.section.tight {
  padding-top: 55px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 40px;
}

.section h2,.page-title {
  font-size: clamp(48px,8.4vw,126px);
  font-weight: 400;
  letter-spacing: -.078em;
  line-height: .95;
  margin: 0;
}

.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid;
  padding: 6px 0;
  white-space: nowrap;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(25px,4vw,70px) 2vw;
  align-items: start;
}

.project-card {
  display: block;
}

.project-card:nth-child(3n+2) {
  margin-top: 70px;
}

.project-card .pic {
  overflow: hidden;
  background: #dadbd4;
  aspect-ratio: 1.5;
}

.project-card:nth-child(3n+1) .pic {
  aspect-ratio: 1.33;
}

.project-card img {
  height: 100%;
  transition: transform .7s cubic-bezier(.2,.6,.2,1);
}

.project-card:hover img {
  transform: scale(1.045);
}

.manifesto {
  background: #e7e8e1;
  display: grid;
  grid-template-columns: 1fr 3.5fr;
  gap: 4vw;
}

.manifesto .statement {
  font-size: clamp(36px,5.8vw,92px);
  line-height: 1.06;
  letter-spacing: -.065em;
  margin: 0;
  font-weight: 400;
}

.manifesto .arrowlink {
  margin-top: 36px;
}

.units {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
}

.unit {
  padding: 24px 18px 32px 0;
  border-bottom: 1px solid var(--line);
}

.unit+.unit {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.unit h3 {
  font-size: clamp(24px,3vw,49px);
  font-weight: 400;
  letter-spacing: -.06em;
  margin: 36px 0 6px;
}

.unit p {
  color: var(--muted);
  font-size: 13px;
}

.page-top {
  padding: 140px var(--g) 40px;
}

.page-top .eyebrow {
  margin-bottom: 15px;
}

.filters {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 30px 0 0;
}

.filters button {
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

.filters button.active {
  border-color: var(--ink);
  color: var(--ink);
}

.info-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6vw;
}

.info-layout p {
  font-size: clamp(20px,3vw,40px);
  letter-spacing: -.035em;
  line-height: 1.25;
  margin: 0 0 25px;
}

.info-layout .small {
  font-size: 15px;
  letter-spacing: 0;
  color: var(--muted);
}

footer {
  padding: 70px var(--g) 25px;
  background: #1d201e;
  color: #f4f3ef;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 65px;
}

.footer-main h4 {
  font-weight: 400;
  color: #a7aaa2;
  font-size: 12px;
  margin: 0 0 16px;
}

.footer-main a {
  display: block;
  margin: 7px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #52554f;
  padding-top: 20px;
  color: #bcbeb7;
  font-size: 12px;
}

.note {
  color: var(--muted);
  font-size: 12px;
  margin: 22px 0 0;
}

.reveal {
  animation: up .7s cubic-bezier(.2,.6,.2,1) both;
}

@keyframes up {

  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes appear {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

dialog {
  border: 0;
  background: #121312;
  color: #fff;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  position: fixed;
  inset: 0;
}

dialog[open] {
  display: grid;
  place-items: center;
}

dialog::backdrop {
  background: #121312;
}

#lbImg {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 85dvh;
  object-fit: contain;
}

.lb-top {
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.lb-top button {
  font-size: 36px;
}

.lb-arrow {
  position: absolute;
  top: 48%;
  font-size: 32px;
  background: #1119;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  z-index: 1;
}

.lb-arrow.prev {
  left: 12px;
}

.lb-arrow.next {
  right: 12px;
}

@media(max-width:800px) {

  header {
    height: 64px;
  }

  #desktop {
    display: none;
  }

  .menu {
    inset: 64px 0 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-content {
    display: block;
    bottom: 7%;
  }

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

  .project-card:nth-child(3n+2) {
    margin-top: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .manifesto, .info-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .unit+.unit {
    border-left: 0;
    padding-left: 0;
  }

  .unit h3 {
    margin: 12px 0;
  }

  .page-top {
    padding-top: 112px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main>div:first-child {
    grid-column: 1/-1;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: clamp(45px,10vw,85px);
  }
}

@media(prefers-reduced-motion:reduce) {

  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}

/* MLR v3: compact glass navigation and responsive editorial image mosaic */

:root {
  --paper: #fff;
  --ink: #151515;
  --g: clamp(18px,3vw,56px);
  --tile-gap: 5px;
  --tile-radius: 9px;
  --header-h: 44px;
  --mono: "SFMono-Regular",Consolas,"Liberation Mono",monospace;
}

body {
  font-family: Arial,Helvetica,sans-serif;
  background: white;
}

header,header.open,header.transparent {
  height: var(--header-h);
  padding: 0 14px;
  background: transparent;
  color: #151515;
  justify-content: flex-end;
  gap: 7px;
  isolation: isolate;
}

header::before,header::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  pointer-events: none;
  z-index: -1;
  transition: opacity .25s;
}

header::before {
  height: var(--header-h);
  background: #fffc;
  backdrop-filter: blur(17px) saturate(160%);
  -webkit-backdrop-filter: blur(17px) saturate(160%);
}

header::after {
  height: 85px;
  opacity: 0;
  backdrop-filter: blur(7px) saturate(145%);
  -webkit-backdrop-filter: blur(7px) saturate(145%);
  mask-image: linear-gradient(#000 0%,#000a 38%,transparent 100%);
  -webkit-mask-image: linear-gradient(#000 0%,#000a 38%,transparent 100%);
  background: linear-gradient(#10101012,transparent);
}

header.scrolled::before {
  background: linear-gradient(180deg,#fff3,#ffffff10);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  mask-image: linear-gradient(#000 0%,#000e 50%,transparent 100%);
  -webkit-mask-image: linear-gradient(#000 0%,#000e 50%,transparent 100%);
}

header.scrolled::after {
  opacity: 1;
}

.brand {
  margin-right: auto;
  font-family: Arial,Helvetica,sans-serif;
  font-weight: 900;
  font-size: 25px;
  letter-spacing: -2.1px;
  padding: 0;
  line-height: 1;
  color: #131313;
  text-shadow: 0 0 14px #ffffff88;
}

.brand span {
  color: inherit;
  letter-spacing: -1px;
}

#desktop,.header-right {
  display: flex;
  align-items: center;
  gap: 7px;
}

#desktop a,.header-right>button,.header-right>a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  padding: 0 13px;
  gap: 7px;
  background: #edededb0;
  color: #171717;
  font: 10px/1 var(--mono);
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .18s;
  box-shadow: inset 0 1px 0 #ffffff36;
  backdrop-filter: blur(15px) saturate(135%);
  -webkit-backdrop-filter: blur(15px) saturate(135%);
}

header.scrolled #desktop a,header.scrolled .header-right>button,header.scrolled .header-right>a {
  background: #ffffff85;
  box-shadow: inset 0 1px 0 #ffffff65,0 1px 4px #0000000c;
}

#desktop a:hover,.header-right>button:hover,.header-right>a:hover,#desktop a.active,.header-right>button[aria-expanded=true] {
  background: #fff;
}

#desktop a:after {
  display: none;
}

.header-right>.glass-icon {
  width: 35px;
  padding: 0;
}

.glass-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button i {
  width: 12px;
  height: 12px;
  position: relative;
  border: 0;
  transform: none!important;
}

.menu-button i::before,.menu-button i::after {
  content: '';
  width: 10px;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 1px;
  top: 5px;
}

.menu-button i::after {
  transform: rotate(90deg);
  transition: transform .2s;
}

.open .menu-button i::after {
  transform: rotate(0);
}

.menu {
  position: fixed;
  top: calc(var(--header-h) + 3px);
  right: 9px;
  left: auto;
  bottom: auto;
  width: min(380px,calc(100vw - 18px));
  max-height: calc(100dvh - 65px);
  z-index: 29;
  padding: 12px;
  background: #f7f7f5e8;
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border-radius: 10px;
  box-shadow: 0 12px 45px #0002;
  overflow: auto;
  display: block;
}

.menu[hidden] {
  display: none;
}

.menu-links a {
  font-size: 16px;
  letter-spacing: -.025em;
  line-height: 1.4;
  padding: 12px 8px;
  border-color: #00000014;
}

.menu-links a:last-child {
  border: 0;
}

.menu-links a span {
  font-size: 13px;
}

main {
  padding-top: var(--header-h);
}

.hero {
  margin: 0 var(--tile-gap) var(--tile-gap);
  border-radius: var(--tile-radius);
  height: calc(100svh - var(--header-h) - var(--tile-gap));
  min-height: 420px;
  overflow: hidden;
}

.hero:after {
  background: linear-gradient(0deg,#0003,transparent 25%);
}

.hero-content {
  left: 10px;
  right: 10px;
  bottom: 10px;
  align-items: end;
}

.hero-content>div:first-child {
  padding: 13px 15px;
  background: #17171738;
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  border-radius: 7px;
}

.hero h1 {
  font-size: clamp(20px,2.2vw,38px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.1;
  margin: 4px 0;
}

.hero .sub {
  font: 11px/1.4 var(--mono);
  text-transform: uppercase;
  margin: 7px 0 0;
}

.hero .eyebrow {
  font: 9px/1.3 var(--mono);
  letter-spacing: .04em;
}

.hero-progress {
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 1px;
}

.work-section,.section.tight.work-section {
  padding: 0 var(--tile-gap) 0;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1fr);
  grid-template-rows: auto auto;
  gap: var(--tile-gap);
  align-items: stretch;
}

.project-card,.project-card:nth-child(3n+2) {
  margin: 0;
  min-width: 0;
  min-height: 0;
  position: relative;
  display: block;
}

.project-card:nth-child(3n+1) {
  grid-row: span 2;
  aspect-ratio: auto;
  width: 100%;
}

.project-card:nth-child(3n+2),.project-card:nth-child(3n) {
  aspect-ratio: 1.5;
}

.project-grid:has(>.project-card:only-child) {
  grid-template-columns: 1fr;
}

.project-grid:has(>.project-card:only-child) .project-card {
  grid-row: auto;
  aspect-ratio: 1.78;
}

.project-grid:has(>.project-card:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
}

.project-grid:has(>.project-card:nth-child(2):last-child) .project-card {
  grid-row: auto;
  aspect-ratio: 1.5;
}

.project-card .pic,.project-card:nth-child(3n+1) .pic {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  height: 100%;
  overflow: hidden;
  border-radius: var(--tile-radius);
  box-shadow: none;
  isolation: isolate;
}

.project-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.project-card:hover img {
  transform: scale(1.018);
}

.project-overlay {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 13px 15px 14px;
  color: #fff;
  background: rgba(22,22,22,.39);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-radius: 7px;
  border: 0;
  box-shadow: none;
  z-index: 2;
}

.project-overlay h3 {
  font: 600 clamp(13px,1.12vw,19px)/1.25 Arial,Helvetica,sans-serif;
  letter-spacing: -.045em;
  margin: 0;
}

.project-overlay p {
  font: 500 clamp(9px,.78vw,12px)/1.3 var(--mono);
  letter-spacing: .035em;
  text-transform: uppercase;
  margin: 7px 0 0;
}

.work-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 14px 44px;
}

.work-more .note {
  margin: 0;
  text-align: right;
}

.work-section>.note {
  padding: 0 12px 20px;
}

.page-top {
  padding: 38px var(--g) 24px;
}

.page-title {
  font-size: clamp(36px,5vw,80px);
}

@media(max-width:800px) {

  :root {
    --header-h: 42px;
    --tile-gap: 4px;
    --tile-radius: 7px;
  }

  header,header.open {
    padding: 0 6px;
    gap: 4px;
  }

  .brand {
    font-size: 22px;
  }

  #desktop,.header-right {
    display: flex;
    gap: 4px;
  }

  #desktop a,.header-right>button,.header-right>a {
    font-size: 9px;
    min-height: 27px;
    padding: 0 7px;
    letter-spacing: 0;
  }

  .header-right>.glass-icon {
    width: 28px;
  }

  .menu-button {
    gap: 3px!important;
  }

  .hero {
    min-height: 360px;
    height: 72svh;
  }

  .hero-content {
    display: flex;
    gap: 8px;
  }

  .hero-content>div:first-child {
    padding: 10px;
  }

  .project-grid,.project-grid:has(>.project-card:nth-child(2):last-child) {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .project-card:nth-child(n) {
    grid-row: auto;
    aspect-ratio: 1.5;
  }

  .project-overlay {
    left: 6px;
    bottom: 6px;
    padding: 10px 12px;
  }

  .work-more {
    align-items: start;
    flex-direction: column;
  }

  .work-more .note {
    text-align: left;
  }

  .menu {
    inset: calc(var(--header-h) + 3px) 6px auto auto;
  }

  .page-top {
    padding-top: 30px;
  }
}

@media(max-width:360px) {

  #desktop a,.header-right>button,.header-right>a {
    padding: 0 5px;
    font-size: 8px;
  }

  .header-right>.glass-icon {
    width: 23px;
  }

  .brand {
    font-size: 20px;
  }

  .hero-content {
    left: 6px;
    right: 6px;
  }
}

/* MLR v4 — in-page project sheet, two independently scrollable panels */

#projectDialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
  width: 68.2vw;
  height: 89.5dvh;
  border-radius: 9px;
  background: #fff;
  color: #171717;
  overflow: hidden;
  box-shadow: 0 14px 70px #0002;
  overscroll-behavior: contain;
}

#projectDialog[open] {
  display: block;
  animation: project-enter .22s cubic-bezier(.2,.75,.25,1);
}

#projectDialog::backdrop {
  background: rgba(12,17,20,.32);
  backdrop-filter: blur(16px) saturate(85%);
  -webkit-backdrop-filter: blur(16px) saturate(85%);
}

.project-shell {
  display: grid;
  grid-template-columns: minmax(0,30%) minmax(0,70%);
  width: 100%;
  height: 100%;
  padding: 8px;
  gap: 0;
  overflow: hidden;
}

.project-copy,.project-media {
  min-height: 0;
  min-width: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
  outline: none;
}

.project-copy {
  padding: 0 10px 8px 0;
  margin-right: 6px;
  scrollbar-gutter: stable;
}

.project-media {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 3px;
  scrollbar-gutter: stable;
}

.project-copy::-webkit-scrollbar,.project-media::-webkit-scrollbar {
  width: 6px;
}

.project-copy::-webkit-scrollbar-thumb,.project-media::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 8px;
}

.project-copy::-webkit-scrollbar-track,.project-media::-webkit-scrollbar-track {
  background: transparent;
}

.project-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 27px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 3;
  padding-bottom: 3px;
}

.project-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 5px;
  background: #f1f1f1;
  color: #151515;
  padding: 0 12px;
  height: 30px;
  font: 10px/1 var(--mono);
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-tool:hover {
  background: #e4e4e4;
}

.project-tool svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-tool.project-x {
  width: 37px;
  padding: 0;
}

#projectHeading {
  font-family: Arial,Helvetica,sans-serif;
  font-size: clamp(21px,1.65vw,34px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.16;
  margin: 0 0 25px;
}

.project-facts {
  font: 10px/1.55 var(--mono);
  letter-spacing: .055em;
  text-transform: uppercase;
  color: #777;
  margin: 0 0 28px;
}

.project-description {
  font: clamp(12px,.85vw,16px)/1.27 Arial,Helvetica,sans-serif;
  letter-spacing: -.01em;
}

.project-description p {
  margin: 0 0 16px;
}

.project-description .note {
  font-size: 11px;
  color: #777;
  margin-top: 24px;
}

.project-photo {
  display: block;
  flex: none;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 7px;
  cursor: zoom-in;
  background: #f2f2f2;
}

.project-photo img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

.project-photo:focus-visible {
  outline-offset: -3px;
}

@keyframes project-enter {

  from {
    opacity: 0;
    transform: translateY(8px) scale(.99);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media(max-width:1100px) {

  #projectDialog {
    width: 86vw;
    height: 90dvh;
  }

  .project-shell {
    grid-template-columns: minmax(0,32%) minmax(0,68%);
  }
}

@media(max-width:700px) {

  #projectDialog {
    width: calc(100vw - 14px);
    height: calc(100dvh - 22px);
    border-radius: 9px;
  }

  .project-shell {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 7px;
    overflow: auto;
  }

  .project-copy {
    flex: none;
    max-height: 38%;
    margin: 0;
    padding-right: 6px;
  }

  .project-media {
    flex: 1;
    min-height: 0;
    padding-right: 0;
  }

  .project-toolbar {
    margin-bottom: 14px;
  }

  .project-facts {
    margin-bottom: 12px;
  }

  #projectHeading {
    font-size: 23px;
    margin-bottom: 10px;
  }

  .project-description {
    font-size: 13px;
    line-height: 1.4;
  }

  .project-description .note {
    margin: 0 0 5px;
  }

  .project-photo {
    border-radius: 6px;
  }
}

@media(prefers-reduced-motion:reduce) {

  #projectDialog[open] {
    animation: none;
  }
}

/* MLR v5 — reference-matched navigation controls */

:root {
  --header-h: 56px;
  --nav-gap: 12px;
  --nav-height: 34px;
}

header,header.open,header.transparent {
  padding: 3px clamp(16px,2.1vw,34px) 0;
  gap: var(--nav-gap);
  border-top: 1px solid #343434;
}

#desktop,.header-right {
  gap: var(--nav-gap);
}

#desktop a,.header-right>button,.header-right>a {
  height: var(--nav-height);
  min-height: var(--nav-height);
  padding: 0 20px;
  border-radius: 8px;
  border: 0;
  box-shadow: none;
  background: #f0f0f0;
  color: #171717;
  font: 500 11px/1 var(--mono);
  letter-spacing: .055em;
  transition: background .18s,color .18s;
  flex-shrink: 0;
}

#desktop a:first-child {
  min-width: 97px;
}

#desktop a:nth-child(2) {
  min-width: 68px;
}

.header-right>#menuBtn {
  min-width: 107px;
  gap: 12px;
}

.header-right>.glass-icon {
  width: 51px;
  padding: 0;
}

.header-right>#lang {
  min-width: 53px;
  padding: 0 12px;
}

.glass-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.65;
}

.header-right>a.glass-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke-width: 1.15;
}

.menu-button i {
  width: 13px;
  height: 13px;
}

.menu-button i::before,.menu-button i::after {
  width: 12px;
  top: 6px;
  left: 0;
}

header.scrolled #desktop a,header.scrolled .header-right>button,header.scrolled .header-right>a {
  background: rgba(241,241,241,.69);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

#desktop a:hover,.header-right>button:hover,.header-right>a:hover,header.scrolled #desktop a:hover,header.scrolled .header-right>button:hover,header.scrolled .header-right>a:hover {
  background: #ddd;
  color: #151515;
}

#desktop a.active,.header-right>button[aria-expanded=true],header.scrolled #desktop a.active,header.scrolled .header-right>button[aria-expanded=true],body:has(main .info-layout) .header-right>a.glass-icon[aria-current=page] {
  background: #999;
  color: #fff;
}

.menu {
  right: clamp(16px,2.1vw,34px);
}

@media(max-width:800px) {

  :root {
    --header-h: 48px;
    --nav-gap: 6px;
    --nav-height: 32px;
  }

  header,header.open,header.transparent {
    padding: 1px 8px 0;
  }

  #desktop a,.header-right>button,.header-right>a {
    padding: 0 9px;
    font-size: 9px;
    letter-spacing: 0;
    border-radius: 6px;
  }

  #desktop a:first-child,#desktop a:nth-child(2),.header-right>#menuBtn {
    min-width: 0;
  }

  .header-right>#menuBtn {
    gap: 5px;
  }

  .header-right>.glass-icon {
    width: 31px;
  }

  .header-right>#lang {
    min-width: 32px;
    padding: 0 5px;
  }

  .glass-icon svg {
    width: 14px;
    height: 14px;
  }

  .menu {
    right: 8px;
  }
}

@media(max-width:400px) {

  :root {
    --nav-gap: 4px;
  }

  header,header.open,header.transparent {
    padding: 1px 5px 0;
  }

  #desktop a,.header-right>button,.header-right>a {
    padding: 0 5px;
    font-size: 8px;
  }

  .header-right>.glass-icon {
    width: 27px;
  }

  .header-right>#lang {
    min-width: 27px;
  }

  .header-right>#menuBtn {
    gap: 3px;
  }

  .brand {
    font-size: 20px;
  }

  .menu-button i {
    width: 10px;
  }

  .menu-button i::before,.menu-button i::after {
    width: 9px;
  }
}

/* MLR v7 — independent, always-visible desktop scroll rail */

#pageScroll {
  display: none;
}

@media(min-width:701px) {

  :root {
    --page-rail: 13px;
  }

  html {
    overflow-y: scroll;
    scrollbar-width: none;
    scrollbar-gutter: auto;
  }

  html::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  html:has(body.lock) {
    overflow-y: hidden;
  }

  body {
    padding-right: var(--page-rail);
  }

  header,header.open,header.transparent {
    right: var(--page-rail);
  }

  .menu {
    right: calc(clamp(16px,2.1vw,34px) + var(--page-rail));
  }

  #pageScroll {
    position: fixed;
    inset: 0 0 0 auto;
    width: var(--page-rail);
    z-index: 80;
    background: #292929;
    display: flex;
    flex-direction: column;
    touch-action: none;
    user-select: none;
    overscroll-behavior: contain;
  }

  #pageScroll .scroll-arrow {
    flex: 0 0 16px;
    width: 100%;
    display: grid;
    place-items: center;
    padding: 0;
    color: #a6a6a6;
    border-radius: 0;
    background: transparent;
    cursor: default;
  }

  #pageScroll .scroll-arrow svg {
    width: 9px;
    height: 7px;
    fill: currentColor;
    display: block;
  }

  #pageScroll .scroll-arrow:hover {
    background: #484848;
    color: #ccc;
  }

  #pageTrack {
    flex: 1;
    position: relative;
    min-height: 0;
    cursor: default;
    touch-action: none;
    outline-offset: -1px;
  }

  #pageThumb {
    position: absolute;
    top: 0;
    left: 2px;
    right: 2px;
    height: 40px;
    border-radius: 7px;
    background: #a6a6a6;
    cursor: grab;
    touch-action: none;
    will-change: transform;
  }

  #pageThumb:hover,#pageScroll.dragging #pageThumb {
    background: #c4c4c4;
  }

  #pageScroll.dragging #pageThumb {
    cursor: grabbing;
  }

  #pageTrack[aria-disabled=true] #pageThumb {
    opacity: .5;
    cursor: default;
  }
}

@media(min-width:701px) and (max-width:800px) {

  .menu {
    right: 21px;
  }
}

/* MLR v8 — architectural identity, three names become one mark */

.brand-intro {
  position: relative;
  isolation: isolate;
  margin: 0 var(--tile-gap) var(--tile-gap);
  height: clamp(420px,75svh,800px);
  overflow: hidden;
  border-radius: var(--tile-radius);
  background: #f0f0ed;
  color: #171717;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(15px,2.1vw,32px);
}

.intro-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
  font: 10px/1.3 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.intro-top {
  color: #6c6c69;
}

.intro-stage {
  position: absolute;
  inset: 34px 16px 52px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.intro-stage svg {
  width: 100%;
  height: 100%;
  max-width: 1500px;
  overflow: visible;
}

.hero {
  scroll-margin-top: var(--header-h);
}

@keyframes mlr-name {

  0% {
    opacity: 0;
    transform: translateY(9px);
  }

  9%,43% {
    opacity: 1;
    transform: translateY(0);
  }

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

@media(max-width:700px) {

  .brand-intro {
    height: clamp(360px,64svh,650px);
    padding: 12px;
  }

  .intro-stage {
    inset: 35px 9px 45px;
  }

  .intro-top {
    font-size: 9px;
    letter-spacing: .025em;
  }
}

/* V9 — intro and projects share a single stable hero stage. */

.hero>.brand-intro {
  position: absolute;
  inset: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  min-height: 0;
  border-radius: inherit;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .65s ease,visibility 0s linear .65s;
}

.hero.intro-active>.brand-intro {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .25s ease,visibility 0s;
}

.hero .slide {
  transition: opacity .7s ease;
}

.hero .slide img {
  transition: transform 4.2s linear;
}

.hero .hero-content,.hero .hero-progress {
  transition: opacity .45s ease;
}

.hero.intro-active .hero-content,.hero.intro-active .hero-progress {
  opacity: 0;
  pointer-events: none;
}

@media(max-width:400px) {

  .hero-content .sub {
    font-size: 9px;
  }
}

@media(prefers-reduced-motion:reduce) {

  .hero>.brand-intro,.hero .slide,.hero .hero-content,.hero .hero-progress {
    transition: none!important;
  }
}

/* V11 — camera-like push through the MLR mark into the first project. */

.hero.intro-fly>.brand-intro {
  animation: mlr-reveal-project 1.35s linear both;
}

.hero.intro-fly .intro-top {
  animation: mlr-fly-labels .38s ease both;
}

@keyframes mlr-reveal-project {

  0%,19% {
    background-color: #f0f0ed;
  }

  65% {
    background-color: rgba(240,240,237,.28);
  }

  94%,100% {
    background-color: rgba(240,240,237,0);
  }
}

@keyframes mlr-fly-labels {

  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media(prefers-reduced-motion:reduce) {

  .hero.intro-fly>.brand-intro {
    animation: none!important;
  }
}

.cms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr));
  gap: 24px;
  margin-top: 32px;
}

.cms-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.cms-card img {
  aspect-ratio: 4/3;
  border-radius: 8px;
  object-fit: cover;
}

.cms-card h2 {
  font-size: clamp(24px,3vw,44px);
  letter-spacing: -.045em;
  line-height: 1.1;
  margin: 20px 0 10px;
}

.cms-card p {
  white-space: normal;
  max-width: 75ch;
}

/* V12.1: Each mosaic group owns its row heights, including incomplete groups. */

.project-grid {
  display: flex;
  flex-direction: column;
  gap: var(--tile-gap);
  align-items: stretch;
  min-width: 0;
}

.project-grid>.project-group {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1fr);
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: var(--tile-gap);
  width: 100%;
  min-width: 0;
  aspect-ratio: 9/4;
  align-items: stretch;
}

.project-grid>.project-group>.project-card:nth-child(n) {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  grid-row: auto;
  grid-column: auto;
  overflow: hidden;
  border-radius: var(--tile-radius);
}

.project-grid>.project-group.count-3>.project-card:first-child {
  grid-row: span 2;
}

.project-grid>.project-group.count-2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: minmax(0,1fr);
  aspect-ratio: 3/1;
}

.project-grid>.project-group.count-1 {
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: minmax(0,1fr);
  aspect-ratio: 16/9;
}

@media(max-width:800px) {

  .project-grid>.project-group.count-1,.project-grid>.project-group.count-2,.project-grid>.project-group.count-3 {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: none;
    grid-auto-rows: auto;
    aspect-ratio: auto;
  }

  .project-grid>.project-group>.project-card:nth-child(n) {
    grid-row: auto;
    height: auto;
    aspect-ratio: 3/2;
  }
}

/* ===== MLR TEAM PAGE ===== */

.mlr-team-page {
  background: #fff;
  color: #181818;
  padding: clamp(75px,7vw,112px) clamp(12px,1.2vw,24px) clamp(80px,9vw,160px);
  min-height: 80vh;
  font-family: Arial,Helvetica,sans-serif;
}

.mlr-team-heading {
  max-width: 850px;
  margin: 0 0 clamp(38px,5vw,90px);
  font-size: clamp(30px,3.15vw,60px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.055em;
}

.mlr-team-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,3fr);
  gap: 8px;
  align-items: start;
}

.mlr-team-nav {
  position: sticky;
  top: 105px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-left: 2px solid #e1e1e1;
  margin-top: clamp(24px,4vw,75px);
  max-width: 240px;
}

.mlr-team-nav button {
  text-align: left;
  padding: 7px 12px;
  margin-left: -2px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  font-size: clamp(16px,1.45vw,25px);
  font-weight: 400;
  letter-spacing: -.04em;
  color: #777;
  line-height: 1.4;
}

.mlr-team-nav button[aria-pressed="true"] {
  border-left-color: #181818;
  color: #181818;
}

.mlr-team-nav button:hover {
  color: #181818;
}

.mlr-team-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(36px,5vw,85px) 8px;
  align-items: start;
}

.mlr-team-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
}

.mlr-team-card[hidden] {
  display: none!important;
}

.mlr-team-portrait {
  aspect-ratio: 0.92;
  overflow: hidden;
  border-radius: 8px;
  background: #e8e8e8;
  display: grid;
  place-items: center;
}

.mlr-team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: grayscale(1);
  transition: filter .35s ease,transform .5s ease;
}

.mlr-team-portrait:hover img {
  transform: scale(1.015);
}

.mlr-team-placeholder {
  font: 400 13px/1.4 Arial,sans-serif;
  letter-spacing: .03em;
  color: #777;
}

.mlr-team-role {
  font: 400 11px/1.45 'Courier New',monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #777;
  margin: 12px 0 6px;
  overflow-wrap: anywhere;
}

.mlr-team-name {
  font-size: clamp(20px,1.65vw,29px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.1;
  margin: 0 0 13px;
  overflow-wrap: anywhere;
}

.mlr-team-bio {
  color: #666;
  font: 400 14px/1.4 Arial,sans-serif;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.mlr-team-empty {
  grid-column: 1/-1;
  margin: 25px 0;
  font-size: 15px;
  color: #777;
}

.mlr-team-empty[hidden] {
  display: none!important;
}

@media(max-width:1000px) {

  .mlr-team-layout {
    grid-template-columns: minmax(140px,1fr) minmax(0,3fr);
  }

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

@media(max-width:650px) {

  .mlr-team-page {
    padding-top: 90px;
  }

  .mlr-team-layout {
    grid-template-columns: minmax(0,1fr);
    gap: 20px;
  }

  .mlr-team-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    max-width: none;
    border-left: 0;
    border-bottom: 1px solid #e1e1e1;
  }

  .mlr-team-nav button {
    margin: 0;
    padding: 8px 10px;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }

  .mlr-team-nav button[aria-pressed="true"] {
    border-bottom-color: #181818;
  }

  .mlr-team-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 32px 8px;
  }

  .mlr-team-role {
    font-size: 9px;
  }

  .mlr-team-name {
    font-size: 20px;
  }

  .mlr-team-bio {
    font-size: 12px;
  }
}

@media(max-width:360px) {

  .mlr-team-grid {
    grid-template-columns: 1fr;
  }
}

/* V13 — editable public design */

:root {
  --header-h: 56px;
  --nav-height: 34px;
  --nav-gap: 12px;
  --tile-gap: 5px;
  --tile-radius: 9px;
}

#header {
  height: var(--header-h);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
  border: 0;
  padding-top: 0;
}

#header::before {
  height: calc(var(--header-h) + 48px);
  background: linear-gradient(#fffffff0,#ffffff18);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  mask-image: linear-gradient(#000 0%,#000 38%,transparent 100%);
  -webkit-mask-image: linear-gradient(#000 0%,#000 38%,transparent 100%);
}

#header.scrolled::before {
  background: linear-gradient(#ffffff40,#ffffff08);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

#header::after {
  opacity: 0;
}

#desktop a,.header-right>button,.header-right>a {
  border-radius: 8px;
}

#menu,.lang-menu {
  position: fixed;
  inset: auto;
  z-index: 45;
  width: max-content;
  min-width: 138px;
  max-width: calc(100vw - 24px);
  padding: 12px;
  border-radius: 10px;
  background: rgba(28,25,24,.67);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: none;
  color: #fff;
  display: block;
  overflow: auto;
}

#menu[hidden],.lang-menu[hidden] {
  display: none;
}

.menu-links {
  display: grid;
  gap: 4px;
}

.menu-links a,.lang-option {
  font: 400 15px/1.35 Arial,sans-serif;
  letter-spacing: -.025em;
  padding: 7px 12px;
  border: 0;
  color: #eee;
  background: none;
  display: block;
  text-align: left;
  width: 100%;
  border-radius: 5px;
}

.lang-option.active {
  font-weight: 600;
  color: #fff;
}

.menu-links a:hover,.lang-option:hover {
  background: #ffffff20;
}

.menu-links a span {
  display: none;
}

.hero-progress {
  display: none!important;
}

.hero-content {
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: block;
  pointer-events: none;
}

.hero-caption {
  pointer-events: auto;
  display: inline-block;
  padding: 11px 13px;
  border-radius: 8px;
  color: white;
  background: #18181848;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero h1 {
  font-size: clamp(16px,1.35vw,25px);
  font-weight: 500;
  letter-spacing: -.035em;
  margin: 0;
  line-height: 1.2;
}

.hero .sub {
  font: 11px/1.3 var(--mono);
  margin: 6px 0 0;
  text-transform: uppercase;
}

.hero-caption .eyebrow {
  display: none;
}

.hero.intro-active .hero-caption {
  pointer-events: none;
}

footer {
  position: relative;
  margin-top: 42px;
  padding: 24px 18px 18px;
  background: #eee;
  color: #151515;
  min-height: 360px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px 12px;
  padding: 0 0 95px;
  align-items: start;
}

.footer-left {
  grid-row: span 2;
}

.footer-mini-brand {
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -2px;
  line-height: 1;
  color: #151515;
}

.footer-mini-brand span {
  color: inherit;
}

.footer-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-chip-row .footer-chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  margin: 0;
  padding: 5px 12px;
  border: 0;
  border-radius: 6px;
  background: #d9d9d9;
  font: 10px/1.2 var(--mono);
  text-transform: uppercase;
  color: #151515;
}

.footer-chip:hover {
  background: #c5c5c5;
}

.footer-bottom {
  border: 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px 12px;
  color: #777;
  padding: 0;
  font-size: 12px;
}

.footer-legal {
  grid-row: span 2;
  align-self: end;
}

.footer-social,.footer-languages {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-languages button {
  padding: 0;
  color: inherit;
}

.footer-up {
  position: absolute;
  top: 22px;
  right: 16px;
  border-radius: 6px;
  background: #d9d9d9;
  width: 30px;
  height: 34px;
}

.footer-up:hover {
  background: #c5c5c5;
}

@media(max-width:800px) {

  :root {
    --header-h: 50px;
    --nav-gap: 5px;
    --nav-height: 32px;
  }

  .footer-main,.footer-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-left,.footer-legal {
    grid-row: auto;
  }

  .footer-main {
    padding-bottom: 45px;
  }

  .footer-up {
    top: 18px;
  }

  .footer-mini-brand {
    font-size: 26px;
  }

  #menu,.lang-menu {
    min-width: 120px;
  }

  .mlr-team-heading {
    margin-top: 8px;
  }
}

/* ===== V13.1 — anchored glass dropdowns ===== */

#menu,#langMenu {
  position: fixed;
  inset: auto;
  z-index: 45;
  box-sizing: border-box;
  width: max-content;
  min-width: 138px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 80px);
  padding: 18px 24px;
  border: 0;
  border-radius: 12px;
  background: rgba(24,22,21,.65);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  box-shadow: none;
  overflow: auto;
  transform-origin: top right;
  animation: mlr-dropdown-in .22s cubic-bezier(.2,.75,.25,1) both;
}

#langMenu {
  min-width: 120px;
}

#menu[hidden],#langMenu[hidden] {
  display: none;
}

#menu .menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#menu .menu-links a,#langMenu .lang-option {
  display: block;
  width: 100%;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,.55);
  text-align: left;
  font: 400 16px/1.25 Arial,Helvetica,sans-serif;
  letter-spacing: -.035em;
  white-space: nowrap;
  transition: color .15s ease;
}

#menu .menu-links a[aria-current="page"],#langMenu .lang-option.active {
  color: #fff;
  font-weight: 600;
}

#menu .menu-links a:hover,#langMenu .lang-option:hover {
  background: transparent;
  color: #fff;
}

#menu .menu-links a:focus-visible,#langMenu .lang-option:focus-visible {
  color: #fff;
  outline: 1px solid #ffffff80;
  outline-offset: 3px;
}

#header #menuBtn[aria-expanded="true"],#header #lang[aria-expanded="true"] {
  background: #999;
  color: #fff;
  box-shadow: inset 0 0 0 1px #777;
}

#header #menuBtn[aria-expanded="true"] i::after {
  transform: rotate(0);
}

@keyframes mlr-dropdown-in {

  from {
    opacity: 0;
    transform: translateY(-6px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media(max-width:800px) {

  #menu,#langMenu {
    padding: 14px 18px;
    min-width: 120px;
  }

  #menu .menu-links a,#langMenu .lang-option {
    font-size: 15px;
  }
}

@media(prefers-reduced-motion:reduce) {

  #menu,#langMenu {
    animation: none;
  }
}

/* ===== MLR V13.2 — dropdown positioning correction ===== */

#menu.menu, #langMenu.lang-menu {
  position: fixed !important;
  margin: 0 !important;
  min-width: 0 !important;
  max-width: calc(100vw - 16px) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 16px 20px !important;
  border: none !important;
  border-radius: 12px !important;
  background: rgba(28, 25, 24, .60) !important;
  backdrop-filter: blur(24px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(135%) !important;
  box-shadow: none !important;
  transform-origin: top center;
  z-index: 45;
  animation: mlr-menu-down .22s cubic-bezier(.2,.75,.25,1) both;
}

#menu.menu[hidden], #langMenu.lang-menu[hidden] {
  display: none !important;
}

#menu .menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

#menu .menu-links a, #langMenu .lang-option {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 6px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: rgba(255,255,255,.60) !important;
  font: 400 15px/1.3 Arial, Helvetica, sans-serif !important;
  letter-spacing: -.025em !important;
  text-align: left;
  white-space: normal;
}

#menu .menu-links a[aria-current="page"], #langMenu .lang-option.active {
  color: #fff !important;
  font-weight: 600 !important;
}

#menu .menu-links a:hover, #langMenu .lang-option:hover,
#menu .menu-links a:focus-visible, #langMenu .lang-option:focus-visible {
  color: #fff !important;
  outline: none !important;
  text-decoration: none;
}

#header #menuBtn, #header #lang {
  outline: none;
}

#header #menuBtn:focus-visible, #header #lang:focus-visible {
  outline: 1px solid #777;
  outline-offset: 2px;
}

#header #menuBtn i {
  transform: none !important;
  border: 0 !important;
  position: relative;
  width: 12px;
  height: 12px;
}

#header #menuBtn i::before, #header #menuBtn i::after {
  width: 12px;
  height: 1px;
  left: 0;
  top: 5.5px;
  background: currentColor;
}

#header #menuBtn i::after {
  transform: rotate(90deg);
  opacity: 1;
}

#header #menuBtn[aria-expanded="true"] i::after {
  transform: rotate(0);
  opacity: 0;
}

@keyframes mlr-menu-down {

  from {
    opacity: 0;
    transform: translateY(-5px);
  }

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

@media(prefers-reduced-motion:reduce) {

  #menu.menu,#langMenu.lang-menu {
    animation: none;
  }
}

/* V13.3 — final popup rules, independent of previous menu styles */

#menu.menu, #langMenu.lang-menu {
  padding: 17px 22px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: rgba(25, 23, 22, .62) !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#menu .menu-links a, #langMenu .lang-option {
  outline: none !important;
  outline-offset: 0 !important;
}

#menu .menu-links a:focus, #langMenu .lang-option:focus {
  outline: none !important;
  box-shadow: none !important;
}

#menu .menu-links a:focus-visible, #langMenu .lang-option:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#menu .menu-links:not(:has([aria-current="page"])) a:first-child {
  color: #fff !important;
  font-weight: 600 !important;
}

#menu .menu-links a {
  min-height: 0;
}

/* ===== V13.4: Unified controls + homepage team feature ===== */

:root {
  --mlr-button-bg: #efefef;
  --mlr-button-hover: #dedede;
  --mlr-button-active: #999;
  --mlr-button-radius: 8px;
  --mlr-button-height: 34px;
  --mlr-button-font: 500 11px/1.2 var(--mono, 'Courier New', monospace);
}

/* Shared typography, geometry and hover treatment for ordinary actions.
   Header glass, popup rows, gallery images and scroll controls retain their own behavior. */

.arrowlink, .footer-chip-row .footer-chip, .project-tool, .filters button, .footer-up {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: var(--mlr-button-height);
  padding: 8px 16px;
  margin: 0;
  border: 0;
  border-radius: var(--mlr-button-radius);
  background: var(--mlr-button-bg);
  color: #171717;
  font: var(--mlr-button-font);
  letter-spacing: .055em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.arrowlink:hover, .footer-chip-row .footer-chip:hover, .project-tool:hover, .filters button:hover, .footer-up:hover {
  background: var(--mlr-button-hover);
  color: #171717;
}

.filters button.active, .filters button[aria-pressed="true"] {
  background: var(--mlr-button-active);
  color: #fff;
}

.arrowlink:focus-visible, .footer-chip:focus-visible, .project-tool:focus-visible, .filters button:focus-visible, .footer-up:focus-visible {
  outline: 1px solid #777;
  outline-offset: 3px;
}

.cta-arrow {
  width: 18px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-tool.project-x {
  width: 38px;
  padding: 0;
}

.footer-up {
  width: 34px;
  padding: 0;
}

.filters {
  gap: 8px;
}

#desktop a,.header-right>button,.header-right>a {
  border-radius: var(--mlr-button-radius);
}

/* Centered All Work button, generous whitespace and a thin divider before the statement. */

.work-more {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 54px 12px 90px;
}

.work-more .note {
  text-align: center;
  margin: 0;
  font-size: 10px;
}

.manifesto {
  background: #fff;
  border-top: 1px solid #c7c7c7;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.55fr);
  align-items: center;
  gap: clamp(24px,4vw,72px);
  padding: clamp(38px,5vw,84px) clamp(20px,4.5vw,90px) clamp(38px,6vw,110px);
}

.manifesto > div {
  min-width: 0;
}

.manifesto .statement {
  font-size: clamp(30px, 4.3vw, 74px);
  letter-spacing: -.045em;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.manifesto .arrowlink {
  margin-top: 28px;
}

.manifesto-media {
  margin: 0;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifesto-media img {
  display: block;
  max-width: min(100%, 380px);
  width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

/* Team block: two equal text columns, then the entire group photograph. */

.home-team-feature {
  width: 100%;
  background: #fff;
  padding: clamp(32px,4vw,72px) clamp(20px,4.5vw,90px) clamp(40px,6vw,100px);
}

.home-team-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: start;
  gap: 24px;
  margin-bottom: clamp(26px,3vw,48px);
}

.home-team-head h2 {
  font-size: clamp(30px, 3.1vw, 52px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.08;
  margin: 0;
}

.home-team-copy {
  min-width: 0;
}

.home-team-copy p {
  font: 400 clamp(13px,1vw,16px)/1.5 Arial, Helvetica, sans-serif;
  color: #727272;
  max-width: 780px;
  margin: 0 0 20px;
}

.home-team-figure {
  margin: 0;
}

.home-team-figure > a {
  display: block;
  overflow: hidden;
  border-radius: 9px;
}

.home-team-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity .2s;
}

.home-team-figure a:hover img {
  opacity: .95;
}

.home-team-figure figcaption {
  font: 11px/1.4 Arial, Helvetica, sans-serif;
  color: #777;
  margin-top: 8px;
}

@media (max-width: 700px) {

  .work-more {
    padding: 34px 12px 48px;
  }

  .manifesto {
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
  }

  .manifesto-media img {
    max-width: min(100%, 260px);
  }

  .manifesto .statement {
    font-size: clamp(28px,7vw,45px);
  }

  .home-team-head {
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
  }

  .home-team-feature {
    padding-inline: 15px;
  }

  .home-team-copy p {
    margin-bottom: 14px;
  }

  .home-team-figure > a {
    border-radius: 7px;
  }
}

/* ===== V13.5 — original MLR identity and portrait viewer ===== */

#header .brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
}

#header .brand-symbol {
  width: auto;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px #fff7);
}

.footer-mini-brand {
  display: inline-block;
}

.footer-mini-brand img {
  width: 76px;
  height: auto;
  object-fit: contain;
}

.project-card .pic img,.mlr-team-portrait img,.home-team-figure img {
  transition: transform 1.05s cubic-bezier(.22,.61,.36,1);
  transform: scale(1);
}

.mlr-team-portrait {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.mlr-team-portrait img {
  filter: grayscale(1);
}

@media(hover:hover) and (pointer:fine) {

  .project-card:hover .pic img,.project-card:focus-visible .pic img,.mlr-team-card:hover .mlr-team-portrait img,.mlr-team-portrait:focus-visible img {
    transform: scale(1.105);
  }

  .home-team-figure a:hover img {
    transform: scale(1.045);
    opacity: 1;
  }
}

.person-demo {
  position: absolute;
  bottom: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  background: #202020a6;
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 6px;
  padding: 5px 8px;
  font: 10px/1.3 Arial,sans-serif;
}

.person-demo[hidden] {
  display: none;
}

.team-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 24px;
  padding: 8px 16px;
  min-height: var(--mlr-button-height);
  border-radius: var(--mlr-button-radius);
  background: var(--mlr-button-bg);
  font: var(--mlr-button-font);
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: background .2s;
}

.team-open-btn:hover {
  background: var(--mlr-button-hover);
}

.team-open-btn:focus-visible,.mlr-team-portrait:focus-visible {
  outline: 1px solid #777;
  outline-offset: 3px;
}

#personDialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(86vw,1600px);
  height: 89dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #161616;
  overflow: hidden;
}

#personDialog[open] {
  display: block;
  animation: project-enter .26s cubic-bezier(.2,.75,.25,1);
}

#personDialog::backdrop {
  background: rgba(15,15,15,.34);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
}

.person-shell {
  display: grid;
  grid-template-columns: minmax(0,36%) minmax(0,64%);
  width: 100%;
  height: 100%;
  gap: 0;
  padding: 9px;
  overflow: hidden;
}

.person-copy,.person-media {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #999 transparent;
}

.person-copy {
  padding: 0 clamp(14px,2vw,32px) 22px 12px;
}

.person-toolbar {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 0 0 18px;
  z-index: 2;
}

.person-copy h1 {
  margin: 7px 0 30px;
  font-size: clamp(28px,3vw,50px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.person-about {
  font: 11px/1.4 var(--mono,monospace);
  text-transform: uppercase;
  color: #777;
  letter-spacing: .07em;
}

.person-bio {
  font-size: clamp(15px,1.2vw,19px);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.person-disclaimer {
  font-size: 12px;
  color: #777;
  margin-top: 28px;
}

.person-media {
  padding-right: 3px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.person-photo {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  min-height: 260px;
  height: 100%;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
}

.person-extra {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  filter: grayscale(1);
}

@media(max-width:700px) {

  #header .brand-symbol {
    height: 26px;
  }

  #personDialog {
    width: calc(100vw - 14px);
    height: calc(100dvh - 22px);
  }

  .person-shell {
    display: flex;
    flex-direction: column;
    overflow: auto;
    gap: 8px;
  }

  .person-copy,.person-media {
    overflow: visible;
    flex: none;
  }

  .person-copy {
    padding: 0 9px 14px;
  }

  .person-photo {
    height: 55dvh;
  }

  .person-copy h1 {
    margin-bottom: 15px;
  }
}

@media(prefers-reduced-motion:reduce) {

  .project-card .pic img,.mlr-team-portrait img,.home-team-figure img {
    transition: none;
    transform: none!important;
  }

  #personDialog[open] {
    animation: none;
  }
}

/* V13.6 — Featured Works: separate the presentation from the project mosaic. */

.section.work-section.home-featured {
  background: #fff;
  padding-top: clamp(20px, 1.25vw, 30px);
}

.featured-works-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-inline: clamp(10px, .8vw, 20px);
  padding: 10px 0 clamp(30px, 2.4vw, 52px);
  border-top: 1px solid #d3d3d3;
}

.section .featured-works-head h2 {
  margin: 0;
  font: 400 clamp(17px, 1.05vw, 23px)/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: -.035em;
  color: #171717;
}

.featured-works-head .arrowlink {
  flex: 0 0 auto;
  margin: 0;
}

@media (max-width: 700px) {

  .section.work-section.home-featured {
    padding-top: 16px;
  }

  .featured-works-head {
    margin-inline: 8px;
    padding: 10px 0 24px;
    gap: 10px;
  }

  .section .featured-works-head h2 {
    font-size: 17px;
  }

  .featured-works-head .arrowlink {
    padding: 7px 10px;
    gap: 6px;
    min-height: 30px;
    font-size: 10px;
  }
}

/* V13.7 — footer reveal. The page slides over a stationary footer. */

body.mlr-footer-reveal {
  position: relative;
  isolation: isolate;
  padding-bottom: var(--mlr-footer-height, 0px);
}

body.mlr-footer-reveal #main {
  position: relative;
  z-index: 1;
  background: #fff;
  padding-bottom: 42px;
}

body.mlr-footer-reveal #footer {
  position: fixed;
  z-index: 0;
  inset: auto 0 0 0;
  margin: 0;
  width: auto;
  min-height: clamp(360px, 54vh, 620px);
  background: #eee;
}

@media (min-width: 701px) {

  body.mlr-footer-reveal #footer {
    right: var(--page-rail, 13px);
  }
}

/* On small screens keep all links reachable, without a trapped fixed panel. */

@media (max-width: 700px) {

  body.mlr-footer-reveal #footer {
    min-height: 360px;
  }
}

/* MLR 13.8: Office address page, consistent with the project and team design. */

.office-page {
  padding: calc(var(--header-h,56px) + 36px) clamp(12px,1.3vw,26px) clamp(64px,7vw,120px);
  background: #fff;
  min-height: 80vh;
  box-sizing: border-box;
}

.office-page h1 {
  font-size: clamp(34px,3.1vw,60px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 clamp(32px,3vw,58px);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  align-items: start;
}

.office-card {
  min-width: 0;
}

.office-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

.office-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.05s cubic-bezier(.2,.65,.25,1);
}

@media(hover:hover) {

  .office-photo:hover img {
    transform: scale(1.105);
  }
}

.office-ref {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: #2229;
  color: #fff;
  padding: 5px 8px;
  font: 10px/1.3 Arial,sans-serif;
  border-radius: 5px;
  backdrop-filter: blur(12px);
}

.office-card h2 {
  font-size: clamp(22px,1.9vw,36px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.15;
  margin: 18px 0 14px;
}

.office-details {
  display: grid;
  gap: 13px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  overflow-wrap: anywhere;
}

.office-details div {
  display: grid;
  gap: 2px;
}

.office-details span {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #999;
}

.office-details p {
  margin: 0;
}

.office-details a {
  width: fit-content;
  color: #555;
}

.office-details a:hover {
  color: #111;
}

.office-address {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media(max-width:850px) {

  .office-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px 10px;
  }
}

@media(max-width:560px) {

  .office-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .office-page h1 {
    margin-bottom: 28px;
  }
}

@media(prefers-reduced-motion:reduce) {

  .office-photo img {
    transition: none;
  }
}

/* V13.9: one shared office, static feature photos, unified footer */

.office-grid.office-single {
  display: block;
  max-width: 1500px;
  margin-inline: auto;
}

.office-single .office-card {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: clamp(28px,4vw,72px);
  align-items: start;
}

.office-single .office-photo {
  aspect-ratio: 4/3;
}

.office-single .office-copy {
  min-width: 0;
  padding: clamp(8px,1vw,20px) 0;
}

.office-single h2 {
  margin: 0 0 10px;
  font-size: clamp(28px,3vw,52px);
}

.office-studios {
  font-size: 11px;
  letter-spacing: .07em;
  color: #777;
  margin: 0 0 32px;
  line-height: 1.5;
}

.office-single .office-details {
  gap: 20px;
  font-size: 15px;
}

.office-single .office-details span {
  font-size: 11px;
}

.office-photo img,.office-photo:hover img,.home-team-figure img,.home-team-figure a:hover img,.home-team-figure a:focus-visible img {
  transform: none!important;
  transition: none!important;
  opacity: 1!important;
}

#footer {
  padding: clamp(24px,3vw,48px) clamp(18px,3vw,48px) 24px;
  min-height: 360px;
  background: #eee;
  color: #171717;
}

#footer .footer-main {
  display: grid;
  grid-template-columns: minmax(90px,1fr) minmax(0,3fr);
  gap: 32px;
  align-items: start;
  padding: 0 55px 0 0;
}

#footer .footer-left {
  grid-row: auto;
}

#footer .footer-mini-brand img {
  width: 88px;
  max-width: 100%;
  height: auto;
}

#footer .footer-nav {
  min-width: 0;
}

#footer .footer-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

#footer .footer-chip-row .footer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 8px;
  background: #dedede;
  color: #252525;
  font: 400 14px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

#footer .footer-chip-row .footer-chip:hover {
  background: #cecece;
}

#footer .footer-chip-row .footer-chip[aria-current="page"] {
  background: #969696;
  color: white;
}

#footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(80px,13vh,180px);
  padding: 0;
  color: #666;
  font-size: 13px;
}

#footer .footer-legal {
  grid-row: auto;
  align-self: center;
}

#footer .footer-languages {
  display: flex;
  gap: 8px;
  align-items: center;
}

#footer .footer-languages button {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 7px;
  background: transparent;
  font-size: 13px;
  color: #666;
}

#footer .footer-languages button[aria-pressed="true"] {
  background: #dedede;
  color: #171717;
}

#footer .footer-languages button:hover {
  color: #171717;
}

#footer .footer-up {
  top: clamp(24px,3vw,48px);
  right: clamp(18px,3vw,48px);
  width: 42px;
  height: 42px;
  background: #dedede;
  font-size: 18px;
}

#footer .footer-up:hover {
  background: #cecece;
}

@media(max-width:700px) {

  .office-single .office-card {
    grid-template-columns: minmax(0,1fr);
    gap: 20px;
  }

  .office-single .office-copy {
    padding: 0;
  }

  .office-studios {
    margin-bottom: 22px;
  }

  #footer .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-right: 0;
  }

  #footer .footer-left {
    padding-right: 55px;
  }

  #footer .footer-chip-row .footer-chip {
    font-size: 13px;
    padding: 10px 13px;
    min-height: 42px;
  }

  #footer .footer-bottom {
    margin-top: 46px;
    gap: 14px;
  }

  #footer .footer-languages {
    flex-wrap: wrap;
  }
}

/* V15.5 — HTML compositor layers, synchronized five-second timeline. */
.hero>.motion-intro {background:transparent;transition:none;isolation:isolate;--intro-duration:5000ms;--soft-motion:cubic-bezier(.42,0,.58,1);}
.hero>.motion-intro::before {content:"";position:absolute;inset:0;background:#f0f0ed;z-index:-1;}
.hero>.motion-intro.is-playing::before {animation:mlr55-reveal var(--intro-duration) linear both;}
.hero>.motion-intro .intro-stage {inset:28px 12px;display:block;}
.motion-word {position:absolute;left:0;top:0;width:0;height:0;transform-origin:0 0;opacity:0;}
.motion-glyph {position:absolute;display:block;top:calc(var(--font) * -.5);left:0;height:var(--font);font:600 var(--font)/1 Arial,Helvetica,sans-serif;text-align:center;color:#171717;white-space:nowrap;transform-origin:center;opacity:0;}
.motion-part,.motion-final {position:absolute;display:block;max-width:none;object-fit:contain;opacity:0;transform-origin:50% 50%;}
.motion-intro.is-playing .motion-word {animation:mlr55-assemble var(--intro-duration) linear both;will-change:transform,opacity;}
.motion-intro.is-playing .motion-glyph {animation:mlr55-fold var(--intro-duration) linear both;will-change:transform,opacity;}
.motion-intro.is-playing .motion-anchor {animation-name:mlr55-anchor;}
.motion-intro.is-playing .motion-part {animation:mlr55-shape var(--intro-duration) linear both;will-change:opacity;}
.motion-intro.is-playing .motion-final {animation:mlr55-final var(--intro-duration) linear both;will-change:transform,opacity;}
.motion-intro.is-playing .intro-top {animation:mlr55-labels var(--intro-duration) linear both;}
@keyframes mlr55-assemble {
 0%,35% {opacity:1;transform:translate3d(var(--sx),var(--sy),0) scale(1);animation-timing-function:var(--soft-motion);}
 65%,70% {opacity:1;transform:translate3d(var(--tx),var(--ty),0) scale(var(--part-scale));}
 73%,100% {opacity:0;transform:translate3d(var(--tx),var(--ty),0) scale(var(--part-scale));}
}
@keyframes mlr55-fold {
 0% {opacity:0;transform:translate3d(var(--gx),6px,0);animation-timing-function:var(--soft-motion);}
 11%,21% {opacity:1;transform:translate3d(var(--gx),0,0);animation-timing-function:var(--soft-motion);}
 40%,100% {opacity:0;transform:translate3d(0,0,0) scale(.24,.82);}
}
@keyframes mlr55-anchor {
 0% {opacity:0;transform:translate3d(var(--gx),6px,0);animation-timing-function:var(--soft-motion);}
 11%,21% {opacity:1;transform:translate3d(var(--gx),0,0);animation-timing-function:var(--soft-motion);}
 37% {opacity:1;transform:translate3d(0,0,0);animation-timing-function:var(--soft-motion);}
 53%,100% {opacity:0;transform:translate3d(0,0,0);}
}
@keyframes mlr55-shape {0%,37% {opacity:0;animation-timing-function:var(--soft-motion);}53%,100% {opacity:1;}}
/* Pixel-aligned handoff to original logo; no stage-wide zoom. */
@keyframes mlr55-final {
 0%,65% {opacity:0;transform:translate3d(0,0,0) scale(1);}
 70%,75% {opacity:1;transform:translate3d(0,0,0) scale(1);animation-timing-function:cubic-bezier(.42,0,.7,1);}
 100% {opacity:0;transform:translate3d(0,0,0) scale(6);}
}
@keyframes mlr55-reveal {0%,77% {opacity:1;animation-timing-function:var(--soft-motion);}100% {opacity:0;}}
@keyframes mlr55-labels {0%,73% {opacity:1;animation-timing-function:var(--soft-motion);}88%,100% {opacity:0;}}
.hero.intro-active .slide.active img {transition:none;transform:scale(1);}
@media(prefers-reduced-motion:reduce) {.hero>.motion-intro.is-playing::before {animation:none!important;}}

/* Rollover: two copies of the same label, clipped to a single line. */

.mlr-roll {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  line-height: 1.35;
  max-width: 100%;
}

.mlr-roll-track {
  display: block;
  position: relative;
  transition: transform .26s cubic-bezier(.2,.75,.25,1);
}

.mlr-roll-next {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

@media(hover:hover) and (pointer:fine) {

  .mlr-roll-button:hover .mlr-roll-track {
    transform: translateY(-100%);
  }

  .mlr-roll-button svg {
    transition: transform .26s cubic-bezier(.2,.75,.25,1);
  }

  .mlr-roll-button:hover .cta-arrow {
    transform: translateX(3px);
  }

  .mlr-roll-button.glass-icon:hover svg,.mlr-roll-button.project-tool:hover svg {
    transform: translateY(-1px) scale(1.08);
  }
}

.mlr-roll-button:focus-visible .mlr-roll-track {
  transform: translateY(-100%);
}

@media(prefers-reduced-motion:reduce) {

  .mlr-roll-track,.mlr-roll-button svg {
    transition: none!important;
    transform: none!important;
  }

  .motion-intro * {
    animation: none!important;
  }
}

/* V13.11 — only top-level navigation moves; dropdown labels remain intact. */

#header .mlr-roll {
  display: inline-block;
  overflow: hidden;
  flex: none;
  line-height: 1.35;
  vertical-align: middle;
}

#header .mlr-roll-track {
  display: block;
  position: relative;
  transition: transform .24s cubic-bezier(.2,.75,.25,1);
}

#header .mlr-roll-first,#header .mlr-roll-next {
  display: block;
  white-space: nowrap;
}

#header .mlr-roll-next {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

#header .mlr-roll-phone .mlr-roll-first,#header .mlr-roll-phone .mlr-roll-next {
  display: grid;
  place-items: center;
  height: 18px;
  width: 18px;
}

#header .mlr-roll-phone svg {
  transform: none!important;
  transition: none!important;
}

#menu .menu-links a {
  display: block!important;
  opacity: 1;
  visibility: visible;
}

#menu .menu-links a span {
  display: inline;
}

#menu.menu {
  animation: mlr-company-reveal .18s cubic-bezier(.2,.75,.25,1) both;
  transform-origin: top center;
}

@keyframes mlr-company-reveal {

  from {
    opacity: 0;
    transform: translateY(-5px);
  }

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

#menu .menu-links a:focus-visible {
  outline: none!important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#menu .menu-links:not(:has([aria-current="page"])) a:first-child:not(:hover):not(:focus-visible) {
  color: rgba(255,255,255,.60)!important;
  font-weight: 400!important;
}

#header #menuBtn {
  min-width: max-content;
}

.featured-works-head {
  justify-content: flex-end;
}

@media(prefers-reduced-motion:reduce) {

  #menu.menu {
    animation: none;
  }

  #header .mlr-roll-track {
    transition: none!important;
    transform: none!important;
  }
}

/* V13.12 — clean home separators and vacancies */

.home-featured .featured-works-head {
  padding: 0;
  height: clamp(20px,2vw,36px);
  min-height: 0;
}

.home-section-divider {
  height: 1px;
  width: 100%;
  background: #d3d3d3;
  margin: 0;
}

.vacancy-page {
  padding: clamp(105px,10vw,155px) clamp(20px,4.5vw,90px) clamp(65px,9vw,145px);
  min-height: 70vh;
  background: white;
}

.vacancy-head {
  max-width: 850px;
  margin: 0 0 clamp(35px,6vw,90px);
}

.vacancy-head h1 {
  font-size: clamp(42px,5.3vw,88px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.04;
  margin: 12px 0 18px;
}

.vacancy-head p {
  font-size: clamp(15px,1.2vw,19px);
  color: #666;
  max-width: 620px;
  margin: 0;
}

.vacancy-list {
  border-top: 1px solid #d1d1d1;
}

.vacancy-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.6fr) auto;
  gap: clamp(18px,4vw,65px);
  padding: 30px 0;
  border-bottom: 1px solid #d1d1d1;
  align-items: start;
}

.vacancy-index,.vacancy-demo {
  font: 11px/1.4 Arial,sans-serif;
  letter-spacing: .04em;
  color: #777;
}

.vacancy-position h2 {
  font-weight: 400;
  font-size: clamp(25px,2.4vw,38px);
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.vacancy-position p {
  color: #777;
  font-size: 13px;
  margin: 0 0 8px;
}

.vacancy-description {
  font-size: 15px;
  color: #444;
  overflow-wrap: anywhere;
  white-space: normal;
}

.vacancy-action {
  justify-self: end;
}

.vacancy-apply {
  white-space: nowrap;
}

.vacancy-empty {
  padding: 22px 0;
  color: #777;
}

#vacancyDialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(460px,calc(100% - 32px));
  height: fit-content;
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #171717;
  overflow: auto;
  box-shadow: 0 18px 70px #0002;
}

#vacancyDialog[open] {
  display: block;
  animation: vacancy-in .22s cubic-bezier(.2,.75,.25,1) both;
}

#vacancyDialog::backdrop {
  background: rgba(20,20,20,.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.vacancy-modal {
  padding: 34px;
  position: relative;
}

.vacancy-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #efefef;
  border-radius: 7px;
  width: 34px;
  height: 34px;
  font-size: 22px;
  line-height: 1;
}

.vacancy-modal h2 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.04em;
  margin: 18px 0 12px;
  overflow-wrap: anywhere;
}

.vacancy-modal p {
  color: #666;
  font-size: 14px;
  margin: 12px 0;
}

.vacancy-email {
  display: block;
  font-size: 19px;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  margin: 20px 0;
}

.vacancy-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.vacancy-modal-actions .arrowlink {
  margin: 0;
}

.vacancy-copy {
  background: #efefef;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 13px;
}

.vacancy-copy:hover,.vacancy-close:hover {
  background: #ddd;
}

.vacancy-copy-status:empty {
  display: none;
}

@keyframes vacancy-in {

  from {
    opacity: 0;
    transform: translateY(8px) scale(.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media(max-width:700px) {

  .vacancy-row {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 22px 0;
  }

  .vacancy-action {
    justify-self: start;
  }

  .vacancy-modal {
    padding: 28px 22px;
  }

  .vacancy-head {
    margin-bottom: 30px;
  }
}

@media(prefers-reduced-motion:reduce) {

  #vacancyDialog[open] {
    animation: none;
  }
}

/* V13.13 — continuous team sections, sticky read-only scroll indicator */

.team-scroll-page {
  padding: clamp(26px,2.8vw,54px) clamp(12px,1.15vw,24px) 0;
  background: #fff;
  min-height: 0;
}

.team-page-kicker {
  font-size: clamp(15px,1.1vw,21px);
  font-weight: 400;
  color: #282828;
  margin: 0 0 18px;
  letter-spacing: -.025em;
}

.team-scroll-page .mlr-team-heading {
  max-width: clamp(410px,43vw,840px);
  font-size: clamp(34px,3.05vw,61px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0 0 clamp(42px,4vw,80px);
}

.team-scroll-page .mlr-team-layout {
  grid-template-columns: minmax(0,1fr) minmax(0,3fr);
  gap: 8px;
  align-items: start;
}

.team-scroll-page .team-scroll-nav {
  position: sticky;
  top: 28vh;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0;
  margin: 0;
  max-width: none;
  padding: 0 0 0 16px;
  min-width: 0;
  pointer-events: none;
}

.team-progress-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #e2e2e2;
  border-radius: 1px;
  overflow: hidden;
}

.team-progress-fill {
  position: absolute;
  inset: 0;
  background: #111;
  transform-origin: top;
  transform: scaleY(var(--team-progress,0));
  will-change: transform;
}

.team-progress-label {
  font-size: clamp(18px,1.45vw,29px);
  line-height: 1.4;
  letter-spacing: -.045em;
  font-weight: 400;
  display: block;
  padding: 5px 0;
  color: #252525;
}

.team-scroll-groups {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(55px,7vw,130px);
}

.team-scroll-group {
  min-width: 0;
}

.team-scroll-page .mlr-team-grid {
  gap: clamp(40px,4vw,76px) 10px;
}

.team-scroll-principal .mlr-team-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.team-scroll-associate .mlr-team-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.team-scroll-principal .mlr-team-portrait {
  aspect-ratio: .92;
}

.team-scroll-associate .mlr-team-portrait {
  aspect-ratio: 3/4;
}

.team-scroll-page .mlr-team-portrait {
  border-radius: 8px;
}

.team-scroll-page .mlr-team-name {
  font-size: clamp(20px,1.55vw,29px);
}

.team-scroll-associate .mlr-team-name {
  font-size: clamp(18px,1.25vw,24px);
}

.team-scroll-page .mlr-team-bio {
  font-size: clamp(12px,.85vw,15px);
  line-height: 1.35;
}

.team-scroll-page .team-open-btn {
  margin-top: 18px;
}

.team-mobile-heading {
  display: none;
}

.team-scroll-page .team-join-feature {
  padding: clamp(90px,9vw,180px) 0 clamp(55px,5vw,100px);
  width: 84%;
  margin: 0 auto;
}

.team-join-feature .home-team-head h2 {
  font-size: clamp(30px,2.65vw,52px);
  letter-spacing: -.04em;
}

.team-join-photo {
  overflow: hidden;
  border-radius: 9px;
}

.team-join-photo img {
  width: 100%;
  height: auto;
  display: block;
  transform: none!important;
  transition: none!important;
}

@media(max-width:1100px) {

  .team-scroll-associate .mlr-team-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media(max-width:800px) {

  .team-scroll-page .mlr-team-layout {
    grid-template-columns: minmax(120px,1fr) minmax(0,3fr);
  }

  .team-scroll-page .mlr-team-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .team-scroll-page .team-join-feature {
    width: 94%;
  }
}

@media(max-width:650px) {

  .team-scroll-page {
    padding: 26px 12px 0;
  }

  .team-scroll-page .mlr-team-layout {
    display: block;
  }

  .team-scroll-page .team-scroll-nav {
    display: none;
  }

  .team-mobile-heading {
    display: block;
    font-size: 19px;
    margin-bottom: 16px;
  }

  .team-scroll-page .mlr-team-heading {
    font-size: clamp(29px,7vw,42px);
    margin-bottom: 38px;
  }

  .team-scroll-page .team-join-feature {
    width: 100%;
    padding: 70px 0 44px;
  }

  .team-scroll-page .team-open-btn {
    margin-top: 12px;
  }

  .team-scroll-page .mlr-team-grid {
    gap: 28px 8px;
  }
}

@media(max-width:360px) {

  .team-scroll-page .mlr-team-grid {
    grid-template-columns: 1fr;
  }
}

@media(prefers-reduced-motion:reduce) {

  .team-progress-fill {
    will-change: auto;
  }
}

/* ===== V14 — responsive layout and readable type ===== */

:root {
  --text-body: Arial, Helvetica, sans-serif;
  --tile-gap: 6px;
  --tile-radius: 8px;
}

body {
  font-family: var(--text-body);
  line-height: 1.5;
  overflow-wrap: break-word;
}

main, .project-grid, .project-group, .project-card, .pic, .home-team-head > *, .footer-nav {
  min-width: 0;
}

.project-grid > .project-group.count-2 {
  aspect-ratio: 3.2/1;
}

.project-grid > .project-group.count-1 {
  aspect-ratio: 16/9;
}

.project-grid > .project-group > .project-card:nth-child(n) .pic {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

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

.project-overlay {
  max-width: calc(100% - 16px);
  overflow: hidden;
}

.project-overlay h3, .hero-caption h1 {
  overflow-wrap: anywhere;
}

.project-overlay p {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.grid-empty {
  padding: 40px 18px;
  color: #777;
}

#header .brand {
  flex-shrink: 0;
}

#header #desktop, #header .header-right {
  flex-shrink: 0;
}

#header #desktop a, #header .header-right>button, #header .header-right>a {
  font-size: 11px;
}

#header a.glass-icon[aria-current="page"], #header #menuBtn.active {
  background: #999;
  color: #fff;
}

#header::before {
  pointer-events: none;
}

#header #menuBtn i::after {
  transition: transform .18s ease;
}

#menu, #langMenu {
  max-height: calc(100dvh - 80px);
  overflow: auto;
}

#menu .menu-links a, #langMenu .lang-option {
  font-size: 15px;
  line-height: 1.4;
}

.mlr-team-bio, .project-description {
  font-size: clamp(14px,1vw,16px);
  line-height: 1.45;
}

.mlr-team-name {
  overflow-wrap: anywhere;
}

.project-copy,.person-copy,.office-copy,.vacancy-description {
  overflow-wrap: anywhere;
}

.project-copy h1,.person-copy h1,.office-copy h2 {
  line-height: 1.15;
}

.office-photo img,.home-team-figure img,.team-join-photo img {
  transform: none!important;
  transition: none!important;
}

#footer .footer-chip {
  font-size: 12px;
  min-height: 42px;
}

#footer .footer-languages button {
  min-height: 32px;
}

#footer .footer-chip:focus-visible, #header a:focus-visible, #header button:focus-visible {
  outline: 2px solid #777;
  outline-offset: 2px;
}

@media(min-width:701px) and (max-width:1100px) {

  .project-grid>.project-group.count-3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: none;
    aspect-ratio: auto;
  }

  .project-grid>.project-group.count-3>.project-card:nth-child(n) {
    grid-row: auto;
    aspect-ratio: 3/2;
    height: auto;
  }

  .project-grid>.project-group.count-3>.project-card:first-child {
    grid-column: 1/-1;
    aspect-ratio: 16/9;
  }

  .project-grid>.project-group.count-2 {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: none;
    aspect-ratio: auto;
  }

  .project-grid>.project-group.count-2>.project-card:nth-child(n) {
    height: auto;
    aspect-ratio: 3/2;
  }

  .project-grid>.project-group.count-1 {
    aspect-ratio: 16/9;
  }

  .project-grid>.project-group.count-1>.project-card {
    height: 100%;
  }

  .team-scroll-page .team-scroll-nav {
    padding-left: 10px;
  }

  .team-scroll-page .team-progress-label {
    font-size: clamp(14px,1.6vw,20px);
    letter-spacing: -.035em;
  }

  .team-scroll-page .mlr-team-layout {
    grid-template-columns: minmax(132px,1fr) minmax(0,3fr);
  }

  .team-scroll-page .mlr-team-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:700px) {

  :root {
    --header-h: 54px;
    --tile-gap: 5px;
    --tile-radius: 7px;
    --nav-height: 36px;
    --nav-gap: 4px;
  }

  #header {
    padding: 0 6px;
    gap: 4px;
  }

  #header #desktop,#header .header-right {
    gap: 4px;
  }

  #header #desktop a,#header .header-right>button,#header .header-right>a {
    font-size: 10px;
    min-height: 36px;
    height: 36px;
    padding: 0 8px;
    letter-spacing: 0;
    min-width: 0;
  }

  #header #menuBtn {
    padding: 0 7px;
    gap: 4px;
  }

  #header .header-right>.glass-icon {
    width: 34px;
    padding: 0;
  }

  #header .header-right>#lang {
    min-width: 32px;
    padding: 0 6px;
  }

  #header .brand-symbol {
    width: auto;
    height: 25px;
  }

  .project-grid>.project-group.count-1,.project-grid>.project-group.count-2,.project-grid>.project-group.count-3 {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: none;
    aspect-ratio: auto;
  }

  .project-grid>.project-group>.project-card:nth-child(n) {
    grid-row: auto;
    grid-column: auto;
    height: auto;
    aspect-ratio: 3/2;
  }

  .hero {
    height: calc(82svh - var(--header-h));
    min-height: 300px;
  }

  .page-top,.office-page,.vacancy-page {
    padding-top: clamp(30px,7vw,55px);
  }

  .page-title,.office-page h1,.vacancy-head h1 {
    font-size: clamp(34px,8vw,48px);
    line-height: 1.08;
    letter-spacing: -.04em;
  }

  .section:not(.work-section):not(.manifesto) {
    padding-inline: 16px;
  }

  .team-scroll-page .mlr-team-bio {
    font-size: 13px;
    line-height: 1.4;
  }

  .team-scroll-page .mlr-team-name {
    font-size: clamp(17px,4.5vw,22px);
  }

  .project-description {
    font-size: 14px;
    line-height: 1.45;
  }

  .home-team-copy p,.vacancy-description {
    font-size: 15px;
  }

  #footer .footer-chip {
    font-size: 11px;
    min-height: 40px;
    padding: 8px 12px;
  }

  #footer .footer-main {
    gap: 20px;
  }

  #projectDialog .project-copy {
    max-height: 42%;
  }
}

@media(max-width:380px) {

  #header #desktop a,#header .header-right>button,#header .header-right>a {
    font-size: 9px;
    padding: 0 5px;
  }

  #header .brand-symbol {
    height: 22px;
  }

  #header #menuBtn {
    padding: 0 5px;
    gap: 2px;
  }

  #header .header-right>.glass-icon {
    width: 28px;
    padding: 0;
  }

  #header .header-right>#lang {
    min-width: 26px;
    padding: 0 4px;
  }

  #header #desktop,#header .header-right {
    gap: 3px;
  }
}

@media (hover:none) {

  .project-card:hover img,.mlr-team-portrait:hover img {
    transform: none!important;
  }
}

@media(prefers-reduced-motion:reduce) {

  .project-card img,.mlr-team-portrait img {
    transition: none!important;
    transform: none!important;
  }
}

/* V15.7 — larger navigation CTAs, neutral keyboard focus. */
.arrowlink {
  min-height: 44px;
  padding: 10px 20px;
  gap: 13px;
  font-size: 14px;
  line-height: 1.2;
  max-width: 100%;
  white-space: normal;
}
.arrowlink .cta-arrow {
  width: 23px;
  height: 15px;
}
/* No empty reference photo column on the contact page. */
.office-single .office-card:not(:has(.office-photo)) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 700px) {
  .arrowlink { font-size: 13px; min-height: 44px; padding: 10px 16px; gap: 10px; }
}

/* V16.2 — editorial motion applies ONLY to text, never image frames or cards. */
:is(#main,#projectDialog,#personDialog) .mlr-reveal-pending[data-mlr-reveal="title"],
:is(#main,#projectDialog,#personDialog) .mlr-reveal-pending[data-mlr-reveal="copy"] { opacity:0; }
:is(#main,#projectDialog,#personDialog) .mlr-reveal-playing:is([data-mlr-reveal="title"],[data-mlr-reveal="copy"]) {
  --mlr-reveal-distance:48px;
  --mlr-reveal-duration:1250ms;
  animation:mlr60-rise var(--mlr-reveal-duration) cubic-bezier(.19,1,.32,1) var(--mlr-reveal-delay,0ms) both;
}
:is(#main,#projectDialog,#personDialog) .mlr-reveal-playing[data-mlr-reveal="title"] { --mlr-reveal-distance:76px; --mlr-reveal-duration:1437.5ms; }
@keyframes mlr60-rise { from { opacity:0; translate:0 var(--mlr-reveal-distance); } to { opacity:1; translate:0 0; } }
@media (max-width:700px) {
  :is(#main,#projectDialog,#personDialog) .mlr-reveal-playing[data-mlr-reveal="copy"] { --mlr-reveal-distance:32px; --mlr-reveal-duration:1000ms; }
  :is(#main,#projectDialog,#personDialog) .mlr-reveal-playing[data-mlr-reveal="title"] { --mlr-reveal-distance:50px; --mlr-reveal-duration:1187.5ms; }
}
/* Photo pull-back: 25% longer and 25% deeper than V16.1 (14% → 17.5%).
   Independent scale preserves the original hover transform. */
:is(#main,#projectDialog,#personDialog) img[data-mlr-reveal="zoom"].mlr-reveal-pending { opacity:1; scale:1.175; transform-origin:center; }
:is(#main,#projectDialog,#personDialog) img[data-mlr-reveal="zoom"].mlr-reveal-playing {
  opacity:1; transform-origin:center;
  animation:mlr60-photo-pullback 1812.5ms cubic-bezier(.22,.72,.24,1) both;
}
@keyframes mlr60-photo-pullback { from { scale:1.175; } to { scale:1; } }
/* Match the visible footprint of standalone images without clipping wrappers. */
:is(#main,#personDialog) :is(.cms-card > img,img.person-extra)[data-mlr-reveal="zoom"].mlr-reveal-pending { clip-path:inset(7.4468% round 7px); }
:is(#main,#personDialog) :is(.cms-card > img,img.person-extra)[data-mlr-reveal="zoom"].mlr-reveal-playing { animation-name:mlr60-photo-pullback-clipped; }
@keyframes mlr60-photo-pullback-clipped {
  from { scale:1.175; clip-path:inset(7.4468% round 7px); }
  to { scale:1; clip-path:inset(0 round 8px); }
}
@media (max-width:700px) {
  :is(#main,#projectDialog,#personDialog) img[data-mlr-reveal="zoom"].mlr-reveal-playing { animation-duration:1437.5ms; }
}
/* Captions: desktop hover or keyboard focus, touch devices always show the caption. */
@media (hover:hover) and (pointer:fine) {
  .project-card .project-overlay {
    opacity:0;
    translate:0 32px;
    pointer-events:none;
    transition:opacity 220ms ease, translate 220ms ease;
  }
  .project-card:is(:hover,:focus-visible,:focus-within) .project-overlay {
    opacity:1;
    translate:0 0;
    transition:opacity 812.5ms cubic-bezier(.19,1,.32,1), translate 812.5ms cubic-bezier(.19,1,.32,1);
  }
}
:is(#main,#projectDialog,#personDialog) .mlr-reveal-pending:focus-within,
:is(#main,#projectDialog,#personDialog) .mlr-reveal-playing:focus-within { opacity:1; animation:none; translate:none; scale:none; clip-path:none; }
@media (prefers-reduced-motion:reduce) {
  :is(#main,#projectDialog,#personDialog) .mlr-reveal-pending,
  :is(#main,#projectDialog,#personDialog) .mlr-reveal-playing { opacity:1; animation:none!important; translate:none; scale:none; clip-path:none; }
  .project-card .project-overlay { translate:none!important; transition:none!important; }
}


/* V16.3 — separate contact and address pages. */
.contact-page .office-grid.office-single {max-width: min(1500px, 92vw);}
.contact-page .office-single .office-card {align-items:center;}
.contact-page .office-single .office-card:not(:has(.office-photo)) {max-width:680px;margin-inline:auto;}
.contact-page .office-details {font-size:clamp(14px,1.1vw,18px);gap:20px;color:#555;}
.contact-page .office-details span {font-size:11px;color:#777;}
.contact-channels {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:28px;}
.contact-channel {margin:0;}
#header .location-icon svg {fill:none;stroke:currentColor;}
@media(max-width:700px){
 .contact-page .office-grid.office-single {max-width:100%;}
 .contact-page .office-single .office-card {grid-template-columns:minmax(0,1fr);gap:22px;}
 .contact-page .office-details {gap:14px;}
 .contact-channels {gap:8px;margin-top:22px;}
}
@media(max-width:380px){
 #header {gap:3px;padding-inline:5px;}
 #header #desktop,#header .header-right {gap:2px;}
 #header #desktop a,#header #menuBtn {font-size:8px;padding-inline:4px;}
 #header .header-right>.glass-icon {width:26px;}
 #header .brand-symbol {height:20px;}
}

/* V16.5 — projects scroll in front; the following sheet is revealed behind. */
.home-page-stack { position:relative; isolation:isolate; }
.home-page-back,.home-page-front { display:flow-root; min-width:0; }
.home-page-stack.is-layered > .home-page-front { position:relative; z-index:1; background:#fff; }
.home-page-stack.is-layered > .home-page-back { position:sticky; bottom:var(--mlr-stack-bottom,0px); z-index:0; background:#fff; min-height:100vh; min-height:100dvh; }
.home-page-stack.is-layered > .home-page-front { box-shadow:0 4px 16px rgba(0,0,0,.035); }
@media(prefers-reduced-motion:reduce) {
 .home-page-stack.is-layered > .home-page-back { position:static; min-height:0; }
 .home-page-stack.is-layered > .home-page-front { box-shadow:none; }
}

/* V16.7 — compact slideshow information card, independent of scroll reveal. */
.hero .hero-content.hero-info-card {
  position:absolute; inset:auto auto 12px 12px; z-index:2;
  width:min(350px,calc(100% - 24px)); display:block;
  padding:12px 14px 13px; border-radius:8px;
  background:rgba(22,22,22,.56); color:#fff;
  backdrop-filter:blur(22px) saturate(115%);
  -webkit-backdrop-filter:blur(22px) saturate(115%);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 5px 20px #0002; pointer-events:auto;
}
.hero .hero-info-card .hero-progress {
  position:static; display:flex!important; gap:4px; height:15px;
  width:100%; margin:0 0 7px; padding:0; background:none;
  backdrop-filter:none; -webkit-backdrop-filter:none; border-radius:0;
}
.hero .hero-info-card .hero-progress[hidden] {display:none!important;}
.hero .hero-progress button {position:relative; display:block; min-width:0; height:15px; padding:0; background:none; flex:1; border-radius:0;}
.hero .hero-progress button::before,.hero .hero-progress-fill {
  position:absolute; content:''; height:1px; left:0; right:0; top:7px;
  background:#ffffff45; border-radius:2px;
}
.hero .hero-progress-fill {background:#fff; transform:scaleX(0); transform-origin:left center;}
.hero .hero-progress button.completed .hero-progress-fill,
.hero .hero-single-project .hero-progress button.active .hero-progress-fill {transform:scaleX(1);}
.hero .hero-progress button.active::before {background:#ffffff85;}
.hero .hero-progress button:hover::before {background:#ffffffc0;}
.hero .hero-info-card .hero-caption {
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center;
  width:100%; padding:0; background:transparent; backdrop-filter:none;
  -webkit-backdrop-filter:none; border-radius:3px; color:#fff;
}
.hero .hero-caption-copy {min-width:0; overflow:hidden;}
.hero .hero-info-card h1 {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  overflow:hidden; font:500 17px/1.16 Arial,Helvetica,sans-serif;
  letter-spacing:-.025em; margin:0; min-height:2.32em;
}
.hero .hero-caption-meta {display:flex; align-items:center; gap:8px; margin-top:6px; min-width:0;}
.hero .hero-info-card .sub,.hero .hero-info-card .eyebrow {
  display:block; font:10px/1.4 var(--mono); letter-spacing:.025em;
  text-transform:uppercase; color:#ffffffe0; margin:0;
}
.hero .hero-info-card .sub {overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; flex:1;}
.hero .hero-info-card .eyebrow {flex:none; color:#ffffffa8;}
.hero .hero-view-label {display:flex; align-items:center; gap:4px; font:600 11px/1.2 var(--mono); white-space:nowrap; letter-spacing:.025em;}
.hero .hero-view-label span {transition:transform .25s ease; font-size:13px;}
.hero .hero-caption:hover .hero-view-label span {transform:translate(2px,-2px);}
.hero .hero-info-card :focus-visible {outline:1px solid white; outline-offset:3px;}
.hero .hero-no-project .hero-caption {grid-template-columns:1fr;pointer-events:none;}
.hero .hero-no-project .hero-view-label,.hero .hero-no-project .eyebrow {display:none;}
.hero.intro-active .hero-info-card,.hero.intro-active .hero-info-card * {pointer-events:none;}
@media(max-width:700px){
 .hero .hero-content.hero-info-card {inset:auto auto 8px 8px;width:min(310px,calc(100% - 16px));padding:9px 11px 11px;}
 .hero .hero-info-card h1 {font-size:15px;}
 .hero .hero-info-card .sub,.hero .hero-info-card .eyebrow {font-size:9px;}
 .hero .hero-view-label {font-size:10px;}
}
@media(prefers-reduced-motion:reduce){.hero .hero-view-label span {transition:none;}}


/* V16.8 — full-size editorial employee profile, photo at left. */
#personDialog {
  width: min(88.3vw, 2100px);
  height: 91.5dvh;
  border-radius: 10px;
}
#personDialog::backdrop {
  background: rgba(15,15,15,.38);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
}
#personDialog .person-shell {
  display: grid;
  grid-template-columns: minmax(0,24.5%) minmax(0,1fr);
  align-items: start;
  align-content: start;
  gap: 3%;
  padding: 9px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #999 transparent;
}
#personDialog .person-media,
#personDialog .person-copy {
  min-width: 0;
  min-height: 0;
  overflow: visible;
  display: block;
  padding: 0;
}
#personDialog .person-photo {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 370 / 404;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}
#personDialog .person-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
}
#personDialog .person-close {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 7px;
  background: rgba(30,30,30,.55);
  color: #fff;
  font: 400 12px/1 Arial,Helvetica,sans-serif;
  backdrop-filter: blur(12px);
  transition: background .18s ease;
}
#personDialog .person-close > span { font-size: 18px; font-weight: 300; }
#personDialog .person-close:hover { background: rgba(20,20,20,.8); }
#personDialog .person-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#personDialog .person-media > .mlr-team-role { margin: 10px 0 7px; }
#personDialog #personHeading {
  font-size: clamp(26px,2.1vw,44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.045em;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}
#personDialog .person-extra { display: block; margin-top: 8px; }
#personDialog .person-copy { padding: 0 clamp(18px,5.9vw,104px) 24px 0; }
#personDialog .person-about {
  margin: 1px 0 19px;
  font: 400 11px/1.4 'Courier New',monospace;
  color: #777;
  letter-spacing: .07em;
}
#personDialog .person-bio {
  font-size: clamp(16px,1.04vw,22px);
  line-height: 1.13;
  letter-spacing: -.025em;
  color: #292929;
  overflow-wrap: anywhere;
}
@media (max-width:900px) and (min-width:701px) {
  #personDialog .person-shell { grid-template-columns: minmax(0,32%) minmax(0,1fr); gap: 3%; }
  #personDialog .person-copy { padding-right: 12px; }
  #personDialog .person-bio { line-height: 1.35; }
}
@media (max-width:700px) {
  #personDialog { width: calc(100vw - 16px); height: calc(100dvh - 24px); }
  #personDialog .person-shell { grid-template-columns: minmax(0,1fr); grid-auto-rows: max-content; gap: 12px; padding: 9px; }
  #personDialog .person-photo { max-height: 49dvh; }
  #personDialog .person-copy { padding: 0 3px 20px; }
  #personDialog .person-media > .mlr-team-role { margin-top: 10px; }
  #personDialog #personHeading { margin-bottom: 4px; font-size: 29px; }
  #personDialog .person-about { margin-bottom: 10px; }
  #personDialog .person-bio { font-size: 16px; line-height: 1.4; letter-spacing: -.01em; }
}

/* V17.0 — Chinese typography and multilingual footer. */
html[lang="zh-CN"] body,html[lang="zh-CN"] button,html[lang="zh-CN"] input,html[lang="zh-CN"] textarea {font-family:Arial,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;}
html[lang="zh-CN"] .statement,html[lang="zh-CN"] .page-title,html[lang="zh-CN"] .mlr-team-heading,html[lang="zh-CN"] .home-team-head h2,html[lang="zh-CN"] #personHeading,html[lang="zh-CN"] #projectHeading {letter-spacing:0;line-height:1.2;}
html[lang="zh-CN"] .person-bio,html[lang="zh-CN"] .project-description,html[lang="zh-CN"] .home-team-copy p {line-height:1.65;}
#footer .footer-languages {flex-wrap:wrap;min-width:0;}
