:root {
  --cream: #EFE9DF;
  --cream-soft: #F4EFE6;
  --cream-deep: #E5DCCB;
  --stone: #2A2620;
  --stone-mid: #6B6358;
  --stone-light: #9C9486;
  --terracotta: #B8956A;
  --hairline: rgba(42, 38, 32, 0.14);
  --hairline-strong: rgba(42, 38, 32, 0.28);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Avenir Next', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  background: var(--cream);
  color: var(--stone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

a { color: inherit; }

:focus-visible {
  outline: 1px solid var(--stone);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1200;
  transform: translateY(-180%);
  background: var(--stone);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 1px;
  z-index: 1100;
  pointer-events: none;
}
.progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--hairline);
}

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: #0a0805;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10, 8, 5, 0.55) 0%,
      rgba(10, 8, 5, 0.18) 18%,
      rgba(10, 8, 5, 0.05) 45%,
      rgba(10, 8, 5, 0.35) 78%,
      rgba(10, 8, 5, 0.85) 100%);
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(10, 8, 5, 0.45) 100%);
  pointer-events: none;
}

.hero-frame {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem clamp(1.5rem, 4vw, 4rem);
  color: #F4EFE6;
  text-shadow: 0 1px 30px rgba(10, 8, 5, 0.28);
  z-index: 10;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(10, 8, 5, 0.55);
  opacity: 0;
  animation: fadeUp 1.8s var(--ease) 0.2s forwards;
}

.hero-mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
  max-width: 1100px;
  opacity: 0;
  animation: fadeUp 2s var(--ease) 0.5s forwards;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  opacity: 0.82;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 1.8s var(--ease) 0.9s forwards;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 380px;
  line-height: 1.5;
  opacity: 0.92;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(244, 239, 230, 0.7), transparent);
  transform-origin: top;
  animation: pulseLine 3.2s ease-in-out infinite;
}

@keyframes pulseLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.35; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* === SECTIONS === */
section {
  padding: clamp(5rem, 12vh, 10rem) clamp(1.5rem, 4vw, 4rem);
  position: relative;
}

.label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--stone-mid);
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--stone);
}
.section-title--spaced { margin-top: 1.5rem; }

.section-title em {
  font-style: italic;
  color: var(--stone-mid);
}

.body-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--stone);
}
.body-text--spaced { margin-top: 1.5rem; }

.body-text em {
  font-style: italic;
  color: var(--stone-mid);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* === MANIFESTO === */
.manifesto {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.manifesto .label { display: inline-block; margin-bottom: 3rem; }

.manifesto-body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--stone);
}

.manifesto-body em {
  font-style: italic;
  color: var(--stone-mid);
}

/* === THE PLACE === */
.place-img-wrap {
  width: calc(100% + clamp(3rem, 8vw, 8rem));
  margin-left: calc(clamp(-1.5rem, -4vw, -4rem));
  margin-bottom: 5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.place-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.place-meta .label { display: block; margin-bottom: 1.75rem; }
.place-meta h2 { margin-bottom: 2.2rem; }

.place-coords {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone-mid);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-deep);
  border: 1px solid var(--hairline);
}

.map-svg { width: 100%; height: 100%; }

.map-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--stone-mid);
}
.map-label--place {
  fill: var(--stone);
  font-size: 12px;
}
.map-coord {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  fill: var(--stone-mid);
}
.map-compass {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  fill: var(--stone-light);
}

/* === PILLARS === */
.pillars { padding-top: 0; }

.pillars-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}
.pillars-intro .label { display: block; margin-bottom: 1.5rem; }
.pillars-intro h2 { margin-top: 0; }

.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5.5rem 0;
  border-top: 1px solid var(--hairline);
}

.pillar:last-child {
  border-bottom: 1px solid var(--hairline);
}

.pillar:nth-child(odd of .pillar) .pillar-img { order: 2; }
.pillar:nth-child(odd of .pillar) .pillar-meta { order: 1; }

.pillar-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease);
}
.pillar:hover .pillar-img img { transform: scale(1.05); }

.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.pillar-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin-bottom: 1.75rem;
  color: var(--stone);
}

.pillar-title em {
  font-style: italic;
  color: var(--stone-mid);
  display: block;
  font-size: 0.85em;
  margin-top: 0.2em;
}

.pillar-body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--stone-mid);
  max-width: 460px;
}

/* === EXPERIENCE GRID === */
.experience-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}
.experience-intro .label { display: block; margin-bottom: 1.5rem; }

.experience-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem 1.75rem;
  max-width: 1400px;
  margin: 0 auto;
}

.exp-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.exp-img {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.exp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease);
}
.exp-item:hover .exp-img img { transform: scale(1.06); }

.exp-caption {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.exp-caption .label { font-size: 0.65rem; }

.exp-caption em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--stone);
  line-height: 1.45;
}

.exp-suite { grid-column: 1 / 7; }
.exp-suite .exp-img { aspect-ratio: 4 / 5; }

.exp-pool { grid-column: 7 / 13; margin-top: 5rem; }
.exp-pool .exp-img { aspect-ratio: 4 / 5; }

.exp-yoga { grid-column: 1 / 8; }
.exp-yoga .exp-img { aspect-ratio: 16 / 10; }

.exp-dining { grid-column: 8 / 13; }
.exp-dining .exp-img { aspect-ratio: 4 / 5; }

/* === OPPORTUNITY === */
.opportunity {
  background: var(--cream-soft);
}

.opp-frame {
  max-width: 1280px;
  margin: 0 auto;
}

.opp-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 5.5rem;
  align-items: end;
}

.opp-head .label { display: block; margin-bottom: 1.5rem; }
.opp-head h2 { margin-top: 0; }

.opp-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--hairline-strong);
}

.opp-num-item .label { display: block; margin-bottom: 1.25rem; }

.opp-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--stone);
}
.opp-num small {
  font-size: 0.4em;
  color: var(--stone-mid);
  display: block;
  margin-top: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
}

.opp-note {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-mid);
  max-width: 720px;
}

/* === CLOSING === */
.closing {
  text-align: center;
  padding: clamp(8rem, 18vh, 14rem) clamp(1.5rem, 4vw, 4rem);
  position: relative;
}

.closing-mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: 0.22em;
  color: var(--stone);
  margin-bottom: 2.5rem;
  margin-right: -0.22em;
}

.closing-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--stone-mid);
  margin: 0 auto 4rem;
  max-width: 540px;
  line-height: 1.5;
}

.closing-contact {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone-mid);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}

.closing-contact a {
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 3px;
  transition: border-color 0.5s ease;
  font-family: var(--sans);
}
.closing-contact a:hover { border-color: var(--stone); }

footer {
  padding: 2rem clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone-mid);
}

/* === MOBILE === */
@media (max-width: 820px) {
  .place-grid,
  .pillar,
  .opp-head {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pillar:nth-child(odd of .pillar) .pillar-img { order: 1; }
  .pillar:nth-child(odd of .pillar) .pillar-meta { order: 2; }
  .opp-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .experience-grid {
    gap: 2.5rem 1rem;
  }
  .exp-suite, .exp-pool, .exp-yoga, .exp-dining {
    grid-column: 1 / 13;
    margin-top: 0;
  }
  .hero-bottom {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }
  .hero-scroll { align-items: flex-start; }
  .hero-frame { padding: 1.5rem; }
  .place-img-wrap {
    width: 100%;
    margin-left: 0;
  }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-top, .hero-headline, .hero-bottom { opacity: 1; }
  .hero-scroll-line { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .pillar:hover .pillar-img img,
  .exp-item:hover .exp-img img { transform: none; }
}

/* === PRINT === */
@media print {
  :root { --cream: #fff; --cream-soft: #fff; }
  body { background: #fff; font-size: 11pt; }
  body::before,
  .progress, .skip-link, .hero-scroll { display: none; }

  .hero {
    height: auto;
    min-height: 0;
    background: #fff;
    page-break-after: avoid;
  }
  .hero-media, .hero-grade, .hero-vignette { display: none; }
  .hero-frame {
    position: static;
    color: var(--stone);
    padding: 0 0 1.5rem;
    gap: 1.25rem;
    min-height: 60vh;
    justify-content: flex-start;
  }
  .hero-mark, .hero-headline, .hero-tagline { color: var(--stone); }
  .hero-headline { margin-top: 2rem; }

  .reveal { opacity: 1 !important; transform: none !important; }
  section { padding: 1.4cm 0; }
  .pillar, .exp-item, .map-frame, figure, picture, img { page-break-inside: avoid; }
  .opp-numbers { border-color: var(--stone); }
  a { color: var(--stone); }
  .closing-contact a { border-bottom-color: var(--stone); }
}
