/* =========================================
   GLOBAL
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #eee9e1;
  color: #211f1d;
  overflow-x: hidden;
}


/* =========================================
   SECTION DOT NAVIGATION
========================================= */

.section-dots {
  position: fixed;

  right: 24px;
  top: 50%;

  transform: translateY(-50%);

  display: flex;
  flex-direction: column;

  gap: 12px;

  z-index: 100;
}

.section-dot {
  display: block;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.82);

  border: 1px solid rgba(35, 31, 27, 0.28);

  text-decoration: none;

  transition:
    background-color 0.45s ease,
    border-color 0.45s ease,
    transform 0.45s ease,
    opacity 0.45s ease;
}

.section-dot.active {
  background: #211f1d;
  border-color: #211f1d;
  transform: scale(1.18);
}

.section-dot:hover {
  transform: scale(1.35);
}


/* =========================================
   HERO
========================================= */

.hero {
  position: relative;

  width: 100%;
  height: 750px;

  overflow: hidden;

  background: #24211e;
}


/* HERO IMAGE */

.hero::before {
  content: "";

  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(20, 19, 17, 0.76) 0%,
      rgba(20, 19, 17, 0.63) 17%,
      rgba(20, 19, 17, 0.40) 34%,
      rgba(20, 19, 17, 0.16) 51%,
      rgba(20, 19, 17, 0.02) 70%,
      rgba(20, 19, 17, 0) 100%
    ),
    url("photos/hero.jpg");

  background-size: cover;

  background-position: left center;

  background-repeat: no-repeat;

  transform: scale(1.035);

  animation: heroImageMotion 1s
    cubic-bezier(.22, .61, .36, 1)
    forwards;
}


/* HERO IMAGE MOTION */

@keyframes heroImageMotion {

  0% {
    transform: scale(1.035) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.06) translate3d(-0.5%, -0.3%, 0);
  }

}


/* =========================================
   HERO NAVBAR
========================================= */

.hero-nav {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  padding: 32px 4.5%;

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  z-index: 10;
}


/* =========================================
   BRAND
========================================= */

.brand {
  display: flex;

  flex-direction: column;

  text-decoration: none;

  color: #fff;

  line-height: 1;
}

.brand span {
  font-family: "Cormorant Garamond", serif;

  font-size: 31px;

  font-weight: 500;

  letter-spacing: 4px;
}

.brand small {
  margin-top: 6px;

  margin-left: 27px;

  font-family: "DM Sans", sans-serif;

  font-size: 10px;

  font-weight: 400;

  letter-spacing: 2px;
}


/* =========================================
   CONTACT — HERO
========================================= */

.contact {
  margin-top: 11px;

  position: relative;

  color: #171513;

  text-decoration: none;

  font-family: "DM Sans", sans-serif;

  font-size: 12px;

  font-weight: 400;

  letter-spacing: 2px;

  transition: opacity 0.3s ease;
}

.contact::after {
  content: "";

  display: block;

  width: 66px;
  height: 1px;

  margin-top: 8px;

  background: rgba(23, 21, 19, 0.72);
}

.contact:hover {
  opacity: 0.62;
}


/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
  position: absolute;

  left: 6.2%;
  top: 50%;

  transform: translateY(-38%);

  z-index: 5;

  animation: heroContentReveal 1.7s
    cubic-bezier(.22, .61, .36, 1)
    both;
}

@keyframes heroContentReveal {

  0% {
    opacity: 0;
    transform: translateY(-32%);
  }

  100% {
    opacity: 1;
    transform: translateY(-38%);
  }

}


/* =========================================
   HERO TITLE
========================================= */

.hero-content h1 {
  margin: 0 0 34px 0;

  font-family: "Cormorant Garamond", serif;

  font-size: 78px;

  font-weight: 400;

  line-height: 0.96;

  letter-spacing: -2.2px;

  color: #fff;
}


/* =========================================
   HERO LABEL
========================================= */

.hero-label {
  margin-bottom: 25px;

  font-family: "DM Sans", sans-serif;

  font-size: 11px;

  font-weight: 500;

  letter-spacing: 2.4px;

  color: rgba(255, 255, 255, 0.94);
}


/* =========================================
   HERO DESCRIPTION
========================================= */

.hero-description {
  display: flex;

  align-items: flex-start;

  gap: 19px;
}

.description-line {
  width: 1px;

  height: 53px;

  flex-shrink: 0;

  background: #c7a487;

  opacity: 0.85;
}

.hero-description p {
  margin: 0;

  font-family: "DM Sans", sans-serif;

  font-size: 14px;

  line-height: 1.7;

  font-weight: 400;

  color: rgba(255, 255, 255, 0.82);
}


/* =========================================
   WHOLESALE + TRIO
========================================= */

.business-section {
  position: relative;

  z-index: 3;

  width: min(1180px, 86%);

  margin: 0 auto;

  padding: 70px 0 70px;

  display: grid;

  grid-template-columns: 1.55fr 1fr;

  gap: 90px;

  align-items: center;

  border-top: 0;

  opacity: 0;

  animation: sectionFade 1.7s
    cubic-bezier(.22, .61, .36, 1)
    forwards;

  animation-delay: .15s;
}


/* =========================================
   GENERAL SECTION FADE
========================================= */

@keyframes sectionFade {

  0% {
    opacity: 0;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }

}


/* =========================================
   WHOLESALE CONTENT
========================================= */

.wholesale-content {
  padding-right: 65px;

  border-right: 1px solid rgba(35, 30, 25, .14);
}

.wholesale-content h2 {
  margin: 0 0 40px;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(43px, 4vw, 53px);

  font-weight: 400;

  line-height: 1.08;
}

.eyebrow {
  display: block;

  margin-bottom: 20px;

  font-family: "DM Sans", sans-serif;

  font-size: 12px;

  font-weight: 500;

  letter-spacing: .22em;

  color: #786f65;
}


/* =========================================
   WHOLESALE PRICES
========================================= */

.wholesale-prices {
  border-top: 1px solid rgba(35, 30, 25, .17);
}

.price-row {
  display: flex;

  justify-content: space-between;

  padding: 23px 0;

  border-bottom: 1px solid rgba(35, 30, 25, .11);

  font-family: "DM Sans", sans-serif;

  font-size: 15px;

  color: #302b27;

  transition:
    padding-left 0.45s ease,
    padding-right 0.45s ease;
}

.price-row:hover {
  padding-left: 5px;
  padding-right: 5px;
}

.price-row strong {
  font-weight: 400;
}


/* =========================================
   WHOLESALE META
========================================= */

.wholesale-meta {
  display: flex;

  gap: 70px;

  margin-top: 30px;
}

.wholesale-meta span {
  display: block;

  margin-bottom: 9px;

  font-family: "DM Sans", sans-serif;

  font-size: 10px;

  letter-spacing: .18em;

  color: #81766b;
}

.wholesale-meta p {
  margin: 0;

  font-family: "DM Sans", sans-serif;

  font-size: 14px;
}


/* =========================================
   TRIO
========================================= */

.trio-content {
  width: min(100%, 360px);

  justify-self: center;
}

.trio-image {
  width: 100%;

  margin: 0 auto 32px;

  overflow: hidden;
}

.trio-image img {
  display: block;

  width: 100%;

  height: 300px;

  object-fit: cover;

  object-position: center;

  transition:
    transform 1.2s cubic-bezier(.22, .61, .36, 1);
}

.trio-image:hover img {
  transform: scale(1.025);
}

.trio-copy h3 {
  margin: 0 0 18px;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(31px, 3vw, 40px);

  line-height: 1.1;

  font-weight: 400;
}

.trio-copy > p {
  margin: 0;

  font-family: "DM Sans", sans-serif;

  font-size: 15.5px;

  color: #4d4640;
}

.trio-price {
  margin-top: 24px;

  font-family: "Cormorant Garamond", serif;

  font-size: 29px;
}

.trio-note {
  margin-top: 9px !important;

  font-family: "DM Sans", sans-serif;

  font-style: italic;

  font-size: 11px !important;

  line-height: 1.55 !important;

  color: #81766b !important;
}

.text-link {
  display: inline-block;

  margin-top: 27px;

  padding-bottom: 7px;

  border-bottom: 1px solid rgba(40, 35, 31, .42);

  color: #28231f;

  text-decoration: none;

  font-family: "DM Sans", sans-serif;

  font-size: 10px;

  letter-spacing: .18em;

  transition:
    opacity 0.4s ease,
    padding-left 0.5s ease;
}

.text-link span {
  margin-left: 8px;
}

.text-link:hover {
  opacity: .55;
  padding-left: 4px;
}


/* =========================================
   HOW IT WORKS
========================================= */

.mahito-process {
  position: relative;

  z-index: 3;

  width: 100%;

  border-top: 1px solid rgba(38, 34, 30, 0.07);

  border-bottom: 1px solid rgba(38, 34, 30, 0.07);

  color: #27231f;

  opacity: 0;

  animation: sectionFade 1.7s
    cubic-bezier(.22, .61, .36, 1)
    forwards;

  animation-delay: .35s;
}

.process-inner {
  width: min(1320px, calc(100% - 160px));

  margin: 0 auto;

  min-height: 150px;

  display: grid;

  grid-template-columns: 220px 1fr;

  align-items: center;
}

.process-title {
  font-family: "DM Sans", sans-serif;

  font-size: 12px;

  font-weight: 500;

  letter-spacing: 0.14em;

  white-space: nowrap;
}

.process-steps {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  align-items: stretch;
}

.process-step {
  min-height: 92px;

  padding: 0 34px;

  display: flex;

  gap: 18px;

  align-items: flex-start;

  border-left: 1px solid #d8d2c9;
}

.process-step:first-child {
  padding-left: 28px;
}

.process-number {
  flex: 0 0 auto;

  padding-top: 2px;

  font-family: "DM Sans", sans-serif;

  font-size: 12px;

  color: #756c62;
}

.process-step h3 {
  margin: 0 0 12px;

  font-family: "Cormorant Garamond", serif;

  font-size: 20px;

  font-weight: 500;

  line-height: 1.2;
}

.process-step p {
  margin: 0;

  font-family: "DM Sans", sans-serif;

  font-size: 13px;

  line-height: 1.55;

  color: #5f5952;
}


/* =========================================
   FABRIC + DYE
========================================= */

.mahito-materials {
  position: relative;

  z-index: 2;

  width: 100%;

  background: #E6DED2;

  color: #27231f;

  opacity: 0;

  filter: blur(2px);

  animation: materialsSoftReveal 1.8s
    cubic-bezier(.22, .61, .36, 1)
    forwards;

  animation-delay: .25s;
}


/* MATERIALS SOFT REVEAL */

@keyframes materialsSoftReveal {

  0% {
    opacity: 0;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }

}


/* MATERIAL ROW */

.materials-row {
  width: min(1180px, calc(100% - 160px));

  margin: 0 auto;

  min-height: 360px;

  display: grid;

  grid-template-columns: 1.15fr .85fr;

  align-items: center;

  gap: clamp(70px, 8vw, 125px);

  padding: 32px 0;
}

.materials-row + .materials-row {
  border-top: 1px solid rgba(39,35,31,.07);
}

.materials-dye {
  grid-template-columns: .85fr 1.15fr;
}


/* =========================================
   MATERIAL IMAGES
========================================= */

.materials-image {
  width: 100%;

  height: 300px;

  overflow: hidden;
}

.materials-image img {
  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center;

  transition:
    transform 1.3s cubic-bezier(.22, .61, .36, 1);
}

.materials-image:hover img {
  transform: scale(1.025);
}


/* =========================================
   MATERIAL COPY
========================================= */

.materials-copy {
  max-width: 360px;
}

.materials-fabric .materials-copy {
  justify-self: start;
}

.materials-dye .materials-copy {
  justify-self: end;
}

.materials-eyebrow {
  display: block;

  margin-bottom: 20px;

  font-family: "DM Sans", sans-serif;

  font-size: 12px;

  font-weight: 500;

  letter-spacing: .22em;

  color: #786f65;
}

.materials-copy h2 {
  margin: 0 0 25px;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(35px, 3vw, 45px);

  font-weight: 400;

  line-height: 1.08;

  letter-spacing: -.025em;
}

.materials-copy p {
  max-width: 330px;

  margin: 0;

  font-family: "DM Sans", sans-serif;

  font-size: 15px;

  line-height: 1.75;

  color: #5e5851;
}

.materials-copy p::after {
  content: "";

  display: block;

  width: 30px;
  height: 1px;

  margin-top: 25px;

  background: #9b9186;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
  position: relative;

  z-index: 4;

  width: 100%;

  min-height: 100px;

  padding: 25px max(7%, calc((100% - 1180px) / 2));

  display: grid;

  grid-template-columns: 1fr 1fr 1fr;

  align-items: center;

  background: #dfd5c5;

  color: #27231f;

  border-top: 1px solid rgba(39, 35, 31, 0.06);

  opacity: 0;

  animation: sectionFade 1.7s
    cubic-bezier(.22, .61, .36, 1)
    forwards;

  animation-delay: .5s;
}


/* =========================================
   CONTACT LEFT
========================================= */

.contact-left {
  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: flex-start;

  pointer-events: none;
}

.contact-brand {
  font-family: "Cormorant Garamond", serif;

  font-size: 17px;

  font-weight: 500;

  letter-spacing: 0.22em;

  line-height: 1;

  color: #27231f;
}

.contact-brand-sub {
  margin-top: 7px;

  font-family: "DM Sans", sans-serif;

  font-size: 9px;

  font-weight: 400;

  letter-spacing: 0.38em;

  color: #766e65;
}


/* =========================================
   CONTACT CENTER
========================================= */

.contact-center {
  display: flex;

  justify-content: center;

  align-items: center;
}

.contact-center a {
  color: #27231f;

  text-decoration: none;

  font-family: "DM Sans", sans-serif;

  font-size: 12px;

  letter-spacing: 0.08em;

  transition:
    opacity 0.4s ease,
    letter-spacing 0.5s ease;
}

.contact-center a:hover {
  opacity: 0.55;

  letter-spacing: 0.1em;
}


/* =========================================
   CONTACT RIGHT
========================================= */

.contact-right {
  display: flex;

  justify-content: flex-end;

  align-items: center;
}

.back-to-top {
  display: inline-flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 8px;

  color: #27231f;

  text-decoration: none;

  font-family: "DM Sans", sans-serif;

  font-size: 10px;

  letter-spacing: 0.18em;

  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(.22,.61,.36,1);
}

.back-to-top:hover {
  opacity: .55;

  transform: translateY(-2px);
}


/* =========================================
   TABLET — HERO
========================================= */

@media (max-width: 1000px) {

  .hero {
    height: 620px;
  }

  .hero::before {
    background-position: left center;
  }

  .hero-nav {
    padding: 29px 5%;
  }

  .hero-content {
    left: 6%;
  }

  .hero-content h1 {
    font-size: 66px;
  }
}


/* =========================================
   TABLET — PROCESS
========================================= */

@media (max-width: 1050px) {

  .process-inner {
    width: min(100% - 70px, 900px);

    grid-template-columns: 1fr;

    padding: 42px 0;
  }

  .process-title {
    margin-bottom: 30px;
  }

  .process-step {
    padding: 0 22px;
  }

  .process-step:first-child {
    padding-left: 0;

    border-left: 0;
  }
}


/* =========================================
   TABLET — MATERIALS
========================================= */

@media (max-width: 900px) {

  .materials-row,
  .materials-dye {

    width: min(700px, calc(100% - 70px));

    grid-template-columns: 1fr 1fr;

    gap: 45px;

    padding: 60px 0;
  }

  .materials-image {
    height: 280px;
  }

  .materials-copy h2 {
    font-size: 34px;
  }
}


/* =========================================
   TABLET — CONTACT
========================================= */

@media (max-width: 800px) {

  .contact-section {
    padding: 35px 7%;

    grid-template-columns: 1fr 1fr;

    row-gap: 25px;
  }

  .contact-left {
    grid-column: 1;
  }

  .contact-center {
    grid-column: 2;

    justify-content: flex-end;
  }

  .contact-right {
    grid-column: 1 / -1;

    justify-content: flex-start;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

  /* DOTS */

  .section-dots {
    right: 16px;

    gap: 11px;
  }

  .section-dot {
    width: 5px;
    height: 5px;
  }


  /* HERO */

  .hero {
    height: 680px;
  }

  .hero::before {

    background-image:
      linear-gradient(
        90deg,
        rgba(20, 19, 17, 0.76) 0%,
        rgba(20, 19, 17, 0.61) 30%,
        rgba(20, 19, 17, 0.25) 65%,
        rgba(20, 19, 17, 0.04) 100%
      ),
      url("photos/hero.jpg");

    background-position: left center;

    transform: scale(1.04);

    animation-duration: 18s;
  }


  /* NAV */

  .hero-nav {
    padding: 25px 23px;
  }

  .brand span {
    font-size: 26px;

    letter-spacing: 3px;
  }

  .brand small {
    margin-top: 5px;

    margin-left: 22px;

    font-size: 9px;

    letter-spacing: 1.7px;
  }

  /* MOBILE HERO CONTACT */

  .contact {
    margin-top: 9px;

    color: #ffffff;

    font-size: 9px;

    letter-spacing: 1.5px;
  }

  .contact::after {
    width: 55px;

    margin-top: 7px;

    background: rgba(255, 255, 255, 0.8);
  }


  /* HERO CONTENT */

  .hero-content {
    left: 23px;

    right: 23px;

    top: 51%;

    transform: translateY(-34%);
  }

  .hero-content h1 {
    font-size: 57px;

    line-height: .96;

    letter-spacing: -1.2px;

    margin-bottom: 29px;
  }

  .hero-label {
    font-size: 9px;

    letter-spacing: 1.8px;

    margin-bottom: 22px;
  }

  .hero-description {
    gap: 15px;
  }

  .description-line {
    height: 49px;
  }

  .hero-description p {
    font-size: 12px;

    line-height: 1.65;
  }


  /* BUSINESS */

  .business-section {
    width: calc(100% - 40px);

    grid-template-columns: 1fr;

    padding: 55px 0;
  }

  .wholesale-content {
    padding-right: 0;

    border-right: 0;

    text-align: center;
  }

  .wholesale-content h2 {
    font-size: 41px;
  }

  .wholesale-prices {
    text-align: center;
  }

  .price-row {
    justify-content: center;

    gap: 25px;

    font-size: 15px;
  }

  .wholesale-meta {
    justify-content: center;

    text-align: center;
  }


  /* TRIO */

  .trio-content {
    width: 100%;

    text-align: center;
  }

  .trio-image {
    display: block;

    width: 65%;

    height: 220px;

    margin: 0 auto 28px;
  }

  .trio-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
  }

  .trio-copy > p {
    font-size: 14px;
  }

  .trio-note {
    font-size: 11px !important;
  }

  .text-link {
    font-size: 10px;
  }


  /* =========================================
     HOW IT WORKS — MOBILE CENTERED
  ========================================= */

  .process-inner {
    width: calc(100% - 40px);

    padding: 50px 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
  }

  .process-title {
    width: 100%;

    margin-bottom: 35px;

    font-size: 12px;

    text-align: center;
  }

  .process-steps {
    width: 100%;

    display: block;
  }

  .process-step,
  .process-step:first-child {

    width: 100%;

    min-height: 0;

    padding: 0 0 28px 0;

    margin-bottom: 28px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border-left: 0;

    border-bottom: 1px solid #d8d2c9;

    text-align: center;
  }

  .process-step:last-child {

    padding-bottom: 0;

    margin-bottom: 0;

    border-bottom: 0;
  }

  .process-number {
    padding-top: 0;

    font-size: 12px;

    text-align: center;
  }

  .process-step h3 {
    margin: 0 0 8px;

    text-align: center;
  }

  .process-step p {
    max-width: 330px;

    font-size: 13px;

    line-height: 1.55;

    text-align: center;
  }


  /* MATERIALS */

  .materials-row,
  .materials-dye {

    width: calc(100% - 40px);

    display: flex;

    flex-direction: column;

    gap: 32px;

    padding: 55px 0;
  }

  .materials-image {

    order: 1;

    width: 100%;

    height: 250px;
  }

  .materials-copy {

    order: 2;

    width: 100%;

    max-width: 420px;
  }

  .materials-eyebrow {
    font-size: 10px;
  }

  .materials-copy h2 {
    font-size: 38px;
  }

  .materials-copy p {
    font-size: 13px;
  }


  /* CONTACT */

  .contact-section {

    min-height: 150px;

    padding: 35px 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 22px;
  }

  .contact-left {
    align-items: center;
  }

  .contact-brand {
    font-size: 16px;
  }

  .contact-brand-sub {
    font-size: 9px;
  }

  .contact-center {
    justify-content: center;
  }

  .contact-center a {
    font-size: 11px;
  }

  .contact-right {
    justify-content: center;
  }

  .back-to-top {
    align-items: center;

    font-size: 9px;
  }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  .hero::before,
  .hero-content,
  .business-section,
  .mahito-process,
  .mahito-materials,
  .contact-section {

    animation: none !important;

    opacity: 1 !important;

    filter: none !important;

    transform: none !important;
  }

  .trio-image img,
  .materials-image img,
  .contact-center a,
  .back-to-top {
    transition: none !important;
  }
}