:root {
  /* ✏️  Update this path once you have your image */
  --hero-image: url('images/hangzhou.jpeg');
  /* Shown while image is absent / loading */
  --hero-fallback: linear-gradient(155deg, #090a0e 0%, #18120a 45%, #090a0e 100%);
}

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

html, body {
  height: 100%;
  overflow: hidden;
}

/* ─── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* image on top; gradient is fallback when image.jpg isn't found yet */
  background-image: var(--hero-image), var(--hero-fallback);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* Cinematic vignette — darker at edges, focuses the eye inward */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 62% 42%, transparent 0%, rgba(0, 0, 0, 0.30) 100%),
    linear-gradient(to top,  rgba(0, 0, 0, 0.65) 0%,  rgba(0, 0, 0, 0.08) 35%, transparent 60%),
    linear-gradient(to right, rgba(0, 0, 0, 0.30) 0%, transparent 45%);
  pointer-events: none;
}

/* ─── Text overlay ───────────────────────────────────────── */

.hero__content {
  position: absolute;
  top:  clamp(2.5rem, 8vh, 5rem);
  left: clamp(1.5rem, 6vw, 5rem);
  z-index: 1;
  max-width: min(540px, calc(100vw - 3rem));
  animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.25s;
}

.hero__scrim {
  padding: clamp(1.25rem, 3vh, 2rem) clamp(1.5rem, 3.5vw, 2.25rem);
  background: rgba(4, 4, 8, 0.44);
  backdrop-filter: blur(16px) saturate(0.7);
  -webkit-backdrop-filter: blur(16px) saturate(0.7);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0.035em;
  color: #f9f6f0;
  margin-bottom: clamp(0.55rem, 1.4vh, 0.85rem);
}

.hero__sub {
  font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(0.7rem, 1.25vw, 0.82rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249, 246, 240, 0.55);
}

.hero__note {
  font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(0.72rem, 1.3vw, 0.85rem);
  color: rgba(249, 246, 240, 0.55);
  line-height: 1.5;
}

.hero__note a {
  color: rgba(249, 246, 240, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__note a:hover {
  color: #fff;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hero__content--bottom {
  top: auto;
  bottom: clamp(2.5rem, 8vh, 5rem);
}

@media (max-width: 480px) {
  .hero__content {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
