/* Night Under the Stars — shared styles for every page.
   Palette and type come from the brand kit: night, gold, ivory; Cormorant Garamond + Montserrat. */

:root {
  --bg: #0b0b12;
  --bg-soft: #12121b;
  --ink: #f1eee6;
  --ink-soft: #d0ccc0;
  --ink-mute: #918c7e;
  --gold: #b08c55;
  --gold-bright: #cfa96e;
  --gold-soft: rgba(176, 140, 85, 0.6);
  --gold-faint: rgba(176, 140, 85, 0.22);
  --rule: rgba(241, 238, 230, 0.12);
  --header-h: 76px;
  --band-h: 66px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* a fine film grain over everything, the same tooth as the title card */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ===== HEADER (always on) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  background:
    linear-gradient(180deg, rgba(11,11,18,0.62) 0%, rgba(11,11,18,0.9) 100%),
    url('/assets/img/cosmos.jpg') center 36% / cover;
  box-shadow: 0 12px 44px rgba(0,0,0,0.5);
}
/* a thread of gold along the lower edge */
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-soft) 22%, var(--gold-bright) 50%, var(--gold-soft) 78%, transparent 100%);
  opacity: 0.75;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img {
  height: 50px;
  width: auto;
  filter: brightness(1.15) drop-shadow(0 2px 10px rgba(0,0,0,0.5));
  transition: filter 0.4s ease;
}
.brand:hover img { filter: brightness(1.3) drop-shadow(0 2px 10px rgba(0,0,0,0.5)); }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  position: relative;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 0;
  transition: color 0.3s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0.32em; bottom: 0;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--gold);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.btn .arrow { display: inline-block; letter-spacing: 0; transition: transform 0.4s ease; }
.btn:hover .arrow { transform: translateX(5px); }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-ghost { border-color: var(--gold-soft); color: var(--ink); background: rgba(11,11,18,0.35); }
.btn-ghost:hover { background: rgba(176,140,85,0.14); }
.header-cta { flex: 0 0 auto; padding: 12px 22px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
  transition: color 0.3s ease;
}
.text-link .arrow { letter-spacing: 0; transition: transform 0.4s ease; }
.text-link:hover { color: var(--ink); }
.text-link:hover .arrow { transform: translateX(5px); }

/* ===== HOME HERO: the title card, with the band below it inside the first screen ===== */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h) - var(--band-h));
  height: calc(100svh - var(--header-h) - var(--band-h));
  min-height: 420px;
  max-height: 900px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/img/hero.jpg') center center / cover;
  filter: brightness(1.45) saturate(1.18);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 34% 42% at 50% 56%, rgba(255, 218, 158, 0.38) 0%, rgba(255, 203, 126, 0.15) 40%, transparent 70%);
  mix-blend-mode: soft-light;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(11,11,18,0) 0%, rgba(11,11,18,0.14) 70%, rgba(11,11,18,0.7) 100%),
    linear-gradient(to bottom, rgba(11,11,18,0) 0%, rgba(11,11,18,0) 86%, rgba(11,11,18,0.85) 100%);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--band-h);
  background: linear-gradient(180deg, #0d0d15, var(--bg-soft));
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-bright);
  transition: color 0.4s ease, background 0.4s ease;
}
.cta-band .arrow { letter-spacing: 0; transition: transform 0.4s ease; }
.cta-band:hover { color: var(--ink); }
.cta-band:hover .arrow { transform: translateX(6px); }

/* ===== PAGE HEAD (inner pages) ===== */
.page-head {
  position: relative;
  text-align: center;
  padding: 84px 32px 76px;
  background:
    linear-gradient(to bottom, rgba(11,11,18,0.55) 0%, rgba(11,11,18,0.62) 60%, var(--bg) 100%),
    url('/assets/img/background.jpg') center 32% / cover;
}
.page-head.sky {
  background:
    linear-gradient(to bottom, rgba(11,11,18,0.5) 0%, rgba(11,11,18,0.6) 60%, var(--bg) 100%),
    url('/assets/img/cosmos.jpg') center 40% / cover;
}
.page-head h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: 0.05em;
  line-height: 1.12;
}
.page-head .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 21px);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 18px auto 0;
  line-height: 1.55;
}

/* ===== SECTIONS ===== */
.section { padding: 84px 32px; }
.section.tight { padding-top: 56px; }
.section.soft { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%); }
.wrap { max-width: 1040px; margin: 0 auto; }
.wrap.narrow { max-width: 680px; }
.center { text-align: center; }

.eyebrow {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  flex: 0 0 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-soft));
}
.eyebrow::after { background: linear-gradient(to left, transparent, var(--gold-soft)); }
.eyebrow.left { justify-content: flex-start; }
.eyebrow.left::before { display: none; }

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: 0.05em;
  line-height: 1.16;
  text-align: center;
  margin-bottom: 30px;
}
h2.left { text-align: left; }

.prose { font-size: 16.5px; line-height: 1.85; color: var(--ink-soft); letter-spacing: 0.01em; }
.prose p + p { margin-top: 1.2em; }
.prose.center { max-width: 640px; margin-left: auto; margin-right: auto; }
.prose strong { font-weight: 400; color: var(--ink); }

.section-cta { margin-top: 40px; text-align: center; }

/* ===== THE NIGHT: four even steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 44px;
}
.step { padding: 34px 26px 36px; text-align: center; border-right: 1px solid var(--rule); }
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.step-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.step-body { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }

/* ===== QUOTE BAND ===== */
.quote-band {
  text-align: center;
  padding: 92px 32px;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(11,11,18,0.42) 18%, rgba(11,11,18,0.58) 82%, var(--bg) 100%),
    url('/assets/img/cosmos.jpg') center 38% / cover;
}
.quote-band .mark {
  font-family: var(--serif);
  font-size: 84px;
  line-height: 0.5;
  color: var(--gold-bright);
  opacity: 0.55;
  margin-bottom: 22px;
  user-select: none;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}
.quote-band cite {
  display: block;
  margin-top: 26px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ===== NIGHTS LIST ===== */
.nights-card {
  max-width: 940px;
  margin: 0 auto;
  padding: 6px 44px;
  border: 1px solid var(--gold-faint);
  background: rgba(18, 18, 27, 0.72);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.night {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 36px;
  align-items: center;
  padding: 34px 0 36px;
  border-bottom: 1px solid var(--rule);
}
.night:last-child { border-bottom: none; }
.night-when {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 12px;
}
.night-city {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 5.6vw, 66px);
  letter-spacing: 0.03em;
  line-height: 1.02;
}
.night-region {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 10px;
  white-space: nowrap;
  vertical-align: middle;
}
.night-detail { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.night-action { text-align: center; }
.night-action .btn { display: flex; padding-left: 0; padding-right: 0; }
.night-price { font-family: var(--serif); font-size: 24px; letter-spacing: 0.05em; margin-bottom: 12px; }

/* cities on the map */
.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 760px; margin: 0 auto; }
.city {
  padding: 11px 20px;
  border: 1px solid var(--gold-faint);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: rgba(18,18,27,0.5);
}

/* three even notes */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.note { padding: 34px 30px; text-align: center; border-right: 1px solid var(--rule); }
.note:last-child { border-right: none; }
.note-label { font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 14px; }
.note-body { font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); }
.notes.four { grid-template-columns: repeat(4, 1fr); }
.notes.four .note { padding: 34px 24px; }

/* ===== HOST ===== */
.host {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.host-photo { position: relative; }
.host-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.04) brightness(0.92);
}
.host-photo::after {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-faint);
  z-index: -1;
}
.host.teaser { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.host-name { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: 0.07em; line-height: 1.15; }
.host-role {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 10px 0 24px;
}
.host .text-link { margin-top: 28px; }

/* ===== CONTACT ===== */
.contact-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 44px;
  border: 1px solid var(--gold-faint);
  background: rgba(18, 18, 27, 0.72);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.form { display: flex; flex-direction: column; gap: 14px; }
.input {
  width: 100%;
  background: rgba(11,11,18,0.7);
  border: 1px solid var(--gold-faint);
  color: var(--ink);
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 300;
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.input::placeholder { color: var(--ink-mute); }
.input:focus { border-color: var(--gold-soft); background: rgba(11,11,18,0.9); }
textarea.input { resize: vertical; min-height: 130px; line-height: 1.6; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: var(--ink-soft); text-align: left; padding: 4px 2px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: 0 0 auto; }
.form .btn { margin-top: 6px; padding: 17px 28px; }
.signup { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 12px; max-width: 760px; margin: 34px auto 0; }
.signup .btn { padding: 0 28px; white-space: nowrap; }
.form-note { margin-top: 22px; font-size: 13px; color: var(--ink-mute); text-align: center; line-height: 1.7; }
.form-note a, .mail { color: var(--gold-bright); border-bottom: 1px solid var(--gold-faint); padding-bottom: 1px; transition: border-color 0.3s ease; }
.form-note a:hover, .mail:hover { border-color: var(--gold-bright); }

/* ===== REACH-OUT STRIP + FOOTER (every page) ===== */
.reach {
  text-align: center;
  padding: 64px 32px;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.reach img { height: 30px; width: auto; margin: 0 auto 18px; filter: brightness(1.8) drop-shadow(0 0 14px rgba(176,140,85,0.35)); }
.reach p { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink-soft); line-height: 1.6; }
.reach .mail { font-style: normal; font-family: var(--serif); font-size: 22px; letter-spacing: 0.03em; }
.reach .btn { margin-top: 24px; }

.site-footer {
  padding: 34px 40px 40px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-mark { font-family: var(--serif); font-size: 13px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ink-soft); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a, .footer-meta { font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-mute); transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--ink-soft); }

/* ===== STARFIELD ===== */
.starfield { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.star-tiny {
  position: absolute;
  width: 1px; height: 1px;
  background: white;
  border-radius: 50%;
  opacity: 0.4;
  animation: twinkle 5s infinite ease-in-out;
}
@keyframes twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.7; } }
main, .site-footer, .reach { position: relative; z-index: 1; }

/* ===== REVEAL (only when scripts run, so a page never sits blank) ===== */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1020px) {
  .site-nav { gap: 22px; }
  .site-header { padding: 0 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .host { gap: 44px; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .host.teaser { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
  .notes.four { grid-template-columns: repeat(2, 1fr); }
  .notes.four .note:nth-child(2) { border-right: none; }
  .notes.four .note:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 760px) {
  :root { --header-h: 108px; --band-h: 60px; }
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 62px 46px;
    align-items: center;
    gap: 0 12px;
    padding: 0 18px;
  }
  .brand { grid-row: 1; grid-column: 1; }
  .header-cta { grid-row: 1; grid-column: 2; }
  .site-nav { grid-row: 2; }
  .brand img { height: 40px; }
  .header-cta { padding: 11px 14px; font-size: 9.5px; letter-spacing: 0.24em; gap: 8px; }
  .site-nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 0;
    height: 46px;
    border-top: 1px solid var(--rule);
  }
  .site-nav a { font-size: 9.5px; letter-spacing: 0.26em; padding: 12px 4px; }

  .cta-band { font-size: 10px; letter-spacing: 0.32em; }
  .section { padding: 60px 24px; }
  .section.tight { padding-top: 40px; }
  .page-head { padding: 60px 24px 52px; }
  .quote-band { padding: 68px 24px; }
  .prose { font-size: 16px; }

  .steps { grid-template-columns: 1fr; margin-top: 32px; }
  .step { border-right: none; border-bottom: 1px solid var(--rule); padding: 28px 12px; }
  .step:last-child { border-bottom: none; }

  .nights-card { padding: 2px 24px; }
  .night { grid-template-columns: 1fr; gap: 20px; text-align: center; padding: 32px 0; }
  .night-region { display: block; margin: 12px 0 0; }
  .night-action .btn { display: inline-flex; min-width: 220px; }

  .notes, .notes.four { grid-template-columns: 1fr; }
  .note { border-right: none; border-bottom: 1px solid var(--rule); padding: 28px 12px; }
  .note:last-child { border-bottom: none; }

  .host, .host.teaser { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .host-photo { max-width: 260px; margin: 0 auto; }
  .host .eyebrow.left { justify-content: center; }
  .host .eyebrow.left::before { display: block; }
  h2.left { text-align: center; }

  .contact-card { padding: 34px 24px; }
  .signup { grid-template-columns: 1fr; }
  .signup .btn { padding: 17px 28px; justify-content: center; }
  .site-footer { flex-direction: column; text-align: center; padding: 30px 24px 36px; }
  .footer-nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .star-tiny { animation: none; }
  .btn .arrow, .text-link .arrow, .cta-band .arrow { transition: none; }
}
