/* ---------- NMCP Architects — Type ---------- */

@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/GothamGreek-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/GothamGreek-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/GothamGreek-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/GothamGreek-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --paper: oklch(0.985 0.003 80);          /* bright warm white */
  --paper-2: oklch(0.965 0.004 80);        /* slightly deeper paper */
  --ink: oklch(0.18 0.006 60);             /* near-black, warm */
  --ink-soft: oklch(0.42 0.006 60);
  --ink-faint: oklch(0.68 0.006 60);
  --rule: oklch(0.86 0.006 80);
  --ember: oklch(0.56 0.14 38);            /* the single accent — warm rust */

  --t-mega: clamp(96px, 22vw, 380px);
  --t-display: clamp(56px, 11vw, 188px);
  --t-h1: clamp(38px, 6.2vw, 96px);
  --t-h2: clamp(22px, 2.4vw, 36px);
  --t-body: 14px;
  --t-eyebrow: 10px;
  --t-tiny: 9px;

  --tracking-tight: -0.04em;
  --tracking-loose: 0.18em;

  --gutter: clamp(24px, 4vw, 64px);

  --motion-slow: 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  --motion-med: 600ms cubic-bezier(0.16, 1, 0.3, 1);
  --motion-fast: 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Gotham", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: var(--t-body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body { overflow-x: hidden; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--paper); }

/* ---------- Type utilities ---------- */

.t-mega {
  font-weight: 300;
  font-size: var(--t-mega);
  line-height: 0.82;
  letter-spacing: var(--tracking-tight);
}
.t-display {
  font-weight: 300;
  font-size: var(--t-display);
  line-height: 0.9;
  letter-spacing: -0.025em;
}
.t-h1 {
  font-weight: 300;
  font-size: var(--t-h1);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.t-h2 {
  font-weight: 300;
  font-size: var(--t-h2);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.t-eyebrow {
  font-weight: 700;
  font-size: var(--t-eyebrow);
  letter-spacing: var(--tracking-loose);
  text-transform: uppercase;
}
.t-tiny {
  font-weight: 700;
  font-size: var(--t-tiny);
  letter-spacing: var(--tracking-loose);
  text-transform: uppercase;
}
.t-num {
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-weight: 400;
}
/* accent run — was italic Times, now stays in Gotham; softer color carries the emphasis */
.serif-i { font-weight: 300; color: var(--ink-faint); letter-spacing: 0; }

.soft { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.ember { color: var(--ember); }

/* ---------- Chrome (fixed) ---------- */

.chrome {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}
.chrome > * { pointer-events: auto; }

.chrome .mark {
  position: absolute;
  top: 22px;
  left: var(--gutter);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.chrome .mark svg,
.chrome .mark .logo-img { width: 180px; height: auto; display: block; }
.chrome .mark .tag { color: var(--ink-soft); }

.chrome .right {
  position: absolute;
  top: 22px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
}
.chrome .right .lang { display: flex; gap: 4px; align-items: center; }
.chrome .right .lang button { color: var(--ink-faint); transition: color var(--motion-fast); }
.chrome .right .lang button.on { color: var(--ink); }
.chrome .right .lang span { color: var(--ink-faint); }

.chrome .right .menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.chrome .right .menu-btn .dot {
  width: 7px; height: 7px;
  background: var(--ember);
  border-radius: 50%;
  transform-origin: center;
  transition: transform var(--motion-fast);
}
.chrome .right .menu-btn:hover .dot { transform: scale(1.6); }

.chrome .left-foot {
  position: absolute;
  bottom: 22px;
  left: var(--gutter);
  color: var(--ink-faint);
  display: flex; gap: 24px;
}
.chrome .right-foot {
  position: absolute;
  bottom: 22px;
  right: var(--gutter);
  color: var(--ink-faint);
  text-align: right;
}
.chrome .left-foot,
.chrome .right-foot {
  transition: opacity var(--motion-fast);
}
.chrome.near-bottom .left-foot,
.chrome.near-bottom .right-foot {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Page transition ---------- */

.view {
  opacity: 1;
}

/* ---------- Home ---------- */

.home-hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100vw;
  overflow: hidden;
}

.home-hero .word {
  position: absolute;
  left: 50%;
  top: 50%;
  white-space: nowrap;
  user-select: none;
  transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(var(--scrollScale, 1));
  opacity: var(--scrollFade, 1);
  will-change: transform, opacity;
}
.home-hero .word .top {
  display: block;
  font-size: var(--t-mega);
  font-weight: 300;
  line-height: 0.78;
  letter-spacing: -0.05em;
  position: relative;
}
.home-hero .word .top .n-part,
.home-hero .word .top .arrat {
  display: inline-block;
  transform: translateX(var(--sx, 0px));
  will-change: transform;
}
.home-hero .word .top .ital {
  font-weight: 300;
  margin-right: 0.02em;
  color: var(--ember);
}
@keyframes heroReveal {
  to { clip-path: inset(0 0 0 0); }
}
.home-hero .strap {
  position: absolute;
  left: var(--gutter);
  bottom: 64px;
  max-width: 380px;
  color: var(--ink-soft);
}
.home-hero .strap .label { color: var(--ink); margin-bottom: 6px; display: block; }

.home-hero .float-1 {
  position: absolute;
  top: 14%;
  right: 8%;
  width: clamp(140px, 14vw, 220px);
  aspect-ratio: 3/4;
  transform: translate(var(--dx, 0px), calc(var(--dy, 0px) + var(--sy, 0px)));
  will-change: transform;
}
.home-hero .float-1 .float-mask {
  width: 100%; height: 100%;
  overflow: hidden;
}
.home-hero .float-1 img { width: 100%; height: 100%; object-fit: cover; }
.home-hero .float-1 .cap {
  position: absolute;
  left: -110px;
  top: 50%;
  transform-origin: right center;
  transform: rotate(-90deg) translate(0, 0);
  color: var(--ink-faint);
  white-space: nowrap;
}

.home-hero .scroll-cue {
  position: absolute;
  bottom: 64px;
  right: var(--gutter);
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-soft);
}
.home-hero .scroll-cue .line {
  width: 60px; height: 1px; background: var(--ink-soft);
  position: relative; overflow: hidden;
}
.home-hero .scroll-cue .line::after {
  content: "";
  position: absolute; left: -40%; top: 0; bottom: 0; width: 40%;
  background: var(--paper);
  animation: cue 2.6s ease-in-out infinite;
}
@keyframes cue {
  0%   { left: -40%; }
  60%  { left: 100%; }
  100% { left: 100%; }
}

/* ---------- Section: Selected ---------- */

.section {
  position: relative;
  padding: clamp(96px, 16vh, 200px) 0;
  min-height: 100vh;
}

.featured {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  padding: 12vh 0;
}

.featured .frame-wrap {
  position: relative;
  width: 92vw;
  margin-left: auto;
  margin-right: 0;
  will-change: transform;
}
.featured.right .frame-wrap {
  margin-left: 0;
  margin-right: auto;
}
.featured .frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.featured .frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured .frame:hover img { transform: scale(1.025) !important; }
.featured .frame .reveal-curtain {
  display: none;
}
.featured .frame-wrap.revealed .reveal-curtain {
  display: none;
}

.featured .frame.small {
  position: absolute;
  width: 22vw; aspect-ratio: 4/5;
  z-index: 2;
  overflow: hidden;
  will-change: transform;
}
.featured .frame.small img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured .info {
  position: relative;
  margin-top: 48px;
  padding: 0 var(--gutter);
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.featured .info .title { grid-column: 1 / span 2; }
.featured .info .title .num { color: var(--ember); margin-right: 12px; display: block; margin-bottom: 14px; }
.featured .info .meta { color: var(--ink-soft); }
.featured .info .meta dl { display: grid; grid-template-columns: 80px 1fr; gap: 4px 12px; }
.featured .info .meta dt { color: var(--ink-faint); }

/* ---------- Statement section ---------- */

.statement {
  padding: clamp(120px, 20vh, 240px) var(--gutter);
  position: relative;
  background: var(--paper);
}
.statement .body {
  max-width: 16ch;
  margin-left: auto;
  margin-right: 8vw;
}
.statement .corner-tl {
  position: absolute; top: 64px; left: var(--gutter);
  color: var(--ink-faint);
}
.statement .corner-br {
  position: absolute; bottom: 64px; right: var(--gutter);
  color: var(--ink-faint);
  text-align: right;
}

/* ---------- Footer ---------- */

.foot {
  padding: 80px var(--gutter) 32px;
  position: relative;
  border-top: 1px solid var(--rule);
}
.foot .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.foot h3 { font-weight: 300; font-size: 32px; line-height: 1; letter-spacing: -0.02em; max-width: 8ch; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--ink-soft); }
.foot .copy {
  margin-top: 96px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-faint);
}

/* ---------- Menu overlay ---------- */

.menu-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  pointer-events: auto;
}

.menu-overlay .close {
  position: absolute;
  top: 22px; right: var(--gutter);
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--paper);
}
.menu-overlay .close .glyph { font-weight: 300; font-size: 22px; line-height: 1; }

.menu-overlay .mark {
  position: absolute; top: 22px; left: var(--gutter);
  color: var(--paper);
}
.menu-overlay .mark svg,
.menu-overlay .mark .logo-img { width: 180px; }
.menu-overlay .mark svg path { fill: var(--paper); }
.menu-overlay .mark .logo-img { filter: invert(1) brightness(1.1); }

.menu-overlay .nav {
  flex: 1.4;
  padding: 18vh 0 80px var(--gutter);
  display: flex; flex-direction: column;
  justify-content: center;
}
.menu-overlay .nav ol {
  list-style: none;
  display: flex; flex-direction: column;
  gap: clamp(10px, 1.4vh, 18px);
  counter-reset: nav;
}
.menu-overlay .nav li {
  counter-increment: nav;
  position: relative;
  display: flex; align-items: baseline; gap: 28px;
}
.menu-overlay .nav li::before {
  content: counter(nav, decimal-leading-zero);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: var(--tracking-loose);
  color: oklch(0.55 0.005 80);
  width: 28px;
}
.menu-overlay .nav li button {
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--paper);
  transition: color var(--motion-fast), transform var(--motion-fast);
  transform-origin: left center;
  text-align: left;
}
.menu-overlay .nav li button:hover {
  color: var(--ember);
  transform: translateX(12px);
}
.menu-overlay .nav li button .ital {
  font-weight: 300;
  color: oklch(0.55 0.005 80);
  margin-left: 0.25em;
  font-size: 0.42em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  vertical-align: middle;
}
.menu-overlay .nav li.current button { color: var(--ember); }

.menu-overlay .side {
  flex: 1;
  border-left: 1px solid oklch(0.32 0.006 60);
  padding: 18vh var(--gutter) 80px var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between;
  color: oklch(0.72 0.005 80);
}
.menu-overlay .side h4 { color: var(--paper); font-weight: 400; font-size: 13px; letter-spacing: var(--tracking-loose); text-transform: uppercase; margin-bottom: 14px; }
.menu-overlay .side p { font-size: 14px; line-height: 1.5; max-width: 32ch; }
.menu-overlay .side .block { margin-bottom: 40px; }
.menu-overlay .side .block:last-child { margin-bottom: 0; }

/* ---------- Projects index ---------- */

.index-head {
  padding: 22vh var(--gutter) 8vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 32px;
}
.index-head .meta { color: var(--ink-soft); text-align: right; max-width: 28ch; justify-self: end; }

.index-filter {
  padding: 19vh var(--gutter) 24px;
  display: flex; gap: 24px;
  border-bottom: 1px solid var(--rule);
}
.index-filter button {
  color: var(--ink-faint);
  position: relative;
  padding-bottom: 6px;
}
.index-filter button.on {
  color: var(--ink);
}
.index-filter button.on::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--ember);
}

.index-list { padding: 0 var(--gutter); }
.index-row {
  display: grid;
  grid-template-columns: 56px minmax(280px, 2.4fr) 1.1fr 1fr 90px 60px;
  align-items: baseline;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
  transition: padding-left var(--motion-fast);
}
.index-row:hover { padding-left: 16px; }
.index-row:hover .arrow { transform: translateX(8px); color: var(--ember); }
.index-row .num { color: var(--ink-faint); font-weight: 400; font-feature-settings: "tnum" 1; align-self: baseline; }
.index-row .title-cell { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.index-row .title {
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.index-row .subtitle {
  font-weight: 700;
  font-size: var(--t-tiny);
  letter-spacing: var(--tracking-loose);
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.index-row .meta-cell { color: var(--ink-soft); white-space: nowrap; }
.index-row .arrow { transition: transform var(--motion-fast), color var(--motion-fast); justify-self: end; color: var(--ink-faint); align-self: center; }

.index-row .preview {
  position: fixed;
  width: 280px;
  height: 360px;
  pointer-events: none;
  z-index: 80;
  opacity: 0;
  transition: opacity 250ms;
  overflow: hidden;
}
.index-row.hover .preview { opacity: 1; }
.index-row .preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Project detail ---------- */

.proj-hero {
  position: relative;
  padding: 22vh var(--gutter) 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 64px;
}
.proj-hero .meta { color: var(--ink-soft); }
.proj-hero .meta .tag { color: var(--ember); margin-bottom: 22px; }
.proj-hero .title {
  font-size: clamp(64px, 10vw, 168px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.proj-hero .title .ital { font-weight: 300; color: var(--ink-faint); }
.proj-hero .info-grid {
  margin-top: 96px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.proj-hero .info-grid dt { color: var(--ink-faint); margin-bottom: 4px; }
.proj-hero .info-grid dd { color: var(--ink); }

.proj-cover {
  margin-top: 64px;
  width: 100%;
  height: 96vh;
  overflow: hidden;
  position: relative;
}
.proj-cover img { width: 100%; height: 100%; object-fit: cover; }
.proj-cover .marker {
  position: absolute;
  top: 24px; left: var(--gutter);
  color: var(--paper);
  mix-blend-mode: difference;
}

.proj-body {
  padding: 18vh var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.proj-body .colA { color: var(--ink-faint); padding-top: 6px; }
.proj-body .colB { font-size: clamp(18px, 1.5vw, 22px); font-weight: 300; line-height: 1.45; color: var(--ink); max-width: 38ch; }
.proj-body .colB p + p { margin-top: 18px; }
.proj-body .colC { color: var(--ink-soft); padding-top: 6px; }

.proj-gallery {
  position: relative;
  padding: 0 0 18vh;
}
.proj-gallery .row {
  display: grid;
  gap: 24px;
  padding: 6vh var(--gutter);
  align-items: end;
}
.proj-gallery .row.row-a { grid-template-columns: 1.2fr 0.8fr; }
.proj-gallery .row.row-b { grid-template-columns: 1fr 1.4fr; }
.proj-gallery .row .frame { overflow: hidden; }
.proj-gallery .row .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.proj-gallery .row .frame.wide img { aspect-ratio: 4/3; }
.proj-gallery .row .frame.tall img { aspect-ratio: 3/4; }
.proj-gallery .full { width: 100%; height: 90vh; overflow: hidden; margin: 6vh 0; }
.proj-gallery .full img { width: 100%; height: 100%; object-fit: cover; }
.proj-gallery .row .frame .cap { color: var(--ink-faint); margin-top: 10px; display: flex; justify-content: space-between; gap: 16px; }

.proj-gallery .offset { transform: translateY(-8vh); }

.proj-plan {
  padding: 12vh var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}
.proj-plan .text .label { color: var(--ember); margin-bottom: 14px; }
.proj-plan .text h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 300; line-height: 1; letter-spacing: -0.015em; max-width: 12ch; margin-bottom: 16px; }
.proj-plan .text p { color: var(--ink-soft); max-width: 36ch; }
.proj-plan .plan-canvas {
  aspect-ratio: 4/3;
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
}

.proj-credits {
  padding: 14vh var(--gutter) 8vh;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  border-top: 1px solid var(--rule);
}
.proj-credits dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px 32px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.proj-credits dt { color: var(--ink-faint); }
.proj-credits dd { color: var(--ink); }

.proj-next {
  padding: 14vh var(--gutter) 18vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 32px;
  border-top: 1px solid var(--rule);
}
.proj-next .right { justify-self: end; text-align: right; }
.proj-next h3 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.02em;
  cursor: pointer;
  display: inline-block;
  transition: color var(--motion-fast), transform var(--motion-fast);
  transform-origin: right center;
}
.proj-next h3:hover { color: var(--ember); transform: translateX(-8px); }

/* ---------- Studio (About) ---------- */

.studio-hero {
  padding: 26vh var(--gutter) 0;
  position: relative;
}
.studio-hero .title {
  font-size: clamp(48px, 7vw, 120px);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.studio-hero .title .ital { font-weight: 300; color: var(--ember); }
.studio-hero .marker {
  position: absolute;
  top: 26vh; right: var(--gutter);
  color: var(--ink-soft);
  text-align: right;
}

.studio-body {
  padding: 12vh var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.studio-body .leader { font-size: clamp(20px, 1.7vw, 26px); font-weight: 300; line-height: 1.4; color: var(--ink); max-width: 28ch; }
.studio-body .text { color: var(--ink-soft); max-width: 50ch; }
.studio-body .text p + p { margin-top: 18px; }

.studio-portrait {
  width: 78vw;
  margin-left: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.studio-portrait img { width: 100%; height: 100%; object-fit: cover; }

.studio-people {
  padding: 14vh var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  border-top: 1px solid var(--rule);
}
.studio-people .person h4 { font-weight: 400; font-size: 18px; margin-bottom: 4px; }
.studio-people .person .role { color: var(--ink-faint); margin-bottom: 14px; }
.studio-people .person p { color: var(--ink-soft); }

.studio-numbers {
  padding: 14vh var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--rule);
}
.studio-numbers .stat .v {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.02em;
}
.studio-numbers .stat .l { color: var(--ink-faint); margin-top: 8px; }

/* ---------- Contact ---------- */

.contact-wrap {
  padding: 22vh var(--gutter) 12vh;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-wrap .lede {
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 300; line-height: 1; letter-spacing: -0.025em;
  max-width: 14ch;
}
.contact-wrap .lede .ital { font-weight: 300; color: var(--ember); }
.contact-wrap .side .block { margin-bottom: 36px; }
.contact-wrap .side .block:last-child { margin-bottom: 0; }
.contact-wrap .side .label { color: var(--ink-faint); margin-bottom: 6px; }
.contact-wrap .side .val { color: var(--ink); font-size: 16px; }
.contact-wrap .side .val a { border-bottom: 1px solid var(--rule); }
.contact-wrap .side .val a:hover { color: var(--ember); border-color: var(--ember); }

.contact-form {
  padding: 8vh var(--gutter) 18vh;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  border-top: 1px solid var(--rule);
}
.contact-form .col-left h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; max-width: 14ch; margin-bottom: 16px; }
.contact-form .col-left p { color: var(--ink-soft); max-width: 36ch; }
.contact-form form { display: flex; flex-direction: column; gap: 28px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form .field label { color: var(--ink-faint); }
.contact-form .field input,
.contact-form .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 8px 0 10px;
  font: inherit;
  color: var(--ink);
  outline: none;
  font-size: 16px;
  font-weight: 300;
  transition: border-color var(--motion-fast);
}
.contact-form .field textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.contact-form .field input:focus,
.contact-form .field textarea:focus { border-color: var(--ember); }
.contact-form .submit {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background var(--motion-fast), color var(--motion-fast);
}
.contact-form .submit:hover { background: var(--ink); color: var(--paper); }
.contact-form .submit .arr { width: 22px; height: 1px; background: currentColor; position: relative; }
.contact-form .submit .arr::after {
  content: ""; position: absolute; right: 0; top: -3px;
  border-left: 1px solid currentColor; border-top: 1px solid currentColor;
  width: 7px; height: 7px; transform: rotate(135deg); transform-origin: top right;
}

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  .featured .info { grid-template-columns: 1fr; gap: 18px; }
  .featured .info .title { grid-column: 1; }
  .foot .grid { grid-template-columns: 1fr 1fr; }
  .proj-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 20vh; }
  .proj-hero .info-grid { grid-template-columns: 1fr 1fr; }
  .proj-body { grid-template-columns: 1fr; }
  .proj-plan, .proj-credits, .proj-next { grid-template-columns: 1fr; }
  .studio-body, .studio-people, .studio-numbers { grid-template-columns: 1fr; }
  .studio-numbers { gap: 48px; }
  .contact-wrap, .contact-form { grid-template-columns: 1fr; }
  .index-head { grid-template-columns: 1fr; }
  .index-head .meta { justify-self: start; text-align: left; }
  .index-row { grid-template-columns: 30px 1fr; }
  .index-row .meta-cell, .index-row .arrow { display: none; }
  .index-row .title { white-space: normal; }
  .home-hero .float-1 { display: none; }
  .menu-overlay { flex-direction: column; }
  .menu-overlay .side { border-left: 0; border-top: 1px solid oklch(0.32 0.006 60); }
}
