:root {
  color-scheme: dark;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  background: #050b13;
  color: #fff;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html, body { width: 100%; min-height: 100%; margin: 0; }

body { overflow: hidden; background: #050b13; }

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: max(32px, env(safe-area-inset-top)) clamp(28px, 7vw, 130px)
    max(30px, env(safe-area-inset-bottom));
}

.scene, .scene img, .scrim, #snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene { z-index: -4; }
.scene img { object-fit: cover; object-position: center; transform: scale(1.025); animation: breathe 18s ease-in-out infinite alternate; }

.scrim {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2, 8, 16, .92) 0%, rgba(3, 10, 18, .73) 35%, rgba(4, 10, 17, .15) 67%, rgba(2, 6, 11, .12) 100%),
    linear-gradient(0deg, rgba(1, 5, 11, .72) 0%, transparent 42%, rgba(2, 7, 15, .18) 100%);
}

#snow { z-index: -2; pointer-events: none; }

.message {
  width: min(620px, 49vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .42));
}

.brand {
  width: clamp(220px, 24vw, 390px);
  height: auto;
  margin: 0 0 clamp(28px, 4vh, 52px);
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 17px;
  color: #e3bc64;
  font-size: clamp(.68rem, .8vw, .84rem);
  font-weight: 600;
  letter-spacing: .28em;
}

h1 {
  margin: 0;
  max-width: 690px;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 5.15rem);
  font-weight: 360;
  line-height: .98;
  letter-spacing: -.035em;
}

h1 span { color: #fff; font-weight: 620; }
.mobile-break { display: none; }

.subtitle {
  margin: clamp(20px, 3vh, 32px) 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 400;
  letter-spacing: .03em;
}

.pulse { display: flex; align-items: center; margin-top: 36px; width: 92px; height: 1px; background: rgba(227, 188, 100, .34); }
.pulse span { display: block; width: 8px; height: 8px; margin-left: 31px; border-radius: 50%; background: #e3bc64; box-shadow: 0 0 0 0 rgba(227, 188, 100, .4); animation: pulse 2.6s ease-out infinite; }

.city {
  position: absolute;
  right: clamp(26px, 4vw, 74px);
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
  margin: 0;
  color: rgba(255, 255, 255, .52);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .4em;
}

@keyframes breathe { from { transform: scale(1.025); } to { transform: scale(1.065); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 188, 100, .42); } 70%, 100% { box-shadow: 0 0 0 18px rgba(227, 188, 100, 0); } }

@media (max-width: 700px) {
  .hero { align-items: end; padding: max(24px, env(safe-area-inset-top)) 22px max(38px, calc(env(safe-area-inset-bottom) + 24px)); }
  .scene img { object-position: center 42%; }
  .scrim {
    background:
      linear-gradient(0deg, rgba(1, 5, 11, .97) 0%, rgba(2, 7, 14, .82) 27%, rgba(2, 7, 14, .16) 59%, rgba(2, 7, 14, .12) 100%),
      linear-gradient(90deg, rgba(2, 7, 14, .28), transparent 70%);
  }
  .message { width: 100%; align-items: center; text-align: center; padding: 0 8px 26px; filter: none; }
  .brand { position: fixed; top: max(18px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(37vw, 154px); margin: 0; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .58)); }
  .eyebrow { margin-bottom: 12px; font-size: .61rem; letter-spacing: .24em; }
  h1 { width: min(100%, 340px); font-size: 1.65rem; line-height: 1.08; letter-spacing: -.025em; }
  h1 span { display: inline-block; margin-top: 2px; font-size: 1.34em; }
  .mobile-break { display: block; }
  .subtitle { width: min(100%, 330px); font-size: .94rem; margin-top: 15px; line-height: 1.35; }
  .pulse { margin-top: 25px; }
  .city { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scene img, .message, .pulse span { animation: none; }
}
