:root {
  --ink: #17201c;
  --muted: #6f776f;
  --paper: #f6f3ea;
  --shell: #fffaf0;
  --sea: #0f7f88;
  --leaf: #54745a;
  --coral: #d76d4b;
  --night: #101614;
  --line: rgba(23, 32, 28, 0.16);
  --shadow: 0 22px 70px rgba(14, 31, 27, 0.18);
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 22px;
  background: var(--night);
  color: var(--shell);
  transition: transform 900ms cubic-bezier(0.76, 0, 0.24, 1), opacity 900ms ease;
}

.preloader__mark {
  font-family: var(--display);
  font-size: clamp(2rem, 7vw, 6rem);
}

.preloader__logo {
  width: min(460px, 72vw);
  height: auto;
  padding: clamp(10px, 2vw, 18px);
  background: var(--shell);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.preloader__line {
  width: min(340px, 62vw);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.18);
}

.preloader__line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--shell);
  animation: loadLine 1200ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

body.is-ready .preloader {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--shell);
  transition: background 350ms ease, color 350ms ease, padding 350ms ease, border-color 350ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 14px;
  color: var(--ink);
  background: rgba(246, 243, 234, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(118px, 12vw, 166px);
  min-width: 118px;
  padding: 5px 7px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.16);
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  border: 1px solid currentColor;
  padding: 11px 18px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 250ms ease, color 250ms ease;
}

.header-cta:hover {
  background: currentColor;
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 250ms ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(42deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-42deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 130px clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
  color: var(--shell);
}

.hero__media,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media {
  transform: scale(1.05);
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(10, 18, 16, 0.72), rgba(10, 18, 16, 0.18) 55%, rgba(10, 18, 16, 0.4)),
    linear-gradient(0deg, rgba(10, 18, 16, 0.7), transparent 48%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.95;
}

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(4.4rem, 15vw, 13.5rem);
}

h2 {
  font-size: clamp(3rem, 8vw, 7.5rem);
}

h3 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.hero__kicker {
  max-width: 640px;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 4.2rem);
  line-height: 1;
}

.hero__copy {
  max-width: 560px;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  padding: 14px 22px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 260ms ease, background 260ms ease, color 260ms ease, border-color 260ms ease;
}

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

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

.button--ghost {
  border-color: rgba(255, 250, 240, 0.7);
  color: var(--shell);
}

.button--dark {
  width: 100%;
  background: var(--ink);
  color: var(--shell);
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 48px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 62px;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.28);
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 100%;
  height: 26px;
  background: var(--shell);
  animation: scrollLine 1800ms ease-in-out infinite;
}

.section-pad {
  padding: clamp(78px, 11vw, 150px) clamp(18px, 5vw, 72px);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}

.intro__body {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.intro__image {
  min-height: 560px;
  margin: 0;
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  min-height: 230px;
  padding: clamp(24px, 4vw, 50px);
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 500;
  line-height: 0.9;
}

.stat span {
  display: block;
  max-width: 230px;
  color: var(--muted);
  line-height: 1.55;
}

.spaces {
  background: var(--night);
  color: var(--shell);
}

.spaces__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 56px;
}

.spaces__head h2 {
  max-width: 760px;
}

.spaces__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.space-tab {
  border: 1px solid rgba(255, 250, 240, 0.3);
  padding: 11px 14px;
  background: transparent;
  color: var(--shell);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 240ms ease, color 240ms ease;
}

.space-tab.is-active,
.space-tab:hover {
  background: var(--shell);
  color: var(--ink);
}

.spaces__stage {
  position: relative;
  min-height: 620px;
}

.space-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.space-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.space-panel img {
  min-height: 620px;
}

.space-panel p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.75;
}

.beliefs {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) 1fr;
  gap: clamp(36px, 7vw, 98px);
  align-items: center;
}

.beliefs__media {
  height: min(760px, 88vh);
  overflow: hidden;
}

.belief-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
}

.belief {
  min-height: 230px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--paper);
}

.belief span {
  display: block;
  margin-bottom: 46px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
}

.belief h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.belief p {
  color: var(--muted);
  line-height: 1.65;
}

.gallery {
  background: var(--shell);
}

.gallery h2 {
  max-width: 860px;
  margin-bottom: 48px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 270px;
  gap: 14px;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  background: var(--night);
}

.gallery__item img {
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item.tall {
  grid-row: span 2;
}

.gallery__item.wide {
  grid-column: span 2;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1fr;
  gap: clamp(34px, 8vw, 120px);
  align-items: start;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 26px 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  color: var(--coral);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
}

.faq-item p {
  max-width: 660px;
  margin: -6px 0 28px 54px;
  color: var(--muted);
  line-height: 1.75;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.72fr);
  min-height: 100svh;
  background: var(--night);
  color: var(--shell);
}

.contact__media {
  min-height: 720px;
}

.contact__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 74px);
  background: #17201c;
}

.contact__panel h2 {
  margin-bottom: 34px;
  font-size: clamp(2.6rem, 5vw, 5.8rem);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 0;
  padding: 15px 14px;
  background: rgba(255, 250, 240, 0.06);
  color: var(--shell);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 250, 240, 0.42);
}

.contact__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-top: 28px;
  color: rgba(255, 250, 240, 0.72);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--night);
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 850ms cubic-bezier(0.22, 1, 0.36, 1), transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.stagger-1 {
  transition-delay: 120ms;
}

.stagger-2 {
  transition-delay: 220ms;
}

.stagger-3 {
  transition-delay: 320ms;
}

.stagger-4 {
  transition-delay: 420ms;
}

@keyframes loadLine {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes scrollLine {
  from {
    transform: translateY(-28px);
  }
  to {
    transform: translateY(68px);
  }
}

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

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-open .nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: grid;
    width: 100%;
    justify-items: start;
    gap: 0;
    padding: 16px 18px 22px;
    background: rgba(246, 243, 234, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .nav a {
    width: 100%;
    padding: 14px 0;
  }

  .intro__grid,
  .spaces__head,
  .space-panel,
  .beliefs,
  .faq__grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro__image,
  .space-panel img,
  .contact__media {
    min-height: 460px;
  }

  .spaces__stage {
    min-height: 820px;
  }

  .spaces__controls {
    justify-content: flex-start;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 36px;
  }

  .hero__actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .stats,
  .belief-list,
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .spaces__stage {
    min-height: 760px;
  }

  .intro__image,
  .space-panel img,
  .beliefs__media,
  .contact__media {
    min-height: 380px;
  }

  .gallery__item.wide {
    grid-column: auto;
  }

  .gallery__item.tall {
    grid-row: auto;
  }

  .faq-item p {
    margin-left: 0;
  }

  .footer {
    display: grid;
  }
}

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

  .preloader {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
