:root {
  --color-bg: #f5f3ee;
  --color-bg2: #eae7e0;
  --color-white: #fff;
  --color-text: #171717;
  --color-muted: #555;
  --color-dark: #111;
  --color-dark2: #181818;
  --color-dark3: #222;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html.lenis {
  height: auto;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font: 300 16px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
.big-text,
blockquote p {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 99;
  background: #fff;
  padding: 8px;
}

.ph {
  background: linear-gradient(135deg, #c9c5bc, #a8a399);
  overflow: hidden;
  position: relative;
}

.ph img,
.ph video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px var(--pad);
  transition:
    padding 0.6s,
    background 0.6s,
    color 0.6s;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.site-header.scrolled {
  padding: 14px var(--pad);
  background: rgba(245, 243, 238, 0.82);
  backdrop-filter: blur(10px);
}

.site-header.dark {
  color: #f5f3ee;
}

.site-header.dark.scrolled {
  background: rgba(17, 17, 17, 0.7);
}

.brand {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a,
.header-cta {
  position: relative;
}

.nav a:after,
.header-cta:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav a:hover:after,
.header-cta:hover:after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
}

.burger {
  display: none;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--color-dark);
  color: #f5f3ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 0.9s cubic-bezier(0.77, 0, 0.18, 1),
    visibility 0s 0.9s;
  visibility: hidden;
}

.menu.open {
  clip-path: inset(0);
  visibility: visible;
  transition-delay: 0s;
}

.menu a {
  font: 300 clamp(40px, 12vw, 72px)/1.1 var(--font-display);
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  pointer-events: none;
  display: none;
}

.cursor span {
  display: grid;
  place-items: center;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  font-size: 0;
  transition:
    width 0.4s,
    height 0.4s,
    margin 0.4s,
    font-size 0.3s;
  color: #000;
}

.cursor.link span {
  width: 44px;
  height: 44px;
  margin: -22px;
}

.cursor.view span {
  width: 84px;
  height: 84px;
  margin: -42px;
  font-size: 11px;
  letter-spacing: 0.2em;
  mix-blend-mode: normal;
  background: #f5f3ee;
}

.whatsapp-float {
  position: fixed;
  right: max(24px, calc(env(safe-area-inset-right) + 16px));
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  z-index: 35;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(245, 243, 238, 0.24);
  border-radius: 50%;
  background: var(--color-text);
  color: var(--color-bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: var(--color-dark3);
}

.whatsapp-float:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
  }

  body,
  a,
  button,
  input,
  select,
  textarea {
    cursor: none;
  }
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--color-bg);
}

.hero>* {
  position: absolute;
  inset: 0;
}

.hero-video {
  clip-path: inset(0);
  background: #222;
}

.hero.static-hero .hero-video {
  clip-path: inset(0);
}

.hero.static-hero .s2,
.hero.static-hero .s3,
.hero.static-hero .s4 {
  display: none;
}

.hero.static-hero .stages,
.hero.static-hero .scroll-hint,
.hero.static-hero .lead {
  color: #f5f3ee;
}

.hero-video video,
.hero-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video .poster {
  filter: brightness(0.52);
}

.hero-video video {
  opacity: 0;
  filter: brightness(0.66);
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28));
}

.stages {
  pointer-events: none;
  color: #f5f3ee;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.2);
}

.stage {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 12vh;
  max-width: 900px;
  pointer-events: auto;
}

.s1 h1 {
  font-size: clamp(46px, 8.4vw, 132px);
  margin: 14px 0 22px;
  max-width: 11ch;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.lead {
  max-width: 420px;
  color: rgba(245, 243, 238, 0.82);
  margin-bottom: 34px;
}

.s2,
.s3,
.s4 {
  font: 300 clamp(38px, 6.4vw, 100px)/1.05 var(--font-display);
  color: #f5f3ee;
  opacity: 0;
  max-width: 14ch;
  pointer-events: none;
}

.scroll-hint {
  inset: auto var(--pad) 34px auto;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.btn {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 15px 34px;
  font-size: 13px;
  letter-spacing: 0.06em;
  background: none;
  color: inherit;
  transition:
    background 0.5s,
    color 0.5s;
}

.btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn.light:hover {
  background: #f5f3ee;
  color: var(--color-dark);
}

.project-location-band {
  padding: 12vh var(--pad);
  background: var(--color-bg);
  color: var(--color-text);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 8vw;
  max-width: 1440px;
  margin: 0 auto;
}

.location-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg2);
}

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

.location-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  background: rgba(17, 17, 17, 0.72);
  color: #f5f3ee;
  font-size: 11px;
}

.project-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.project-location-label {
  color: var(--color-muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-location h3 {
  margin: 12px 0 18px;
  font: 300 clamp(40px, 6vw, 82px)/1 var(--font-display);
}

.project-location-copy>p {
  max-width: 42ch;
  color: var(--color-muted);
  font: 300 22px/1.35 var(--font-display);
}

dl {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 14px;
}

dl div {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #d6d2c9;
  padding-bottom: 10px;
}

.project-location dl {
  margin: 0;
}

.project-location dl div {
  border-color: #d6d2c9;
}

.project-location dt {
  color: var(--color-muted);
}

.project-location dd {
  color: var(--color-text);
}

.map-link {
  display: grid;
  gap: 5px;
}

.map-address {
  color: var(--color-text);
}

.map-action {
  color: var(--color-muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sample-location {
  display: block;
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 11px;
}

dt {
  width: 70px;
  color: var(--color-muted);
}

.space {
  position: relative;
  padding: 16vh var(--pad);
  background: var(--color-bg2);
  overflow: hidden;
}

#mesh {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.space h2 {
  position: relative;
  font-size: clamp(42px, 7.4vw, 120px);
  max-width: 12ch;
  margin-bottom: 12vh;
}

.space-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px 24px;
}

.space-grid p {
  grid-column: 7/12;
  max-width: 48ch;
  color: var(--color-muted);
}

.space-grid .big-text {
  grid-column: 1/8;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 6vh;
}

.space-grid p:nth-child(3) {
  grid-column: 3/8;
}

section.light {
  height: 260vh;
  background: var(--color-dark);
  color: #f5f3ee;
}

.light-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.light-media,
.light-tint {
  position: absolute;
  inset: 0;
}

.light-media video {
  position: absolute;
  inset: 0;
}

.light-tint {
  background: rgba(120, 160, 210, 0.3);
  mix-blend-mode: soft-light;
}

.light-word {
  position: absolute;
  left: var(--pad);
  top: 50%;
  transform: translateY(-60%);
  font-size: clamp(90px, 24vw, 380px);
  letter-spacing: 0.04em;
  mix-blend-mode: difference;
  color: #fff;
}

.light-text {
  position: absolute;
  left: var(--pad);
  bottom: 12vh;
  font: 300 clamp(26px, 3.4vw, 52px)/1.1 var(--font-display);
  max-width: 16ch;
}

.light-time {
  position: absolute;
  right: var(--pad);
  bottom: 12vh;
  font-size: 13px;
  letter-spacing: 0.2em;
}

.process {
  height: 400vh;
  background: var(--color-bg2);
}

.process-pin {
  height: 100vh;
  height: 100svh;
  position: sticky;
  top: 0;
  padding: 12vh var(--pad) 8vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: 8vw;
  overflow: hidden;
}

.process-heading {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  position: relative;
  z-index: 1;
}

.process-kicker {
  margin-bottom: 12px;
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-heading h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.process-num {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  justify-self: end;
  font: 300 clamp(180px, 24vw, 380px)/0.8 var(--font-display);
  color: #d8d2c8;
  letter-spacing: 0;
  pointer-events: none;
}

.process-copy {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  position: relative;
  max-width: 520px;
  z-index: 1;
}

.process-eyebrow {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.process-current-index {
  color: var(--color-text);
  font-weight: 500;
}

.process-copy h3 {
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 88px);
}

.process-copy p {
  color: var(--color-muted);
  max-width: 34ch;
  font: 300 clamp(22px, 2.4vw, 30px)/1.35 var(--font-display);
}

.process-line {
  grid-column: 1/-1;
  grid-row: 3;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid #c4beb3;
  padding-top: 20px;
  font-size: 13px;
  color: var(--color-muted);
  counter-reset: process-step;
}

.process-line li {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 9px;
  counter-increment: process-step;
  transition: color 0.5s;
}

.process-line li::before {
  content: counter(process-step, decimal-leading-zero);
  color: #99958c;
  font-size: 11px;
  letter-spacing: 0.1em;
  transition: color 0.5s;
}

.process-line li.on {
  color: var(--color-text);
}

.process-line li.on::before {
  color: var(--color-text);
}

.process-line li::after {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4beb3;
  z-index: 2;
  transition: background 0.5s;
}

.process-line li.on::after {
  background: var(--color-text);
}

.process-line .bar {
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transform: scaleX(0.04);
  transform-origin: left;
}

.gallery {
  padding: 16vh var(--pad);
  background: var(--color-white);
}

.gallery h2 {
  font-size: clamp(44px, 7vw, 110px);
  margin-bottom: 10vh;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 9vh 24px;
  align-items: start;
}

.work .ph {
  aspect-ratio: 4/5;
}

.project-open {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
}

.project-open:focus-visible {
  z-index: 2;
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

.work .ph img {
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work:hover .ph img {
  transform: scale(1.05);
}

.work .ph:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0);
  transition: background 0.6s;
  pointer-events: none;
}

.work:hover .ph:after {
  background: rgba(17, 17, 17, 0.14);
}

.meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  align-items: baseline;
}

.meta h3 {
  font-size: 28px;
}

.meta p {
  font-size: 12px;
  color: var(--color-muted);
  text-align: right;
}

.w1 {
  grid-column: 1/6;
}

.w2 {
  grid-column: 7/13;
  margin-top: 18vh;
}

.w2 .ph,
.w4 .ph {
  aspect-ratio: 4/3;
}

.w3 {
  grid-column: 2/6;
}

.w3 .ph {
  aspect-ratio: 1;
}

.w4 {
  grid-column: 7/13;
  margin-top: -8vh;
}

.project-dialog {
  position: fixed;
  top: 50vh;
  left: 50vw;
  width: min(1160px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  margin: 0;
  transform: translate(-50%, -50%);
  padding: 0;
  overflow: auto;
  border: 0;
  background: var(--color-dark);
  color: #f5f3ee;
}

body.project-dialog-open,
body.project-dialog-open * {
  cursor: auto !important;
}

body.project-dialog-open {
  overflow: hidden;
}

body.project-dialog-open button {
  cursor: pointer !important;
}

body.project-dialog-open .cursor {
  display: none;
}

.project-dialog::backdrop {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(5px);
}

.project-modal-shell {
  position: relative;
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(245, 243, 238, 0.45);
  background: rgba(17, 17, 17, 0.6);
  color: #f5f3ee;
  font: 400 12px var(--font-body);
}

.project-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: min(78vh, 800px);
}

.project-gallery {
  position: relative;
  min-height: min(78vh, 800px);
  overflow: hidden;
  background: #222;
}

.project-gallery>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid rgba(245, 243, 238, 0.7);
  background: rgba(17, 17, 17, 0.55);
  color: #f5f3ee;
  font-size: 24px;
}

.project-arrow:hover,
.project-modal-close:hover {
  background: rgba(245, 243, 238, 0.16);
}

.project-arrow--previous {
  left: 20px;
}

.project-arrow--next {
  right: 20px;
}

.project-image-count {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  padding: 7px 10px;
  background: rgba(17, 17, 17, 0.62);
  color: #f5f3ee;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.project-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
}

.project-modal-meta {
  margin-bottom: 18px;
  color: #aaa;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-modal-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(42px, 5vw, 72px);
}

.project-modal-copy>p:last-child {
  max-width: 36ch;
  color: #c4c4c0;
  font: 300 22px/1.4 var(--font-display);
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 16vh var(--pad) 18vh;
  background: var(--color-bg);
}

.studio-intro {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 14vh;
  text-align: center;
}

.studio-kicker,
.architect-role {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.studio-intro h2 {
  max-width: 22ch;
  margin: 16px auto 48px;
  font-size: clamp(44px, 7vw, 108px);
}

.studio-intro>p:last-child {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--color-muted);
}

.architect-profiles {
  display: grid;
  gap: 18vh;
}

.architect-profile {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 8vw;
  align-items: center;
}

.architect-profile--reverse {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.architect-profile--reverse .architect-portrait {
  grid-column: 2;
  grid-row: 1;
}

.architect-profile--reverse .architect-copy {
  grid-column: 1;
  grid-row: 1;
}

.architect-portrait {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-bg2);
}

.architect-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.architect-copy {
  max-width: 580px;
}

.architect-copy h3 {
  margin: 16px 0 24px;
  font-size: clamp(42px, 6vw, 88px);
}

.architect-copy p:not(.architect-role) {
  max-width: 48ch;
  margin-bottom: 16px;
  color: var(--color-muted);
}

.architect-copy p:not(.architect-role):first-of-type {
  font: 300 clamp(24px, 3vw, 40px)/1.18 var(--font-display);
  color: var(--color-text);
}

.studio-img {
  aspect-ratio: 4/5;
}

.studio-img img {
  height: 116%;
  position: absolute;
  top: -8%;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 10vh var(--pad);
  background: var(--color-bg2);
}

.numbers>div {
  text-align: center;
}

.numbers b {
  display: block;
  font: 300 clamp(56px, 8vw, 130px)/1 var(--font-display);
}

.numbers span {
  font-size: 13px;
  color: var(--color-muted);
}

.quote {
  padding: 22vh var(--pad);
}

.quote p {
  font-size: clamp(34px, 5.6vw, 92px);
  line-height: 1.08;
  max-width: 18ch;
}

.quote footer {
  margin-top: 36px;
  font-size: 13px;
  color: var(--color-muted);
}

.contact {
  background: var(--color-dark);
  color: #f5f3ee;
  padding: clamp(88px, 11vw, 150px) var(--pad) 88px;
}

.contact-heading,
.contact-grid {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
}

.contact-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  align-items: end;
  gap: 16px 8vw;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.contact-kicker {
  grid-column: 1/-1;
  color: #aaa;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact h2 {
  max-width: 13ch;
  font-size: clamp(42px, 6.2vw, 88px);
  line-height: 0.98;
}

.contact-lead {
  max-width: 38ch;
  margin-bottom: 8px;
  color: #bbb;
  font-size: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: start;
}

.contact-info h3,
.form h3 {
  margin-bottom: 22px;
  font: 300 24px/1.2 var(--font-display);
}

.contact-links {
  display: grid;
  border-top: 1px solid #3d3d3d;
}

.contact-links li {
  border-bottom: 1px solid #3d3d3d;
}

.contact-links a,
.contact-address {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  color: #f5f3ee;
  font-size: 14px;
}

.contact-links a {
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: #c9b99f;
}

.contact-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.contact-links small {
  display: block;
  margin-bottom: 3px;
  color: #999;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-link-arrow {
  color: #888;
  font-size: 18px;
}

.form {
  display: grid;
  gap: 24px;
}

.form h3 {
  margin-bottom: 0;
}

.form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.form label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #999;
  display: grid;
  gap: 4px;
}

.form-message-field {
  grid-column: 1/-1;
}

.form input,
.form select,
.form textarea {
  background-color: #191919;
  border: 0;
  border-bottom: 1px solid #48453f;
  color: #f5f3ee;
  font: 300 16px/1.5 var(--font-body);
  padding: 12px;
  border-radius: 2px;
  outline: 0;
  caret-color: #c9b99f;
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.form select option {
  background: #111;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  background-color: #202020;
  border-color: #c9b99f;
  box-shadow: 0 1px 0 #c9b99f;
}

.form input:-webkit-autofill,
.form input:-webkit-autofill:hover,
.form input:-webkit-autofill:focus,
.form select:-webkit-autofill {
  -webkit-text-fill-color: #f5f3ee;
  -webkit-box-shadow: 0 0 0 1000px #191919 inset;
  transition: background-color 9999s ease-out 0s;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #777;
  opacity: 1;
}

.form textarea {
  min-height: 104px;
  resize: vertical;
}

.form .btn {
  justify-self: start;
  align-self: start;
  height: auto;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 50px;
  padding: 0 18px;
}

.form-submit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-msg {
  font-size: 14px;
  color: #bbb;
}

.footer {
  background: var(--color-dark2);
  color: #bbb;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px clamp(24px, 5vw, 72px);
  padding: 34px var(--pad) 22px;
  font-size: 12px;
}

.footer strong {
  font: 300 24px/1.1 var(--font-display);
  color: #f5f3ee;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer .tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
}

.footer-nav,
.footer-social {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-nav a,
.footer-social a {
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-social a:hover {
  color: #f5f3ee;
}

.footer small {
  grid-column: 1/-1;
  border-top: 1px solid #303030;
  padding-top: 14px;
  color: #777;
  font-size: 11px;
}

@media (max-width: 900px) {
  .whatsapp-float {
    right: max(18px, calc(env(safe-area-inset-right) + 12px));
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .burger {
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    place-content: center;
    background: none;
    border: 0;
    color: inherit;
    justify-self: end;
    position: relative;
    z-index: 60;
  }

  .burger span {
    width: 26px;
    height: 1px;
    background: currentColor;
    transition: transform 0.5s;
  }

  .burger[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .burger[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  body.menu-open .site-header {
    color: #f5f3ee;
  }

  .stage {
    bottom: 14vh;
  }

  .scroll-hint {
    display: none;
  }

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

  .studio {
    padding-top: 12vh;
  }

  .studio-intro {
    margin-bottom: 8vh;
  }

  .architect-profiles {
    gap: 10vh;
  }

  .architect-profile,
  .architect-profile--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .architect-profile--reverse .architect-portrait,
  .architect-profile--reverse .architect-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .architect-profile--reverse .architect-copy {
    order: 1;
  }

  .architect-profile--reverse .architect-portrait {
    order: 0;
  }

  .project-location-band {
    padding: 8vh var(--pad);
  }

  .location-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .project-location {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 5vh;
  }

  .contact {
    padding: 84px var(--pad) 64px;
  }

  .contact-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 48px;
  }

  .contact-kicker {
    grid-column: 1;
  }

  .contact h2 {
    max-width: 14ch;
    font-size: clamp(42px, 12vw, 64px);
  }

  .contact-lead {
    margin: 0;
  }

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

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

  .form-message-field {
    grid-column: 1;
  }

  .project-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
  }

  .project-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .project-gallery {
    min-height: 0;
    aspect-ratio: 4/3;
    max-height: 48svh;
  }

  .project-modal-copy {
    padding: 26px 24px 30px;
  }

  .project-modal-copy h2 {
    margin-bottom: 18px;
  }

  .project-modal-copy>p:last-child {
    font-size: 19px;
  }

  .project-modal-close {
    top: 10px;
    right: 10px;
    min-height: 40px;
    padding: 0 12px;
  }

  .project-arrow--previous {
    left: 10px;
  }

  .project-arrow--next {
    right: 10px;
  }

  .space-grid p,
  .space-grid .big-text,
  .space-grid p:nth-child(3) {
    grid-column: 1/-1;
  }

  #mesh {
    display: none;
  }

  .masonry {
    display: flex;
    flex-direction: column;
    gap: 7vh;
  }

  .w2,
  .w4 {
    margin-top: 0;
  }

  .numbers {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

  .footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-top: 28px;
    padding-bottom: 18px;
  }

  .footer-nav {
    grid-column: 1;
    grid-row: auto;
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer-social {
    justify-self: start;
    gap: 14px;
  }

  .footer small {
    grid-row: auto;
  }

  .process-pin {
    padding: 12vh var(--pad) 8vh;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr) auto;
    column-gap: 12px;
  }

  .process-heading {
    grid-column: 1/-1;
    grid-row: 1;
  }

  .process-heading h2 {
    font-size: 30px;
  }

  .process-num {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-top: 16px;
    font-size: 62px;
    line-height: 0.9;
  }

  .process-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }

  .process-copy h3 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .process-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .process-current-index {
    margin-right: 8px;
  }

  .process-line {
    font-size: 10px;
    gap: 6px;
  }

  .process-line li {
    font-size: 9px;
    overflow-wrap: anywhere;
  }

  .process-line li::before {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }

  .plan * {
    stroke-dashoffset: 0;
  }

  .s1 {
    opacity: 1;
  }
}