/* ============================================================
   ATEILYA — COMING SOON  |  brand: #043343
   Apple-inspired: restraint, space, precision, depth.
============================================================ */

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

:root {
  --bg:        #043343;
  --gold:      #c9a96e;
  --gold-soft: #dfc090;
  --white:     #ffffff;
  --w80:       rgba(255,255,255,0.80);
  --w45:       rgba(255,255,255,0.45);
  --w20:       rgba(255,255,255,0.20);
  --w08:       rgba(255,255,255,0.08);
  --w04:       rgba(255,255,255,0.04);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Canvas layers ── */
#bg-canvas,
#dust-canvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
#bg-canvas   { z-index: 0; }
#dust-canvas { z-index: 1; }

/* ── Film grain noise ── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.028;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Page shell ── */
.page {
  position: relative;
  z-index: 3;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* ── Top bar ── */
.top-bar {
  padding: 36px 52px;
  display: flex;
  align-items: center;
}

.top-line {
  width: 36px;
  height: 1px;
  background: var(--w20);
}

/* ── Hero ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* ── Eyebrow ── */
.eyebrow {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 44px;
  opacity: 0.85;
}

/* ── Logo ── */
.logo-wrap {
  margin-bottom: 44px;
}

.logo {
  width: clamp(200px, 28vw, 380px);
  display: block;
  filter: drop-shadow(0 0 60px rgba(201,169,110,0.18));
  animation: logoFloat 9s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}

/* ── Ornament ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.orn-line {
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.orn-diamond {
  font-size: 0.38rem;
  color: var(--gold);
  opacity: 0.75;
  letter-spacing: 0;
}

/* ── Headline ── */
.headline {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 30px;
}

.headline em {
  font-style: italic;
  color: var(--gold-soft);
}

/* ── Subline ── */
.subline {
  font-family: var(--serif);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--w45);
  max-width: 440px;
  letter-spacing: 0.02em;
}

/* ── Bottom bar ── */
.bottom-bar {
  padding: 28px 52px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--w08);
}

.social-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--w45);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.4s ease;
}

.social-item svg {
  width: 15px;
  height: 15px;
  transition: filter 0.4s ease;
  flex-shrink: 0;
}

.social-item:hover {
  color: var(--gold-soft);
}

.social-item:hover svg {
  filter: drop-shadow(0 0 8px rgba(201,169,110,0.5));
}

.social-sep {
  display: block;
  width: 1px;
  height: 14px;
  background: var(--w20);
}

.copy {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--w20);
  text-transform: uppercase;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: revealUp 1.1s var(--ease-out-expo) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  body { overflow-y: auto; }
  .page { height: auto; min-height: 100vh; }
  .top-bar, .bottom-bar { padding: 28px 28px; }
  .eyebrow { margin-bottom: 32px; }
  .logo { width: clamp(160px, 60vw, 260px); }
  .logo-wrap { margin-bottom: 32px; }
  .ornament { margin-bottom: 28px; }
  .headline { margin-bottom: 22px; }
  .bottom-bar { flex-direction: column; gap: 20px; align-items: center; }
  .hero { padding: 40px 24px; }
}
