:root {
  --ink: #1c241d;
  --forest: #2f3930;
  --forest-dark: #182019;
  --moss: #6a7664;
  --sand: #d8c5aa;
  --clay: #a56e4d;
  --cream: #f2ece2;
  --paper: #fbf8f2;
  --white: #ffffff;
  --line: rgba(28, 36, 29, 0.16);
  --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,
blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
}

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

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

h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

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--glass {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

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

.button--cream {
  color: var(--ink);
  background: var(--cream);
}

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

.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.52), rgba(14, 19, 15, 0.84)),
    url("assets/images/hero-grand-turia.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.2vw, 7.5rem);
}

.sound-gate__description {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.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;
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .brand-lockup img {
  filter: brightness(0);
}

.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: 1260px;
  margin: 1rem 0 1.7rem;
}

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

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

.hero__buttons,
.closing__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;
}

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

.intro {
  background: var(--paper);
}

.intro__content {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.intro h2 {
  margin: 1.3rem auto 2rem;
}

.lead {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(28, 36, 29, 0.7);
  font-size: clamp(1.05rem, 1.75vw, 1.45rem);
}

/* =========================
   SPLIT FEATURE
========================= */

.split-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 840px;
  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(28, 36, 29, 0.72);
  font-size: 1.03rem;
}

/* =========================
   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: 1500px;
  margin: 0 auto 4rem;
}

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

.section-heading > p {
  max-width: 520px;
  color: rgba(242, 236, 226, 0.7);
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1500px;
  margin: 0 auto;
}

.space-card {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 4px;
}

.space-card > img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.space-card:hover > img {
  transform: scale(1.05);
}

.space-card__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(13, 18, 14, 0.92) 0%,
      rgba(13, 18, 14, 0.12) 70%
    );
}

.space-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 7rem 2rem 2.2rem;
}

.space-card__label {
  margin-bottom: 0.6rem;
  color: var(--sand);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.space-card h3 {
  margin-bottom: 0.85rem;
}

.space-card__content > p:last-child {
  color: rgba(242, 236, 226, 0.74);
  font-size: 0.9rem;
}

/* =========================
   HAMMAM
========================= */

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

.hammam__image,
.hammam__overlay {
  position: absolute;
  inset: 0;
}

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

.hammam__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(15, 21, 17, 0.94) 0%,
      rgba(15, 21, 17, 0.58) 58%,
      rgba(15, 21, 17, 0.18) 100%
    );
}

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

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

.hammam__content > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
}

.audio-card {
  margin-top: 2.6rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(15, 21, 17, 0.5);
  backdrop-filter: blur(18px);
}

.audio-card__heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.audio-card__heading span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

.audio-card audio {
  width: 100%;
  margin-bottom: 1rem;
}

/* =========================
   ZEN + WOODLOCK
========================= */

.zen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: center;
  background: var(--cream);
}

.zen__visual {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

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

.time-ring {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  animation: ringSpin 42s linear infinite;
}

.time-ring span {
  position: absolute;
  padding: 0.35rem 0.62rem;
  color: var(--white);
  background: rgba(15, 21, 17, 0.36);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  backdrop-filter: blur(7px);
}

.time-ring span:nth-child(1) {
  top: 2%;
  left: 40%;
}

.time-ring span:nth-child(2) {
  top: 24%;
  right: -4%;
}

.time-ring span:nth-child(3) {
  bottom: 22%;
  right: -3%;
}

.time-ring span:nth-child(4) {
  bottom: 2%;
  left: 34%;
}

.time-ring span:nth-child(5) {
  top: 47%;
  left: -4%;
}

@keyframes ringSpin {
  to {
    transform: rotate(360deg);
  }
}

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

.zen__content > p:not(.eyebrow) {
  max-width: 670px;
  margin-bottom: 1.1rem;
  color: rgba(28, 36, 29, 0.72);
}

.alliance-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.4rem;
  align-items: center;
  margin-top: 2.4rem;
  padding: 1.4rem;
  border: 1px solid rgba(28, 36, 29, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.44);
}

.alliance-card__logo {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 1rem;
  background: var(--ink);
}

.alliance-card__logo img {
  max-width: 125px;
}

.alliance-card__text > span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--clay);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.alliance-card__text h3 {
  margin-bottom: 0.65rem;
  font-size: 2.25rem;
}

.alliance-card__text p {
  color: rgba(28, 36, 29, 0.72);
  font-size: 0.88rem;
}

.alliance-card__text a {
  display: inline-block;
  margin-top: 0.8rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 600;
}

.data-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.data-row div {
  display: grid;
  gap: 0.25rem;
}

.data-row strong {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
}

.data-row span {
  font-size: 0.7rem;
  line-height: 1.4;
}

/* =========================
   MANIFESTO
========================= */

.manifesto {
  position: relative;
  min-height: 850px;
  display: grid;
  place-items: center;
  padding: 7vw;
  color: var(--white);
  overflow: hidden;
}

.manifesto__image,
.manifesto__overlay {
  position: absolute;
  inset: 0;
}

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

.manifesto__overlay {
  background: rgba(13, 18, 14, 0.58);
}

.manifesto__content {
  position: relative;
  z-index: 2;
  max-width: 1150px;
  text-align: center;
}

.manifesto blockquote {
  font-size: clamp(3rem, 6vw, 7rem);
}

.manifesto__content > p {
  margin-top: 2rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

/* =========================
   CLOSING
========================= */

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

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

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

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

.closing__buttons {
  justify-content: center;
}

/* =========================
   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;
  filter: brightness(0) invert(1);
}

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

.site-footer__contact {
  display: grid;
  gap: 0.25rem;
  justify-items: end;
  font-size: 0.88rem;
}

.site-footer__legal {
  grid-column: 1 / -1;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  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,
  .zen {
    grid-template-columns: 1fr;
  }

  .split-feature__image,
  .zen__visual {
    min-height: 640px;
  }

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

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

  .space-card {
    min-height: 590px;
  }

  .hammam__content {
    margin-right: auto;
    margin-left: auto;
  }
}

@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%
      );
  }

  .scroll-indicator {
    display: none;
  }

  .hero__content h1 em {
    display: inline;
  }

  .split-feature__image,
  .zen__visual {
    min-height: 520px;
  }

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

  .section-number {
    margin-bottom: 1.5rem;
  }

  .spaces {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .space-card {
    min-height: 520px;
  }

  .hammam {
    min-height: 1080px;
    align-items: end;
  }

  .hammam__overlay {
    background:
      linear-gradient(
        0deg,
        rgba(15, 21, 17, 0.97) 0%,
        rgba(15, 21, 17, 0.38) 82%
      );
  }

  .hammam__content {
    width: 100%;
    padding: 7rem 1.2rem 4rem;
  }

  .alliance-card {
    grid-template-columns: 1fr;
  }

  .alliance-card__logo {
    min-height: 100px;
  }

  .data-row {
    grid-template-columns: 1fr;
  }

  .manifesto {
    min-height: 650px;
    padding: 2rem;
  }

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

  .site-footer__contact {
    justify-items: start;
  }

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

  .sound-gate__actions .button,
  .hero__buttons .button,
  .closing__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;
  }
}
