:root {
  --bg:        #0b1e24;
  --ink:       #ede3cf;
  --ink-dim:   rgba(237,227,207,0.75);
  --ink-faint: rgba(237,227,207,0.28);
  --accent:    #d9574a;
  --accent-dim:rgba(217,87,74,0.5);
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--ink);
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-family: 'Bodoni Moda', serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* vignette */
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(0,0,0,0.55) 95%);
  pointer-events: none;
}

.frame {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 780px;
}

.mark {
  display: block;
  width: clamp(110px, 18vw, 180px);
  height: auto;
  margin: 0 auto 2.25rem;
}
/* Two Potrace layers, individually addressable.
   .silhouette = cream body; .bones = brighter "bleached-bone" highlight
   that reads as interior detail. Override either to re-theme. */
.mark .silhouette { fill: var(--ink); }
.mark .bones      { fill: #050f126e; }

.presenting {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}
.presenting::before,
.presenting::after {
  content: "·";
  margin: 0 0.9rem;
  color: rgba(217,87,74,0.7);
}

.title {
  font-family: 'Bodoni Moda', serif;
  font-weight: 900;
  font-size: clamp(2.7rem, 9vw, 6.5rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  font-variation-settings: "opsz" 96;
  margin-bottom: 2.5rem;
}
.title .line { display: block; }
.title .studio {
  display: block;
  font-weight: 400;
  font-size: 0.34em;
  letter-spacing: 0.7em;
  margin-top: 0.6em;
  padding-left: 0.7em; /* optical centering for tracked caps */
  color: var(--ink-dim);
}

.tagline {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  letter-spacing: 0.04em;
  color: var(--accent);
}
.tagline::before,
.tagline::after {
  content: "—";
  margin: 0 0.8em;
  color: var(--accent-dim);
  font-style: normal;
}

.wave {
  display: block;
  width: 90px;
  margin: 2.75rem auto 0;
  opacity: 0.75;
}

.social {
  position: absolute;
  bottom: 4.25rem;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  padding: 0 1rem;
}
.social a {
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}
.social a:hover,
.social a:focus-visible {
  color: var(--accent);
  outline: none;
}
.social a + a::before {
  content: "·";
  color: var(--ink-faint);
  margin: 0 0.85em 0 0.45em; /* asymmetric: letter-spacing pushes the trailing side */
  letter-spacing: 0;
}

.foot {
  position: absolute;
  bottom: 1.75rem;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Entrance: staggered, gentle. Runs once on load. */
.stagger { opacity: 0; transform: translateY(8px); animation: rise 1.1s ease-out forwards; }
.stagger.d1 { animation-delay: 0.15s; }
.stagger.d2 { animation-delay: 0.40s; }
.stagger.d3 { animation-delay: 0.85s; }
.stagger.d4 { animation-delay: 1.15s; }
.stagger.d5 { animation-delay: 1.50s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .title .studio { letter-spacing: 0.4em; padding-left: 0.4em; }
  .tagline::before, .tagline::after { margin: 0 0.4em; }
  .social { letter-spacing: 0.25em; font-size: 0.55rem; bottom: 4rem; }
  .social a + a::before { margin: 0 0.5em 0 0.25em; }
}

@media (prefers-reduced-motion: reduce) {
  .stagger { opacity: 1; transform: none; animation: none; }
}
