:root {
  --black: #080808;
  --white: #fff;
  --muted: #777;
  --line: #dedede;
  --page-x: clamp(18px, 2.15vw, 42px);
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

.intro-loader {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--white);
  color: #2d2d2d;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  pointer-events: none;
  animation: introVeil 2.8s ease-in-out forwards;
}

.intro-logo,
.intro-subtitle {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1;
  opacity: 0;
  transform: translateY(0);
}

.intro-logo {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 600;
  letter-spacing: .14em;
  animation: introLogo 2.8s ease-in-out forwards;
}

.intro-subtitle {
  margin-top: 16px;
  font-size: clamp(.62rem, .72vw, .78rem);
  font-weight: 300;
  letter-spacing: .11em;
  animation: introSubtitle 2.8s ease-in-out forwards;
}

html[lang="tr"] .intro-subtitle::before {
  content: "Mimarlık & Tasarım Stüdyosu";
}

html[lang="en"] .intro-subtitle::before {
  content: "Architecture & Design Studio";
}

.page-load-intro .site-header,
.page-load-intro .home-project-sequence,
.page-load-intro .home-footer {
  opacity: 0;
  transform: translateY(10px);
  animation: pageContentReveal 2.8s ease-in-out forwards;
}

@keyframes introVeil {
  0%,
  78% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes introLogo {
  0% {
    opacity: 0;
  }

  18%,
  70% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}

@keyframes introSubtitle {
  0%,
  11% {
    opacity: 0;
  }

  25%,
  70% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}

@keyframes pageContentReveal {
  0%,
  74% {
    opacity: 0;
    transform: translateY(12px);
  }

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

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

svg,
video,
canvas {
  max-width: 100%;
}

main,
section,
article,
div,
nav,
footer,
header {
  min-width: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-x);
  color: var(--white);
  mix-blend-mode: difference;
}

.site-header--dark {
  color: var(--black);
  mix-blend-mode: normal;
}

.logo {
  position: relative;
  z-index: 22;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .1em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.45vw, 28px);
}

.site-nav a,
.menu-toggle {
  font-size: .69rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .18s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 10px 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

.menu-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.menu-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
}

.menu-icon-segment {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
  transform-box: view-box;
  transform-origin: 12px 12px;
  transition: transform .28s ease-in-out, opacity .28s ease-in-out;
}

.menu-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.menu-toggle[aria-expanded="true"] .menu-icon-segment--top {
  transform: translate(-3px, 5.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon-segment--right {
  transform: translate(-5.75px, -3px) rotate(-45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon-segment--bottom {
  transform: translate(3px, -5.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon-segment--left {
  transform: translate(5.75px, 3px) rotate(-45deg);
}

.project-panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  min-height: 100svh;
  background: #e8e8e8;
  color: #fff;
}

.home-project-sequence {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-panel img {
  position: absolute;
  inset: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-title {
  position: absolute;
  z-index: 2;
  right: var(--page-x);
  bottom: clamp(24px, 3.2vw, 54px);
  left: var(--page-x);
  margin: 0;
  color: #fff;
  max-width: 88%;
  font-size: clamp(2rem, 3.8vw, 4.8rem);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: .96;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .14);
}

.project-panel--listing .project-title {
  font-size: clamp(2rem, 3.8vw, 4.8rem);
}

.home-project-sequence .project-title {
  font-size: clamp(1.6rem, 3.05vw, 3.85rem);
}

.project-link {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100svh;
  min-width: 0;
}

.projects-archive {
  padding: calc(var(--header-h) + 10vh) var(--page-x) 16vh;
  background: var(--white);
  color: #2d2d2d;
}

.projects-archive-hero {
  display: grid;
  min-height: 38vh;
  align-content: end;
  margin-bottom: clamp(78px, 10vw, 160px);
}

.projects-archive-hero h1 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(3.8rem, 10.5vw, 12rem);
  font-weight: 300;
  letter-spacing: -.085em;
  line-height: .78;
}

.projects-archive-hero p {
  max-width: 360px;
  margin: clamp(26px, 3.4vw, 48px) 0 0;
  color: #2d2d2d;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.5;
}

.projects-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(90px, 12vw, 200px) clamp(24px, 4.5vw, 86px);
  min-width: 0;
}

.project-gallery {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.archive-project a {
  display: block;
  min-width: 0;
}

.archive-project img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #eee;
  object-fit: contain;
  transition: opacity .24s ease;
}

.archive-project a:hover img {
  opacity: .86;
}

.archive-project-meta {
  margin-top: clamp(18px, 2vw, 30px);
}

.archive-project-meta h2,
.archive-project-meta p {
  margin: 0;
  color: #2d2d2d;
  font-weight: 300;
  letter-spacing: -.015em;
  line-height: 1.36;
}

.archive-project-meta h2 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 2.15rem);
}

.archive-project-meta p {
  color: #565656;
  font-size: clamp(.9rem, 1vw, 1.02rem);
}

.site-footer {
  position: relative;
  display: grid;
  min-height: 62vh;
  align-content: end;
  padding: 12vh var(--page-x) 34px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}

.footer-studio,
.footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-logo {
  width: clamp(92px, 9vw, 138px);
  height: auto;
  margin-bottom: 24px;
  object-fit: contain;
}

.footer-studio span,
.footer-studio address,
.footer-contact a {
  color: #2d2d2d;
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.footer-studio address {
  margin-top: 18px;
}

.footer-contact {
  justify-content: flex-end;
  padding-bottom: 2px;
}

.footer-contact a:first-child {
  margin-bottom: 24px;
}

.footer-year {
  position: absolute;
  right: var(--page-x);
  bottom: 35px;
  color: #2d2d2d;
  font-size: .62rem;
  letter-spacing: .1em;
}

.home-footer {
  min-height: 54vh;
  align-items: end;
  grid-template-columns: 1.35fr 1fr .55fr;
  gap: clamp(36px, 6vw, 110px);
}

.home-footer-studio,
.home-footer-email,
.home-footer-social {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.home-footer-logo {
  width: clamp(100px, 10vw, 150px);
  height: auto;
  margin-bottom: clamp(28px, 4vw, 54px);
  object-fit: contain;
}

.home-footer p,
.home-footer address,
.home-footer a {
  margin: 0;
  color: #2d2d2d;
  font-size: clamp(.88rem, 1.1vw, 1.05rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.5;
}

.home-footer-studio p {
  margin-bottom: 20px;
}

.home-footer-email,
.home-footer-social {
  justify-content: flex-end;
  padding-bottom: 2px;
}

.page-hero {
  display: flex;
  min-height: 72vh;
  align-items: flex-end;
  padding: calc(var(--header-h) + 10vh) var(--page-x) 8vh;
}

.page-hero h1,
.editorial-title {
  max-width: 1220px;
  margin: 0;
  font-size: clamp(3.2rem, 8.2vw, 9.5rem);
  font-weight: 300;
  letter-spacing: -.075em;
  line-height: .82;
}

.platform-note {
  max-width: 680px;
  padding: 0 var(--page-x) clamp(110px, 14vw, 190px);
}

.platform-note p {
  margin: 0;
  color: #2d2d2d;
  font-size: clamp(1.05rem, 1.45vw, 1.65rem);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.35;
}

.project-hero .project-title {
  max-width: 1100px;
}

.project-detail .project-hero .project-title {
  right: var(--page-x);
  bottom: clamp(22px, 2.4vw, 38px);
  left: var(--page-x);
  max-width: none;
  color: #fff;
  font-size: clamp(1.55rem, 2.25vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .14);
}

.project-info {
  display: grid;
  padding: clamp(110px, 16vw, 260px) var(--page-x);
  grid-template-columns: minmax(220px, .55fr) 1.45fr;
  gap: 12vw;
}

.project-detail .project-info {
  display: block;
  padding: clamp(120px, 15vw, 230px) var(--page-x) clamp(150px, 20vw, 310px);
}

.project-detail .facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 52px);
}

.project-detail .facts div {
  display: flex;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  gap: .35em;
  grid-template-columns: none;
}

.project-detail .facts div:last-child {
  border-bottom: 0;
}

.project-detail .facts dt,
.project-detail .facts dd {
  color: #2d2d2d;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.project-detail .facts dt::after {
  content: " /";
}

.project-detail .project-description {
  max-width: 620px;
  margin: clamp(90px, 12vw, 170px) 0 0 auto;
  color: #2d2d2d;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 300;
  letter-spacing: -.015em;
  line-height: 1.55;
}

.facts {
  margin: 0;
}

.facts div {
  display: grid;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1.3fr;
}

.facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: .74rem;
  letter-spacing: .04em;
}

.facts dd {
  margin: 0;
  font-size: .84rem;
}

.project-description {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2rem, 4.15vw, 4.75rem);
  font-weight: 300;
  letter-spacing: -.05em;
  line-height: 1.04;
}

.gallery-image {
  width: calc(100% - (var(--page-x) * 2));
  max-width: calc(100% - (var(--page-x) * 2));
  height: auto;
  min-height: 0;
  margin: 0 var(--page-x);
  object-fit: contain;
}

.gallery-image--portrait {
  width: min(56vw, 920px);
  max-width: calc(100% - (var(--page-x) * 2));
  height: auto;
  min-height: 0;
  margin: 24vh auto;
  object-fit: contain;
}

.project-detail .gallery-image {
  width: calc(100% - clamp(24px, 2vw, 40px));
  max-width: calc(100% - clamp(24px, 2vw, 40px));
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.project-detail .gallery-image--portrait {
  width: min(68vw, 1080px);
  max-width: calc(100% - (var(--page-x) * 2));
  height: auto;
  margin: clamp(180px, 24vw, 380px) auto;
  object-fit: contain;
}

.drawing-placeholder {
  display: grid;
  min-height: 100vh;
  place-items: center;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-detail .drawing-placeholder {
  min-height: 78vh;
  margin: clamp(150px, 20vw, 300px) var(--page-x) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #777;
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .14em;
}

.project-detail .drawing-placeholder img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.project-detail .drawing-placeholder + .drawing-placeholder {
  margin-top: clamp(110px, 15vw, 230px);
}

.next-project {
  display: block;
  padding: 22vh var(--page-x) 18vh;
}

.project-detail .next-project {
  padding: clamp(180px, 24vw, 360px) var(--page-x) clamp(150px, 18vw, 280px);
}

.project-detail .next-project strong {
  font-size: clamp(2.4rem, 5.8vw, 7rem);
  letter-spacing: -.055em;
}

.project-detail .site-footer {
  min-height: 46vh;
  padding-top: 10vh;
}

.project-detail .footer-logo {
  width: clamp(92px, 8vw, 125px);
  margin-bottom: 20px;
}

.project-detail .footer-studio span,
.project-detail .footer-studio address,
.project-detail .footer-contact a {
  font-size: clamp(.95rem, 1.3vw, 1.2rem);
}

.next-project span {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.next-project strong {
  font-size: clamp(3.2rem, 8.5vw, 10rem);
  font-weight: 300;
  letter-spacing: -.065em;
  line-height: .9;
}

.practice-intro {
  max-width: 1100px;
}

.practice-page .page-hero {
  min-height: 78svh;
  padding-bottom: 9vh;
}

.practice-page .practice-intro {
  max-width: 1080px;
  font-size: clamp(3.2rem, 8vw, 9rem);
  line-height: .84;
}

.practice-list {
  padding: 4vh var(--page-x) 20vh;
}

.practice-page .practice-list {
  padding-top: 12vh;
  padding-bottom: 28vh;
}

.service-links {
  padding: 12vh var(--page-x) 20vh;
  border-top: 1px solid var(--line);
}

.service-links h2 {
  margin: 0 0 38px;
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-links a {
  display: block;
  width: fit-content;
  margin-bottom: 5px;
  font-size: clamp(1.8rem, 4.1vw, 4.8rem);
  font-weight: 300;
  letter-spacing: -.045em;
}

.practice-item {
  display: grid;
  padding: clamp(65px, 10vw, 160px) 0;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 6vw;
}

.practice-page .practice-item {
  min-height: 72vh;
  align-items: start;
  padding: clamp(110px, 15vw, 230px) 0;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 8vw;
}

.practice-item h2 {
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 8.5rem);
  font-weight: 300;
  letter-spacing: -.06em;
  line-height: .88;
}

.practice-page .practice-item h2 {
  max-width: 980px;
  font-size: clamp(3.6rem, 8.4vw, 10rem);
  line-height: .86;
}

.practice-item p {
  max-width: 580px;
  margin: 0;
  padding-top: .35em;
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.38;
}

.practice-page .practice-item p {
  max-width: 430px;
  padding-top: .5em;
  color: #4a4a4a;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  letter-spacing: -.015em;
  line-height: 1.52;
}

.practice-page .service-links {
  padding-top: 14vh;
  padding-bottom: 24vh;
}

.practice-page .service-links a {
  font-size: clamp(1.6rem, 3.2vw, 3.7rem);
}

.contact-main {
  display: flex;
  min-height: 82vh;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 10vh) var(--page-x) 6vh;
}

.contact-page .contact-main {
  min-height: 84svh;
  padding: calc(var(--header-h) + 7vh) var(--page-x) clamp(28px, 4vw, 60px);
}

.contact-main h1 {
  margin: 0 0 6px;
  font-size: clamp(3.8rem, 12vw, 12.75rem);
  font-weight: 300;
  letter-spacing: -.085em;
  line-height: .78;
}

.contact-page .contact-main h1 {
  margin: 0;
  color: #2d2d2d;
  font-size: clamp(3.8rem, 12.75vw, 14rem);
  font-weight: 300;
  letter-spacing: -.085em;
  line-height: .75;
}

.contact-subtitle {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -.025em;
}

.contact-grid {
  display: grid;
  padding-top: 14vh;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.contact-grid p,
.contact-grid a {
  margin: 0;
}

.contact-details {
  display: grid;
  align-items: end;
  padding-top: 16vh;
  border-top: 1px solid var(--line);
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(30px, 6vw, 100px);
}

.contact-studio,
.contact-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.contact-studio strong,
.contact-studio span,
.contact-address,
.contact-links a {
  margin: 0;
  color: #2d2d2d;
  font-size: clamp(.95rem, 1.25vw, 1.2rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.5;
}

.contact-studio strong {
  font-weight: 400;
}

.contact-studio span {
  margin-top: 18px;
}

.contact-links a {
  width: fit-content;
}

.contact-links a:first-child {
  margin-bottom: 20px;
}

.contact-links .directions-link {
  margin-top: 38px;
}

.contact-grid a {
  width: fit-content;
  border-bottom: 1px solid currentColor;
}

.seo-hero {
  min-height: 84vh;
}

.seo-hero h1 {
  max-width: 1200px;
  font-size: clamp(3.8rem, 10vw, 11rem);
}

.seo-layout {
  display: grid;
  padding: 4vh var(--page-x) 20vh;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr);
  gap: 9vw;
}

.seo-aside {
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.seo-aside p {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin: 0;
}

.seo-content {
  max-width: 900px;
}

.seo-content h2 {
  margin: 2.4em 0 .65em;
  font-size: clamp(2rem, 3.7vw, 4rem);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1;
}

.seo-content h2:first-child {
  margin-top: 0;
}

.seo-content p {
  margin: 0 0 1.35em;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.78;
}

.text-link {
  border-bottom: 1px solid currentColor;
}

.seo-cta {
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 760px) {
  :root {
    --page-x: clamp(16px, 5vw, 24px);
    --header-h: 58px;
  }

  .site-header {
    z-index: 100000 !important;
    padding-top: env(safe-area-inset-top);
    mix-blend-mode: normal !important;
  }

  .site-header .logo {
    z-index: 100001 !important;
  }

  .home-project-sequence {
    gap: 16px;
  }

  .site-header:not(.site-header--dark) {
    color: var(--white);
  }

  .menu-toggle {
    display: block;
    z-index: 100001 !important;
    min-width: 48px;
    min-height: 48px;
    border-radius: 999px;
    padding: 14px 18px;
    background: #000;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
    text-align: center;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
  }

  .menu-toggle:hover {
    background: #111;
  }

  .project-title,
  .project-panel--listing .project-title {
    right: var(--page-x);
    bottom: clamp(22px, 7vh, 46px);
    left: var(--page-x);
    max-width: 92%;
    font-size: clamp(2rem, 8.5vw, 3.6rem);
  }

  .home-project-sequence .project-title {
    font-size: clamp(1.85rem, 8vw, 3rem);
  }

  .project-panel,
  .project-link {
    min-height: 100svh;
    height: 100svh;
  }

  .project-panel img {
    object-position: center center;
  }

  .projects-archive {
    padding: calc(var(--header-h) + 8vh) var(--page-x) 13vh;
  }

  .projects-archive-hero {
    min-height: 32vh;
    margin-bottom: 68px;
  }

  .projects-archive-hero h1 {
    font-size: clamp(3.4rem, 16.5vw, 5.8rem);
  }

  .projects-archive-hero p {
    margin-top: 28px;
    max-width: 19rem;
    font-size: 1rem;
  }

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

  .archive-project img {
    aspect-ratio: 4 / 5;
    object-fit: contain;
  }

  .archive-project-meta {
    margin-top: 18px;
  }

  .archive-project-meta h2 {
    margin-bottom: 10px;
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  .archive-project-meta p {
    font-size: .95rem;
  }

  .site-footer {
    min-height: auto;
    padding-top: 18vh;
    padding-bottom: 32px;
    grid-template-columns: 1fr;
    gap: 10vh;
  }

  .footer-logo {
    width: 104px;
  }

  .footer-contact {
    gap: 8px;
    padding-bottom: 52px;
  }

  .footer-contact a,
  .home-footer a,
  .contact-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-year {
    right: auto;
    left: var(--page-x);
  }

  .home-footer {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .home-footer-studio {
    grid-column: 1 / -1;
  }

  .home-footer-logo {
    width: clamp(96px, 28vw, 130px);
  }

  .home-footer-email,
  .home-footer-social {
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .home-footer-social {
    gap: 8px;
  }

  .project-info,
  .practice-item,
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .practice-page .page-hero {
    min-height: 68svh;
    padding-top: calc(var(--header-h) + 8vh);
    padding-bottom: 8vh;
  }

  .practice-page .practice-intro {
    font-size: clamp(2.55rem, 10.8vw, 4.4rem);
    letter-spacing: -.07em;
  }

  .practice-page .practice-list {
    padding-top: 6vh;
    padding-bottom: 18vh;
  }

  .practice-page .practice-item {
    min-height: auto;
    padding: clamp(82px, 22vw, 120px) 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .practice-page .practice-item h2 {
    font-size: clamp(2.9rem, 13vw, 5rem);
  }

  .practice-page .practice-item p {
    max-width: 34rem;
    padding-top: 0;
    font-size: clamp(1rem, 4.2vw, 1.18rem);
  }

  .contact-page .contact-main {
    min-height: 82svh;
    padding-top: calc(var(--header-h) + 8vh);
    padding-bottom: 34px;
  }

  .contact-page .contact-main h1 {
    font-size: clamp(3.5rem, 16.5vw, 6.2rem);
  }

  .contact-details {
    padding-top: 28px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-studio {
    grid-column: 1 / -1;
  }

  .contact-links {
    gap: 8px;
  }

  .contact-links .directions-link {
    margin-top: 22px;
  }

  .project-info,
  .practice-item,
  .seo-layout {
    gap: 42px;
  }

  .gallery-image--portrait {
    width: calc(100% - (var(--page-x) * 2));
    min-height: 0;
    margin: 16vh var(--page-x);
  }

  .project-detail .project-hero .project-title {
    bottom: clamp(22px, 7vh, 44px);
    font-size: clamp(1.55rem, 7vw, 2.35rem);
  }

  .project-detail .project-info {
    padding: clamp(82px, 24vw, 120px) var(--page-x) clamp(120px, 32vw, 170px);
  }

  .project-detail .facts {
    grid-template-columns: 1fr;
    gap: 24px 18px;
  }

  .project-detail .facts div {
    justify-content: space-between;
    gap: 18px;
  }

  .project-detail .project-description {
    max-width: 34rem;
    margin-top: 72px;
    margin-left: 0;
    font-size: clamp(1rem, 4.3vw, 1.18rem);
  }

  .project-detail .gallery-image {
    width: calc(100% - (var(--page-x) * 2));
    max-width: calc(100% - (var(--page-x) * 2));
    height: auto;
    min-height: 0;
    margin-right: var(--page-x);
    margin-left: var(--page-x);
    object-fit: contain;
  }

  .project-detail .gallery-image--portrait {
    width: calc(100% - (var(--page-x) * 2));
    max-width: calc(100% - (var(--page-x) * 2));
    height: auto;
    min-height: 0;
    margin: 120px var(--page-x);
    object-fit: contain;
  }

  .project-detail .drawing-placeholder {
    min-height: 54svh;
    margin: 110px var(--page-x) 0;
    padding: 32px;
  }

  .project-detail .site-footer {
    min-height: auto;
  }

  .project-detail .next-project {
    padding: 120px var(--page-x) 110px;
  }

  .project-detail .next-project strong {
    font-size: clamp(2.8rem, 13vw, 5rem);
  }

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

  .seo-hero {
    min-height: 72svh;
  }

  .seo-hero h1 {
    font-size: clamp(3rem, 14vw, 5.6rem);
  }

  .seo-layout {
    padding-bottom: 16vh;
  }

  .seo-content h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.03;
  }

  .seo-content p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .seo-aside {
    display: none;
  }
}

@media (max-width: 480px) {
  .project-panel,
  .project-link,
  .projects-grid,
  .archive-project,
  .archive-project a,
  .project-gallery,
  .drawing-placeholder {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .gallery-image,
  .gallery-image--portrait,
  .project-detail .gallery-image,
  .project-detail .gallery-image--portrait {
    width: calc(100% - (var(--page-x) * 2));
    max-width: calc(100% - (var(--page-x) * 2));
    height: auto;
    margin-right: var(--page-x);
    margin-left: var(--page-x);
    object-fit: contain;
  }

  .project-detail .drawing-placeholder img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 62svh;
  }
}

@media (max-width: 430px) {
  .archive-project img {
    aspect-ratio: 1 / 1;
  }

  .project-detail .drawing-placeholder {
    padding: 28px var(--page-x);
  }
}

@media (max-width: 390px) {
  .gallery-image,
  .gallery-image--portrait,
  .project-detail .gallery-image,
  .project-detail .gallery-image--portrait {
    width: calc(100% - (var(--page-x) * 2));
    max-width: calc(100% - (var(--page-x) * 2));
  }
}

@media (max-width: 380px) {
  :root {
    --page-x: 15px;
  }

  .logo,
  .menu-toggle {
    font-size: .66rem;
  }

  .home-project-sequence .project-title,
  .project-title,
  .project-panel--listing .project-title {
    max-width: calc(100vw - (var(--page-x) * 2));
  }

  .contact-page .contact-main h1 {
    font-size: clamp(3.2rem, 15.8vw, 5.2rem);
  }
}

@media (max-width: 360px) {
  .project-detail .drawing-placeholder {
    padding: 24px var(--page-x);
  }
}

@media (max-width: 320px) {
  :root {
    --page-x: 14px;
  }

  .project-title,
  .project-panel--listing .project-title,
  .home-project-sequence .project-title {
    max-width: calc(100vw - (var(--page-x) * 2));
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  :root {
    --page-x: clamp(24px, 4vw, 42px);
  }

  .project-detail .gallery-image {
    height: auto;
    object-fit: contain;
  }

  .project-detail .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-details {
    grid-template-columns: 1fr 1fr;
  }

  .contact-studio {
    grid-column: 1 / -1;
  }
}

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

  .intro-loader {
    display: none;
  }

  .page-load-intro .site-header,
  .page-load-intro .home-project-sequence,
  .page-load-intro .home-footer {
    opacity: 1;
    transform: none;
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

/* Independent mobile menu overlay. */
.mobile-menu-overlay {
  display: none;
}

@media (max-width: 760px) {
  .site-nav {
    display: none !important;
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: block;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: calc(env(safe-area-inset-top) + 108px) var(--page-x) calc(env(safe-area-inset-bottom) + 40px);
    background: #fff;
    color: #111;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    transition: opacity .22s ease, visibility 0s linear .22s;
  }

  .mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .22s ease, visibility 0s linear 0s;
  }

  .mobile-menu-nav {
    display: flex;
    width: 100%;
    min-height: calc(100dvh - 148px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(22px, 4.5vh, 38px);
  }

  .mobile-menu-nav > a {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0;
    color: #111;
    font-size: clamp(2rem, 10.5vw, 3.6rem);
    font-weight: 300;
    letter-spacing: -.04em;
    line-height: 1;
    text-transform: none;
  }

  html.menu-open,
  body.menu-open {
    overflow: hidden !important;
  }

  body.menu-open .site-header {
    color: #111 !important;
    mix-blend-mode: normal !important;
    z-index: 99999 !important;
  }

  body.menu-open .logo {
    position: relative;
    color: #111 !important;
    z-index: 100000;
  }

  body.menu-open .menu-toggle {
    position: relative;
    background: #000;
    color: #fff !important;
    z-index: 100000;
  }
}
