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

:root {
  --white: #ffffff;
  --black: #111111;
  --grey: #f2f2f2;
  --line: #e2e2e2;
  --acid: #dfff37;
  --orange: #ff5c28;
  --pink: #ffb6d9;
  --blue: #93cfff;
}



html {
  scroll-behavior: smooth;
}

body {
  font-family: Google Sans, sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

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

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');


/* LOADER */

.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  color: var(--white);
  z-index: 999;
  display: grid;
  place-items: center;
  transition: transform 0.8s cubic-bezier(.77, 0, .18, 1);
}

.loader.hide {
  transform: translateY(-100%);
}

.loader-text {
  font-size: 12vw;
  font-weight: 900;
  letter-spacing: -0.08em;
}

/* CURSOR */

.cursor {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--black);
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 998;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  text-transform: uppercase;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--black);
  color: var(--black);
  border-radius: 999px;
  padding: 8px 16px;
  text-transform: uppercase;
   min-width: 90px;
}

/* ABOUT */

.about {
min-height: clamp(680px, 90svh, 920px);
padding: clamp(86px, 7vw, 130px) var(--page-pad) clamp(120px, 9vw, 170px);

  display: grid;
  grid-template-columns: 80px minmax(0, 650px) minmax(320px, 500px);
gap: clamp(48px, 4.5vw, 78px);
  align-items: center;
  background-color: #000000;
  color: #ffffff;
}

.about-image {
  display: block;
  width: 100%;
  min-width: 0;
  margin-left: 30px;

}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
}

.side-label {
  height: 100%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  padding-left: 12px;
  display: flex;
  justify-content: space-between;
}

.about h2 {
  font-family: Google Sans, sans-serif;
  max-width: 720px;
  font-size: clamp(44px, 4.7vw, 82px);
  line-height: .9;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin-bottom: clamp(38px, 4vw, 60px);
}

.about p {
  max-width: 650px;
  width: 100%;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.22;
  font-weight: 400;
  margin-bottom: 30px;
}

.about p b {
  font-weight: 700;
}

/* HERO */

.hero {
  min-height: 100vh;
  background: var(--white);
  color: var(--black);
  padding: 150px 36px 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-tag {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: clamp(76px, 13vw, 200px);
  line-height: 0.82;
  letter-spacing: -0.09em;
  font-weight: 900;
  max-width: 1450px;
}

.hero-title span {
  display: block;
}

.italic {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.1em;
}

#typing-word {
  color: #64ffb1;
  letter-spacing: -0.04em;
}

#typing-word::after {
  content: "|";
  margin-left: 6px;
  color: #64ffb1;
  animation: blink 0.8s infinite;
  font-style: normal;
}

@keyframes blink {
  0%, 45% {
    opacity: 1;
  }

  46%, 100% {
    opacity: 0;
  }
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.hero-bottom p {
  max-width: 540px;
  font-size: 22px;
  line-height: 1.3;
}

.round-btn {
  width: 200px;
  height: 200px;
  border: 1px solid var(--black);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  text-transform: uppercase;
  font-size: 15px;
  transition: 0.4s ease;
}

.round-btn:hover {
  background: #64ffb1;
  transform: rotate(-10deg) scale(1.05);
}

/* MARQUEE */


.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;
border: 1px solid #000;
  border-radius: 999px;

  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;

  white-space: nowrap;

  transition: all .3s ease;
}

.marquee {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;

  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* INTRO */

.intro {
  padding: 160px 36px;
  background: var(--white);
}

.small-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.intro h2 {
  font-size: clamp(46px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  max-width: 1300px;
}

/* WORK */

.work {
  padding: 80px 36px 120px;
  background: var(--white);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(64px, 12vw, 180px);
  letter-spacing: -0.09em;
  line-height: 0.8;
}

/* METRO GRID */

.metro-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 18px;
  grid-auto-flow: dense;
}

@media (max-width: 900px) {

  .metro-card {
    min-height: auto;
    height: auto;
  }

  .metro-card video {
    position: relative;
    display: block;
    width: auto;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
  }

}

.metro-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--grey);
  color: var(--black);
  min-height: 260px;
  cursor: pointer;
}

.metro-card.tall {
  grid-column: span 4;
  grid-row: span 4;
}

.metro-card.small {
  grid-column: span 2;
  grid-row: span 2;
}

.metro-card.wide {
  grid-column: span 4;
  grid-row: span 3;
}

.metro-card.medium {
  grid-column: span 2;
  grid-row: span 4;
}

.project-img {
  position: absolute;
  inset: 0;
  transition:
    transform 0.9s cubic-bezier(.2,.8,.2,1),
    filter 0.9s cubic-bezier(.2,.8,.2,1);
}

.project-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.9s cubic-bezier(.2,.8,.2,1),
    filter 0.9s cubic-bezier(.2,.8,.2,1);
}


.project-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.metro-card:hover .project-img,
.metro-card:hover .project-video {
  transform: scale(1.05);
  filter: blur(2px);
}

.metro-info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 3;
  padding: 24px;

  background: transparent;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity .45s ease,
    transform .45s ease;

  pointer-events: none;
}

.metro-card:hover .metro-info {
  opacity: 1;
  transform: translateY(0);
}

.metro-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .4s ease;
  z-index: 1;
}

.metro-card:hover::after {
  background: rgba(255,255,255,.18);
}



.metro-info span {
  font-size: 13px;
  text-transform: uppercase;
  color: #ffffff;
}

.metro-info h3 {
  margin-top: 8px;
  font-size: clamp(28px, 3.2vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.metro-info p {
  margin-top: 10px;
  font-size: 13px;
  text-transform: uppercase;
  color: #ffffff;
}

/* PROJECT IMAGES */

.img-one,
.img-two,
.img-three,
.img-four,
.img-five,
.img-six,
.img-seven,
.img-eight,
.img-nine,
.img-ten,
.img-eleven,
.img-twelve,
.img-thirteen,
.img-fourteen,
.img-fifteen,
.img-sixteen,
.img-seventeen,
.img-eighteen,
.img-nineteen,
.img-twenty {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.img-one {
  background-image: url("../img/proyecto-1.jpg");
}

.img-two {
  background-image: url("../img/proyecto-2.jpg");
}

.img-three {
  background-image: url("../img/proyecto-3.jpg");
}

.img-four {
  background-image: url("../img/proyecto-4.jpg");
}

.img-five {
  background-image: url("../img/proyecto-5.jpg");
}

.img-six {
  background-image: url("../img/proyecto-6.jpg");
}

.img-seven {
  background-image: url("../img/proyecto-7.jpg");
}

.img-eight {
  background-image: url("../img/proyecto-8.jpg");
}

.img-nine {
  background-image: url("../img/proyecto-9.jpg");
}

.img-ten {
  background-image: url("../img/proyecto-10.jpg");
}

.img-eleven {
  background-image: url("../img/proyecto-11.jpg");
}

.img-twelve {
  background-image: url("../img/proyecto-12.jpg");
}

.img-thirteen {
  background-image: url("../img/proyecto-13.jpg");
}

.img-fourteen {
  background-image: url("../img/proyecto-14.jpg");
}

.img-fifteen {
  background-image: url("../img/proyecto-15.jpg");
}

.img-sixteen {
  background-image: url("../img/proyecto-16.jpg");
}

.img-seventeen {
  background-image: url("../img/proyecto-17.jpg");
}

.img-eighteen {
  background-image: url("../img/proyecto-18.jpg");
}

.img-nineteen {
  background-image: url("../img/proyecto-19.jpg");
}

.img-twenty {
  background-image: url("../img/proyecto-20.jpg");
}


/* SERVICES */

.services {
  padding: 80px 36px 120px;
  background: var(--white);
  color: var(--black);

}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  font-size: clamp(42px, 6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.service-row p {
  max-width: 560px;
  font-size: 21px;
  line-height: 1.3;
}

/* CONTACT */

.contact {
  min-height: 90vh;
  background: var(--white);
  padding: 36px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.contact h2 {
  font-size: clamp(50px, 8vw, 100px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  max-width: 800px;
  margin-bottom: 50px;
}

.big-link {
  font-size: clamp(18px, 5vw, 58px);
  letter-spacing: -0em;
  border-bottom: 3px solid currentColor;
  width: fit-content;
}

/* FOOTER */

footer {
  background: var(--white);
  color: var(--black);
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

/* REVEAL ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.9s cubic-bezier(.2, .8, .2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .site-header {
    padding: 22px 20px;
  }

  .brand {
    position: relative;
    z-index: 101;
    font-size: 18px;
  }

   .menu-btn {
    display: block;
    position: relative;
    z-index: 1000;
    min-width: 90px;
  }

  .about {
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding: 70px 20px;
  overflow: hidden;
}

.side-label {
  display: none;
}

.about-content {
  order: 1;
  min-width: 0;
}

.about-image {
  order: 2;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.about-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

  .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100vw;
  height: 100vh;
  min-height: 100dvh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 32px;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: .35s ease;

    z-index: 999;
}

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    text-align: center;
    font-size: clamp(34px, 9vw, 56px);
    font-weight: 900;
    letter-spacing: -0.06em;
    text-transform: lowercase;
    padding: 0;
    border: 0;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    padding: 120px 20px 34px;
  }

  .hero-title {
    font-size: 21vw;
  }

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

  .round-btn {
    width: 120px;
    height: 120px;
  }

  .intro,
  .services,
  .contact {
    padding-left: 36px;
    padding-right: 36px;
  }

  .services {
    padding: 70px 20px 90px;
  }

  .work {
    padding: 70px 20px 90px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 30px;
  }

  .metro-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
  }

  .metro-card,
  .metro-card.tall,
  .metro-card.small,
  .metro-card.wide,
  .metro-card.medium {
    grid-column: span 1;
    grid-row: span 1;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 12px;
  }

  .cursor {
    display: none;
  }

  html.is-loading,
  body.is-loading {
    overflow: hidden;
    height: 100%;
  }

  .metro-card .project-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

}

@media (max-width: 900px) {

  .hero {
    width: 100%;
    min-height: 100svh;
    padding: 120px 20px 34px;
    overflow-x: hidden;
  }

  .hero-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(50px, 16vw, 88px);
    line-height: 0.9;
    letter-spacing: -0.075em;
  }

  .hero-title > span {
    display: block;
    width: 100%;
  }

  .italic {
    letter-spacing: -0.06em;
  }

  #typing-word {
    display: inline-block;
    max-width: 100%;
    font-size: 1em;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  #typing-word::after {
    margin-left: 3px;
  }
}

html,
body {
  overflow-x: clip;
}

