:root {
  --cream: #f7f1eb;
  --cream2: #eee4da;
  --brown: #342825;
  --brown2: #675955;
  --gold: #c9a982;
  --rose: #cda9a1;
  --white: #fffaf6;

  --serif: "Cormorant Garamond", serif;
  --sans: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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


/* ================================
   LOADER
================================ */

#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;

  background: var(--brown);
  color: var(--cream);

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

  transition: opacity .8s ease,
              visibility .8s ease;
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--serif);
  font-size: 75px;
  letter-spacing: 5px;
}

#loader p {
  font-size: 9px;
  letter-spacing: 4px;
}


/* ================================
   NAVBAR
================================ */

#navbar {
  position: fixed;
  z-index: 1000;

  top: 0;
  left: 0;
  width: 100%;

  padding: 22px 6vw;

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

  color: white;

  transition: .4s ease;
}

#navbar.scrolled {
  color: var(--brown);
  background: rgba(247,241,235,.92);
  backdrop-filter: blur(18px);

  padding-top: 15px;
  padding-bottom: 15px;

  box-shadow: 0 5px 30px rgba(0,0,0,.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-main {
  font-family: var(--serif);
  font-size: 30px;
}

.brand-name {
  font-size: 8px;
  letter-spacing: 2px;
  max-width: 80px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

nav a:hover {
  opacity: .6;
}

.nav-button {
  border: 1px solid currentColor;

  padding: 12px 20px;

  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;

  transition: .3s;
}

.nav-button:hover {
  background: var(--brown);
  color: var(--cream);
}


/* MENU BUTTON */

#menuButton {
  display: none;

  border: 0;
  background: transparent;

  width: 35px;
  cursor: pointer;
}

#menuButton span {
  display: block;

  height: 1px;
  background: currentColor;

  margin: 7px 0;

  transition: .3s;
}


/* MOBILE MENU */

#mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 900;

  background: var(--brown);
  color: var(--cream);

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

  gap: 25px;

  transform: translateY(-100%);

  transition: transform .6s cubic-bezier(.77,0,.18,1);
}

#mobileMenu.active {
  transform: translateY(0);
}

#mobileMenu a {
  font-family: var(--serif);
  font-size: 42px;
}


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

.hero {
  min-height: 100vh;

  position: relative;

  display: flex;
  align-items: center;

  color: white;

  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;

  background-image:
    url("https://images.unsplash.com/photo-1487412912498-0447578fcca8?auto=format&fit=crop&w=2000&q=90");

  background-size: cover;
  background-position: center;

  transform: scale(1.04);

  animation: heroZoom 12s ease forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(30,22,19,.76),
      rgba(30,22,19,.35),
      rgba(30,22,19,.05)
    );
}

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

  max-width: 850px;

  padding: 150px 8vw 100px;
}

.eyebrow {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;

  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);

  font-size: clamp(55px, 7vw, 105px);

  font-weight: 500;

  line-height: .88;
}

.hero h1 em {
  display: block;

  font-style: italic;
  font-weight: 400;

  color: #ead8c8;
}

.hero-text {
  max-width: 520px;

  margin: 35px 0;

  font-size: 14px;
  line-height: 1.8;

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

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* BUTTONS */

.button {
  min-height: 52px;

  padding: 0 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 15px;

  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  transition: .3s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-light {
  background: white;
  color: var(--brown);
}

.button-outline {
  color: white;

  border: 1px solid rgba(255,255,255,.6);
}

.button-outline:hover {
  background: white;
  color: var(--brown);
}

.button-glass {
  border: 1px solid rgba(255,255,255,.5);
  color: white;
}

.button-glass:hover {
  background: white;
  color: var(--brown);
}


/* SCROLL */

.scroll-indicator {
  position: absolute;

  bottom: 35px;
  left: 8vw;

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

  font-size: 7px;
  letter-spacing: 3px;
}

.scroll-indicator div {
  width: 70px;
  height: 1px;

  background: rgba(255,255,255,.5);
}


/* ================================
   SECTIONS
================================ */

.section {
  padding: 130px 8vw;
}


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

.about {
  display: grid;

  grid-template-columns: .9fr 1fr;

  gap: 10vw;

  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  height: 650px;
}

.floating-card {
  position: absolute;

  bottom: 25px;
  right: -30px;

  padding: 18px 25px;

  background: rgba(255,250,246,.94);

  backdrop-filter: blur(10px);

  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;

  box-shadow: 0 15px 40px rgba(50,30,20,.12);
}

.about-content {
  max-width: 550px;
}

.about h2,
.section-title h2,
.experience h2,
.why h2,
.reviews h2 {
  font-family: var(--serif);

  font-size: clamp(50px,5vw,78px);

  font-weight: 500;

  line-height: .95;
}

.about h2 {
  margin-bottom: 35px;
}

h2 em {
  font-style: italic;
  font-weight: 400;
}

.about-content p {
  font-size: 13px;

  line-height: 1.9;

  color: var(--brown2);

  margin-bottom: 20px;
}

.about-content .big-text {
  font-family: var(--serif);

  font-size: 28px;

  line-height: 1.25;

  color: var(--brown);
}

.text-link {
  display: inline-block;

  margin-top: 15px;

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 2px;

  border-bottom: 1px solid var(--brown);

  padding-bottom: 8px;
}


/* ================================
   MARQUEE
================================ */

.marquee {
  overflow: hidden;

  background: var(--brown);

  color: var(--cream);

  padding: 23px 0;
}

.marquee-track {
  width: max-content;

  display: flex;

  align-items: center;

  gap: 30px;

  animation: marquee 25s linear infinite;
}

.marquee span {
  font-family: var(--serif);

  font-size: 25px;

  font-style: italic;
}

.marquee b {
  color: var(--gold);
}

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


/* ================================
   SECTION TITLES
================================ */

.section-title {
  display: flex;

  align-items: end;
  justify-content: space-between;

  gap: 50px;

  margin-bottom: 70px;
}

.section-title > p {
  max-width: 310px;

  font-size: 13px;

  line-height: 1.8;

  color: var(--brown2);
}

.section-title.centered {
  display: block;

  text-align: center;
}


/* ================================
   SERVICES
================================ */

.services {
  background: var(--cream2);
}

.services-grid {
  display: grid;

  grid-template-columns: repeat(4,1fr);

  border-top: 1px solid rgba(52,40,37,.15);

  border-left: 1px solid rgba(52,40,37,.15);
}

.service {
  min-height: 315px;

  padding: 30px;

  position: relative;

  border-right: 1px solid rgba(52,40,37,.15);

  border-bottom: 1px solid rgba(52,40,37,.15);

  transition: .4s;
}

.service:hover {
  background: var(--cream);

  transform: translateY(-6px);
}

.service-number {
  font-size: 9px;

  letter-spacing: 2px;
}

.service-symbol {
  font-family: var(--serif);

  font-size: 30px;

  margin: 45px 0 18px;
}

.service h3 {
  font-family: var(--serif);

  font-size: 29px;

  font-weight: 500;

  margin-bottom: 12px;
}

.service p {
  font-size: 12px;

  line-height: 1.7;

  color: var(--brown2);
}

.service a {
  position: absolute;

  left: 30px;
  bottom: 25px;

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 1.5px;
}


/* ================================
   EXPERIENCE
================================ */

.experience {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 9vw;

  align-items: center;
}

.experience-image img {
  height: 680px;
}

.experience h2 {
  margin-bottom: 45px;
}

.step {
  display: grid;

  grid-template-columns: 45px 1fr;

  gap: 20px;

  padding: 25px 0;

  border-top: 1px solid rgba(52,40,37,.15);
}

.step > span {
  font-size: 9px;

  letter-spacing: 2px;
}

.step h3 {
  font-family: var(--serif);

  font-size: 26px;

  font-weight: 500;

  margin-bottom: 7px;
}

.step p {
  font-size: 12px;

  line-height: 1.7;

  color: var(--brown2);
}


/* ================================
   PORTFOLIO
================================ */

.portfolio {
  background: #f0e8e0;
}

.instagram-button {
  font-size: 9px;

  letter-spacing: 2px;

  text-transform: uppercase;

  border-bottom: 1px solid var(--brown);

  padding-bottom: 8px;
}

.gallery {
  display: grid;

  grid-template-columns: repeat(4,1fr);

  grid-auto-rows: 300px;

  gap: 15px;
}

.gallery-item {
  position: relative;

  overflow: hidden;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  transition: transform .8s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-overlay {
  position: absolute;

  inset: 0;

  padding: 25px;

  display: flex;

  flex-direction: column;

  justify-content: end;

  color: white;

  background:
    linear-gradient(
      transparent,
      rgba(30,20,17,.75)
    );

  opacity: 0;

  transition: .4s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay small {
  font-size: 8px;

  letter-spacing: 3px;
}

.gallery-overlay strong {
  font-family: var(--serif);

  font-size: 25px;

  font-weight: 500;
}


/* ================================
   WHY
================================ */

.why {
  background: var(--brown);

  color: var(--cream);
}

.why .eyebrow {
  color: var(--gold);
}

.features {
  display: grid;

  grid-template-columns: repeat(4,1fr);

  border-top: 1px solid rgba(255,255,255,.2);
}

.feature {
  padding: 45px 30px;

  border-right: 1px solid rgba(255,255,255,.2);
}

.feature:first-child {
  border-left: 1px solid rgba(255,255,255,.2);
}

.feature > span {
  font-size: 9px;

  color: var(--gold);

  letter-spacing: 2px;
}

.feature h3 {
  font-family: var(--serif);

  font-size: 27px;

  font-weight: 500;

  margin: 65px 0 15px;
}

.feature p {
  font-size: 12px;

  line-height: 1.8;

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


/* ================================
   REVIEWS
================================ */

.review-box {
  max-width: 900px;

  margin: auto;

  display: grid;

  grid-template-columns: 50px 1fr 50px;

  gap: 30px;

  align-items: center;
}

.review-box button {
  width: 45px;
  height: 45px;

  border: 1px solid rgba(52,40,37,.15);

  background: transparent;

  cursor: pointer;

  transition: .3s;
}

.review-box button:hover {
  background: var(--brown);

  color: white;
}

.review-content {
  text-align: center;

  padding: 40px;
}

.stars {
  color: var(--gold);

  letter-spacing: 6px;

  margin-bottom: 25px;
}

#reviewText {
  font-family: var(--serif);

  font-size: clamp(25px,3vw,40px);

  line-height: 1.2;

  font-style: italic;

  margin-bottom: 30px;

  transition: opacity .25s;
}

#reviewName {
  font-size: 9px;

  letter-spacing: 3px;

  transition: opacity .25s;
}


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

.contact {
  min-height: 650px;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  color: white;

  overflow: hidden;
}

.contact-background {
  position: absolute;

  inset: 0;

  background:
    url("https://images.unsplash.com/photo-1596462502278-27bfdc403348?auto=format&fit=crop&w=2000&q=90")
    center / cover;
}

.contact-overlay {
  position: absolute;

  inset: 0;

  background: rgba(35,25,22,.65);
}

.contact-content {
  position: relative;

  z-index: 2;

  max-width: 900px;

  padding: 80px 25px;
}

.contact h2 {
  font-family: var(--serif);

  font-size: clamp(55px,7vw,100px);

  font-weight: 500;

  line-height: .9;
}

.contact h2 em {
  display: block;

  color: #ead8c8;
}

.contact-content > p:not(.eyebrow) {
  margin: 30px 0;

  font-size: 14px;

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

.contact-buttons {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;
}


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

footer {
  background: #211a18;

  color: var(--cream);

  padding: 75px 8vw 25px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr repeat(3,1fr);

  gap: 60px;

  padding-bottom: 70px;
}

.footer-logo {
  font-family: var(--serif);

  font-size: 65px;

  color: var(--gold);
}

.footer-brand h3 {
  font-family: var(--serif);

  font-size: 27px;

  font-weight: 500;

  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 250px;

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

  font-size: 12px;

  line-height: 1.7;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;

  flex-direction: column;

  gap: 13px;
}

.footer-grid h4 {
  color: var(--gold);

  font-size: 9px;

  letter-spacing: 2px;

  margin-bottom: 8px;
}

.footer-grid a,
.footer-grid span {
  font-size: 11px;

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

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);

  padding-top: 20px;

  display: flex;

  justify-content: space-between;

  font-size: 9px;

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


/* ================================
   ANIMATIONS
================================ */

.reveal {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ================================
   TABLET
================================ */

@media (max-width: 1000px) {

  nav,
  .nav-button {
    display: none;
  }

  #menuButton {
    display: block;
  }

  .services-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .features {
    grid-template-columns: repeat(2,1fr);
  }

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

}


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

@media (max-width: 700px) {

  .section {
    padding: 85px 6vw;
  }

  .hero-content {
    padding: 140px 7vw 100px;
  }

  .hero h1 {
    font-size: clamp(55px,15vw,85px);
  }

  .hero-text {
    font-size: 13px;
  }

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

    gap: 60px;
  }

  .about-image img,
  .experience-image img {
    height: 520px;
  }

  .floating-card {
    right: 10px;

    font-size: 7px;

    padding: 13px;
  }

  .section-title {
    display: block;

    margin-bottom: 45px;
  }

  .section-title > p {
    margin-top: 25px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

    grid-auto-rows: 240px;
  }

  .gallery-item.large {
    grid-row: span 2;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature {
    border-left: 1px solid rgba(255,255,255,.2);

    min-height: 250px;
  }

  .review-box {
    grid-template-columns: 35px 1fr 35px;

    gap: 5px;
  }

  .review-content {
    padding: 20px 5px;
  }

  #reviewText {
    font-size: 28px;
  }

  .contact {
    min-height: 600px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons .button {
    width: 100%;
  }

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

    gap: 45px 25px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 10px;
  }

}


/* SMALL PHONES */

@media (max-width: 450px) {

  .brand-name {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item {
    height: 400px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

}