/* AFTER HOURS ------------------------------------------------------------ */

:root {
  --canvas:            #000000;
  --surface-card:      #0a0a0c;
  --surface-elevated:  #101012;
  --ink:               #fcfdff;
  --body:              rgba(252, 253, 255, 0.86);
  --charcoal:          rgba(252, 253, 255, 0.70);
  --mute:              #a1a4a5;
  --stone:             #464a4d;
  --hairline:          rgba(255, 255, 255, 0.06);
  --hairline-strong:   rgba(255, 255, 255, 0.14);
  --divider-soft:      rgba(255, 255, 255, 0.04);
  --glow:              rgba(255, 137, 40, 0.14);

  --r-md: 8px;
  --r-lg: 12px;
  --r-full: 9999px;

  --s-sm: 8px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-xxl: 32px;
  --s-xxxl: 48px;
  --s-section: 96px;

  --display: 'Instrument Serif', Georgia, serif;
  --ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mark: 'League Spartan', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--canvas);
  position: relative;
  color: var(--body);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }

::selection { background: var(--ink); color: var(--canvas); }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

main, footer, .notify { position: relative; z-index: 3; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--s-xxl); }
.wrap-wide { width: 100%; padding: 0 clamp(20px, 4vw, 64px); }

/* type ------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 8.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.display-xl {
  font-family: var(--display);
  white-space: nowrap;
  font-weight: 400;
  font-size: clamp(76px, min(24vw, 40svh), 560px);
  line-height: 0.82;
  letter-spacing: -0.032em;
  color: var(--ink);
  max-width: 9ch;
}

.display-sm {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lede { font-size: 18px; line-height: 1.6; color: var(--charcoal); max-width: 54ch; }

.body-sm { font-size: 14px; line-height: 1.6; color: var(--charcoal); }

/* nav -------------------------------------------------------------------- */

.nav {
  position: relative;
  z-index: 60;
  height: 64px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--canvas);
  z-index: 50;
}

.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-xl); }

.mark {
  font-family: var(--mark);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links { display: flex; gap: var(--s-xl); align-items: center; }

.nav-links a {
  font-size: 14px;
  color: var(--charcoal);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

/* buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-md);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--canvas); }
.btn-primary:hover { background: #f1f7fe; }
.btn-primary:disabled { opacity: 0.35; cursor: default; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.32); }

/* hero ------------------------------------------------------------------- */

.hero { position: relative; padding: clamp(72px, 12vw, 148px) 0 clamp(56px, 8vw, 104px); }

.hero-full {
  position: relative;
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 96px;
}
.hero-full::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 120vw);
  height: min(760px, 90vh);
  background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 66%);
  pointer-events: none;
  z-index: -1;
}
.hero-full .eyebrow { margin-bottom: var(--s-xxl); }
.hero-full .display-xl { margin-bottom: 0; }

.cue {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: var(--s-md, 12px);
  color: var(--stone);
}
.cue::after { content: ''; flex: 1; height: 1px; background: var(--hairline); }

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 8%;
  width: min(760px, 84vw);
  height: 560px;
  background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero .eyebrow { margin-bottom: var(--s-xl); }
.hero .display { margin-bottom: var(--s-xl); max-width: 15ch; }
.hero .lede { margin-bottom: var(--s-xxl); }
.hero-actions { display: flex; gap: var(--s-md, 12px); flex-wrap: wrap; }

.intro { padding: var(--s-section) 0; }
.intro-inner { display: grid; grid-template-columns: 1fr auto; gap: var(--s-xxxl); align-items: end; }
.intro .lede { max-width: 46ch; font-size: 19px; }
@media (max-width: 767px) {
  .intro-inner { grid-template-columns: 1fr; gap: var(--s-xxl); align-items: start; }
}

/* sections --------------------------------------------------------------- */

.section { padding: var(--s-section) 0; border-top: 1px solid var(--hairline); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-xl);
  margin-bottom: var(--s-xxxl);
  flex-wrap: wrap;
}

/* cards ------------------------------------------------------------------ */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-lg); }

.card {
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-lg);
  padding: var(--s-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md, 12px);
}
.card .eyebrow { color: var(--mute); }
.card h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.card p { font-size: 14px; line-height: 1.6; color: var(--charcoal); }

/* detail rows ------------------------------------------------------------ */

.rows { border-top: 1px solid var(--hairline); }
.row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s-xl);
  padding: var(--s-xl) 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}
.row dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); padding-top: 4px; }
.row dd { font-size: 15px; line-height: 1.6; color: var(--body); }

/* empty state ------------------------------------------------------------ */

.empty { padding: clamp(72px, 11vw, 132px) 0 var(--s-section); }
.empty .eyebrow { margin-bottom: var(--s-xl); }
.empty .display-xl {
  font-family: var(--display);
  white-space: nowrap;
  font-weight: 400;
  font-size: clamp(76px, min(24vw, 40svh), 560px);
  line-height: 0.82;
  letter-spacing: -0.032em;
  color: var(--ink);
  max-width: 9ch;
}

.display-sm { margin-bottom: var(--s-xl); max-width: 18ch; }
.empty .lede { margin-bottom: var(--s-xxl); }

/* prose ------------------------------------------------------------------ */

.prose { max-width: 60ch; }
.prose p { font-size: 16px; line-height: 1.75; color: var(--body); margin-bottom: var(--s-xl); }
.prose p:last-child { margin-bottom: 0; }

.pullquote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
  border-left: 1px solid var(--hairline-strong);
  padding-left: var(--s-xl);
  margin: var(--s-xxxl) 0;
  max-width: 26ch;
}

/* signup ----------------------------------------------------------------- */

.notify {
  border-top: 1px solid var(--hairline);
  padding: var(--s-section) 0;
}
.notify-inner { display: grid; grid-template-columns: 1fr 420px; gap: var(--s-xxxl); align-items: start; }
.notify .display-xl {
  font-family: var(--display);
  white-space: nowrap;
  font-weight: 400;
  font-size: clamp(76px, min(24vw, 40svh), 560px);
  line-height: 0.82;
  letter-spacing: -0.032em;
  color: var(--ink);
  max-width: 9ch;
}

.display-sm { margin-bottom: var(--s-lg); max-width: 14ch; }

.field { display: flex; gap: var(--s-sm); }
.field input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 14px;
  transition: border-color 0.2s ease;
}
.field input::placeholder { color: var(--stone); }
.field input:focus { outline: none; border-color: var(--ink); }

.status { font-size: 13px; color: var(--mute); min-height: 1.4em; margin-top: 10px; }
.fineprint { font-size: 12px; color: var(--stone); margin-top: var(--s-lg); }


/* modal ------------------------------------------------------------------ */

.modal {
  margin: auto;
  width: calc(100% - 32px);
  max-width: 430px;
  padding: var(--s-xxl);
  background: var(--surface-card);
  color: var(--body);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-lg);
}
.modal[open] { animation: modalIn 0.34s cubic-bezier(0.19, 1, 0.22, 1) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal::backdrop { background: rgba(0, 0, 0, 0.74); backdrop-filter: blur(7px); }
.modal[open]::backdrop { animation: fadeIn 0.28s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal .eyebrow { margin-bottom: var(--s-md, 12px); }
.modal .display-sm { font-size: clamp(26px, 4vw, 34px); margin-bottom: var(--s-md, 12px); }
.modal p.lede { font-size: 14px; margin-bottom: var(--s-xl); max-width: none; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--r-md);
  color: var(--stone);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}
.modal-close:hover { color: var(--ink); }
.modal { position: fixed; }

/* footer ----------------------------------------------------------------- */

footer { margin-top: auto; border-top: 1px solid var(--hairline); padding: var(--s-section) 0 var(--s-xxxl); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-xxl); margin-bottom: var(--s-section); }
.foot-col h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: var(--s-lg); }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--charcoal); text-decoration: none; transition: color 0.2s ease; }
.foot-col a:hover { color: var(--ink); }
.foot-brand .mark { display: block; margin-bottom: var(--s-md, 12px); }
.foot-brand p { font-size: 13px; color: var(--stone); max-width: 30ch; line-height: 1.6; }
.foot-base { border-top: 1px solid var(--divider-soft); padding-top: var(--s-xl); display: flex; justify-content: space-between; gap: var(--s-lg); flex-wrap: wrap; }
.foot-base span { font-size: 12px; color: var(--stone); }

/* responsive ------------------------------------------------------------- */

@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .notify-inner { grid-template-columns: 1fr; gap: var(--s-xxl); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s-xxxl) var(--s-xxl); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 var(--s-xl); }
  .section, .notify, footer { padding-top: 64px; padding-bottom: 64px; }
  .grid-4 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: var(--s-sm); }
  .hero-full { min-height: calc(100svh - 64px); padding: 64px 0 96px; }
  .cue { bottom: 24px; }
  .nav-links { gap: var(--s-lg); }
  .nav-links a { font-size: 13px; }
  .nav-links .btn { display: none; }
  .mark { font-size: 17px; }
  .field { flex-direction: column; }
  .field .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; margin-bottom: 48px; }
  .pullquote { padding-left: var(--s-lg); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001s !important; }
}

/* atmosphere ------------------------------------------------------------- */

#spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%),
              rgba(255, 150, 60, 0.10) 0%, transparent 62%);
}
@media (pointer: coarse) { #spotlight { display: none; } }

#grain {
  position: fixed;
  inset: -120px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.05;
  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.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 700ms steps(4) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-24px, 14px); }
  50%  { transform: translate(18px, -22px); }
  75%  { transform: translate(-14px, -10px); }
  100% { transform: translate(0, 0); }
}

/* type reveal ------------------------------------------------------------ */

.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block;
  transform: translateY(105%);
  animation: rise 1.05s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes rise { to { transform: translateY(0); } }

.up { opacity: 0; transform: translateY(14px); animation: up 0.9s cubic-bezier(0.19,1,0.22,1) forwards; animation-delay: var(--d, 0ms); }
@keyframes up { to { opacity: 1; transform: translateY(0); } }

/* room plan -------------------------------------------------------------- */

.plan-wrap { display: grid; grid-template-columns: minmax(280px, 390px) 1fr; gap: var(--s-xxxl); align-items: center; }
.plan { width: 100%; height: auto; overflow: hidden; border-radius: var(--r-lg); }
.plan .room { fill: none; stroke: var(--hairline-strong); stroke-width: 1; }
.plan .ring { fill: none; stroke: var(--divider-soft); stroke-width: 1; }
.plan .seat {
  fill: none;
  stroke: rgba(252,253,255,0.42);
  stroke-width: 1.2;
  opacity: 0;
  animation: pop 0.5s ease forwards;
  animation-delay: calc(var(--d, 0ms) + 300ms);
}
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
.plan .artist { fill: var(--ink); }
.plan .halo { fill: url(#glow); }
.plan .plabel { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--stone); }
.plan .pdim { stroke: var(--hairline-strong); stroke-width: 1; stroke-dasharray: 3 4; }

@media (max-width: 1023px) {
  .plan-wrap { grid-template-columns: 1fr; gap: var(--s-xxl); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-line > span, .up, .plan .seat { animation: none; opacity: 1; transform: none; }
  #grain { animation: none; }
}
