:root {
  --bg: #05101d;
  --bg-deep: #02070d;
  --bg-ocean: #08192e;
  --navy: #133e73;
  --navy-soft: #1e5ba4;
  --navy-bright: #3d78bf;
  --text: #eef5ff;
  --muted: rgba(221, 233, 250, 0.7);
  --mx: 72%;
  --my: 38%;
  --beam-angle: -18deg;
  --beam-length: 640px;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(20, 60, 112, 0.24), transparent 28%),
    linear-gradient(180deg, #071321 0%, var(--bg-deep) 100%);
}

.shell {
  min-height: 100vh;
  padding: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(164, 222, 255, 0.08), transparent 170px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 35%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 1060px);
  text-align: center;
  padding-bottom: min(28vh, 220px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
}

.headline-stack {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
}

.headline-kicker {
  margin: 0 0 18px;
  color: rgba(211, 230, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.headline {
  position: relative;
  font-size: clamp(3.2rem, 10vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

.headline span {
  display: block;
  margin-left: min(18vw, 170px);
}

.headline-dim,
.headline-lit {
  display: block;
}

.headline-dim {
  color: rgba(214, 228, 252, 0.12);
}

.headline-lit {
  position: absolute;
  inset: 0;
  color: transparent;
  pointer-events: none;
  background:
    radial-gradient(circle 150px at var(--mx) var(--my), rgba(255, 255, 255, 1) 0, rgba(244, 251, 255, 0.98) 36%, rgba(214, 240, 255, 0.72) 55%, rgba(214, 240, 255, 0) 74%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro {
  max-width: 28rem;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.scene {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.stars,
.haze {
  position: absolute;
  inset: 0;
}

.stars {
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.75) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 70% 14%, rgba(255, 255, 255, 0.6) 0 1px, transparent 1.6px),
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.65) 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 55% 20%, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.5px);
}

.haze-left {
  background:
    radial-gradient(circle at 16% 88%, rgba(19, 62, 115, 0.52), transparent 32%),
    radial-gradient(circle at 24% 78%, rgba(41, 104, 177, 0.12), transparent 18%);
}

.haze-right {
  background: radial-gradient(circle at 86% 82%, rgba(16, 84, 160, 0.18), transparent 24%);
}

.beam-core,
.beam-rim,
.beam-glow,
.beam-fog {
  position: absolute;
  left: 11.6%;
  top: calc(100% - 310px);
  transform-origin: 0 50%;
  pointer-events: none;
}

.beam-fog {
  width: calc(var(--beam-length) + 220px);
  height: 360px;
  background:
    radial-gradient(ellipse at left center, rgba(206, 237, 255, 0.24), rgba(173, 223, 255, 0.08) 26%, rgba(173, 223, 255, 0) 70%);
  clip-path: polygon(0 50%, 8% 40%, 24% 22%, 58% 6%, 100% 0, 100% 100%, 58% 94%, 24% 78%, 8% 60%);
  transform: rotate(var(--beam-angle));
  filter: blur(46px);
  opacity: 0.82;
}

.beam-core {
  width: var(--beam-length);
  height: 116px;
  background:
    radial-gradient(ellipse at left center, rgba(248, 252, 255, 0.98), rgba(231, 245, 255, 0.82) 16%, rgba(193, 231, 255, 0.46) 38%, rgba(168, 222, 255, 0.14) 58%, rgba(168, 222, 255, 0) 76%);
  clip-path: polygon(0 50%, 10% 44%, 28% 30%, 60% 14%, 100% 4%, 100% 96%, 60% 86%, 28% 70%, 10% 56%);
  transform: rotate(var(--beam-angle));
  filter: blur(1.2px);
  opacity: 0.98;
}

.beam-rim {
  width: calc(var(--beam-length) + 80px);
  height: 164px;
  background:
    radial-gradient(ellipse at left center, rgba(240, 249, 255, 0.32), rgba(200, 234, 255, 0.12) 34%, rgba(176, 224, 255, 0) 72%);
  clip-path: polygon(0 50%, 8% 36%, 24% 18%, 58% 4%, 100% 0, 100% 100%, 58% 96%, 24% 82%, 8% 64%);
  transform: rotate(var(--beam-angle));
  filter: blur(10px);
  opacity: 0.9;
}

.beam-glow {
  width: calc(var(--beam-length) + 180px);
  height: 260px;
  background:
    radial-gradient(ellipse at left center, rgba(173, 223, 255, 0.28), rgba(132, 205, 255, 0.1) 34%, rgba(121, 197, 255, 0) 76%);
  clip-path: polygon(0 50%, 6% 30%, 20% 14%, 54% 2%, 100% 0, 100% 100%, 54% 98%, 20% 86%, 6% 70%);
  transform: rotate(var(--beam-angle));
  filter: blur(34px);
  opacity: 0.88;
}

.lighthouse-illustration {
  position: absolute;
  left: clamp(48px, 9vw, 160px);
  bottom: clamp(30px, 6vh, 72px);
  width: min(22vw, 190px);
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.38));
}

.tower-highlight {
  fill: rgba(255, 255, 255, 0.14);
}

.tower-shadow {
  fill: rgba(4, 10, 18, 0.28);
}

.ring-band {
  fill: rgba(214, 232, 251, 0.2);
}

.porthole {
  fill: rgba(214, 240, 255, 0.88);
  stroke: rgba(214, 232, 251, 0.18);
  stroke-width: 4;
}

.door-arch {
  fill: rgba(8, 20, 36, 0.92);
  stroke: rgba(214, 232, 251, 0.12);
  stroke-width: 3;
}

.balcony {
  fill: #14365d;
}

.balcony-rail {
  fill: rgba(24, 60, 102, 0.98);
  stroke: rgba(214, 232, 251, 0.24);
  stroke-width: 3;
}

.lamp-glass {
  fill: rgba(218, 241, 255, 0.88);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 3;
}

.roof-cap {
  fill: #173b64;
}

.roof-top {
  fill: #244f80;
}

.rock-glow {
  fill: rgba(75, 134, 204, 0.18);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26vh;
  background:
    radial-gradient(circle at 12% 100%, rgba(15, 49, 90, 0.95), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(6, 20, 37, 0.58) 42%, rgba(1, 5, 9, 0.88) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(13, 35, 64, 0.58), transparent 32%),
    linear-gradient(180deg, transparent 0%, rgba(2, 8, 14, 0.84) 100%);
  z-index: 2;
}

@media (max-width: 960px) {
  .hero-copy {
    padding-bottom: 220px;
  }

  .headline-kicker {
    margin-bottom: 14px;
  }

  .headline span {
    margin-left: min(10vw, 72px);
  }

  .headline-lit {
    background: radial-gradient(circle 118px at var(--mx) var(--my), rgba(255, 255, 255, 1) 0, rgba(244, 251, 255, 0.98) 36%, rgba(214, 240, 255, 0.68) 56%, rgba(214, 240, 255, 0) 74%);
  }

  .beam-core,
  .beam-rim,
  .beam-glow,
  .beam-fog {
    left: 15%;
    top: calc(100% - 270px);
  }

  .beam-core {
    height: 96px;
  }

  .beam-rim {
    height: 140px;
  }

  .beam-glow {
    height: 220px;
  }

  .lighthouse-illustration {
    width: 138px;
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  .hero {
    align-items: flex-start;
    padding-top: 96px;
  }

  .hero-copy {
    text-align: left;
    padding-bottom: 240px;
  }

  .headline-stack {
    margin: 0;
  }

  .headline-kicker {
    font-size: 0.74rem;
  }

  .headline span {
    margin-left: 0;
  }

  .intro {
    margin-left: 0;
  }

  .beam-core,
  .beam-rim,
  .beam-glow,
  .beam-fog {
    left: 21%;
    top: calc(100% - 238px);
  }

  .beam-core {
    width: 420px;
  }

  .beam-rim {
    width: 500px;
  }

  .beam-glow {
    width: 560px;
  }

  .beam-fog {
    width: 620px;
  }

  .lighthouse-illustration {
    left: 20px;
    bottom: 48px;
    width: 108px;
  }
}
