/* ============================================================
   landing.css — "Opening soon" page (index.html only)
   Dark charcoal atelier aesthetic — precision, restraint, craft.
   ============================================================ */

:root {
  --ink:          #0A0A0B;
  --charcoal-1:   #131417;
  --charcoal-2:   #1C1E22;
  --line:         rgba(255,255,255,0.12);
  --line-soft:    rgba(255,255,255,0.06);
  --bone:         #EFEDE8;
  --bone-dim:     rgba(239,237,232,0.62);
  --steel:        #9CA3AE;
  --steel-dim:    rgba(156,163,174,0.5);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-serif:   'Cormorant Garamond', serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%; min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone);
}

/* ── OVERLAYS ─────────────────────────────────────────────── */
.atelier-overlays {
  position: fixed; inset: 0; z-index: 5; pointer-events: none;
}
.atelier-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: overlay;
}
.atelier-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.55) 100%);
}
.atelier-glow {
  position: absolute;
  top: 42%; left: 50%;
  width: 60vmax; height: 60vmax;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(156,163,174,0.10) 0%, transparent 65%);
  animation: glow-drift 16s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes glow-drift {
  0%, 100% { transform: translate(-52%, -48%) scale(1); opacity: 0.8; }
  50%      { transform: translate(-48%, -52%) scale(1.08); opacity: 1; }
}

/* ── CORNER FRAME (viewfinder marks) ─────────────────────── */
.frame-corner {
  position: fixed;
  width: 26px; height: 26px;
  z-index: 30;
  opacity: 0;
  animation: corner-in 1s var(--ease-out) forwards;
  animation-delay: 0.15s;
}
.frame-corner::before,
.frame-corner::after {
  content: '';
  position: absolute;
  background: var(--line);
}
.frame-corner::before { width: 100%; height: 1px; }
.frame-corner::after   { width: 1px; height: 100%; }
.frame-corner--tl { top: 28px; left: 28px; }
.frame-corner--tl::before, .frame-corner--tl::after { top: 0; left: 0; }
.frame-corner--tr { top: 28px; right: 28px; }
.frame-corner--tr::before { top: 0; right: 0; }
.frame-corner--tr::after  { top: 0; right: 0; }
.frame-corner--bl { bottom: 28px; left: 28px; }
.frame-corner--bl::before { bottom: 0; left: 0; }
.frame-corner--bl::after  { bottom: 0; left: 0; }
.frame-corner--br { bottom: 28px; right: 28px; }
.frame-corner--br::before { bottom: 0; right: 0; }
.frame-corner--br::after  { bottom: 0; right: 0; }
@keyframes corner-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh; /* falls back to 100vh on browsers without dvh support */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 20;
  padding: 40px 24px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--steel);
  opacity: 0;
  animation: rise-in 0.9s var(--ease-out) forwards;
  animation-delay: 0.35s;
}
.hero-eyebrow span {
  position: relative;
  padding: 0 22px;
}
.hero-eyebrow span::before,
.hero-eyebrow span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--steel-dim);
}
.hero-eyebrow span::before { left: -4px; }
.hero-eyebrow span::after  { right: -4px; }

/* Logo — the real Yere Design mark, large, glowing softly on the dark ground */
.hero-logo-wrap {
  position: relative;
  margin-top: 30px;
  width: clamp(140px, 22vw, 220px);
  height: clamp(140px, 22vw, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: rise-in 1s var(--ease-out) forwards;
  animation-delay: 0.45s;
}
.hero-logo-halo {
  position: absolute;
  inset: -42%;
  background: radial-gradient(circle, rgba(239,237,232,0.24) 0%, rgba(239,237,232,0.07) 45%, transparent 72%);
  filter: blur(6px);
  animation: halo-pulse 4.5s ease-in-out infinite;
  will-change: transform, opacity;
}
.hero-logo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(239,237,232,0.22));
}
.hero-wordmark {
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-dim);
  opacity: 0;
  animation: rise-in 0.9s var(--ease-out) forwards;
  animation-delay: 0.62s;
}

/* Headline — the "Coming Soon" statement, with a live status dot leading it */
.hero-title {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 4px 60px rgba(0,0,0,0.7);
  opacity: 0;
  animation: rise-in 1s var(--ease-out) forwards;
  animation-delay: 0.92s;
}
.status-dot {
  position: relative;
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bone);
}
.status-dot::after {
  content: '';
  position: absolute;
  inset: -9px;
  border: 1px solid var(--steel-dim);
  border-radius: 50%;
  animation: pulse-ring 2.4s ease-out infinite;
}

.hero-tagline {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.02em;
  color: var(--bone-dim);
  opacity: 0;
  animation: rise-in 0.9s var(--ease-out) forwards;
  animation-delay: 1.1s;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes halo-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.75; }
  50%      { transform: scale(1.06); opacity: 1; }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ── FOOTER META ──────────────────────────────────────────── */
.atelier-meta {
  position: fixed;
  bottom: 38px;
  right: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  animation: rise-in 0.9s var(--ease-out) forwards;
  animation-delay: 1.25s;
}
.meta-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--steel-dim);
}
.atelier-meta-credit {
  color: var(--bone-dim);
  pointer-events: auto;
  text-decoration: none;
  transition: color 0.2s ease;
}
.atelier-meta-credit:hover { color: #C9A96E; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .frame-corner { width: 18px; height: 18px; }
  .frame-corner--tl, .frame-corner--tr { top: 18px; }
  .frame-corner--bl, .frame-corner--br { bottom: 18px; }
  .frame-corner--tl, .frame-corner--bl { left: 18px; }
  .frame-corner--tr, .frame-corner--br { right: 18px; }
  .atelier-meta { flex-direction: column; align-items: flex-end; gap: 6px; bottom: 28px; right: 24px; }
  .meta-sep { display: none; }
}

/* ── MOTION PREFERENCE ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-logo-wrap, .hero-wordmark, .hero-title, .hero-tagline, .atelier-meta, .frame-corner {
    animation: none !important;
    opacity: 1 !important;
  }
  .atelier-glow, .hero-logo-halo { animation: none !important; }
  .status-dot::after { animation: none !important; }
}
