@font-face {
  font-family: "Neue Montreal";
  src: url("Archivos Grupo Mod/GRUPO MOD toolkit 2026/TIPOGRAFIA/NeueMontreal-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Client correction pass: preserve the official isologotype artwork and reuse its proportions for plaques. */
:root {
  --home-width: min(82vw, 1320px, calc((100vh - var(--chrome) - 42px) * 1.64));
  --home-height: calc(var(--home-width) / 1.64);
  --brand-rect-width: min(30%, 286px);
  --brand-rect-aspect: 0.64;
  --logo-art-aspect: 0.768;
  --logo-art-scale: 1.66;
}

.mod-logo,
.small-mark {
  border: 0;
  padding: 0;
  background: transparent;
  aspect-ratio: var(--logo-art-aspect);
  overflow: hidden;
}

.mod-logo img,
.small-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mod-logo span,
.mod-logo strong,
.small-mark span,
.small-mark strong {
  display: none;
}

.home-claim {
  width: var(--brand-rect-width);
}

.home-claim h1 {
  font-size: clamp(0.86rem, 1.02vw, 1.18rem);
}

.home-panel-nav .home-frame {
  height: var(--home-height);
}

.small-mark {
  left: 4.2%;
  top: 5.2%;
  width: clamp(42px, 4.15vw, 58px);
  aspect-ratio: 1;
}

.home-clicks {
  left: 4.2%;
  top: 31.5%;
  width: 91.5%;
  gap: clamp(14px, 2.05vw, 28px);
}

.home-clicks a {
  aspect-ratio: 1.08;
  padding: clamp(10px, 1vw, 14px);
  font-size: clamp(0.98rem, 1.18vw, 1.22rem);
  line-height: 0.96;
}

.discipline-box {
  left: 7.8%;
  right: 7.8%;
  top: 31.5%;
  min-height: auto;
  height: calc((91.5% - clamp(14px, 2.05vw, 28px) * 2) / 3 / 1.08);
  padding-left: clamp(22px, 3vw, 42px);
}

.discipline-box p {
  font-size: clamp(1.02rem, 1.42vw, 1.48rem);
  line-height: 0.98;
}

.home-footer-socials {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.page-brand img {
  width: 100%;
  height: auto;
}

.section-marker h1 {
  white-space: nowrap;
  overflow-wrap: normal;
}

.text-box,
.text-band,
.contact-list a,
.contact-row {
  border-color: rgba(80, 80, 80, 0.9);
}

.text-box {
  aspect-ratio: var(--brand-rect-aspect);
  min-height: auto;
  display: flex;
  flex-direction: column;
}

.text-box h2,
.text-band h2 {
  color: var(--gray);
  font-size: clamp(1.8rem, 2.6vw, 3.35rem);
}

.text-box p,
.text-band p {
  margin-top: auto;
}

.text-band {
  align-items: center;
}

.group-stats,
.project-info,
.stats-grid article {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)),
    url("assets/textura-web.jpg") center / cover;
}

.stat-card,
.stats-grid article {
  background: transparent;
  border-color: rgba(80, 80, 80, 0.72);
}

.project-detail {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  width: min(86vw, 1260px);
}

.project-hero {
  min-height: 670px;
}

.project-hero > img {
  object-position: 58% 50%;
}

.project-title {
  width: min(48%, 300px);
  aspect-ratio: var(--brand-rect-aspect);
  min-height: auto;
  bottom: 17%;
}

.project-info {
  min-height: 670px;
}

.stats-grid {
  gap: clamp(10px, 1vw, 15px);
}

.contact-list {
  gap: 16px;
  padding-top: clamp(22px, 4.8vw, 78px);
}

.contact-list a,
.contact-row a {
  font-size: clamp(1.8rem, 3.1vw, 4.15rem);
}

.contact-list > a,
.contact-row {
  min-height: clamp(120px, 8vw, 158px);
}

.contact-row {
  gap: 16px;
}

.contact-row a {
  min-height: 100%;
}

@media (max-width: 640px) {
  .section-marker {
    aspect-ratio: 1.62;
    min-height: auto;
  }

  .section-marker h1 {
    font-size: clamp(2.45rem, 10vw, 3.5rem);
  }

  .text-box,
  .text-band,
  .contact-list > a,
  .contact-row {
    aspect-ratio: 1.62;
    min-height: auto;
  }

  .text-box h2,
  .text-band h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-grid,
  .copy-grid {
    gap: 22px;
  }

  .contact-list {
    gap: 14px;
    padding-top: 0;
  }

  .contact-list a,
  .contact-row a {
    font-size: clamp(1.15rem, 5vw, 1.55rem);
  }

  .home-footer-socials {
    bottom: 10px;
  }
}

@font-face {
  font-family: "Neue Montreal";
  src: url("Archivos Grupo Mod/GRUPO MOD toolkit 2026/TIPOGRAFIA/NeueMontreal-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --gray: #505050;
  --line: #505050;
  --chrome: 96px;
  --max: 1920px;
  --gutter: clamp(24px, 5vw, 88px);
  --home-width: min(74vw, 1180px, calc((100vh - var(--chrome) - 58px) * 1.64));
  --home-height: calc(var(--home-width) / 1.64);
  --brand-rect-width: min(31%, 280px);
  --brand-rect-aspect: 1 / 1.5;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Neue Montreal", Arial, sans-serif;
}

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

a {
  color: inherit;
}

.texture-panel {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)),
    url("assets/textura-web.jpg") center / cover;
}

.home-body {
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}

.home-scroll {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.home-panel {
  height: 100vh;
  min-height: 680px;
  display: grid;
  align-items: center;
  padding: var(--chrome) var(--gutter) clamp(34px, 5vw, 70px);
  position: relative;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.home-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: var(--home-width);
  height: var(--home-height);
  margin: 0 auto;
}

.home-logo-block {
  display: grid;
  place-items: center;
  padding: 0;
}

.mod-logo {
  width: var(--brand-rect-width);
  aspect-ratio: var(--brand-rect-aspect);
  border: 3px solid var(--black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(16px, 1.6vw, 24px);
  color: var(--black);
}

.mod-logo span {
  font-size: clamp(0.72rem, 0.92vw, 1.05rem);
  letter-spacing: 0.38em;
  line-height: 1;
}

.mod-logo strong {
  font-size: clamp(2.5rem, 3.08vw, 3.65rem);
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 0.82;
}

.home-visual,
.nav-visual {
  position: relative;
  overflow: hidden;
}

.nav-visual-left {
  overflow: clip;
}

.nav-visual-left > img {
  object-position: left center;
}

.home-visual > img,
.nav-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.building-slider {
  position: absolute;
  inset: 0;
}

.building-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.76, 0, 0.24, 1);
}

.building-slider img.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
}

.building-slider img.is-leaving {
  z-index: 1;
  opacity: 1;
  transform: translateY(-100%);
}

.home-claim {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: var(--brand-rect-width);
  aspect-ratio: var(--brand-rect-aspect);
  min-height: auto;
  padding: clamp(16px, 1.6vw, 24px);
  transform: translate(-50%, -50%);
}

.home-claim h1 {
  margin: 0;
  font-size: clamp(0.92rem, 1.18vw, 1.34rem);
  font-weight: 400;
  line-height: 0.94;
}

.slider-dots {
  position: absolute;
  z-index: 6;
  right: 24px;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.slider-dots-vertical {
  flex-direction: column-reverse;
}

.slider-dots span {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.slider-dots .is-active {
  background: var(--white);
}

.browser-socials {
  position: absolute;
  top: calc(var(--chrome) - 34px);
  right: calc((100vw - var(--home-width)) / 2);
  z-index: 2;
  display: flex;
  gap: 9px;
}

.browser-socials a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--white);
  background: #9a9a9a;
  text-decoration: none;
  font-size: 0.62rem;
  line-height: 1;
  text-transform: uppercase;
}

.home-panel-nav .home-frame {
  height: var(--home-height);
}

.small-mark {
  position: absolute;
  top: 6.5%;
  left: 9.5%;
  width: clamp(42px, 3.55vw, 54px);
  aspect-ratio: var(--brand-rect-aspect);
  z-index: 2;
  border: 2px solid var(--white);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 5px 6px;
  background: rgba(0, 0, 0, 0.04);
}

.small-mark span {
  font-size: clamp(0.28rem, 0.42vw, 0.43rem);
  letter-spacing: 0.42em;
  line-height: 1;
}

.small-mark strong {
  font-size: clamp(0.72rem, 1vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 0.88;
}

.home-clicks {
  position: absolute;
  left: 5%;
  top: 33.5%;
  width: 90%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 22px);
}

.home-clicks a {
  aspect-ratio: var(--brand-rect-aspect);
  min-height: auto;
  padding: clamp(14px, 1.15vw, 20px);
  color: var(--black);
  text-decoration: none;
  font-size: clamp(1.2rem, 1.58vw, 1.72rem);
  line-height: 0.95;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-wrap: balance;
  transition: filter 180ms ease, transform 180ms ease;
}

.home-clicks a:hover {
  filter: brightness(0.96);
  transform: translateY(-2px);
}

.discipline-box {
  position: absolute;
  left: 10%;
  right: 8%;
  top: 41.5%;
  min-height: 25%;
  border: 3px solid var(--white);
  display: flex;
  align-items: center;
  padding-left: clamp(32px, 5vw, 70px);
}

.discipline-box p {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.65rem, 2.45vw, 2.45rem);
  line-height: 1.05;
  font-weight: 400;
}

.home-panel-stats {
  min-height: 520px;
}

.stats-home {
  width: var(--home-width);
  min-height: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 54px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 90px);
}

.group-stats {
  width: 100%;
  margin-top: clamp(72px, 8vw, 130px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 54px);
  padding: clamp(44px, 6vw, 90px);
}

.stat-card {
  aspect-ratio: var(--brand-rect-aspect);
  border: 2px solid rgba(80, 80, 80, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.12);
}

.stat-card strong {
  font-size: clamp(3rem, 4vw, 5.2rem);
  font-weight: 400;
  line-height: 0.86;
  white-space: pre-line;
}

.stat-card span {
  font-size: clamp(1rem, 1.25vw, 1.6rem);
  line-height: 0.96;
}

.page-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 34px var(--gutter) 0;
}

.page-brand {
  display: block;
  width: clamp(92px, 7.2vw, 128px);
}

.page-nav {
  display: flex;
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
}

.page-nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: clamp(1rem, 1.4vw, 1.45rem);
}

.page-nav a:hover,
.page-nav a.is-current {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.content-page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(72px, 8vw, 130px) var(--gutter);
}

.projects-page {
  padding-top: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(46px, 5vw, 76px);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 86px);
  align-items: start;
}

.section-marker {
  aspect-ratio: var(--brand-rect-aspect);
  min-height: 360px;
  padding: 32px;
  min-width: 250px;
}

.section-marker h1,
.section-marker h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 5.3rem);
  font-weight: 400;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 44px);
}

.text-box,
.text-band,
.contact-list a,
.contact-row {
  border: 2px solid var(--line);
}

.text-box {
  min-height: 520px;
  padding: clamp(28px, 3.5vw, 58px);
}

.text-box h2,
.text-band h2 {
  margin: 0 0 60px;
  color: var(--gray);
  font-size: clamp(2rem, 3.1vw, 4rem);
  font-weight: 400;
  line-height: 0.96;
}

.text-box p,
.text-band p,
.project-copy p {
  margin: 0;
  max-width: 38ch;
  color: var(--gray);
  font-size: clamp(1rem, 1.2vw, 1.28rem);
  line-height: 1.18;
}

.text-band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 48px;
  min-height: 190px;
  padding: clamp(28px, 3vw, 54px);
}

.text-band h2 {
  margin-bottom: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 54px);
}

.project-card {
  position: relative;
  display: block;
  min-height: 620px;
  overflow: hidden;
  color: var(--black);
  text-decoration: none;
  background: #eeeeec;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-label {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: min(88%, 340px);
  min-height: 180px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-label small {
  font-size: clamp(1rem, 1.2vw, 1.4rem);
}

.project-label strong {
  font-size: clamp(2.25rem, 3vw, 3.9rem);
  font-weight: 400;
  line-height: 0.92;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  width: min(100%, 1230px);
  margin-inline: auto;
}

.project-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.project-hero > img,
.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero > img {
  object-position: 56% 50%;
}

.project-title {
  position: absolute;
  right: 0;
  bottom: 18%;
  width: min(48%, 280px);
  min-height: 178px;
  padding: clamp(18px, 1.8vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-title span {
  font-size: clamp(0.82rem, 0.95vw, 1.05rem);
}

.project-title h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.1vw, 3.65rem);
  font-weight: 400;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.1vw, 44px);
  min-height: 620px;
  padding: clamp(30px, 3vw, 46px) clamp(16px, 1.7vw, 26px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 0.86vw, 12px);
  align-items: start;
}

.stats-grid article {
  container-type: inline-size;
  aspect-ratio: var(--brand-rect-aspect);
  border: 2px solid var(--line);
  padding: clamp(8px, 0.76vw, 11px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stats-grid strong {
  display: block;
  max-width: 100%;
  font-size: var(--fit-font-size, clamp(1rem, 27cqw, 1.92rem));
  font-weight: 400;
  line-height: 0.92;
  white-space: nowrap;
}

.stats-grid span {
  font-size: clamp(0.58rem, 9.4cqw, 0.86rem);
  line-height: 0.98;
  overflow-wrap: normal;
}

.project-copy {
  display: grid;
  grid-template-columns: minmax(190px, 0.82fr) minmax(220px, 1.18fr);
  gap: clamp(28px, 3.2vw, 52px);
  align-items: center;
}

.project-copy h2 {
  margin: 0 0 clamp(12px, 1.5vw, 22px);
  font-size: clamp(1rem, 1.22vw, 1.38rem);
  font-weight: 400;
  line-height: 0.98;
}

.project-copy p {
  max-width: 24ch;
  font-size: clamp(0.82rem, 0.95vw, 1.05rem);
  line-height: 1.04;
}

.project-plan {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  margin-top: auto;
}

.gallery-strip img {
  aspect-ratio: 0.78;
}

.contact-list {
  display: grid;
  gap: 22px;
  padding-top: clamp(42px, 8vw, 120px);
}

.contact-list a,
.contact-row {
  min-height: 150px;
  padding: 38px;
  color: var(--gray);
  text-decoration: none;
  font-size: clamp(2rem, 4vw, 5.25rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 0;
  border: 0;
}

.content-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 36px var(--gutter);
  border-top: 2px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--gray);
}

.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: var(--white);
  background: #9a9a9a;
  text-decoration: none;
  font-size: 0.62rem;
  line-height: 1;
  text-transform: uppercase;
}

.home-footer-socials {
  position: absolute;
  right: calc((100vw - var(--home-width)) / 2);
  bottom: calc(var(--chrome) / 3);
  z-index: 4;
}

@media (max-width: 980px) {
  :root {
    --home-width: min(calc(100vw - 36px), 680px);
    --home-height: auto;
  }

  .home-panel {
    height: auto;
    min-height: 100vh;
    padding-top: 72px;
  }

  .home-frame,
  .home-panel-nav .home-frame {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-logo-block,
  .home-visual,
  .nav-visual {
    min-height: 48vh;
  }

  .home-clicks {
    left: 32px;
    right: 32px;
    top: auto;
    bottom: 10%;
    width: auto;
  }

  .discipline-box {
    top: 36%;
  }

  .stats-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .group-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .copy-grid,
  .projects-grid,
  .stats-grid,
  .project-copy {
    grid-template-columns: 1fr;
  }

  .text-band {
    grid-template-columns: 1fr;
  }

  .project-hero,
  .project-info {
    min-height: auto;
  }

  .project-hero {
    aspect-ratio: 1;
  }

  .stats-grid article {
    aspect-ratio: auto;
    min-height: 150px;
  }
}

@media (max-width: 640px) {
  :root {
    --chrome: 54px;
  }

  .home-panel {
    padding: 24px 18px;
  }

  .home-logo-block,
  .home-visual,
  .nav-visual {
    min-height: 44vh;
  }

  .home-claim {
    left: 18px;
    right: auto;
    top: auto;
    bottom: 28px;
    width: min(58%, 230px);
    aspect-ratio: var(--brand-rect-aspect);
    transform: none;
  }

  .browser-socials {
    top: 18px;
    right: 18px;
  }

  .home-clicks {
    grid-template-columns: 1fr;
    left: 22px;
    right: 22px;
    top: auto;
    bottom: 24px;
  }

  .home-clicks a {
    min-height: 112px;
    aspect-ratio: var(--brand-rect-aspect);
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .stats-home {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding: 26px;
  }

  .group-stats {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px;
  }

  .stat-card {
    aspect-ratio: var(--brand-rect-aspect);
    min-height: 160px;
  }

  .small-mark {
    width: 64px;
  }

  .discipline-box {
    left: 22px;
    right: 22px;
    top: 34%;
    min-height: 130px;
    padding-left: 24px;
  }

  .page-header {
    align-items: start;
    padding-top: 18px;
  }

  .page-brand {
    width: 78px;
  }

  .page-nav {
    display: grid;
    gap: 10px;
    text-align: right;
  }

  .content-page {
    padding: 56px 18px;
  }

  .section-marker {
    min-height: 210px;
    padding: 24px;
  }

  .text-box,
  .text-band,
  .project-info {
    padding: 24px;
  }

  .text-box {
    min-height: auto;
  }

  .text-box h2,
  .text-band h2 {
    margin-bottom: 34px;
    font-size: clamp(1.75rem, 8vw, 2.4rem);
    overflow-wrap: anywhere;
  }

  .text-box p,
  .text-band p {
    font-size: 1rem;
    max-width: 30ch;
  }

  .project-card {
    min-height: 460px;
  }

  .project-title {
    width: 84%;
    min-height: 220px;
    padding: 28px;
  }

  .project-title h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .gallery-strip,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-list a,
  .contact-row a {
    min-height: 112px;
    padding: 24px;
    font-size: clamp(1.45rem, 7.5vw, 1.95rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .content-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .home-body {
    scroll-snap-type: none;
  }

  .home-panel {
    min-height: 100svh;
    padding: 18px;
    align-items: center;
  }

  .home-frame,
  .home-panel-nav .home-frame {
    width: 100%;
    height: calc(100svh - 36px);
    display: grid;
    grid-template-rows: 1fr 1fr;
  }

  .home-logo-block,
  .home-visual,
  .nav-visual {
    min-height: 0;
    height: 100%;
  }

  .mod-logo {
    width: min(42%, 160px);
    border-width: 2px;
    padding: 14px;
  }

  .mod-logo span {
    font-size: 0.58rem;
  }

  .mod-logo strong {
    font-size: 2.35rem;
  }

  .home-claim {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    width: min(42%, 160px);
    padding: 14px;
    transform: translate(-50%, -50%);
  }

  .home-claim h1 {
    font-size: 0.78rem;
  }

  .browser-socials {
    top: 10px;
    right: 10px;
    transform: scale(0.82);
    transform-origin: top right;
  }

  .home-clicks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: 18px;
    right: 18px;
    top: 34%;
    bottom: auto;
    width: auto;
    gap: 10px;
  }

  .home-clicks a {
    min-height: auto;
    aspect-ratio: var(--brand-rect-aspect);
    padding: 10px;
    font-size: clamp(0.92rem, 4vw, 1.1rem);
    line-height: 0.96;
  }

  .small-mark {
    top: 18px;
    left: 18px;
    width: 42px;
  }

  .discipline-box {
    left: 18px;
    right: 18px;
    top: 38%;
    min-height: 108px;
    padding-left: 22px;
    border-width: 2px;
  }

  .discipline-box p {
    font-size: clamp(1.2rem, 6vw, 1.7rem);
  }

  .content-page {
    padding: 42px 18px;
  }

  .projects-page {
    padding-top: 20px;
  }

  .project-detail {
    width: 100%;
  }

  .project-hero {
    min-height: auto;
    aspect-ratio: 0.78;
  }

  .project-hero > img {
    object-position: 54% 50%;
  }

  .project-title {
    left: 44vw;
    right: auto;
    bottom: 9%;
    width: min(50vw, 210px);
    min-height: 128px;
    padding: 18px;
    overflow: hidden;
  }

  .project-title span {
    font-size: 0.9rem;
  }

  .project-title h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    white-space: nowrap;
  }

  .project-info {
    gap: 32px;
    min-height: auto;
    width: 100%;
    overflow: hidden;
    padding: 30px 22px 0;
  }

  .stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 22px 20px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .stats-grid article {
    flex: 0 0 min(138px, calc((100vw - 118px) / 2));
    width: min(138px, calc((100vw - 118px) / 2));
    min-width: 0;
    min-height: auto;
    aspect-ratio: var(--brand-rect-aspect);
    padding: 14px;
    scroll-snap-align: none;
  }

  .stats-grid article:last-child {
    width: min(138px, calc((100vw - 118px) / 2));
    justify-self: center;
    margin-left: calc(min(138px, calc((100vw - 118px) / 2)) + 10px);
  }

  .stats-grid strong {
    font-size: var(--fit-font-size, clamp(1.5rem, 17cqw, 2.3rem));
  }

  .stats-grid span {
    font-size: clamp(0.72rem, 7.8cqw, 0.92rem);
    line-height: 0.98;
  }

  .project-copy {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-copy h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    max-width: 12ch;
  }

  .project-copy p {
    max-width: 26ch;
    font-size: 1rem;
    line-height: 1.08;
  }

  .project-plan {
    max-height: none;
  }

  .gallery-strip {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .group-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    padding: 30px 22px;
  }

  .stat-card {
    flex: 0 0 min(138px, calc((100vw - 118px) / 2));
    width: min(138px, calc((100vw - 118px) / 2));
    min-width: 0;
    min-height: auto;
    overflow: hidden;
    padding: 14px;
  }

  .stat-card strong {
    font-size: clamp(2rem, 8.8vw, 2.7rem);
  }

  .stat-card span,
  .stats-grid span {
    font-size: clamp(0.88rem, 4.2vw, 1.05rem);
    line-height: 1;
  }

  .stats-grid article:last-child {
    margin-left: 0;
  }

  .project-copy {
    align-items: start;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gallery-strip img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
}

/* Final client correction layer */
:root {
  --home-width: min(82vw, 1320px, calc((100vh - var(--chrome) - 42px) * 1.64));
  --home-height: calc(var(--home-width) / 1.64);
  --brand-rect-width: min(30%, 286px);
  --brand-rect-aspect: 0.64;
}

.mod-logo,
.small-mark {
  border: 0;
  padding: 0;
  background: transparent;
  aspect-ratio: var(--logo-art-aspect);
  overflow: hidden;
}

.mod-logo img,
.small-mark img,
.page-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--logo-art-scale));
}

.mod-logo span,
.mod-logo strong,
.small-mark span,
.small-mark strong {
  display: none;
}

.home-claim,
.mod-logo {
  width: var(--brand-rect-width);
}

.home-claim h1 {
  font-size: clamp(0.86rem, 1.02vw, 1.18rem);
}

.small-mark {
  left: 4.2%;
  top: 5.2%;
  width: clamp(42px, 4.15vw, 58px);
}

.home-clicks {
  left: 4.2%;
  top: 31.5%;
  width: 91.5%;
  gap: clamp(14px, 2.05vw, 28px);
}

.home-clicks a {
  aspect-ratio: 1.08;
  padding: clamp(10px, 1vw, 14px);
  font-size: clamp(0.98rem, 1.18vw, 1.22rem);
  line-height: 0.96;
}

.discipline-box {
  left: 7.8%;
  right: 7.8%;
  top: 31.5%;
  min-height: auto;
  height: calc((91.5% - clamp(14px, 2.05vw, 28px) * 2) / 3 / 1.08);
  padding-left: clamp(22px, 3vw, 42px);
}

.discipline-box p {
  font-size: clamp(1.02rem, 1.42vw, 1.48rem);
  line-height: 0.98;
}

.home-footer-socials {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.section-marker h1 {
  white-space: nowrap;
  overflow-wrap: normal;
}

.text-box,
.text-band,
.contact-list a,
.contact-row {
  border-color: rgba(80, 80, 80, 0.9);
}

.text-box {
  aspect-ratio: var(--brand-rect-aspect);
  min-height: auto;
  display: flex;
  flex-direction: column;
}

.text-box h2,
.text-band h2 {
  color: var(--gray);
  font-size: clamp(1.8rem, 2.6vw, 3.35rem);
}

.text-box p,
.text-band p {
  margin-top: auto;
}

.text-band {
  align-items: center;
}

.group-stats,
.project-info,
.stats-grid article {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)),
    url("assets/textura-web.jpg") center / cover;
}

.stat-card,
.stats-grid article {
  background: transparent;
  border-color: rgba(80, 80, 80, 0.72);
}

.project-detail {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  width: min(86vw, 1260px);
}

.project-hero {
  min-height: 670px;
}

.project-hero > img {
  object-position: 58% 50%;
}

.project-title {
  width: min(48%, 300px);
  aspect-ratio: var(--brand-rect-aspect);
  min-height: auto;
  bottom: 17%;
}

.project-info {
  min-height: 670px;
}

.stats-grid {
  gap: clamp(10px, 1vw, 15px);
}

.contact-list {
  gap: 16px;
  padding-top: clamp(22px, 4.8vw, 78px);
}

.contact-list a,
.contact-row a {
  font-size: clamp(1.8rem, 3.1vw, 4.15rem);
}

.contact-list > a,
.contact-row {
  min-height: clamp(120px, 8vw, 158px);
}

.contact-row {
  gap: 16px;
}

.contact-row a {
  min-height: 100%;
}

@media (max-width: 640px) {
  .section-marker {
    aspect-ratio: 1.62;
    min-height: auto;
  }

  .section-marker h1 {
    font-size: clamp(2.45rem, 10vw, 3.5rem);
  }

  .text-box,
  .text-band,
  .contact-list > a,
  .contact-row {
    aspect-ratio: 1.62;
    min-height: auto;
  }

  .text-box h2,
  .text-band h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-grid,
  .copy-grid {
    gap: 22px;
  }

  .contact-list {
    gap: 14px;
    padding-top: 0;
  }

  .contact-list a,
  .contact-row a {
    font-size: clamp(1.15rem, 5vw, 1.55rem);
  }

  .home-footer-socials {
    bottom: 10px;
  }

  .home-clicks {
    top: 31.5%;
  }

  .discipline-box {
    top: 36%;
  }
}
