/* Vintage street plate — full-bleed aged photograph, name only. */

/* Self-hosted 70s display face (Bagel Fat One — Cooper Black lineage). */
@font-face {
  font-family: "Bagel Fat One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/bagel-fat-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bagel Fat One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/bagel-fat-one-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --hero: url("/assets/img/hero.jpg");
  --ink: #efe6d2;
  --frame: rgba(239, 230, 210, 0.55);
  --shadow: rgba(20, 14, 8, 0.55);
}

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

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: #1a140d;
  font-family: "Bagel Fat One", "Cooper Black", "Didot", Georgia, serif;
  color: var(--ink);
  overflow: hidden;
}

/* Full-bleed vintage photograph with a warm tint and corner darkening. */
.scene {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse at center, rgba(20, 14, 8, 0) 38%, rgba(20, 14, 8, 0.62) 100%),
    linear-gradient(rgba(58, 40, 22, 0.22), rgba(58, 40, 22, 0.22)),
    var(--hero);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Fine film grain laid over the whole frame. */
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.plate {
  position: relative;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.name {
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 0.98;
  font-size: clamp(2.4rem, 8.5vw, 6.4rem);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.18), 0 4px 26px var(--shadow);
}

@media (prefers-reduced-motion: no-preference) {
  .plate { animation: rise 1.6s ease both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(0.6rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}
