  :root {
    --bg: #07070a;
    --ink: #ece7dc;
    --ink-dim: rgba(236, 231, 220, 0.42);
    --gold: #d4b47a;
    --gold-soft: rgba(212, 180, 122, 0.18);
    --line: rgba(236, 231, 220, 0.10);
  }
  * { box-sizing: border-box; }
  html, body { height: 100%; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    position: relative;
  }

  /* Ambient glow: slow drifting light behind the text */
  .glow {
    position: fixed; inset: -20%;
    pointer-events: none;
    background:
      radial-gradient(42% 36% at 50% 48%, rgba(150, 160, 190, 0.10), transparent 70%),
      radial-gradient(30% 28% at 36% 62%, rgba(88, 78, 120, 0.22), transparent 70%),
      radial-gradient(26% 24% at 66% 36%, rgba(90, 95, 120, 0.14), transparent 70%);
    filter: blur(40px);
    animation: drift 28s ease-in-out infinite alternate;
  }
  @keyframes drift {
    from { transform: translate3d(-2%, -1%, 0) scale(1); }
    to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
  }

  /* Fine film grain so the dark reads as rich, not flat */
  .grain {
    position: fixed; inset: 0;
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: screen;
  }

  /* Vignette */
  .vignette {
    position: fixed; inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.65) 100%);
  }

  main {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: clamp(24px, 4vh, 40px) 16px;
    max-width: 1080px;
    margin: 0 auto;
  }

  header {
    display: flex; align-items: center; justify-content: space-between;
    opacity: 0; animation: rise 1.4s 0.2s ease-out forwards;
  }
  .mark {
    display: inline-flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--ink);
    font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase;
    font-weight: 400;
  }
  .mark svg { width: 18px; height: 18px; }
  .coords {
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-dim);
  }

  .hero {
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 8vh 0;
  }
  .hero p {
    margin: 0;
    font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    font-weight: 300;
    font-size: clamp(20px, 2.6vw, 32px);
    line-height: 1.18;
    letter-spacing: -0.005em;
    max-width: 34ch;
    opacity: 0; animation: rise 1.8s 0.5s ease-out forwards;
  }
  .hero em {
    font-style: italic;
    color: var(--gold);
  }

  footer {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    opacity: 0; animation: rise 1.6s 1.1s ease-out forwards;
  }
  .contact {
    display: inline-flex; align-items: center; gap: 14px;
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
    padding: 0;
    width: 52px; height: 52px; justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: color .5s ease, border-color .5s ease, box-shadow .6s ease;
  }
  .contact svg {
    width: 20px; height: 20px;
    stroke: currentColor; fill: none;
    stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
    transition: stroke .5s ease;
  }
  .contact:hover, .contact:focus-visible {
    color: var(--ink);
    border-color: rgba(236, 231, 220, 0.35);
    box-shadow: 0 0 0 6px rgba(236, 231, 220, 0.05), 0 0 40px rgba(236, 231, 220, 0.06);
    outline: none;
  }
  .contact:hover svg { stroke: var(--ink); }

  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .glow { animation: none; }
    header, .hero p, footer { animation: none; opacity: 1; }
  }
  @media (max-width: 520px) {
    .hero p { max-width: 22ch; }
  }
