:root {
  /* Color System */
  --bg-base: #f7f6f4;
  --bg-fog: #e6e4df;
  --bg-dark: #121212;
  --text-primary: #1a1a1a;
  --text-secondary: #5a5854;
  --text-light: #f7f6f4;
  --text-light-secondary: rgba(247, 246, 244, 0.7);
  --accent-color: #2c4241;
  --border-light: rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing Rhythm */
  --space-xs: 0.5rem;
  --space-sm: 1.5rem;
  --space-md: 3rem;
  --space-lg: 6rem;
  --space-xl: 10rem;
  --space-xxl: 14rem;

  /* Layout */
  --max-width: 1400px;
  --max-width-narrow: 800px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* Typography Classes */
.editorial-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.editorial-headline.large {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.editorial-headline.huge {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1;
}

.meta-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.meta-label.light {
  color: var(--text-light-secondary);
}

.body-atmospheric {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.body-narrative {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: var(--space-md);
}

.light {
  color: var(--text-light);
}

.bg-fog {
  background-color: var(--bg-fog);
}

.bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-light);
  background-color: var(--text-primary);
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
  will-change: transform;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: var(--accent-color);
}

.btn-primary.light {
  background-color: var(--text-light);
  color: var(--text-primary);
}

.btn-primary.light:hover {
  background-color: var(--bg-fog);
  color: var(--text-primary);
}

.btn-primary-outline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.btn-primary-outline:hover {
  background-color: rgba(255, 255, 255, 1);
  color: var(--text-primary);
}

.btn-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: opacity 0.3s ease;
}

.btn-text .arrow {
  margin-left: 0.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-text:hover .arrow {
  transform: translateX(5px);
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Layout Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section-padding {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.padding-top-large {
  padding-top: var(--space-lg);
}

.border-top-subtle {
  border-top: 1px solid var(--border-light);
}

/* SECTION 1: HERO */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.8;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.8) 0%, rgba(18, 18, 18, 0.2) 60%, rgba(18, 18, 18, 0.4) 100%);
  z-index: 2;
}

.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.brand-logotype {
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  color: var(--text-light);
  font-size: 0.875rem;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 var(--space-lg);
  max-width: 1200px;
  margin-top: auto;
  margin-bottom: var(--space-xl);
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-light-secondary);
  margin-bottom: var(--space-sm);
  writing-mode: vertical-rl;
  position: absolute;
  left: var(--space-sm);
  top: 0;
  transform: translateY(-50%);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text-light);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  max-width: 900px;
}

.hero-subheadline {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-light-secondary);
  max-width: 500px;
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .top-nav {
    padding: var(--space-sm);
    flex-wrap: wrap;
  }
  .nav-right {
    gap: var(--space-sm);
  }
  .hero-content {
    padding: 0 var(--space-sm);
  }
  .hero-label {
    display: none;
  }
}

/* SECTION 2: BRAND STATEMENT */
.brand-statement {
  padding: var(--space-xxl) 0;
  text-align: center;
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.statement-subtext {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
}

/* SPLIT LAYOUTS */
.container-split {
  display: flex;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
  gap: var(--space-lg);
}

.container-split.reverse {
  flex-direction: row-reverse;
}

.split-image-container {
  flex: 1;
  overflow: hidden;
}

.split-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vertical-align-center {
  justify-content: center;
}

.vertical-align-bottom {
  justify-content: flex-end;
  padding-bottom: var(--space-xl);
}

.portrait-image {
  aspect-ratio: 4/5;
  max-height: 900px;
}

.pano-image {
  aspect-ratio: 16/9;
  flex: 1.5;
}

.massive-image {
  flex: 1.5;
  aspect-ratio: 4/3;
}

.events-text-offset {
  margin-top: var(--space-xl);
}

@media (max-width: 992px) {
  .container-split, .container-split.reverse {
    flex-direction: column;
    gap: var(--space-md);
  }
  .pano-image, .massive-image, .portrait-image {
    aspect-ratio: auto;
    max-height: 60vh;
  }
  .vertical-align-bottom {
    padding-bottom: 0;
  }
  .events-text-offset {
    margin-top: 0;
  }
}

/* SECTION 6: GALLERY */
.gallery-header {
  margin-bottom: var(--space-lg);
}

.gallery-subheadline {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-fog);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-caption {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
  background-color: rgba(0,0,0,0.4);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Specific item sizing */
.item-anchor {
  grid-column: span 12;
  aspect-ratio: 21/9;
}

.item-tall {
  grid-column: span 4;
  grid-row: span 2;
  aspect-ratio: 3/4;
}

.item-wide {
  grid-column: span 8;
  aspect-ratio: 16/9;
}

.item-square {
  grid-column: span 4;
  aspect-ratio: 1/1;
}

@media (max-width: 992px) {
  .item-tall, .item-wide, .item-square {
    grid-column: span 6;
  }
}

@media (max-width: 576px) {
  .item-anchor, .item-tall, .item-wide, .item-square {
    grid-column: span 12;
  }
}

/* SECTION 8: WAITLIST */
.waitlist-section {
  position: relative;
  padding: var(--space-xxl) 0;
  overflow: hidden;
}

.waitlist-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.waitlist-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2);
}

.waitlist-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.9);
}

.waitlist-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.waitlist-subtext {
  color: var(--text-light-secondary);
  margin-bottom: var(--space-lg);
  font-size: 1.125rem;
}

.waitlist-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 0.5rem;
  transition: border-color 0.3s ease;
}

.waitlist-form:focus-within {
  border-color: var(--text-light);
}

.waitlist-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.5rem 0;
  outline: none;
}

.waitlist-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.waitlist-submit {
  background: transparent;
  color: var(--text-light);
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: opacity 0.3s ease;
}

.waitlist-submit:hover {
  opacity: 0.7;
}

/* SECTION 9: VALUES */
.values-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80vh;
}

.value-statement {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0;
  text-transform: uppercase;
}

/* SECTION 10: FINAL CTA */
.final-cta-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: -2;
}

.final-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: -1;
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.mt-2 {
  margin-top: var(--space-md);
}

/* SECTION 11: FOOTER */
.site-footer {
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
}

.footer-description {
  color: var(--text-light-secondary);
  margin-top: var(--space-sm);
  max-width: 300px;
  font-size: 0.875rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-sm);
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--text-light-secondary);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--text-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

.legal-links a {
  color: inherit;
  margin-left: var(--space-sm);
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--text-light);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* ANIMATIONS */
.animate-on-load {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-load-delay {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.animate-on-load-delay-2 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.animate-on-load-delay-3 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.scroll-reveal-stagger {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Clip-path reveal for images */
.reveal-image {
  clip-path: inset(10% 0 10% 0);
  transition: clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  opacity: 0;
}

.reveal-image.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

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