/* =========================================================
   VARGAS BUILDERS GROUP
========================================================= */

:root {
  --navy: #07111f;
  --white: #ffffff;
  --off-white: #f7f7f4;
  --text-muted: #596473;

  --font-display: "Roboto Condensed", Arial, sans-serif;
  --font-body: "Roboto", Arial, sans-serif;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  background: var(--white);
  color: var(--navy);

  font-family: var(--font-body);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  z-index: 100;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  padding: 34px 44px;

  color: var(--white);
}


/* =========================================================
   HEADER LOGO
========================================================= */

.site-brand {
  position: relative;
  z-index: 102;

  display: block;

  width: 150px;
}

.site-brand img {
  display: block;

  width: 100%;
  height: auto;
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.desktop-nav {
  display: flex;
  align-items: center;

  gap: 42px;

  padding-top: 15px;

  font-family: var(--font-display);

  font-size: 12px;
  font-weight: 500;

  text-transform: uppercase;

  letter-spacing: 0.16em;
}

.desktop-nav a {
  opacity: 0.82;

  transition:
    opacity 180ms ease;
}

.desktop-nav a:hover {
  opacity: 1;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
  display: none;

  position: relative;
  z-index: 102;

  width: 32px;
  height: 24px;

  padding: 0;

  border: 0;
  background: transparent;

  color: var(--white);

  cursor: pointer;
}

.menu-toggle span {
  position: absolute;

  left: 0;

  width: 100%;
  height: 1px;

  background: currentColor;

  transition:
    top 250ms ease,
    transform 250ms ease;
}

.menu-toggle span:first-child {
  top: 7px;
}

.menu-toggle span:last-child {
  top: 17px;
}

body.menu-open .menu-toggle span:first-child {
  top: 12px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  top: 12px;
  transform: rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
  position: fixed;

  inset: 0;

  z-index: 99;

  display: flex;
  align-items: center;

  padding: 32px;

  background: var(--navy);
  color: var(--white);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 300ms ease,
    visibility 300ms ease;
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;

  gap: 18px;
}

.mobile-menu a {
  font-family: var(--font-display);

  font-size: clamp(36px, 9vw, 58px);
  font-weight: 500;

  line-height: 0.95;

  text-transform: uppercase;

  letter-spacing: -0.025em;
}


/* =========================================================
   VIDEO HERO
========================================================= */

.video-hero {
  position: relative;

  width: 100%;

  height: 100vh;
  height: 100svh;

  min-height: 650px;

  overflow: hidden;

  background: var(--navy);
  color: var(--white);
}

.hero-video {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      to right,
      rgba(7, 17, 31, 0.34) 0%,
      rgba(7, 17, 31, 0.10) 48%,
      rgba(7, 17, 31, 0.06) 100%
    ),
    linear-gradient(
      to top,
      rgba(7, 17, 31, 0.66) 0%,
      rgba(7, 17, 31, 0.06) 50%,
      rgba(7, 17, 31, 0.12) 100%
    );
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
  position: absolute;

  left: 44px;
  bottom: 90px;

  z-index: 2;

  max-width: 1000px;
}

.hero-location {
  margin-bottom: 16px;

  font-family: var(--font-display);

  font-size: 12px;
  font-weight: 500;

  text-transform: uppercase;

  letter-spacing: 0.28em;

  opacity: 0.9;
}

.hero-content h1 {
  margin: 0;

  max-width: 1000px;

  font-family: var(--font-display);

  font-size: clamp(72px, 9vw, 150px);
  font-weight: 500;

  line-height: 0.82;

  text-transform: uppercase;

  letter-spacing: -0.055em;
}


/* =========================================================
   HERO SCROLL INDICATOR
========================================================= */

.hero-scroll {
  position: absolute;

  left: 50%;
  bottom: 30px;

  z-index: 2;

  width: 28px;
  height: 48px;

  transform: translateX(-50%);
}

.hero-scroll::before {
  content: "";

  position: absolute;

  left: 50%;
  top: 0;

  width: 1px;
  height: 28px;

  background:
    rgba(255, 255, 255, 0.78);

  transform:
    translateX(-50%);
}

.hero-scroll::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 2px;

  width: 9px;
  height: 9px;

  border-right:
    1px solid rgba(255, 255, 255, 0.78);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.78);

  transform:
    translateX(-50%)
    rotate(45deg);
}


/* =========================================================
   PROJECT SLIDERS
========================================================= */

.project-slider {
  position: relative;

  width: 100%;

  height: 100vh;
  height: 100svh;

  min-height: 650px;

  overflow: hidden;

  background: var(--navy);
  color: var(--white);
}


/* =========================================================
   PROJECT SLIDES
========================================================= */

.project-slides {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
}

.project-slide {
  position: absolute;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 700ms ease,
    visibility 700ms ease;
}

.project-slide.active {
  opacity: 1;
  visibility: visible;
}

.project-slide img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.mobile-slide {
  display: none;
}


/* =========================================================
   PROJECT OVERLAY
========================================================= */

.project-slider-overlay {
  position: absolute;

  inset: 0;

  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(7, 17, 31, 0.62) 0%,
      rgba(7, 17, 31, 0.08) 45%,
      rgba(7, 17, 31, 0.04) 100%
    );
}


/* =========================================================
   PROJECT TITLE
========================================================= */

.project-slider-title {
  position: absolute;

  left: 44px;
  bottom: 42px;

  z-index: 3;

  color: var(--white);

  pointer-events: none;
}

.project-slider-title h2 {
  margin: 0 0 7px;

  font-family: var(--font-display);

  font-size: clamp(48px, 6vw, 92px);
  font-weight: 500;

  line-height: 0.86;

  text-transform: uppercase;

  letter-spacing: -0.045em;
}

.project-slider-title span {
  display: block;

  font-family: var(--font-display);

  font-size: 11px;
  font-weight: 500;

  text-transform: uppercase;

  letter-spacing: 0.18em;

  opacity: 0.82;
}


/* =========================================================
   PROJECT CONTROLS
========================================================= */

.project-controls {
  position: absolute;

  right: 44px;
  bottom: 38px;

  z-index: 10;

  display: flex;
  align-items: center;

  gap: 14px;
}

.project-counter {
  display: flex;
  align-items: center;

  gap: 10px;

  font-family: var(--font-display);

  font-size: 10px;
  font-weight: 500;

  letter-spacing: 0.12em;

  color:
    rgba(255, 255, 255, 0.78);
}

.counter-line {
  display: block;

  width: 30px;
  height: 1px;

  background:
    rgba(255, 255, 255, 0.45);
}


/* =========================================================
   PROJECT ARROW BUTTONS
========================================================= */

.project-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  padding: 0;

  border:
    1px solid rgba(255, 255, 255, 0.48);

  border-radius: 50%;

  background:
    rgba(7, 17, 31, 0.22);

  color: var(--white);

  cursor: pointer;

  -webkit-appearance: none;
  appearance: none;

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.project-arrow:hover {
  background:
    rgba(7, 17, 31, 0.55);

  border-color:
    rgba(255, 255, 255, 0.9);
}


/* =========================================================
   CSS-DRAWN ARROWS
========================================================= */

.arrow-left,
.arrow-right {
  position: relative;

  display: block;

  width: 16px;
  height: 12px;
}

.arrow-left::before,
.arrow-right::before {
  content: "";

  position: absolute;

  top: 50%;

  width: 16px;
  height: 1px;

  background: var(--white);

  transform:
    translateY(-50%);
}

.arrow-left::after,
.arrow-right::after {
  content: "";

  position: absolute;

  top: 50%;

  width: 7px;
  height: 7px;

  border-top:
    1px solid var(--white);

  border-right:
    1px solid var(--white);
}

.arrow-left::before {
  left: 0;
}

.arrow-left::after {
  left: 0;

  transform:
    translateY(-50%)
    rotate(-135deg);
}

.arrow-right::before {
  right: 0;
}

.arrow-right::after {
  right: 0;

  transform:
    translateY(-50%)
    rotate(45deg);
}


/* =========================================================
   ABOUT
========================================================= */

.about {
  display: grid;

  grid-template-columns:
    1fr 2fr;

  gap: 60px;

  padding:
    clamp(100px, 12vw, 180px)
    44px;

  background: var(--white);
  color: var(--navy);
}

.about-label {
  padding-top: 8px;

  font-family: var(--font-display);

  font-size: 11px;
  font-weight: 600;

  line-height: 1.2;

  text-transform: uppercase;

  letter-spacing: 0.14em;
}

.about-copy {
  max-width: 900px;
}

.about-copy h2 {
  margin: 0 0 38px;

  max-width: 900px;

  font-family: var(--font-display);

  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;

  line-height: 0.92;

  text-transform: uppercase;

  letter-spacing: -0.04em;
}

.about-copy p {
  max-width: 610px;

  margin: 0;

  font-family: var(--font-body);

  font-size: 16px;
  font-weight: 400;

  line-height: 1.7;

  color: var(--text-muted);
}


/* =========================================================
   SHORT PROJECT STATEMENT
========================================================= */

.project-statement {
  display: grid;

  grid-template-columns:
    1fr 2fr;

  gap: 60px;

  padding:
    clamp(60px, 7vw, 95px)
    44px;

  background: var(--white);
  color: var(--navy);
}

.project-statement-label {
  padding-top: 7px;

  font-family: var(--font-display);

  font-size: 11px;
  font-weight: 600;

  line-height: 1.2;

  text-transform: uppercase;

  letter-spacing: 0.14em;
}

.project-statement-copy {
  max-width: 900px;
}

.project-statement-copy h2 {
  margin: 0;

  max-width: 850px;

  font-family: var(--font-display);

  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;

  line-height: 0.9;

  text-transform: uppercase;

  letter-spacing: -0.04em;
}


/* =========================================================
   SECTION LOGOS
========================================================= */

.about-label img,
.project-statement-label img {
  display: block;

  width: 120px;
  max-width: 120px;

  height: auto;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
  display: flex;
  align-items: flex-end;

  min-height: 78vh;

  padding: 60px 44px;

  background: var(--navy);
  color: var(--white);
}

.contact-inner p {
  margin: 0 0 18px;

  font-family: var(--font-display);

  font-size: 11px;
  font-weight: 500;

  text-transform: uppercase;

  letter-spacing: 0.16em;

  opacity: 0.58;
}

.contact-inner h2 {
  margin: 0 0 38px;

  max-width: 1100px;

  font-family: var(--font-display);

  font-size: clamp(64px, 9vw, 138px);
  font-weight: 500;

  line-height: 0.84;

  text-transform: uppercase;

  letter-spacing: -0.05em;
}

.contact-inner a {
  display: inline-block;

  padding-bottom: 6px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.48);

  font-family: var(--font-display);

  font-size: 13px;
  font-weight: 500;

  letter-spacing: 0.07em;

  transition:
    border-color 180ms ease,
    opacity 180ms ease;
}

.contact-inner a:hover {
  border-color: var(--white);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  display: grid;

  grid-template-columns:
    1fr 1fr auto;

  gap: 30px;

  padding: 28px 44px;

  border-top:
    1px solid rgba(255, 255, 255, 0.14);

  background: var(--navy);

  color:
    rgba(255, 255, 255, 0.55);

  font-family: var(--font-display);

  font-size: 10px;
  font-weight: 500;

  text-transform: uppercase;

  letter-spacing: 0.13em;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  /* HEADER */

  .site-header {
    align-items: center;

    padding:
      calc(18px + env(safe-area-inset-top))
      20px
      18px;
  }

  .site-brand {
    width: 115px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }


  /* VIDEO HERO */

  .video-hero {
    min-height: 100svh;
  }

  .hero-content {
    left: 20px;
    right: 20px;

    bottom:
      calc(
        74px +
        env(safe-area-inset-bottom)
      );
  }

  .hero-location {
    margin-bottom: 12px;

    font-size: 9px;

    letter-spacing: 0.2em;
  }

  .hero-content h1 {
    max-width: 370px;

    font-size:
      clamp(58px, 17vw, 82px);

    line-height: 0.84;
  }

  .hero-scroll {
    bottom:
      calc(
        20px +
        env(safe-area-inset-bottom)
      );
  }


  /* PROJECT GALLERIES */

  .project-slider {
    min-height: 100svh;
  }

  .mobile-slide {
    display: block;
  }

  .project-slider-title {
    left: 20px;
    right: 20px;

    bottom:
      calc(
        78px +
        env(safe-area-inset-bottom)
      );
  }

  .project-slider-title h2 {
    font-size:
      clamp(48px, 15vw, 68px);
  }

  .project-slider-title span {
    font-size: 9px;

    letter-spacing: 0.16em;
  }

  .project-controls {
    right: 20px;

    bottom:
      calc(
        18px +
        env(safe-area-inset-bottom)
      );

    gap: 10px;
  }

  .project-arrow {
    width: 44px;
    height: 44px;
  }


  /* ABOUT */

  .about {
    grid-template-columns: 1fr;

    gap: 38px;

    padding:
      90px
      20px;
  }

  .about-label {
    font-size: 10px;
  }

  .about-copy h2 {
    margin-bottom: 26px;

    font-size:
      clamp(44px, 13vw, 62px);

    line-height: 0.9;
  }

  .about-copy p {
    font-size: 15px;

    line-height: 1.65;
  }


  /* SHORT PROJECT STATEMENT */

  .project-statement {
    grid-template-columns: 1fr;

    gap: 24px;

    padding:
      48px
      20px;
  }

  .project-statement-label {
    font-size: 9px;
  }

  .project-statement-copy h2 {
    font-size:
      clamp(38px, 11vw, 52px);

    line-height: 0.9;
  }


  /* SECTION LOGOS */

  .about-label img,
  .project-statement-label img {
    width: 90px;
    max-width: 90px;
  }


  /* CONTACT */

  .contact {
    min-height: 72svh;

    padding:
      50px
      20px;
  }

  .contact-inner p {
    font-size: 10px;
  }

  .contact-inner h2 {
    margin-bottom: 32px;

    font-size:
      clamp(52px, 15vw, 72px);

    line-height: 0.86;
  }

  .contact-inner a {
    font-size: 12px;
  }


  /* FOOTER */

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

    gap: 12px;

    padding:
      30px
      20px
      40px;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 390px) {

  .site-brand {
    width: 105px;
  }

  .hero-content h1 {
    font-size: 54px;
  }

  .project-slider-title h2 {
    font-size: 48px;
  }

  .about-copy h2 {
    font-size: 44px;
  }

  .project-statement-copy h2 {
    font-size: 38px;
  }

  .about-label img,
  .project-statement-label img {
    width: 85px;
    max-width: 85px;
  }

  .contact-inner h2 {
    font-size: 50px;
  }

}

/* =========================================================
   EXPANDABLE ABOUT US
========================================================= */

.about-expandable {
  display: block;
  padding: 0;
}

.about-summary {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;

  width: 100%;
  padding:
    clamp(60px, 7vw, 95px)
    44px;

  border: 0;
  background: var(--white);
  color: var(--navy);

  text-align: left;
  cursor: pointer;

  -webkit-appearance: none;
  appearance: none;
}

.about-summary .about-label {
  padding-top: 7px;
}

.about-summary .about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  max-width: 900px;
}

.about-heading {
  display: block;

  max-width: 850px;

  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;

  line-height: 0.9;

  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.about-toggle-label {
  display: inline-block;

  margin-top: 22px;
  padding-bottom: 5px;

  border-bottom: 1px solid rgba(7, 17, 31, 0.35);

  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.about-details {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;

  padding:
    0
    44px
    clamp(90px, 10vw, 150px);

  background: var(--white);
}

.about-details:not([hidden]) {
  display: grid;
}

.about-founder-photo {
  overflow: hidden;
  background: var(--off-white);
}

.about-founder-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;

  object-fit: cover;
  object-position: center top;
}

.about-founder-copy {
  max-width: 680px;
}

.about-founder-copy h3 {
  margin: 0 0 30px;

  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;

  line-height: 0.92;

  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.about-founder-copy p {
  max-width: 610px;
  margin: 0 0 22px;

  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;

  line-height: 1.7;
  color: var(--text-muted);
}

.about-founder-copy p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   EXPANDABLE ABOUT US — MOBILE
========================================================= */

@media (max-width: 768px) {

  .about-summary {
    grid-template-columns: 1fr;
    gap: 24px;

    padding:
      48px
      20px;
  }

  .about-heading {
    font-size:
      clamp(38px, 11vw, 52px);

    line-height: 0.9;
  }

  .about-toggle-label {
    margin-top: 18px;
  }

  .about-details {
    grid-template-columns: 1fr;
    gap: 42px;

    padding:
      8px
      20px
      80px;
  }

  .about-founder-photo {
    width: 100%;
  }

  .about-founder-copy h3 {
    margin-bottom: 24px;

    font-size:
      clamp(38px, 11vw, 54px);
  }

  .about-founder-copy p {
    font-size: 15px;
    line-height: 1.65;
  }

}

@media (max-width: 390px) {

  .about-heading {
    font-size: 38px;
  }

  .about-founder-copy h3 {
    font-size: 38px;
  }

}

