@charset "UTF-8";

/* ==========================================================================
   ELIAN VALEN THEME: BASE & RESET STYLES
   Minimalist Contemporary Luxury | Inter Typography, Hairline Lines, Clean Whites
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-text-primary);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Main Content Layer (Lifts like a curtain to reveal the sticky parallax footer below) */
main, #main-content {
  position: relative;
  z-index: 10;
  background-color: var(--color-white);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  flex: 1 0 auto;
  will-change: transform;
}

/* Site Footer Layer (Anchored beneath main content for theatrical parallax curtain reveal) */
.site-footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
  width: 100%;
  background-color: var(--color-bg-alt);
  padding: clamp(3rem, 6vw, 5.5rem) 0 2.5rem;
  border-top: 1px solid var(--color-border);
  will-change: transform, opacity;
  overflow: hidden;
}

.footer-parallax-inner {
  will-change: transform, opacity;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY (INTER — MODERN HIGH-FASHION MINIMALISM)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-noir);
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); font-weight: 700; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.85rem); font-weight: 600; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
h5 { font-size: 1rem; font-weight: 500; }
h6 { font-size: 0.875rem; font-weight: 500; }

p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.section-tagline {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 0.85rem;
  color: var(--color-noir);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-noir { color: var(--color-noir) !important; }
.text-muted { color: var(--color-text-muted) !important; }

/* ==========================================================================
   LAYOUT CONTAINERS (RESPONSIVE FLUID CANVAS)
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-full {
  width: 100%;
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
}

.container-inset {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-pad {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

.section-pad-sm {
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.bg-white { background-color: var(--color-white); }
.bg-light { background-color: var(--color-bg-alt); }
.bg-warm { background-color: var(--color-bg-warm); }
.bg-noir { background-color: var(--color-noir); color: var(--color-white); }

/* ==========================================================================
   GRID UTILITIES
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   TRANSITIONS & SMOOTH REVEALS
   ========================================================================== */
.reveal {
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.smooth-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.smooth-lift:hover {
  transform: translateY(-3px);
}

/* Page Progress Bar */
.page-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-noir);
  z-index: 9999;
  transition: width 0.1s ease;
}
