:root {
  color-scheme: dark;
  /* Muted, luxury gold (less "bright yellow") */
  --color-accent: #d4af37;
  --color-accent-soft: #e4c96e;
  --color-text: #e8e8e8;
  --color-panel: #1b2836;
  --color-scarcity-bg: rgba(0, 0, 0, 0.7);
  --color-scarcity-border: rgba(212, 175, 55, 0.35);
  /* Hero focal point (can be tuned per breakpoint) */
  --hero-fx: 50%;
  --hero-fy: 42%;
  --hero-scale: 1;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* Anchor offsets so headings aren't flush against the top edge */
  scroll-padding-top: 24px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Lato,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: radial-gradient(circle at top, #1f2933 0, #050b10 55%, #020408 100%);
  color: var(--color-text);
}

.hero {
  position: relative;
  height: 100vh;
  /* Use stable viewport height to avoid iOS/Chrome address-bar scroll jank */
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 20px 20px;
  /* Slightly less bottom padding so the title/CTA sit lower in the photo */
  padding-bottom: calc(42px + env(safe-area-inset-bottom));
  overflow: hidden;
}

/* Background image layer (lets us apply filters, which aren't possible on background-image directly) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Subtle top/bottom overlay (luxury look) + a readable bottom vignette */
  background-image:
    radial-gradient(1100px 520px at 50% 92%, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 72%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.28) 22%,
      rgba(0, 0, 0, 0.1) 46%,
      rgba(0, 0, 0, 0.56) 74%,
      rgba(0, 0, 0, 0.9) 100%
    ),
    image-set(
      url('/img/hero-center-1600.jpg') type('image/jpeg') 1x,
      url('/img/hero-center-3200.jpg') type('image/jpeg') 2x
    );
  background-size: cover;
  background-position: var(--hero-fx) var(--hero-fy);
  background-repeat: no-repeat;
  filter: contrast(1.1) saturate(1.2);
  transform: scale(var(--hero-scale));
}

/* Use smaller/larger variants by viewport to avoid over-downloading */
@media (max-width: 640px) {
  :root {
    --hero-fx: 50%;
    --hero-fy: 46%;
    --hero-scale: 1.06;
  }
  .hero::before {
    background-image:
      radial-gradient(1100px 520px at 50% 92%, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 72%),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.28) 22%,
        rgba(0, 0, 0, 0.1) 46%,
        rgba(0, 0, 0, 0.56) 74%,
        rgba(0, 0, 0, 0.9) 100%
      ),
      image-set(
        url('/img/hero-center-1200.jpg') type('image/jpeg') 1x,
        url('/img/hero-center-2400.jpg') type('image/jpeg') 2x
      );
  }
}

/* Tablet: adjust framing so subjects stay centered */
/*@media (min-width: 641px) and (max-width: 899px) {
      .hero::before {
        background-position: 38% 32%;
        transform: scale(1.06);
      }
    }*/

/* Desktop: zoom in slightly and bias framing upward/right to center the couple */
/*@media (min-width: 900px) {
      .hero::before {
        background-position: -70% 35%;
        transform: scale(1.08);
      }
    }*/
.hero::before {
  background-image:
    radial-gradient(1100px 520px at 50% 92%, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 72%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.28) 32%,
      rgba(0, 0, 0, 0.1) 46%,
      rgba(0, 0, 0, 0.56) 74%,
      rgba(0, 0, 0, 0.9) 100%
    ),
    image-set(
      url('/img/hero-center-2400.jpg') type('image/jpeg') 1x,
      url('/img/hero-center-3200.jpg') type('image/jpeg') 2x
    );
  background-position: var(--hero-fx) var(--hero-fy);
  transform: scale(var(--hero-scale));
}

/* Fade hero into the next section to avoid a hard cut */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 68%,
    rgba(2, 4, 8, 0.55) 86%,
    rgba(2, 4, 8, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  width: 100dvw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  /* Reserve space so the HUD can sit in the corners without overlapping */
  padding-top: 72px;
}

.hero-hud {
  position: absolute;
  top: calc(22px + env(safe-area-inset-top));
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  z-index: 2;
  user-select: text;
}

/* Corner HUD: no glass background, just crisp type */
.hero-hud-card {
  width: 48%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem; /* smaller so it doesn't compete with the title */
  line-height: 1.12;
  letter-spacing: 0.22em; /* editorial spacing */
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.8);
}

.hero-hud-right {
  text-align: right;
}

.hero-hud-line2 {
  margin-top: 6px;
  opacity: 0.78;
  font-weight: 700;
  letter-spacing: 0.26em;
}

.hero-bottom {
  width: 100%;
  text-align: center;
  padding-bottom: 0;
}

.hero-bottom .hero-title {
  margin-bottom: 14px;
}

.hero-top {
  display: inline-block;
  max-width: 980px;
  padding: calc(14px + 1.5rem) 18px calc(14px + 0.75rem);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  /* Subtle inner border + lift */
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: rgba(240, 240, 240, 0.92);
  margin: 0 0 12px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.hero-meta {
  margin: 10px auto 0;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(224, 224, 224, 0.8);
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
  font-weight: 300;
}

.hero-meta strong {
  color: inherit; /* avoid gold highlight inside logistics line */
  font-weight: 600;
}

.hero-meta-line {
  display: inline;
}

.hero-meta-line2::before {
  content: ' • ';
  opacity: 0.75;
}

.hero-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.06;
  color: #fff;
  text-transform: none;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.72),
    0 10px 28px rgba(0, 0, 0, 0.55);
  font-weight: 700;
  font-variant-numeric: lining-nums;
  letter-spacing: 0.01em;
}

.hero-presented {
  margin-top: 8px;
  font-family:
    Lato,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.hero-hook {
  margin: 10px 0 0;
  font-family:
    Lato,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.86rem;
  color: rgba(212, 175, 55, 0.95);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.hero-price {
  margin: 12px 0 0;
  font-family:
    Lato,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.72);
}

.hero-trust {
  margin: 10px auto 0;
  max-width: 720px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.hero-trust strong {
  color: rgba(255, 255, 255, 0.92);
}

.content-section {
  padding: 64px 0 56px;
  background: #000;
  position: relative; /* for bridge overlay */
  isolation: isolate; /* keep overlays contained */
}
/* Soft bridge at the top of each section to avoid a hard cut */
.content-section::before {
  content: '';
  position: absolute;
  inset: -6px 0 auto 0; /* overlap previous section slightly */
  height: 56px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 4, 8, 1) 0%,
    rgba(2, 4, 8, 0.64) 45%,
    rgba(2, 4, 8, 0) 100%
  );
}

.content-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1; /* sit above bridge overlay */
}

.section-title {
  text-align: center;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 850;
  margin: 0 0 18px;
  font-size: 1.08rem;
}
/* Gold hairline divider with subtle glow */
.section-title::before {
  content: '';
  display: block;
  width: 96px;
  height: 1px;
  margin: 0 auto 14px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.18);
}

.section-lede {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
  color: rgba(232, 232, 232, 0.9);
  line-height: 1.55;
  font-size: 1rem;
  font-weight: 400;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
