:root {
  --paper: #fbfbfa;
  --ink: #101010;
  --muted: #6e6e68;
  --line: #deded8;
  --turq: #32d8d0;
  --soft: #f2f2ef;
  --max: 1740px;
  --gutter: clamp(18px, 4.2vw, 68px);
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 22px var(--gutter) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.mark,
.nav a {
  pointer-events: auto;
}

.mark {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 26px);
  font-weight: 900;
  line-height: 1;
}

.mark i {
  position: relative;
  width: 22px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.mark i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 8px;
  width: 4px;
  height: 4px;
  background: var(--ink);
  border-radius: 50%;
}

.nav {
  display: flex;
  gap: clamp(16px, 2vw, 34px);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 900;
}

.nav a,
.footer a {
  text-transform: uppercase;
}

.nav a::after,
.footer a span,
.hero-bottom a span {
  color: var(--turq);
}

.nav a::after {
  content: " ->";
}

.hero {
  position: relative;
  width: min(var(--max), 100%);
  min-height: 96svh;
  margin: 0 auto;
  padding: clamp(92px, 13vh, 138px) var(--gutter) clamp(30px, 4.2vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.28fr);
  grid-template-rows: 1fr auto;
  gap: clamp(22px, 4vw, 72px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 76px;
  height: 1px;
  background: var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  bottom: clamp(118px, 14vh, 160px);
  width: clamp(145px, 20vw, 330px);
  height: 4px;
  background: var(--turq);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-top: clamp(26px, 4vw, 62px);
}

.eyebrow {
  margin: 0 0 clamp(18px, 2vw, 30px);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 900;
}

h1 {
  max-width: 1220px;
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(82px, 13.7vw, 260px);
  line-height: 0.75;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: end;
  width: clamp(160px, 21vw, 320px);
  aspect-ratio: 0.66;
  margin-bottom: clamp(70px, 12vh, 122px);
  background: var(--soft);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
}

.hero-visual span {
  position: absolute;
  left: -7px;
  bottom: -10px;
  color: var(--paper);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(54px, 6.6vw, 106px);
  line-height: 0.8;
  font-weight: 900;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.hero-bottom p {
  width: min(720px, 58vw);
  margin: 0;
  font-size: clamp(24px, 3vw, 52px);
  line-height: 0.96;
  font-weight: 700;
}

.hero-bottom a {
  flex: 0 0 auto;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(16px, 1.45vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
}

.selected {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 126px) var(--gutter) clamp(62px, 10vw, 160px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(26px, 4vw, 70px);
}

h2 {
  margin: 0;
  max-width: 560px;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(38px, 6vw, 112px);
  line-height: 0.82;
  font-weight: 900;
}

.section-heading span {
  color: var(--turq);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(16px, 1.6vw, 26px);
  font-weight: 900;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(180px, 0.42fr) minmax(0, 0.78fr);
  grid-template-rows: auto auto;
  gap: clamp(18px, 2.7vw, 46px);
  align-items: start;
}

.project {
  position: relative;
  display: block;
  color: var(--ink);
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
  transition: transform 800ms ease, filter 800ms ease;
}

.project:hover img {
  transform: scale(1.018);
  filter: saturate(1.06);
}

.project-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(22px, 2.3vw, 44px);
  line-height: 0.96;
  font-weight: 900;
}

.project-title::after {
  content: "->";
  color: var(--turq);
  font-size: 0.82em;
}

.project-tectonica {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  padding-right: clamp(16px, 3vw, 52px);
}

.project-tectonica img {
  aspect-ratio: 1.18;
  object-fit: cover;
}

.project-tectonica .project-title {
  font-size: clamp(36px, 5vw, 86px);
}

.project-erick {
  grid-column: 3;
  grid-row: 1;
  margin-top: clamp(34px, 7vw, 118px);
}

.project-erick img {
  aspect-ratio: 0.72;
}

.project-esparrago {
  grid-column: 2 / 4;
  grid-row: 2;
  margin-top: clamp(18px, 4vw, 82px);
  padding-left: clamp(8px, 2vw, 36px);
}

.project-esparrago img {
  aspect-ratio: 1.55;
}

.footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(28px, 4vw, 58px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 56px);
  line-height: 0.92;
  font-weight: 900;
}

.footer::before {
  content: "";
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  margin-bottom: clamp(24px, 3vw, 46px);
  background: var(--line);
}

.footer a:last-child {
  font-size: clamp(16px, 1.4vw, 24px);
}

@media (max-width: 920px) {
  .site-header {
    padding-top: 18px;
  }

  .nav {
    gap: 16px;
  }

  .hero {
    min-height: 94svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    padding-top: 88px;
  }

  .hero::before {
    top: 64px;
  }

  .hero::after {
    bottom: 176px;
    width: 136px;
    height: 3px;
  }

  .hero-copy {
    align-self: start;
    padding-top: clamp(48px, 10vh, 86px);
  }

  h1 {
    font-size: clamp(76px, 21vw, 132px);
    line-height: 0.78;
  }

  .hero-visual {
    width: min(45vw, 210px);
    justify-self: end;
    align-self: start;
    margin: -22px 0 0;
  }

  .hero-bottom {
    align-self: end;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-bottom p {
    width: min(100%, 350px);
    font-size: clamp(26px, 8vw, 42px);
  }

  .editorial-grid {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .project-tectonica,
  .project-esparrago {
    padding: 0;
  }

  .project-erick,
  .project-esparrago {
    margin-top: 0;
  }

  .project-tectonica img {
    aspect-ratio: 0.92;
  }

  .project-erick {
    width: 78%;
    align-self: flex-end;
  }

  .project-erick img {
    aspect-ratio: 0.7;
  }

  .project-esparrago img {
    aspect-ratio: 0.96;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav a:first-child {
    display: none;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .hero-visual {
    width: 48vw;
  }

  .selected {
    padding-top: 64px;
  }

  .project-title {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .project img {
    transition: none;
  }
}
