@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --ink: #102b4b;
  --muted: #607087;
  --night: #071a35;
  --night-deep: #ffffff;
  --blue: #7ea7d2;
  --gold: #dcae50;
  --line: rgba(16, 43, 75, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--night-deep);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
}

a {
  color: inherit;
}

.landing {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100% - 64px, 1240px);
  min-height: 100vh;
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  z-index: 0;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.1;
}

.page-glow-left {
  bottom: -24rem;
  left: -14rem;
  background: var(--blue);
}

.page-glow-right {
  top: -26rem;
  right: -16rem;
  background: var(--gold);
}

.site-header,
.site-footer,
.hero {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: block;
  width: 310px;
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.header-note,
.eyebrow,
.site-footer {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-note {
  color: #607087;
  font-size: 0.68rem;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  align-items: center;
  flex: 1;
  gap: 6vw;
  padding: 3vh 0 5vh;
}

.hero-copy {
  max-width: 580px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 600;
}

.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1 {
  max-width: 620px;
  margin: 0;
  color: #102b4b;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3.35rem, 6.4vw, 6.3rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 em {
  color: var(--blue);
  font-weight: 500;
}

.intro {
  max-width: 390px;
  margin: 32px 0 36px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 18px 15px 22px;
  border: 1px solid rgba(220, 174, 80, 0.55);
  border-radius: 999px;
  color: #102b4b;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--gold);
  background: rgba(220, 174, 80, 0.12);
  transform: translateY(-2px);
}

.arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--gold);
  font-size: 1.05rem;
}

.night-scene {
  position: relative;
  justify-self: end;
  width: min(100%, 470px);
  min-height: 400px;
  overflow: hidden;
  border: 1px solid rgba(215, 225, 240, 0.1);
  border-radius: 48% 48% 14px 14px;
  background: linear-gradient(145deg, rgba(22, 53, 89, 0.65), rgba(4, 17, 38, 0.45));
  box-shadow: inset 0 0 80px rgba(126, 167, 210, 0.06);
}

.night-scene::before {
  position: absolute;
  top: 21%;
  left: 50%;
  width: 1px;
  height: 55%;
  background: linear-gradient(transparent, rgba(215, 225, 240, 0.13), transparent);
  content: '';
}

.moon {
  position: absolute;
  top: 19%;
  left: 50%;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #f0d898;
  box-shadow: 0 0 80px rgba(240, 216, 152, 0.28), 0 0 20px rgba(240, 216, 152, 0.2);
  transform: translateX(-50%);
}

.moon::after {
  position: absolute;
  top: -8px;
  left: 29px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #102b4b;
  content: '';
}

.star {
  position: absolute;
  color: var(--gold);
}

.star-one { top: 21%; left: 25%; font-size: 1.25rem; }
.star-two { top: 37%; right: 22%; font-size: 0.75rem; }
.star-three { top: 13%; right: 34%; color: var(--blue); font-size: 2rem; }

.horizon {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 37%;
}

.hill {
  position: absolute;
  right: -10%;
  bottom: -35%;
  left: -10%;
  height: 100%;
  border-radius: 50% 50% 0 0;
  background: #06172e;
  transform: rotate(-3deg);
}

.hill-back {
  bottom: -24%;
  background: #0c2847;
  transform: rotate(7deg);
}

.scene-caption {
  position: absolute;
  bottom: 27px;
  left: 32px;
  margin: 0;
  color: rgba(215, 225, 240, 0.5);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.9rem;
  font-style: italic;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  color: rgba(16, 43, 75, 0.52);
  font-size: 0.62rem;
  font-weight: 600;
}

.site-footer a {
  color: #607087;
  text-align: center;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.site-footer a.footer-mark {
  text-align: right;
}

@media (max-width: 800px) {
  .landing {
    width: min(100% - 40px, 620px);
  }

  .site-header {
    padding: 26px 0;
  }

  .hero {
    display: block;
    padding: 8vh 0 10vh;
  }

  .hero-copy {
    margin: 0 auto;
  }

  h1 {
    font-size: clamp(3.15rem, 14vw, 5.3rem);
  }

  .night-scene {
    width: 100%;
    min-height: 320px;
    margin-top: 74px;
  }
}

@media (max-width: 480px) {
  .landing {
    width: min(100% - 32px, 620px);
  }

  .brand {
    width: 245px;
  }

  .header-note {
    font-size: 0.58rem;
  }

  .intro {
    margin-top: 26px;
    font-size: 0.94rem;
  }

  .night-scene {
    min-height: 280px;
    margin-top: 60px;
    border-radius: 45% 45% 12px 12px;
  }

  .moon {
    width: 100px;
    height: 100px;
  }

  .moon::after {
    left: 22px;
    width: 100px;
    height: 100px;
  }

  .scene-caption {
    bottom: 20px;
    left: 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .site-footer a,
  .site-footer a.footer-mark {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-link {
    transition: none;
  }
}
