/* ==========================================================================
   NAEM COTTON — Editorial Coming Soon Stylesheet
   Luxury fashion editorial aesthetic, minimal, 100dvh viewport fit
   ========================================================================== */

:root {
  /* Warm Natural Palette */
  --color-bg: #F8F6F1;
  --color-surface: #FFFFFF;
  
  /* Refined Editorial Typography Colors */
  --color-text-main: #181614;      /* Deep Rich Espresso */
  --color-text-body: #4A453D;      /* Warm Bistre Charcoal */
  --color-text-accent: #8E7C69;    /* Raw Flaxen Cotton Gold */
  --color-text-muted: #8E877B;     /* Soft Linen Taupe */

  /* Font Families */
  --font-serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  height: 100%;
  height: 100dvh;
  width: 100%;
  overflow: hidden; /* Strict requirement: exactly one screen, no scrolling */
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Full-Screen Blurred Background (Edge-to-Edge, Non-Stretching)
   -------------------------------------------------------------------------- */
.bg-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-image {
  position: absolute;
  inset: -32px; /* Bleeds past viewport bounds so blur does not fade out at edges */
  background-image: url('assets/background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(8px); /* Soft blur effect */
  transform: scale(1.05); /* Counteracts blur feathering at screen edges */
  animation: fadeIn 1.2s ease-out forwards;
}

/* Soft translucent scrim to keep all typography clear and highly readable */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 85% at 50% 50%, rgba(248, 246, 241, 0.72) 0%, rgba(244, 240, 232, 0.62) 100%);
}

/* --------------------------------------------------------------------------
   Page Canvas Layout (100dvh Single Screen Fit)
   -------------------------------------------------------------------------- */
.page-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  height: 100dvh;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3.8vh, 3rem) clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Brand Header (Brand name near the top)
   -------------------------------------------------------------------------- */
.brand-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0.25rem;
  animation: fadeIn 0.8s ease-out forwards;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  padding-left: 0.32em; /* Optical alignment compensation */
  text-transform: uppercase;
  color: var(--color-text-main);
  user-select: none;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Hero Section (Dominates the Center)
   -------------------------------------------------------------------------- */
.hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0; /* Prevents overflow */
  margin: auto 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  animation: slideFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Main Focal Point: COMING SOON */
.main-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.8vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--color-text-main);
  text-transform: uppercase;
  margin-bottom: clamp(0.85rem, 1.8vh, 1.25rem);
}

/* Supporting Headline: A SOFTER BEGINNING. */
.supporting-headline {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.15vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  padding-left: 0.22em; /* Optical alignment compensation */
  text-transform: uppercase;
  color: var(--color-text-accent);
  margin-bottom: clamp(0.75rem, 1.6vh, 1.15rem);
}

/* Short Description */
.description {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-body);
  max-width: 38ch;
}

/* --------------------------------------------------------------------------
   Minimal Small Footer
   -------------------------------------------------------------------------- */
.brand-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0.25rem;
  animation: fadeIn 0.8s ease-out 0.25s forwards;
  opacity: 0;
}

.footer-text {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 0.85vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  user-select: none;
}

/* --------------------------------------------------------------------------
   Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* --------------------------------------------------------------------------
   Responsive Design: Tablet (max-width: 900px)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-content {
    max-width: 90%;
  }

  .main-headline {
    font-size: clamp(2.6rem, 7.5vw, 4.2rem);
  }
}

/* --------------------------------------------------------------------------
   Responsive Design: Mobile (max-width: 600px)
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .page-container {
    padding: clamp(1.1rem, 2.8vh, 1.6rem) 1.25rem;
  }

  .brand-name {
    font-size: 0.85rem;
    letter-spacing: 0.28em;
    padding-left: 0.28em;
  }

  .main-headline {
    font-size: clamp(2.4rem, 10.5vw, 3.25rem);
    line-height: 1;
    margin-bottom: 0.8rem;
  }

  .supporting-headline {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    padding-left: 0.18em;
    margin-bottom: 0.65rem;
  }

  .description {
    font-size: 1.1rem;
    line-height: 1.45;
    max-width: 32ch;
  }

  .footer-text {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    padding-left: 0.18em;
  }
}

/* --------------------------------------------------------------------------
   Ultra-Compact & Mobile Landscape (max-height: 560px)
   -------------------------------------------------------------------------- */
@media (max-height: 560px) {
  .page-container {
    padding: 0.75rem 1.25rem;
  }

  .main-headline {
    font-size: clamp(1.9rem, 7vh, 2.6rem);
    margin-bottom: 0.4rem;
  }

  .supporting-headline {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
  }

  .description {
    font-size: 0.95rem;
    line-height: 1.35;
  }
}

/* --------------------------------------------------------------------------
   Accessibility: Reduced Motion Preference
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
