:root {
  --bg: #0a070a;
  --ink: #fff4f9;
  --pink: #ff5fae;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --tile: 120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
h1, p { margin: 0; }

/* ---- the wall: a tight grid, every photo exactly once ---- */
.wall {
  position: fixed;
  inset: -2vmax;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--tile), 1fr));
  grid-auto-rows: var(--tile);
  grid-auto-flow: dense;
  gap: 4px;
  filter: saturate(.9) contrast(1.04);
  will-change: transform;
}
.wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1s ease;
}
.wall img.in { opacity: 1; }
.wall .tall { grid-row: span 2; }
.wall .wide { grid-column: span 2; }
.wall .big { grid-row: span 2; grid-column: span 2; }

/* soft pink room light, darker toward the middle so the words sit clean */
.shade {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(40% 32% at 50% 50%, rgba(10, 7, 10, .7), rgba(10, 7, 10, .3) 60%, rgba(10, 7, 10, 0) 100%),
    radial-gradient(80% 60% at 50% 0%, rgba(255, 95, 174, .14), rgba(255, 95, 174, 0) 70%),
    linear-gradient(rgba(255, 95, 174, .05), rgba(255, 95, 174, .05));
}
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: .16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---- the words ---- */
.center {
  position: relative; z-index: 3;
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px;
}
.brand {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .01em;
  color: rgba(255, 244, 249, .6);
}
.title {
  font-weight: 600;
  font-size: clamp(40px, 7.5vw, 92px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .6);
}

@media (prefers-reduced-motion: no-preference) {
  .wall { animation: drift 90s ease-in-out infinite alternate; }
  .center > * { animation: rise 1s cubic-bezier(.2, .7, .2, 1) .4s both; }
  .center .title { animation-delay: .55s; }
  @keyframes drift { from { transform: scale(1); } to { transform: scale(1.04); } }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

