:root {
  --ink: #1b241d;
  --forest: #2f3b31;
  --forest-dark: #172019;
  --moss: #6b7865;
  --sand: #d7c5a9;
  --clay: #a76e4b;
  --cream: #f3ede3;
  --paper: #fbf8f2;
  --white: #ffffff;
  --line: rgba(27, 36, 29, 0.15);
  --shadow: 0 28px 80px rgba(17, 24, 18, 0.2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
}

body.sound-gate-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.5rem, 7.6vw, 8rem);
  letter-spacing: -0.042em;
}

h2 {
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(2.2rem, 3.4vw, 3.8rem);
}

p {
  margin: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

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

.button--clay {
  color: var(--paper);
  background: var(--clay);
}

.button--transparent {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.section {
  padding: 8rem 5vw;
}

/* SOUND GATE */

.sound-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--white);
  background:
    linear-gradient(rgba(14, 19, 15, 0.5), rgba(14, 19, 15, 0.84)),
    url("assets/images/hero-gran-cactus.png") center / cover no-repeat;
  transition:
    opacity 520ms ease,
    visibility 520ms ease;
}

.sound-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sound-gate__content {
  width: min(820px, 100%);
  text-align: center;
}

.sound-gate__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.sound-gate__logos img {
  width: auto;
  max-width: 135px;
  max-height: 48px;
  object-fit: contain;
}

.sound-gate__logos span {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.38);
}

.sound-gate h1 {
  margin: 1.2rem 0 1.4rem;
  font-size: clamp(3.4rem, 7.1vw, 7.4rem);
}

.sound-gate__description {
  color: rgba(255, 255, 255, 0.78);
}

.sound-gate__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* HEADER */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.15rem 4vw;
  color: var(--white);
  transition:
    padding 240ms ease,
    color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.site-header.is-scrolled {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  color: var(--ink);
  background: rgba(251, 248, 242, 0.93);
  box-shadow: 0 10px 32px rgba(20, 28, 21, 0.08);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
}

.brand-lockup img {
  width: auto;
  max-width: 120px;
  height: 38px;
  object-fit: contain;
}

.brand-lockup__divider {
  width: 1px;
  height: 28px;
  background: currentColor;
  opacity: 0.35;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.78;
  transition: opacity 180ms ease;
}

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

.sound-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.sound-toggle__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 1.8s infinite;
}

.sound-toggle.is-muted .sound-toggle__pulse {
  opacity: 0.35;
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.48);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* HERO */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 11rem 6vw 7rem;
  color: var(--white);
  overflow: hidden;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.025) translateY(0);
  }

  to {
    transform: scale(1.07) translateY(-1%);
  }
}

.hero__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(12, 17, 13, 0.76) 0%,
      rgba(12, 17, 13, 0.34) 60%,
      rgba(12, 17, 13, 0.12) 100%
    ),
    linear-gradient(
      0deg,
      rgba(12, 17, 13, 0.5) 0%,
      transparent 58%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
}

.hero__content h1 {
  max-width: 1220px;
  margin: 1rem 0 1.7rem;
}

.hero__content h1 em {
  display: block;
  color: var(--sand);
  font-style: normal;
}

.hero__intro {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1.02rem, 1.55vw, 1.3rem);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.scroll-indicator {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.scroll-indicator i {
  width: 48px;
  height: 1px;
  background: currentColor;
}

/* PROJECT INFO */

.project-info {
  background: var(--paper);
}

.project-info__grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.5fr;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.project-info__grid div {
  display: grid;
  gap: 0.4rem;
}

.project-info__grid span {
  color: var(--clay);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.project-info__grid strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.15;
}

/* SPLIT FEATURE */

.split-feature {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 850px;
  background: var(--cream);
}

.split-feature__image {
  min-height: 720px;
}

.split-feature__image img {
  height: 100%;
  object-fit: cover;
}

.split-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vw;
}

.section-number {
  margin-bottom: 2.7rem;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
}

.split-feature__content h2 {
  margin: 1rem 0 2rem;
}

.split-feature__content > p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 1.1rem;
  color: rgba(27, 36, 29, 0.72);
  font-size: 1.03rem;
}

/* PROPOSAL */

.proposal {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7vw;
  align-items: center;
  background: var(--paper);
}

.proposal__content h2 {
  margin: 1rem 0 2rem;
}

.lead {
  max-width: 680px;
  color: rgba(27, 36, 29, 0.76);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
}

.proposal__body {
  max-width: 680px;
  margin-top: 1.3rem;
  color: rgba(27, 36, 29, 0.68);
}

.proposal__image {
  min-height: 720px;
}

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

/* SPACES */

.spaces {
  color: var(--cream);
  background: var(--forest);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: end;
  max-width: 1450px;
  margin: 0 auto 5rem;
}

.section-heading h2 {
  max-width: 880px;
  margin-top: 1rem;
}

.section-heading > p {
  max-width: 520px;
  color: rgba(243, 237, 227, 0.7);
}

.space-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  max-width: 1450px;
  min-height: 680px;
  margin: 0 auto 1.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
}

.space-feature--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.space-feature--reverse .space-feature__image {
  order: 2;
}

.space-feature--reverse .space-feature__content {
  order: 1;
}

.space-feature__image {
  min-height: 620px;
}

.space-feature__image img {
  height: 100%;
  object-fit: cover;
}

.space-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.8rem;
}

.space-feature__number {
  margin-bottom: 2rem;
  color: var(--sand);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}

.space-feature__content h3 {
  margin: 0.9rem 0 1.6rem;
}

.space-feature__content > p:not(.eyebrow) {
  margin-bottom: 1rem;
  color: rgba(243, 237, 227, 0.74);
}

/* RESULT */

.result {
  position: relative;
  min-height: 900px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.result__image,
.result__overlay {
  position: absolute;
  inset: 0;
}

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

.result__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(13, 18, 14, 0.9) 0%,
      rgba(13, 18, 14, 0.52) 58%,
      rgba(13, 18, 14, 0.18) 100%
    );
}

.result__content {
  position: relative;
  z-index: 2;
  width: min(900px, 88vw);
  margin-left: 7vw;
  padding: 7rem 0;
}

.result h2 {
  margin: 1rem 0 2rem;
}

.result__content > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

/* CLOSING */

.closing {
  text-align: center;
  background: var(--paper);
}

.closing__content {
  max-width: 900px;
  margin: 0 auto;
}

.closing h2 {
  margin: 1rem 0 1.5rem;
}

.closing__content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(27, 36, 29, 0.7);
}

/* FOOTER */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  padding: 3rem 5vw;
  color: var(--cream);
  background: var(--ink);
}

.site-footer__brands {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.site-footer__brands img {
  width: auto;
  max-width: 120px;
  height: 38px;
  object-fit: contain;
}

.site-footer__brands span {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.32);
}

.site-footer__legal {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms ease,
    transform 760ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .split-feature,
  .proposal,
  .space-feature,
  .space-feature--reverse {
    grid-template-columns: 1fr;
  }

  .space-feature--reverse .space-feature__image,
  .space-feature--reverse .space-feature__content {
    order: initial;
  }

  .split-feature__image,
  .proposal__image,
  .space-feature__image {
    min-height: 620px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 6rem 1.2rem;
  }

  .site-header {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .brand-lockup img {
    max-width: 86px;
    height: 30px;
  }

  .sound-toggle span:last-child {
    display: none;
  }

  .hero {
    padding: 9rem 1.2rem 4rem;
  }

  .hero__overlay {
    background:
      linear-gradient(
        0deg,
        rgba(12, 17, 13, 0.82) 0%,
        rgba(12, 17, 13, 0.28) 85%
      );
  }

  .hero__content h1 em {
    display: inline;
  }

  .scroll-indicator {
    display: none;
  }

  .project-info__grid {
    grid-template-columns: 1fr;
  }

  .split-feature__image,
  .proposal__image,
  .space-feature__image {
    min-height: 500px;
  }

  .split-feature__content {
    padding: 5rem 1.2rem;
  }

  .proposal {
    gap: 3rem;
  }

  .space-feature__content {
    padding: 3rem 1.3rem;
  }

  .result {
    min-height: 960px;
    align-items: end;
  }

  .result__overlay {
    background:
      linear-gradient(
        0deg,
        rgba(13, 18, 14, 0.97) 0%,
        rgba(13, 18, 14, 0.35) 82%
      );
  }

  .result__content {
    width: 100%;
    margin: 0;
    padding: 7rem 1.2rem 4rem;
  }

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

  .sound-gate__actions,
  .hero__buttons {
    flex-direction: column;
  }

  .sound-gate__actions .button,
  .hero__buttons .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
