:root{
  --bg-dark: #0a0a0a;
  --text: #f2f2f2;
  --muted: #c8c8c8;
  --accent: #d4af37; /* subtle gold */
  --overlay: rgba(0,0,0,.42);
  --overlay-strong: rgba(0,0,0,.58);
  --title-size: clamp(2rem, 6vw + 0.5rem, 4rem);
  --subtitle-size: clamp(1rem, 1.6vw + .75rem, 1.35rem);
  --spacing: clamp(18px, 4vw, 28px);
  --safe-bottom: env(safe-area-inset-bottom, 16px);
  --safe-top: env(safe-area-inset-top, 16px);
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  background: var(--bg-dark);
  color: var(--text);
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.45;
}

.site-header, .site-footer {
  position: fixed;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--spacing);
  z-index: 5;
  pointer-events: none; /* content remains primary */
}
.site-header { top: 0; padding-top: calc(var(--safe-top)); }
.site-footer { bottom: 0; opacity: .9; padding-bottom: max(10px, var(--safe-bottom)); }

.brand {
  pointer-events: auto;
  text-decoration: none;
  color: var(--text);
  letter-spacing: .2em;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: image-set(url('assets/hero-bg-mobile.jpg') 1x, url('assets/hero-bg.jpg') 2x);
  background-size: cover;
  background-position: center;
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.02) brightness(.92);
  z-index: 0;
}

/* Soft breathing zoom; shorter on mobile */
@keyframes breathe {
  0%   { transform: scale(1.045); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1.045); }
}
.hero__bg { animation: breathe 14s ease-in-out infinite; }

html[data-reduced-motion="true"] .hero__bg { animation: none; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.75) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--spacing) * 1.5) var(--spacing);
  max-width: min(92vw, 720px);
}

.title {
  margin: 0 0 10px;
  font-size: var(--title-size);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 1px 20px rgba(0,0,0,.6);
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: var(--subtitle-size);
  text-shadow: 0 1px 16px rgba(0,0,0,.6);
}

/* Optional button style (for Notify Me later) */
.btn {
  display: inline-block;
  margin-top: calc(var(--spacing) * 1.25);
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: var(--bg-dark);
  background: var(--accent);
  box-shadow: 0 6px 24px rgba(212,175,55,.35);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 34px rgba(212,175,55,.45);
}

/* Desktop refinements */
@media (min-width: 768px) {
  .brand { font-size: 14px; padding: 10px 14px; }
  .hero__content { padding: calc(var(--spacing) * 3) var(--spacing); }
  .hero__bg { animation-duration: 18s; }
}

/* Explicit high-res asset on desktop for older browsers */
@media (min-width: 768px) {
  .hero__bg { background-image: url('assets/hero-bg.jpg'); }
}