/* Stage 2: editorial rhythm below the existing Hero. */
.home-v2 .work > .heading-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(240px, 4fr);
  align-items: end;
  gap: clamp(28px, 5vw, 88px);
  margin: clamp(36px, 4vw, 64px) 0 clamp(50px, 6vw, 96px);
}
.home-v2 .heading-row > p { line-height: 1.65; }
.home-v2 .work > .heading-row > p { justify-self: end; padding-bottom: 6px; }
.project-kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 16px;
}
.project-kicker .label { font-size: 10px; letter-spacing: .14em; }
.project-kicker > :last-child { text-align: right; }
.home-v2 .project-cover { display: block; background: transparent; isolation: isolate; }
.project-visual {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #22221e;
  clip-path: inset(var(--scene-inset-y, 0%) var(--scene-inset-x, 0%) round 16px);
}
.project-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--scene-drift, 0px), 0)
    scale(var(--scene-scale, 1));
  scale: 1;
  transition: scale .45s;
}
.cover-kuzmilove .project-visual { background: #191919; }
.cover-kuzmilove .project-visual > img { object-fit: contain; }
.is-scene-active .project-visual { will-change: clip-path; }
.is-scene-active .project-visual > img { will-change: transform; }
.home-v2 .project-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 9px;
  align-items: baseline;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--rule);
}
.home-v2 .project-caption h3 {
  font-size: clamp(23px, 2.15vw, 34px);
  line-height: 1.18;
  letter-spacing: -.035em;
  font-weight: 450;
}
.home-v2 .project-caption > span {
  grid-column: 1;
  grid-row: 2;
  width: auto;
  font-size: 13px;
  line-height: 1.6;
}
.home-v2 .project-caption > a {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 0;
  padding: 8px 0;
  white-space: nowrap;
}
.home-v2 .project-grid {
  gap: clamp(28px, 4.8vw, 80px);
  margin-top: clamp(64px, 8vw, 128px);
}
.home-v2 .project-offset { margin-top: clamp(80px, 10vw, 152px); }
.home-v2 .project-wide .project-caption h3 { font-size: clamp(26px, 2.6vw, 40px); }
.home-v2 .services { padding-top: clamp(72px, 8vw, 128px); }
.home-v2 .service {
  padding-block: clamp(32px, 4vw, 56px);
  grid-template-columns: 44px minmax(0, 1.1fr) minmax(180px, .8fr) minmax(150px, .7fr);
  gap: clamp(20px, 3vw, 48px);
}
.home-v2 .service h2 {
  font-size: clamp(70px, 7.2vw, 112px);
  line-height: 1;
}
.home-v2 .service p { font-size: clamp(17px, 1.45vw, 22px); line-height: 1.55; }
.home-v2 .service-tags { justify-self: end; max-width: 230px; }
.home-v2 .process-grid { column-gap: clamp(24px, 3.5vw, 56px); }
.home-v2 .process-grid h3 { font-size: clamp(27px, 2.6vw, 40px); }
.home-v2 .process-grid p { line-height: 1.65; }
.home-v2 .about-copy p { line-height: 1.65; }
.home-v2 .reviews-grid { gap: clamp(20px, 2.4vw, 36px); }

/* Text is visible by default. Only successfully initialized enhancements hide it. */
.reveal-pending { opacity: 0; }
.project-caption.reveal-pending { opacity: 1; }
.home-v2 .text-link { position: relative; }
.home-v2 .text-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.link-arrow {
  display: inline-block;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.home-v2 .text-link:focus-visible::after { transform: scaleX(1); }
.home-v2 .text-link:focus-visible .link-arrow { transform: translate(2px, -2px); }
@media (hover: hover) and (pointer: fine) {
  .project-cover:hover .project-visual > img { scale: 1.025; }
  .home-v2 .text-link:hover { opacity: 1; }
  .home-v2 .text-link:hover::after { transform: scaleX(1); }
  .home-v2 .text-link:hover .link-arrow { transform: translate(2px, -2px); }
}
@media (max-width: 1000px) {
  .home-v2 .project-caption { grid-template-columns: 1fr; }
  .home-v2 .project-caption > a { grid-column: 1; grid-row: 3; justify-self: start; }
  .home-v2 .service { grid-template-columns: 32px minmax(0, 1fr) minmax(160px, 1fr); }
  .home-v2 .service h2 { grid-row: span 2; }
  .home-v2 .service-tags { grid-column: 3; justify-self: start; }
}
@media (max-width: 650px) {
  .home-v2 .work > .heading-row { grid-template-columns: 1fr; gap: 24px; margin: 30px 0 46px; }
  .home-v2 .work > .heading-row > p { justify-self: start; margin: 0; padding: 0; }
  .home-v2 .project-kicker { margin-bottom: 12px; }
  .home-v2 .project-kicker .label { font-size: 9px; }
  .home-v2 .project-caption { padding: 20px 0; row-gap: 9px; }
  .home-v2 .project-caption h3, .home-v2 .project-wide .project-caption h3 { font-size: clamp(23px, 6.3vw, 28px); }
  .home-v2 .project-caption > span { font-size: 12px; }
  .home-v2 .project-caption > a { font-size: 13px; min-height: 44px; gap: 18px; }
  .home-v2 .project-grid { margin-top: 52px; gap: 52px; }
  .home-v2 .project-offset { margin-top: 0; }
  .home-v2 .cover-heritage, .home-v2 .cover-kuzmilove { height: auto; aspect-ratio: 1 / 1.05; }
  .home-v2 .services { padding-top: 64px; }
  .home-v2 .service { grid-template-columns: 25px minmax(0, 1fr); gap: 16px; padding-block: 32px; }
  .home-v2 .service h2 { grid-row: auto; font-size: 70px; }
  .home-v2 .service p, .home-v2 .service-tags { grid-column: 2; justify-self: start; }
  .home-v2 .service p { font-size: 16px; }
  .home-v2 .service-tags { max-width: none; }
  .home-v2 .process-grid { gap: 36px 24px; }
  .home-v2 .reviews-grid { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-visual { clip-path: none !important; will-change: auto !important; }
  .project-visual > img { transform: none !important; scale: 1 !important; will-change: auto !important; }
  .reveal-pending { opacity: 1 !important; }
  .link-arrow, .home-v2 .text-link::after { transition: none; }
}

/* Equal square covers in an offset editorial grid. */
.home-v2 .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; margin-top: 0; }
.home-v2 .project-grid > .project { min-width: 0; }
.home-v2 .project-grid > .project:nth-child(even) { margin-top: clamp(80px, 10vw, 152px); }
.home-v2 .project-grid .project-cover { width: 100%; height: auto; aspect-ratio: 1; }
@media (max-width: 650px) {
  .home-v2 .hero__eyebrow, .home-v2 .hero__location { left: var(--gutter); right: var(--gutter); width: auto; text-align: center; }
  .home-v2 .project-grid { grid-template-columns: minmax(0, 1fr); }
  .home-v2 .project-grid > .project:nth-child(even) { margin-top: 0; }
}
