/* ============================================
   Mira Migiwa — drift pop landing
   ============================================ */

:root {
  --indigo: #1a1a2e;
  --indigo-deep: #0f0f1f;
  --purple: #3d2d5c;
  --neon-pink: #ff6b9d;
  --neon-pink-soft: rgba(255, 107, 157, 0.35);
  --ivory: #f5f0e8;
  --ivory-dim: #c5bfb3;
  --black: #000000;
}

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

html, body {
  background: var(--black);
  color: var(--ivory);
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

/* ============================================
   Page wrapper — gradient base
   ============================================ */
.page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(61, 45, 92, 0.45), transparent 70%),
    linear-gradient(180deg, var(--indigo) 0%, var(--indigo-deep) 50%, var(--black) 100%);
  background-attachment: fixed;
  isolation: isolate;
}

/* film grain — subtle SVG noise */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  z-index: 100;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================================
   Hero section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 25vh 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* flat darken — softens overall brightness contrast */
.hero-darken {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(26, 26, 46, 0.15);
}

/* vertical vignette — top + bottom edges darker by ~20% */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(15, 15, 31, 0.55) 0%,
      rgba(26, 26, 46, 0.15) 22%,
      rgba(26, 26, 46, 0.15) 70%,
      rgba(15, 15, 31, 0.7) 88%,
      rgba(0, 0, 0, 0.92) 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 30%, rgba(0,0,0,0.55) 100%);
}

/* Hero content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  animation: fadeUp 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.logo-mark {
  width: 80px;
  height: 80px;
  margin-bottom: 36px;
  opacity: 0.85;
  animation: breathe 6s ease-in-out infinite;
}

.brand-name {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.1rem, 6vw, 4.1rem);
  letter-spacing: 0.18em;
  margin: 0;
  color: var(--ivory);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--ivory-dim);
  margin-top: 28px;
  letter-spacing: 0.02em;
  max-width: 32ch;
  line-height: 1.5;
  opacity: 0.92;
}

/* hero hairline accent */
.hero-rule {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--ivory-dim) 50%, transparent);
  margin: 48px auto 0;
  opacity: 0.5;
}

/* ============================================
   CTA section
   ============================================ */
.cta {
  position: relative;
  padding: 80px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* UPDATE: replace pre-save block when single is live */
.cta-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 28px;
}

.cta-eyebrow .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon-pink);
  vertical-align: middle;
  margin: 0 14px 2px;
  box-shadow: 0 0 10px var(--neon-pink);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 44px;
  background: var(--neon-pink);
  color: var(--indigo-deep);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s ease;
  box-shadow:
    0 0 0 0 var(--neon-pink-soft),
    0 12px 40px -12px rgba(255, 107, 157, 0.5);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 14px transparent,
    0 0 60px -8px var(--neon-pink),
    0 16px 50px -10px rgba(255, 107, 157, 0.7);
  outline: none;
}

.cta-button .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-button:hover .arrow {
  transform: translateX(4px);
}

.cta-sub {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--ivory-dim);
  letter-spacing: 0.05em;
}

.cta-sub em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--ivory);
}

.cta-meaning {
  margin-top: 1em;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.78rem;
  color: var(--ivory-dim);
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 36ch;
  line-height: 1.55;
}

/* ============================================
   SNS section
   ============================================ */
.social {
  padding: 40px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.social-rule {
  width: 40px;
  height: 1px;
  background: var(--ivory-dim);
  opacity: 0.4;
}

.social-list {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ivory);
  transition: color 0.4s ease,
              background 0.4s ease,
              transform 0.3s ease,
              box-shadow 0.5s ease;
  position: relative;
}

.social-link svg {
  width: 22px;
  height: 22px;
  transition: filter 0.4s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--neon-pink);
  outline: none;
  transform: translateY(-2px);
}

.social-link:hover svg,
.social-link:focus-visible svg {
  filter: drop-shadow(0 0 10px var(--neon-pink));
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 60px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  margin-top: 20px;
}

.footer-mark {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.footer-disclosure {
  font-size: 0.7rem;
  color: var(--ivory-dim);
  opacity: 0.7;
  max-width: 36ch;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.footer-copy {
  font-size: 0.65rem;
  color: var(--ivory-dim);
  opacity: 0.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes breathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.02); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 6px var(--neon-pink); }
  50%      { opacity: 1;   box-shadow: 0 0 14px var(--neon-pink); }
}

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

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 768px) {
  .hero { padding: 25vh 40px 80px; }
  .logo-mark { width: 80px; height: 80px; margin-bottom: 44px; }
  .cta { padding: 120px 40px 80px; }
  .social { padding: 40px 40px 80px; gap: 36px; }
  .social-list { gap: 40px; }
  .social-link { width: 52px; height: 52px; }
  .social-link svg { width: 26px; height: 26px; }
  .footer { padding: 80px 40px 60px; }
}

@media (min-width: 1280px) {
  .hero { padding: 25vh 60px 100px; }
  .cta-button { padding: 22px 52px; font-size: 1.1rem; }
  .cta { padding: 140px 60px 100px; }
}
