/* ======================================================
   STUDIO#RE — HOMEPAGE
   Alleen paginaspecifieke stijlen.
   Vereist: re_base.css + re_components.css
======================================================= */

body {
  color: var(--re-white);
  background: var(--re-black);
}

.home-page img {
  width: 100%;
}



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

.home-hero {
  position: relative;

  width: 100%;
  height: 100svh;
  min-height: 720px;

  overflow: hidden;
}

.home-hero-media,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-media {
  overflow: hidden;
}

.home-hero-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1.08);
  transform-origin: center;
}

.home-hero-overlay {
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.36) 46%,
      rgba(0, 0, 0, 0.08) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.42) 0%,
      transparent 48%
    );
}

.home-hero-content {
  position: relative;
  z-index: 2;

  height: 100%;
  padding:
      0
      7vw
      17vh;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.home-eyebrow {
    margin:0 0 18px;
    margin-left: 140px;

    font-size:clamp(34px,2.6vw,52px);

    font-weight:400;

    letter-spacing:-0.04em;

    text-transform:uppercase;

    color:rgba(255,255,255,.55);
}

.home-hero h1 {
  margin: 0 0 55px;

  font-size: clamp(76px, 11.5vw, 205px);
  line-height: 0.8;
  letter-spacing: -0.085em;
  font-weight: 400;
}

.home-hero-bottom {
  width: 100%;
  margin-left: 140px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
}


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

.home-scroll-indicator {
  appearance: none;
  -webkit-appearance: none;

  position: absolute;
  z-index: 4;

  right: 42px;
  bottom: 40px;

  padding: 0;
  border: 0;
  background: none;

  display: flex;
  align-items: center;
  gap: 17px;

  color: #ffffff;
  cursor: pointer;

  font: inherit;
}

.home-scroll-indicator span {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition:
    transform 0.4s var(--re-ease),
    opacity 0.3s ease;
}

.home-scroll-indicator i {
  position: relative;

  display: block;
  width: 1px;
  height: 52px;

  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);

  transition:
    height 0.4s var(--re-ease);
}

.home-scroll-indicator i::after {
  content: "";

  position: absolute;
  top: -100%;
  left: 0;

  width: 1px;
  height: 100%;

  background: #ffffff;

  animation:
    home-scroll-line
    2s
    infinite
    ease-in-out;
}

.home-scroll-indicator:hover span {
  transform: translateX(-4px);
  transform: translateY(0px);
  opacity: 0.78;
}

.home-scroll-indicator:hover i {
  height: 59px;
}

@keyframes home-scroll-line {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(200%);
  }
}


/* ======================================================
   INTRO
======================================================= */

.home-intro {
  padding: 17vh 0 18vh;
}

.home-intro-title {
  max-width: 1250px;
  margin: 0;

  font-size: clamp(64px, 9vw, 160px);
  line-height: 0.87;
  letter-spacing: -0.085em;
  font-weight: 400;
}

.home-intro-bottom {
  margin-top: 14vh;

  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12vw;
  align-items: start;
}

.home-intro-lead,
.home-intro-copy {
  margin: 0;
}

.home-intro-lead {
  max-width: 720px;

  font-size: clamp(24px, 2.4vw, 42px);
  line-height: 1.34;
  letter-spacing: -0.04em;
}

.home-intro-copy {
  max-width: 500px;

  font-size: 17px;
  line-height: 1.65;

  color: rgba(17, 17, 17, 0.62);
}


/* ======================================================
   PROJECTEN HEADING
======================================================= */

.home-projects-heading {
  padding: 7vh 0 11vh;
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.home-section-heading h2 {
  margin: 0;

  font-size: clamp(58px, 8vw, 145px);
  line-height: 0.86;
  letter-spacing: -0.08em;
  font-weight: 400;
}

.home-text-link {
  gap: 12px;
  padding-bottom: 5px;
}

.home-text-link svg {
  width: 15px;
  height: 15px;
}

.home-text-link:hover svg {
  transform: translate(3px, -3px);
}


/* ======================================================
   PROJECTEN
======================================================= */

.home-projects {
  padding: 0 var(--re-grid-gap) var(--re-grid-gap);
}

.home-project-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--re-grid-gap);

  margin-top: var(--re-grid-gap);
  margin-bottom: 0;

  align-items: end;
}

.home-project {
  position: relative;

  display: block;
  overflow: hidden;

  color: #ffffff;
  text-decoration: none;

  background: var(--re-black);
}

.home-project-wide {
  height: 86vh;
  min-height: 620px;
}

.home-project-tall {
  height: 78vh;
  min-height: 580px;
}

.home-project-short {
  height: 59vh;
  min-height: 460px;
}

.home-project-media {
  position: absolute;
  inset: 0;

  margin: 0;
  overflow: hidden;
}

.home-project-media img {
  width: 100%;
  height: 110%;

  object-fit: cover;

  transition:
    transform 1.2s var(--re-ease),
    filter 0.6s ease;
}

.home-project-shade {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.04) 52%
    );

  transition:
    background-color 0.5s ease;
}

.home-project-content {
  position: absolute;
  z-index: 2;

  right: 38px;
  bottom: 35px;
  left: 38px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.home-project-number {
  display: block;
  margin-bottom: 14px;

  font-size: 10px;
  letter-spacing: 0.14em;

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

.home-project h3 {
  margin: 0;

  font-size: clamp(30px, 3.4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 400;
}


.home-project::after{
    content:"";

    position:absolute;
    inset:0;
    z-index:1;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.55) 0%,
            rgba(0,0,0,.25) 28%,
            rgba(0,0,0,0) 65%
        );

    pointer-events:none;
}

.home-project:hover .home-project-media img {
  transform: scale(1.035);
  filter: saturate(0.9);
}

.home-project:hover .home-project-media img {
  transform: scale(1.035);
  filter: saturate(0.9);
}

/* ======================================================
   PRINCIPES
======================================================= */

.home-principles {
  padding: 17vh 0 18vh;

  color: #ffffff;
  background: var(--re-dark);
}

.home-principles-heading {
  max-width: 1200px;
}

.home-principles-heading h2 {
  margin: 0 0 13vh;

  font-size: clamp(64px, 8.8vw, 158px);
  line-height: 0.87;
  letter-spacing: -0.085em;
  font-weight: 400;
}

.home-principles-list {
  border-top: 1px solid var(--re-line-light);
}

.home-principle {
  padding: 52px 0;

  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 5vw;
  align-items: start;

  border-bottom: 1px solid var(--re-line-light);
}

.home-principle-number {
  font-size: 11px;
  letter-spacing: 0.14em;

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

.home-principle-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 8vw;
}

.home-principle h3 {
  max-width: 650px;
  margin: 0;

  font-size: clamp(30px, 4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 400;
}

.home-principle p {
  max-width: 520px;
  margin: 0;

  font-size: 16px;
  line-height: 1.65;

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


/* ======================================================
   STATEMENT
======================================================= */

.home-statement {
  padding: var(--re-grid-gap);

  color: #ffffff;
  background: var(--re-light);
}

.home-statement-frame {
  position: relative;

  min-height: 94vh;
  overflow: hidden;
}

.home-statement-frame > img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 110%;

  object-fit: cover;
}

.home-statement-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.08) 64%
    );
}

.home-statement-content {
  position: absolute;
  z-index: 2;

  left: 6vw;
  bottom: 8vh;
}

.home-statement-content h2 {
  margin: 0;

  font-size: clamp(4.6rem, 8vw, 7.4rem);
  line-height: 0.84;
  letter-spacing: -0.09em;
  font-weight: 400;
}


/* ======================================================
   CTA
======================================================= */

.home-cta {
  padding: 18vh 0 19vh;

  text-align: center;
}

.home-cta h2 {
  margin: 0 0 65px;

  font-size: clamp(65px, 9vw, 165px);
  line-height: 0.86;
  letter-spacing: -0.085em;
  font-weight: 400;
}


/* ======================================================
   TABLET & MOBIEL
======================================================= */

@media (max-width: 900px) {

  .home-hero {
    min-height: 680px;
  }

  .home-hero-content {
    padding: 0 24px 11vh;
  }

  .home-hero h1 {
    margin-bottom: 42px;

    font-size: clamp(68px, 19vw, 120px);
    line-height: 0.82;
  }

  .home-hero h1 span {
    margin-left: 0;
  }

  .home-hero-bottom {
    width: 100%;
    margin-left: 0;

    display: block;
  }

  .home-hero-bottom .home-button {
    margin-top: 32px;
  }

  .home-scroll-indicator {
    display: none;
  }


  /* Intro */

  .home-intro {
    padding: 115px 0;
  }

  .home-intro-title {
    font-size: clamp(58px, 16vw, 100px);
  }

  .home-intro-bottom {
    margin-top: 75px;

    grid-template-columns: 1fr;
    gap: 45px;
  }

  .home-intro-lead {
    font-size: 24px;
  }


  /* Projecten */

  .home-projects-heading {
    padding: 80px 0 75px;
  }

  .home-section-heading {
    display: block;
  }

  .home-section-heading h2 {
    font-size: clamp(56px, 15vw, 90px);
  }

  .home-text-link {
    margin-top: 34px;
  }

  .home-projects {
    padding:
      0
      24px
      24px;
  }

  .home-project-row {
    grid-template-columns: 1fr;
    gap: 24px;

    margin-top: 24px;
    margin-bottom: 0;
  }

  .home-project-wide,
  .home-project-tall,
  .home-project-short {
    height: 66svh;
    min-height: 500px;
  }

  .home-project-content {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .home-project h3 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(30px, 3.4vw, 64px);
    line-height: 0.95;
    letter-spacing: -0.055em;
    font-weight: 400;
  }


  /* Principes */

  .home-principles {
    padding: 115px 0;
  }

  .home-principles-heading h2 {
    margin-bottom: 85px;

    font-size: clamp(58px, 15vw, 92px);
  }

  .home-principle {
    padding: 40px 0;

    grid-template-columns: 48px 1fr;
    gap: 20px;
  }

  .home-principle-content {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .home-principle h3 {
    font-size: clamp(34px, 9vw, 58px);
  }


  /* Statement */

  .home-statement {
    padding: 24px;
  }

  .home-statement-frame {
    min-height: 82svh;
  }

  .home-statement-content {
    right: 24px;
    bottom: 60px;
    left: 24px;
  }

  .home-statement-content h2 {
    font-size: clamp(58px, 16vw, 95px);
  }


  /* CTA */

  .home-cta {
    padding: 120px 0;
  }

  .home-cta h2 {
    margin-bottom: 48px;

    font-size: clamp(58px, 15vw, 94px);
  }

}


/* ======================================================
   KLEIN MOBIEL
======================================================= */

@media (max-width: 520px) {

  .home-hero-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-hero h1 {
    font-size: clamp(60px, 18vw, 88px);
  }

  .home-hero-bottom .home-button {
    width: 100%;
  }

  .home-eyebrow {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .home-hero-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-hero-bottom .home-button {
    width: 100%;
  }

  .home-projects {
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
  }

  .home-project-row {
    gap: 20px;

    margin-top: 20px;
    margin-bottom: 0;
  }

  .home-project-wide,
  .home-project-tall,
  .home-project-short {
    height: 62svh;
    min-height: 450px;
  }
