/* =========================================================
   SERGIO HOUSE PAGE
   Version 1.0

   Mobile first
   Ancient heat. Scandinavian discipline.
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

body {
  background: #ffffff;
}

main {
  width: 100%;
  overflow: hidden;
}


/* =========================================================
   SHARED HOUSE TYPOGRAPHY
   ========================================================= */

.house-eyebrow {
  margin: 0;

  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* =========================================================
   HOUSE HERO
   ========================================================= */

.house-hero {
  position: relative;

  width: 100%;
  overflow: hidden;

  background: #111111;
  color: #ffffff;
}

.house-hero__media {
  width: 100%;
  margin: 0;
}

.house-hero__image {
  display: block;

  width: 100%;
  height: 28rem;

  object-fit: cover;
  object-position: center;
}

.house-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.66) 0%,
      rgba(0, 0, 0, 0.3) 54%,
      rgba(0, 0, 0, 0.05) 100%
    );

  pointer-events: none;
}

.house-hero__content {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;

  width: 100%;
  padding: 2rem 1rem 2.5rem;
}

.house-hero .house-eyebrow {
  margin-bottom: 1.25rem;

  color: rgba(255, 255, 255, 0.84);
}

.house-hero__title {
  max-width: 12ch;
  margin: 0;

  font-size: clamp(2rem, 8.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;

  color: #ffffff;
}


/* =========================================================
   HOUSE INTRODUCTION
   ========================================================= */

.house-intro {
  width: 100%;

  background: #ffffff;
  color: #111111;
}

.house-intro__inner {
  padding: 2.75rem 1rem 3rem;
}

.house-intro__lead {
  max-width: 28rem;
  margin: 0;

  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.house-intro__statement {
  max-width: 28rem;
  margin: 1.5rem 0 0;

  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.house-intro__location {
  max-width: 28rem;
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;

  border-top: 1px solid rgba(17, 17, 17, 0.14);

  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
}


/* =========================================================
   WORKSHOP FILM
   ========================================================= */

.house-workshop {
  width: 100%;

  background: #111111;
}

.house-workshop__media {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.house-workshop__video {
  display: block;

  width: 100%;
  height: 15rem;

  object-fit: cover;
  object-position: center;

  background: #111111;
}


/* =========================================================
   CRAFT
   ========================================================= */

.house-craft {
  width: 100%;

  background: #ffffff;
  color: #111111;
}

.house-craft__inner {
  padding: 2.75rem 1rem 3rem;
}

.house-craft .house-eyebrow {
  margin-bottom: 1.25rem;

  color: rgba(17, 17, 17, 0.66);
}

.house-craft__title {
  max-width: 30rem;
  margin: 0;

  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.house-craft__copy {
  max-width: 34rem;
  margin-top: 1.25rem;

  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
}

.house-craft__copy p {
  margin: 0;
}

.house-craft__copy p + p {
  margin-top: 1.1rem;
}


/* =========================================================
   FOUNDER
   ========================================================= */

.house-founder {
  display: flex;
  flex-direction: column;

  width: 100%;

  background: #f7f6f2;
  color: #111111;
}

.house-founder__media {
  width: 100%;
  margin: 0;
  overflow: hidden;

  background: #eceae5;
}

.house-founder__image {
  display: block;

  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;

  object-fit: cover;
  object-position: center;
}

.house-founder__content {
  padding: 2.25rem 1rem 2.75rem;
}

.house-founder__name {
  margin: 0;

  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.house-founder__role {
  margin: 0.65rem 0 0;

  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.house-founder__places {
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;

  border-top: 1px solid rgba(17, 17, 17, 0.16);

  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 23rem) {

  .house-hero__content,
  .house-intro__inner,
  .house-craft__inner,
  .house-founder__content {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .house-hero__image {
    height: 25rem;
  }

  .house-intro__lead {
    font-size: 1.2rem;
  }

  .house-intro__statement {
    font-size: 1.12rem;
  }

  .house-craft__title {
    font-size: 1.3rem;
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 48rem) {

  .house-hero__image {
    height: 38rem;
  }

  .house-hero__content {
    padding: 3.5rem 3rem 4rem;
  }

  .house-hero__title {
    font-size: clamp(3rem, 5.5vw, 5rem);
  }

  .house-intro__inner {
    padding: 4.5rem 3rem 5rem;
  }

  .house-intro__lead {
    max-width: 38rem;

    font-size: 2rem;
  }

  .house-intro__statement {
    max-width: 38rem;

    margin-top: 2rem;

    font-size: 1.65rem;
  }

  .house-intro__location {
    max-width: 38rem;

    margin-top: 2.5rem;
    padding-top: 2rem;

    font-size: 1rem;
  }

  .house-workshop__video {
    height: 30rem;
  }

  .house-craft__inner {
    padding: 4.5rem 3rem 5rem;
  }

  .house-craft__title {
    max-width: 42rem;

    font-size: 2.2rem;
  }

  .house-craft__copy {
    max-width: 42rem;

    margin-top: 1.75rem;

    font-size: 1rem;
    line-height: 1.65;
  }

  .house-founder {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
    align-items: stretch;
  }

  .house-founder__image {
    height: 100%;
    aspect-ratio: auto;
  }

  .house-founder__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 4rem 3rem;
  }

  .house-founder__role {
    font-size: 1.6rem;
  }

}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 64rem) {

  .house-hero {
    min-height: calc(100vh - 3.75rem);
  }

  .house-hero__media {
    position: absolute;
    inset: 0;
  }

  .house-hero__image {
    width: 100%;
    height: 100%;
  }

  .house-hero__content {
    top: 0;
    bottom: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 100%;
    padding: 5rem 4rem;
  }

  .house-hero__title {
    max-width: 11ch;

    font-size: clamp(4rem, 5.6vw, 6.5rem);
    line-height: 0.98;
  }

  .house-intro__inner {
    padding: 7rem 4rem;
  }

  .house-intro__lead {
    max-width: 48rem;

    font-size: 2.6rem;
    line-height: 1.2;
  }

  .house-intro__statement {
    max-width: 44rem;

    margin-top: 2.5rem;

    font-size: 2rem;
  }

  .house-intro__location {
    max-width: 44rem;

    margin-top: 3.5rem;
    padding-top: 2.5rem;
  }

  .house-workshop__video {
    height: min(70vh, 48rem);
  }

  .house-craft__inner {
    padding: 7rem 4rem;
  }

  .house-craft__title {
    max-width: 50rem;

    font-size: 3rem;
    line-height: 1.15;
  }

  .house-craft__copy {
    max-width: 44rem;

    margin-top: 2rem;

    font-size: 1.05rem;
  }

  .house-founder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 42rem;
  }

  .house-founder__content {
    padding: 5rem 4rem;
  }

  .house-founder__role {
    font-size: 2rem;
  }

  .house-founder__places {
    max-width: 24rem;

    margin-top: 2.5rem;
    padding-top: 2rem;
  }

}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 90rem) {

  .house-hero__content,
  .house-intro__inner,
  .house-craft__inner {
    padding-left: 5.5rem;
    padding-right: 5.5rem;
  }

  .house-founder__content {
    padding-left: 5.5rem;
    padding-right: 5.5rem;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .house-workshop__video {
    display: none;
  }

  .house-workshop__media {
    min-height: 15rem;

    background:
      #111111
      url("../../assets/images/house/workshop-poster.jpg")
      center / cover no-repeat;
  }

}

@media
  (prefers-reduced-motion: reduce) and
  (min-width: 48rem) {

  .house-workshop__media {
    min-height: 30rem;
  }

}

@media
  (prefers-reduced-motion: reduce) and
  (min-width: 64rem) {

  .house-workshop__media {
    min-height: min(70vh, 48rem);
  }

}

.house-editorial-link {
  display: inline-flex;
  align-items: baseline;
  gap: .65rem;
  margin-top: 1.35rem;
  font-size: .78rem;
  line-height: 1.5;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .3em;
}
.house-craft__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
}
.house-editorial-link:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}
