/* =========================================================
   Keyline Construction
   Built by WebHunted
   ========================================================= */

:root {
  --white: #fafaf8;
  --black: #000000;
  --graphite: #26282c;
  --stone: #6f7175;
  --concrete: #b9bab7;
  --mist: #ececea;
  --ice: #9fd2f5;
  --rule: rgba(38, 40, 44, 0.16);
  --rule-light: rgba(250, 250, 248, 0.16);

  --wide: "Syncopate", "Helvetica Neue", Arial, sans-serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.83, 0, 0.17, 1);
  --gutter: clamp(20px, 4.5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--white);
  color: var(--graphite);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
::selection { background: var(--ice); color: var(--black); }
:focus-visible { outline: 1px solid var(--ice); outline-offset: 4px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Shared ---------- */

.heading {
  font-family: var(--wide);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-bottom: clamp(48px, 6vw, 96px);
}
.heading--light { color: var(--white); margin-bottom: 0; }

.text-link {
  position: relative;
  display: inline-block;
  font-weight: 400;
  color: var(--black);
  padding-bottom: 4px;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.8s var(--ease);
}
.text-link:hover::after { transform: scaleX(0); }

.btn {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 34px;
  border: 1px solid rgba(250, 250, 248, 0.6);
  color: var(--white);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: background 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.fade { opacity: 0; transform: translateY(28px); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); }
.fade.is-in { opacity: 1; transform: none; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 92px;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 var(--gutter);
  color: var(--white);
  transition: background 0.7s var(--ease), color 0.7s var(--ease), height 0.7s var(--ease), transform 0.8s var(--ease), box-shadow 0.7s var(--ease);
}
.nav.is-solid {
  height: 76px;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--black);
  box-shadow: 0 1px 0 var(--rule);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-over-dark { height: 76px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.nav__logo { position: relative; display: block; height: 32px; }
.nav__logo img { height: 100%; width: auto; transition: opacity 0.6s var(--ease); }
.nav__logo-dark { position: absolute; left: 0; top: 0; opacity: 0; }
.nav.is-solid .nav__logo-light { opacity: 0; }
.nav.is-solid .nav__logo-dark { opacity: 1; }

.nav__links { display: flex; gap: 40px; margin-left: auto; }
.nav__links a, .nav__cta {
  position: relative;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.4s;
}
.nav__links a::after, .nav__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s var(--ease);
}
.nav__links a:hover, .nav__cta:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { opacity: 1; padding-left: 40px; border-left: 1px solid currentColor; border-color: rgba(127, 127, 127, 0.4); }
.nav__cta::after { left: 40px; width: calc(100% - 40px); transform: scaleX(1); }
.nav__cta:hover::after { transform: scaleX(0); }

.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 26px; }
body.menu-open .nav { color: var(--white); background: transparent; box-shadow: none; }
body.menu-open .nav .nav__logo-light { opacity: 1; }
body.menu-open .nav .nav__logo-dark { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 140px var(--gutter) 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu__links { display: grid; gap: 6px; }
.menu__links a {
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 200;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 1s var(--ease);
}
body.menu-open .menu__links a { opacity: 1; transform: none; }
body.menu-open .menu__links a:nth-child(2) { transition-delay: 0.05s; }
body.menu-open .menu__links a:nth-child(3) { transition-delay: 0.1s; }
body.menu-open .menu__links a:nth-child(4) { transition-delay: 0.15s; }
body.menu-open .menu__links a:nth-child(5) { transition-delay: 0.2s; }
.menu__foot { display: grid; gap: 6px; font-size: 15px; color: var(--concrete); padding-top: 24px; border-top: 1px solid var(--rule-light); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img {
  position: absolute;
  inset: 0;
  background-color: #000;
  background-size: cover;
  background-position: center;
  transform: scale(1.14);
  opacity: 0;
  transition: transform 4s var(--ease) 2.4s, opacity 2.2s ease 2.4s;
}
body.is-ready .hero__img.has-photo { transform: scale(1.03); opacity: 1; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 38%, #15171a 0%, #000 70%);
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.75) 100%);
  opacity: 0;
  transition: opacity 2s ease 2.6s;
}
.hero.has-photo .hero__shade { opacity: 1; }
.hero__drawing {
  position: absolute;
  top: clamp(90px, 13vh, 140px);
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(220px, 42vh, 440px);
  transition: opacity 2s ease 2.6s, visibility 0s linear 4.6s;
}
.hero__drawing .draw { width: 100%; height: 100%; }
.hero.has-photo .hero__drawing { opacity: 0; visibility: hidden; }
.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 var(--gutter) clamp(28px, 4vw, 56px);
}
.hero__line {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(250, 250, 248, 0.85);
  margin-bottom: clamp(16px, 2.4vw, 36px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.6s var(--ease) 2.6s, transform 1.6s var(--ease) 2.6s;
}
body.is-ready .hero__line { opacity: 1; transform: none; }

.hero__word {
  display: flex;
  justify-content: space-between;
  font-family: var(--wide);
  font-weight: 400;
  font-size: clamp(56px, 15.4vw, 300px);
  line-height: 0.8;
  letter-spacing: 0;
  overflow: hidden;
  padding-top: 0.06em;
}
.hero__word span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.8s var(--ease) 2.2s;
}
body.is-ready .hero__word span { transform: none; }
body.is-ready .hero__word span:nth-child(2) { transition-delay: 2.26s; }
body.is-ready .hero__word span:nth-child(3) { transition-delay: 2.32s; }
body.is-ready .hero__word span:nth-child(4) { transition-delay: 2.38s; }
body.is-ready .hero__word span:nth-child(5) { transition-delay: 2.44s; }
body.is-ready .hero__word span:nth-child(6) { transition-delay: 2.50s; }
body.is-ready .hero__word span:nth-child(7) { transition-delay: 2.56s; }

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

.statement { padding: clamp(120px, 18vw, 260px) 0 clamp(100px, 14vw, 200px); }
.statement__grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(40px, 8vw, 160px);
  align-items: end;
}
.statement__text {
  font-size: clamp(28px, 3.3vw, 50px);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--black);
  max-width: 26ch;
}
.statement__side { display: grid; gap: 28px; justify-items: start; color: var(--stone); max-width: 36ch; }

/* ---------- Services ---------- */

.services { padding: 0 0 clamp(120px, 16vw, 220px); }
.services__rows { border-top: 1px solid var(--rule); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: baseline;
  gap: 32px;
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
  transition: opacity 0.6s var(--ease);
}
.row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.services__rows:hover .row { opacity: 0.32; }
.services__rows .row:hover { opacity: 1; }
.row:hover::after { transform: scaleX(1); }
.row__name {
  font-size: clamp(30px, 4.2vw, 64px);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  transition: transform 0.9s var(--ease);
}
.row:hover .row__name { transform: translateX(clamp(8px, 1.5vw, 24px)); }
.row__desc { color: var(--stone); max-width: 42ch; }

/* ---------- Gallery ---------- */

.gallery { position: relative; background: var(--black); color: var(--white); }
.gallery__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(32px, 5vh, 64px);
  overflow: hidden;
}
.gallery__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.gallery__count { color: var(--concrete); font-variant-numeric: tabular-nums; }
.gallery__track {
  display: flex;
  gap: clamp(24px, 3vw, 56px);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.slide { display: block; width: clamp(280px, 58vw, 1000px); flex-shrink: 0; }
.slide__media {
  position: relative;
  height: min(62vh, 36vw * 1.1);
  height: clamp(260px, 60vh, 640px);
  overflow: hidden;
  background: linear-gradient(160deg, #101113, #050505);
  border: 1px solid rgba(159, 210, 245, 0.08);
}
.slide__media .draw { position: absolute; inset: 6%; width: 88%; height: 88%; }
.slide__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 calc(100% - var(--p, 0) * 100%));
  transition: scale 1.4s var(--ease);
  display: none;
}
.slide__img.has-photo { display: block; }
.slide:hover .slide__img { scale: 1.04; }
.slide__title { margin-top: 22px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 400; color: var(--white); }
.slide__place { color: var(--concrete); font-size: 15px; }
.slide--end {
  width: clamp(240px, 30vw, 460px);
  display: grid;
  place-items: center;
  height: clamp(260px, 60vh, 640px);
  border: 1px solid var(--rule-light);
  transition: background 0.8s var(--ease), color 0.8s var(--ease);
}
.slide__end-text { font-family: var(--wide); font-size: clamp(14px, 1.2vw, 18px); letter-spacing: 0.08em; text-align: center; padding: 0 24px; }
.slide--end:hover { background: var(--white); color: var(--black); }
.gallery__bar { position: relative; height: 1px; }
.gallery__bar { margin: 0 var(--gutter); }
.gallery__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-light); }
.gallery__bar span {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--ice);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Process ---------- */

.process { padding: clamp(120px, 16vw, 220px) 0; }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 56px); }
.process__steps li { border-top: 1px solid var(--rule); padding-top: 28px; }
.process__n { display: block; font-size: 56px; font-weight: 200; line-height: 1; color: var(--concrete); margin-bottom: 40px; }
.process__steps h3 { font-size: 22px; font-weight: 400; color: var(--black); margin-bottom: 10px; }
.process__steps p { color: var(--stone); font-size: 16px; }

/* ---------- Words ---------- */

.words { padding: 0 0 clamp(120px, 16vw, 220px); }
.words__quote {
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--black);
  max-width: 30ch;
  margin-left: clamp(0px, 18vw, 320px);
}
.words__who { margin-top: 28px; margin-left: clamp(0px, 18vw, 320px); color: var(--stone); }

/* ---------- Closing ---------- */

.closing {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: flex-end;
}
.closing__img {
  position: absolute;
  inset: -14% 0;
  background: radial-gradient(ellipse at 30% 40%, #2a2c30 0%, #121315 60%, #000 100%);
  background-size: cover;
  background-position: center;
}
.closing__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.75) 100%); }
.closing__content { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vh, 110px); }
.closing__title { font-size: clamp(44px, 6.4vw, 104px); font-weight: 200; line-height: 1.02; letter-spacing: -0.03em; max-width: 12ch; margin-bottom: 28px; }
.closing__text { max-width: 44ch; color: rgba(250, 250, 248, 0.78); margin-bottom: 44px; }

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

.footer { background: var(--black); color: var(--concrete); padding-top: clamp(80px, 9vw, 130px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: clamp(64px, 8vw, 110px); }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col a { transition: color 0.4s; word-break: break-word; }
.footer__col a:hover { color: var(--white); }
.footer__big { font-size: clamp(22px, 2.3vw, 34px); font-weight: 300; color: var(--white); letter-spacing: -0.01em; line-height: 1.3; }
.footer__word {
  display: flex;
  justify-content: space-between;
  padding: 0 var(--gutter);
  font-family: var(--wide);
  font-weight: 700;
  font-size: clamp(56px, 15.4vw, 300px);
  line-height: 0.74;
  color: #141517;
  letter-spacing: 0;
  user-select: none;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 32px;
  font-size: 14px;
  color: #8b8d91;
}
.footer__bottom a { color: var(--concrete); }
.footer__bottom a:hover { color: var(--white); }

/* ---------- Drawings ---------- */

.draw { display: block; overflow: visible; }
.draw .ln {
  fill: none;
  stroke: var(--ice);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.draw .b { stroke-opacity: 0.8; }
.draw .c { stroke-opacity: 0.42; }
.draw .g { stroke-opacity: 0.16; }
.draw text {
  fill: var(--ice);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  opacity: 0;
}
.draw .tx--c { font-size: 12px; letter-spacing: 0; }
.draw.is-drawn .ln { animation: drawLine 1.6s cubic-bezier(0.65, 0, 0.35, 1) var(--d, 0s) forwards; }
.draw.is-drawn text { animation: drawText 1.2s ease calc(var(--d, 0s) + 0.4s) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes drawText { to { opacity: 0.7; } }

/* ---------- Drawn / Built reveal ---------- */

.reveal { position: relative; height: 260vh; background: var(--black); color: var(--white); }
.reveal__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 90px 0 40px;
  overflow: hidden;
}
.reveal__stage {
  --p: 0;
  position: relative;
  flex: 1;
  margin: 0 var(--gutter);
  max-height: 72vh;
  background: #050505;
  border: 1px solid rgba(159, 210, 245, 0.08);
  overflow: hidden;
}
.reveal__drawn { position: absolute; inset: 5%; }
.reveal__drawn .draw { width: 100%; height: 100%; }
.reveal__built {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #2c2e32 0%, #17181b 100%);
  background-size: cover;
  background-position: center 62%;
  clip-path: inset(0 calc(100% - var(--p) * 100%) 0 0);
}
.reveal__built:not(.has-photo)::after {
  content: "Your finished project photo";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(250, 250, 248, 0.25);
  font-size: 14px;
  white-space: nowrap;
}
.reveal__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--p) * 100%);
  width: 1px;
  background: var(--ice);
  box-shadow: 0 0 24px rgba(159, 210, 245, 0.6);
  opacity: calc(1 - (var(--p) - 0.92) * 12);
}
.reveal__labels { display: flex; justify-content: space-between; gap: 24px; color: var(--stone); font-size: 15px; }
.reveal__labels p:last-child { text-align: right; }
.reveal__k {
  display: block;
  font-family: var(--wide);
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color 0.6s var(--ease), opacity 0.6s var(--ease);
}
.reveal__labels p { transition: opacity 0.6s var(--ease); }
.reveal.is-built .reveal__labels p:first-child, .reveal:not(.is-built) .reveal__labels p:last-child { opacity: 0.35; }

/* ---------- Curtain, grain, cursor ---------- */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--black);
  pointer-events: none;
  transition: opacity 0.9s var(--ease);
}
body.is-ready .curtain { opacity: 0; }
body.is-leaving .curtain { opacity: 1; transition-duration: 0.6s; }

.grain {
  position: fixed;
  inset: -50%;
  z-index: 1500;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1800;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid rgba(159, 210, 245, 0.7);
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
    transition: width 0.6s var(--ease), height 0.6s var(--ease), margin 0.6s var(--ease), background 0.5s, border-color 0.5s, opacity 0.4s;
  }
  .cursor span { font-size: 13px; font-weight: 400; color: var(--black); opacity: 0; transition: opacity 0.3s; }
  .cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--white); border-color: var(--white); mix-blend-mode: normal; }
  .cursor.is-view span { opacity: 1; }
  .cursor.is-link { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--ice); border-color: var(--ice); }
  .cursor.is-hidden { opacity: 0; }
}
.magnetic { transition: transform 0.9s var(--ease); will-change: transform; }


/* =========================================================
   Projects and case study pages
   ========================================================= */

.page-projects .nav, .page-projects .nav.is-solid { color: var(--black); }

.page-head { padding: clamp(160px, 22vh, 240px) 0 clamp(56px, 7vw, 100px); }
.page-head__title {
  font-family: var(--wide);
  font-weight: 400;
  font-size: clamp(40px, 8vw, 128px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 28px;
}
.page-head__text { max-width: 46ch; color: var(--stone); font-size: clamp(17px, 1.4vw, 20px); }

.projects { padding-bottom: clamp(100px, 13vw, 180px); }
.feature { position: relative; display: block; background: var(--black); color: var(--white); overflow: hidden; }
.feature__media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.feature__img {
  position: absolute;
  inset: 0;
  background: #111 center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.feature:hover .feature__img { transform: scale(1); }
.feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.75) 100%);
}
.feature__info {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 52px);
  display: grid;
  gap: 4px;
  justify-items: start;
}
.feature__title { font-size: clamp(26px, 3.4vw, 52px); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
.feature__place { color: var(--concrete); margin-bottom: 10px; }
.feature__desc { max-width: 44ch; color: rgba(250,250,248,0.8); margin-bottom: 18px; }
.text-link--light { color: var(--white); }

/* Case study */
.hero--project .hero__img { transition: transform 3s var(--ease), opacity 1.6s ease; }
body.is-ready .hero--project .hero__img.has-photo { opacity: 1; transform: scale(1.03); }
.hero--project .hero__shade { opacity: 1; }
.hero--project .hero__line { transition-delay: 0.7s; }
.hero--project .hero__word { font-size: clamp(44px, 12.6vw, 250px); }
body.is-ready .hero--project .hero__word span { transition-delay: 0.3s; }
body.is-ready .hero--project .hero__word span:nth-child(2) { transition-delay: 0.36s; }
body.is-ready .hero--project .hero__word span:nth-child(3) { transition-delay: 0.42s; }
body.is-ready .hero--project .hero__word span:nth-child(4) { transition-delay: 0.48s; }
body.is-ready .hero--project .hero__word span:nth-child(5) { transition-delay: 0.54s; }
body.is-ready .hero--project .hero__word span:nth-child(6) { transition-delay: 0.6s; }
body.is-ready .hero--project .hero__word span:nth-child(7) { transition-delay: 0.66s; }
body.is-ready .hero--project .hero__word span:nth-child(8) { transition-delay: 0.72s; }

.facts { display: grid; gap: 22px; border-top: 1px solid var(--rule); padding-top: 26px; max-width: 40ch; }
.facts dt { font-size: 14px; color: var(--stone); }
.facts dd { color: var(--black); font-weight: 400; }

.chapter { padding: clamp(90px, 11vw, 160px) 0; }
.chapter--dark { background: var(--black); color: var(--white); }
.chapter__head {
  display: grid;
  grid-template-columns: clamp(70px, 10vw, 160px) 1fr;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.chapter__head .heading { margin-bottom: 18px; }
.chapter__n {
  font-family: var(--wide);
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--ice);
}
.chapter__text { max-width: 52ch; color: var(--stone); }
.chapter--dark .chapter__text { color: var(--concrete); }

figure { margin: 0; }
figure img { display: block; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
figcaption { margin-top: 12px; font-size: 14px; color: var(--stone); }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.strip__item { aspect-ratio: 3 / 4.6; overflow: hidden; }
.strip__item img { transition: transform 1.4s var(--ease); }
.strip__item:hover img { transform: scale(1.03); }

.stagger { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.stagger__item { overflow: hidden; aspect-ratio: 3 / 4.8; }
.stagger__item:nth-child(even) { margin-top: 14%; }
.stagger--3 { grid-template-columns: repeat(3, 1fr); }
.projects__list { display: grid; gap: clamp(32px, 4vw, 64px); }
.compare__grid--second { margin-top: clamp(40px, 5vw, 80px); }
.stagger__item--c img { object-position: center 85%; }
.stagger img { transition: transform 1.4s var(--ease); }
.stagger__item:hover img { transform: scale(1.03); }

.wide { margin-bottom: clamp(60px, 8vw, 120px); }
.wide img { aspect-ratio: 16 / 9; max-height: 92vh; }
.wide figcaption { padding-top: 0; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 48px); margin-bottom: clamp(60px, 8vw, 120px); }
.pair figure img { aspect-ratio: 4 / 3; }
.pair--offset { grid-template-columns: 1.4fr 1fr; align-items: end; }
.pair__tall img { aspect-ratio: 3 / 4.2; }

.compare { padding: 0 0 clamp(100px, 13vw, 180px); }
.compare__grid { display: grid; grid-template-columns: 1fr 1.9fr; gap: clamp(16px, 3vw, 48px); align-items: end; }
.compare__before img { aspect-ratio: 3 / 4.3; }
.compare__after img { aspect-ratio: 16 / 10; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 140px);
  object-fit: contain;
  transform: scale(0.97);
  transition: transform 0.7s var(--ease), opacity 0.3s;
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__close {
  position: absolute;
  top: 28px;
  right: var(--gutter);
  color: var(--white);
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
}
.lightbox__nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; }
.lightbox__nav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--white);
  border-right: 1px solid var(--white);
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.lightbox__nav--next { right: 24px; }
.lightbox__nav--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.lightbox__count { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: var(--concrete); font-size: 14px; }

@media (max-width: 1000px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .stagger { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .chapter__head { grid-template-columns: 1fr; gap: 8px; }
  .pair, .pair--offset, .compare__grid { grid-template-columns: 1fr; }
  .feature__media { aspect-ratio: 4 / 5; }
  .lightbox__img { max-width: 100vw; max-height: calc(100vh - 160px); }
  .lightbox__nav { top: auto; bottom: 14px; margin-top: 0; }
}


/* ---------- Services page ---------- */

.page-services .nav, .page-services .nav.is-solid { color: var(--black); }
.svc-index { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rule); }
.svc-index a { position: relative; color: var(--stone); transition: color 0.4s; }
.svc-index a:hover { color: var(--black); }

.svc-block { padding: clamp(80px, 10vw, 150px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 60px; }
.svc-block__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.svc-block--flip .svc-block__grid { grid-template-columns: 7fr 5fr; }
.svc-block--flip .svc-block__text { order: 2; }
.svc-block__n {
  display: block;
  font-family: var(--wide);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--ice);
  margin-bottom: 28px;
}
.svc-block__title { font-size: clamp(34px, 4vw, 60px); font-weight: 200; line-height: 1.05; letter-spacing: -0.02em; color: var(--black); margin-bottom: 22px; }
.svc-block__lead { color: var(--graphite); max-width: 44ch; margin-bottom: 30px; }
.svc-block__list { margin-bottom: 36px; border-top: 1px solid var(--rule); }
.svc-block__list li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--graphite); font-size: 16px; }

.svc-stage {
  --p: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #050505;
  overflow: hidden;
}
.svc-stage .draw { position: absolute; inset: 7%; width: 86%; height: 86%; }
.svc-stage__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  clip-path: inset(0 calc(100% - var(--p) * 100%) 0 0);
  display: none;
}
.svc-stage__photo.has-photo { display: block; }
.svc-stage__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--p) * 100%);
  width: 1px;
  background: var(--ice);
  box-shadow: 0 0 20px rgba(159, 210, 245, 0.6);
  opacity: calc(1 - (var(--p) - 0.92) * 12);
}
.svc-stage--drawing .draw { inset: 6%; width: 88%; height: 88%; }

@media (max-width: 900px) {
  .svc-block__grid, .svc-block--flip .svc-block__grid { grid-template-columns: 1fr; }
  .svc-block--flip .svc-block__text { order: 0; }
  .svc-stage { order: -1; }
}


/* ---------- Contact page and quote form ---------- */

.page-contact .nav, .page-contact .nav.is-solid { color: var(--black); }
.page-head--contact { padding-bottom: clamp(40px, 5vw, 72px); }
.contact { padding-bottom: clamp(100px, 13vw, 180px); }
.contact__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__details { display: grid; gap: 36px; position: sticky; top: 110px; }
.contact__item { border-top: 1px solid var(--rule); padding-top: 18px; color: var(--graphite); }
.contact__label { font-size: 14px; color: var(--stone); margin-bottom: 6px; }
.contact__big { font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; color: var(--black); word-break: break-word; transition: color 0.3s; }
.contact__big:hover { color: var(--stone); }
.contact__next { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; }

.quote { background: var(--paper); border: 1px solid var(--rule); padding: clamp(28px, 4vw, 56px); scroll-margin-top: 110px; }
.quote__progress { margin-bottom: clamp(32px, 4vw, 52px); }
.quote__bar { display: block; height: 1px; background: var(--rule); margin-bottom: 16px; }
.quote__bar span { display: block; height: 1px; background: var(--black); transform: scaleX(0.33); transform-origin: left; transition: transform 0.9s var(--ease); }
.quote__steps { display: flex; justify-content: space-between; font-size: 14px; color: var(--stone); }
.quote__steps li { transition: color 0.4s; }
.quote__steps .is-current { color: var(--black); }
.quote__steps .is-done { color: var(--graphite); }

fieldset { border: 0; min-width: 0; }
.quote__step { display: none; }
.quote__step.is-active { display: block; animation: stepIn 0.7s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } }
.quote__title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 200; letter-spacing: -0.02em; color: var(--black); margin-bottom: 28px; padding: 0; }

.choices { display: grid; gap: 12px; margin-bottom: 28px; }
.choices--cards { grid-template-columns: repeat(3, 1fr); }
.choices--pills { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--graphite);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.choices--cards .choice span { min-height: 96px; align-items: flex-end; font-size: 17px; }
.choice:hover span { border-color: var(--stone); }
.choice input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.choice input:focus-visible + span { outline: 1px solid var(--ice); outline-offset: 3px; }

.field { margin-bottom: 26px; }
.field label, .field__label { display: block; font-size: 15px; color: var(--graphite); margin-bottom: 8px; }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%;
  font: inherit;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 14px 16px;
  transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); }
.field textarea::placeholder { color: var(--stone); }

.field .upload { margin: 0; }
.upload, .field .upload { display: flex; align-items: center; justify-content: center; min-height: 96px; border: 1px dashed var(--concrete); background: var(--white); cursor: pointer; color: var(--stone); transition: border-color 0.3s, color 0.3s; }
.upload:hover { border-color: var(--black); color: var(--black); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.upload__previews img { width: 72px; height: 72px; object-fit: cover; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--graphite); cursor: pointer; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--black); flex-shrink: 0; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.quote__trap { position: absolute; left: -9999px; }

.quote__error { display: none; margin-top: 8px; font-size: 14px; color: #a3392c; }
.quote__error.is-shown { display: block; }

.quote__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rule); }
.quote__back { color: var(--stone); padding: 10px 0; visibility: hidden; transition: color 0.3s; }
.quote__back.is-visible { visibility: visible; }
.quote__back:hover { color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark:hover { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Message box */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1900;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  padding: clamp(28px, 4vw, 44px);
  border-top: 2px solid var(--ice);
  transform: translateY(16px);
  transition: transform 0.6s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__title { font-size: 28px; font-weight: 300; color: var(--black); margin-bottom: 12px; letter-spacing: -0.01em; }
.modal__text { color: var(--graphite); margin-bottom: 28px; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__details { position: static; order: 2; }
  .choices--cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .field--half { grid-template-columns: 1fr; }
  .choices--cards .choice span { min-height: 72px; }
  .quote__steps { font-size: 13px; }
}


/* ---------- Privacy and 404 ---------- */

.page-legal .nav, .page-legal .nav.is-solid { color: var(--black); }
.legal { padding-bottom: clamp(100px, 13vw, 180px); }
.legal__body > * { max-width: 760px; }
.legal__body h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 300; color: var(--black); margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { color: var(--graphite); margin-bottom: 14px; max-width: 68ch; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; }
.legal__date { margin-top: 48px; color: var(--stone) !important; font-size: 14px; }

.lost { min-height: 100vh; min-height: 100svh; background: var(--black); color: var(--white); display: flex; flex-direction: column; padding: 32px var(--gutter); }
.lost__logo img { height: 30px; width: auto; }
.lost__main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.lost__drawing { width: min(420px, 80vw); margin-bottom: 36px; }
.lost__drawing .draw { width: 100%; height: auto; }
.lost__title { font-size: clamp(34px, 5vw, 64px); font-weight: 200; letter-spacing: -0.02em; margin-bottom: 14px; }
.lost__text { color: var(--concrete); margin-bottom: 36px; }


/* ---------- FAQ ---------- */

.faq { padding: clamp(90px, 11vw, 160px) 0; border-top: 1px solid var(--rule); }
.faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__title { font-size: clamp(34px, 4vw, 60px); font-weight: 200; line-height: 1.05; letter-spacing: -0.02em; color: var(--black); position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 24px 48px 24px 0;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  color: var(--black);
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--stone); }
.faq__item p { color: var(--graphite); max-width: 60ch; padding-bottom: 26px; animation: faqIn 0.6s var(--ease) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__title { position: static; }
}


/* ---------- About page ---------- */

.hero--about .hero__word { font-size: clamp(56px, 15.4vw, 300px); }
.facts-band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-band__item { padding: clamp(40px, 5vw, 72px) clamp(16px, 2.5vw, 40px); border-left: 1px solid var(--rule); }
.facts-band__item:first-child { border-left: 0; padding-left: 0; }
.facts-band__big { font-family: var(--wide); font-size: clamp(30px, 4vw, 60px); line-height: 1; color: var(--black); margin-bottom: 18px; }
.facts-band__label { color: var(--stone); max-width: 28ch; }
.wide--flush { margin: clamp(80px, 10vw, 140px) 0 0; }
.wide--flush img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; cursor: default; }
.principles { padding: clamp(90px, 11vw, 160px) 0; }
.principles__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 96px); }
.principle { border-top: 1px solid var(--rule); padding-top: 26px; }
.principle h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 300; color: var(--black); margin-bottom: 10px; }
.principle p { color: var(--graphite); max-width: 48ch; }
@media (max-width: 760px) {
  .facts-band__grid, .principles__grid { grid-template-columns: 1fr; }
  .facts-band__item { border-left: 0; border-top: 1px solid var(--rule); padding: 36px 0; }
  .facts-band__item:first-child { border-top: 0; }
  .wide--flush img { aspect-ratio: 4 / 3; }
}

/* ---------- Phones: framing for full screen photos ---------- */

@media (max-width: 700px) {
  .closing { min-height: 0; height: 88svh; }
  .closing__img { inset: -6% 0; background-position: center 70%; }
  .closing__shade { background: linear-gradient(180deg, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.88) 100%); }
  .hero--project .hero__img { background-position: 42% center; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .statement__grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .hero__drawing { bottom: clamp(200px, 38vh, 340px); }
  .reveal__labels { font-size: 13px; }
  .reveal__stage { max-height: 58vh; }
  .process__steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .words__quote, .words__who { margin-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 76px; }
  .nav__logo { height: 26px; }
  .slide { width: 78vw; }
  .slide__media, .slide--end { height: 52vh; }
  .slide--end { width: 60vw; }
  .process__steps { grid-template-columns: 1fr; }
  .process__n { margin-bottom: 20px; font-size: 44px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Build log: staged photo rows */
.log { margin-top: clamp(70px, 9vw, 130px); }
.log__stage {
  display: grid;
  grid-template-columns: clamp(180px, 22vw, 300px) 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 4.5vw, 64px) 0;
  border-top: 1px solid var(--rule);
}
.chapter--dark .log__stage { border-top-color: var(--rule-light); }
.log__label { position: sticky; top: 110px; align-self: start; }
.log__k {
  display: block;
  font-family: var(--wide);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 14px;
}
.log__t { font-family: var(--wide); font-size: clamp(15px, 1.4vw, 19px); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; margin: 0 0 12px; }
.log__d { font-size: 15px; line-height: 1.6; color: var(--stone); margin: 0; max-width: 34ch; }
.chapter--dark .log__d { color: var(--concrete); }
.log__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.log__grid figure { aspect-ratio: 3 / 4; overflow: hidden; }
.log__grid figure.log__w { grid-column: span 2; aspect-ratio: 3 / 2; }
.log__grid img { transition: transform 1.4s var(--ease), filter 1s var(--ease); }
.log__grid figure:hover img { transform: scale(1.04); }

/* More from this project */
.more { padding: 0 0 clamp(100px, 13vw, 180px); }
.more__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; border-top: 1px solid var(--rule); padding-top: 28px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.more__count { font-family: var(--wide); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); }
.more__grid { columns: 3; column-gap: clamp(10px, 1.4vw, 20px); }
.more__grid figure { break-inside: avoid; margin-bottom: clamp(10px, 1.4vw, 20px); overflow: hidden; }
.more__grid img { height: auto; transition: transform 1.4s var(--ease); }
.more__grid figure:hover img { transform: scale(1.03); }

@media (max-width: 900px) {
  .log__stage { grid-template-columns: 1fr; gap: 22px; }
  .log__label { position: static; }
  .log__grid { grid-template-columns: repeat(2, 1fr); }
  .more__grid { columns: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .draw .ln { stroke-dashoffset: 0; }
  .draw text { opacity: 0.7; }
  .grain { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; }
}
