/* ————————————————————————————————————————
   THE AUSTIN BUZZ — violet crown dusk
   ———————————————————————————————————————— */

:root {
  --bg: #150F26;
  --surface: #1D163680;
  --surface-solid: #1D1636;
  --line: #322754;
  --text: #F5EFE2;
  --muted: #A99FC4;
  --accent: #FF8A3D;
  --accent-2: #B794F6;
  --display: "Fraunces", Georgia, serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ——— header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--display);
  font-weight: 650;
  font-size: 21px;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span { color: var(--accent); font-style: italic; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.site-header nav a:hover { color: var(--text); }

.nav-cta {
  color: var(--bg) !important;
  background: var(--accent);
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover { background: #ffa263; transform: translateY(-1px); }

/* ——— ticker ——— */

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-solid);
  padding: 9px 0;
}

.ticker-track {
  display: flex;
  gap: 26px;
  width: max-content;
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent-2);
  animation: ticker 40s linear infinite;
}

.ticker-track span { white-space: nowrap; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ——— hero ——— */

.hero {
  position: relative;
  padding: clamp(84px, 15vh, 170px) var(--gutter) clamp(100px, 18vh, 200px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.dusk {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 70% at 50% 108%, rgba(255, 138, 61, 0.34), transparent 62%),
    radial-gradient(70% 55% at 50% 112%, rgba(183, 148, 246, 0.28), transparent 70%);
}

.bats { position: absolute; inset: 0; pointer-events: none; }

.bat {
  position: absolute;
  width: 26px;
  fill: #0C081A;
  opacity: 0.9;
  animation: drift 26s linear infinite;
}

.b1 { top: 22%; animation-duration: 30s; }
.b2 { top: 36%; width: 18px; animation-duration: 24s; animation-delay: -9s; }
.b3 { top: 14%; width: 14px; animation-duration: 36s; animation-delay: -20s; }

@keyframes drift {
  from { transform: translateX(-6vw) translateY(0); }
  25%  { transform: translateX(24vw) translateY(-14px); }
  50%  { transform: translateX(52vw) translateY(8px); }
  75%  { transform: translateX(78vw) translateY(-10px); }
  to   { transform: translateX(106vw) translateY(0); }
}

.kicker {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero h1 {
  position: relative;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(52px, 10.5vw, 148px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

.lede {
  position: relative;
  max-width: 58ch;
  margin-top: 30px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 38px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 14px 22px;
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  transform: translateY(-2px);
}

/* ——— sections ——— */

.section {
  padding: clamp(70px, 10vh, 130px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 22px;
  row-gap: 8px;
  align-items: baseline;
  margin-bottom: clamp(36px, 5vh, 60px);
  max-width: 900px;
}

.section-no {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.section-head p { grid-column: 2; color: var(--muted); max-width: 52ch; }

/* cards */

.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px 24px;
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.card-no {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  color: var(--accent-2);
  opacity: 0.7;
}

.card h3 {
  font-family: var(--display);
  font-weight: 650;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  max-width: 14ch;
}

.card p { color: var(--muted); font-size: 15px; }

/* neighborhoods */

.hood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.hood {
  display: block;
  background: linear-gradient(165deg, var(--surface-solid), #171029);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s;
}

.hood:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-2) 60%, var(--line));
}

.hood h3 {
  font-family: var(--display);
  font-weight: 650;
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--accent-2);
}

.hood p { color: var(--muted); font-size: 15px; }

/* menu list */

.menu-list { list-style: none; max-width: 880px; }

.menu-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 20px 4px;
  border-bottom: 1px dashed var(--line);
}

.menu-list li:first-child { border-top: 1px dashed var(--line); }

.menu-list strong {
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(24px, 3.4vw, 38px);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.menu-list li:hover strong { color: var(--accent); }

.menu-list span { color: var(--muted); font-size: 15px; }

/* only in austin */

.only-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.only {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 20px 20px 0;
  padding: 24px;
}

.only h3 {
  font-family: var(--display);
  font-weight: 650;
  font-size: 22px;
  margin-bottom: 10px;
}

.only p { color: var(--muted); font-size: 15px; }

/* letter */

.letter { border-bottom: none; }

.letter-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background:
    radial-gradient(120% 160% at 50% 0%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 60%),
    var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(40px, 7vw, 64px) clamp(24px, 5vw, 56px);
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.letter-card h2 {
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(32px, 5.5vw, 52px);
  margin-bottom: 14px;
}

.letter-card p { color: var(--muted); max-width: 44ch; margin: 0 auto; }

/* footer */

.site-footer {
  padding: 42px var(--gutter) 52px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-cities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-cities span { color: var(--muted); }

.footer-cities a { text-decoration: none; color: var(--accent-2); transition: color 0.2s; }
.footer-cities a:hover { color: var(--text); }

.site-footer > p { color: var(--muted); font-size: 13px; }

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .bat { animation: none; opacity: 0; }
  .card:hover, .hood:hover, .hero-cta:hover, .nav-cta:hover { transform: none; }
}

/* responsive */

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-header nav { flex-wrap: wrap; row-gap: 8px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { grid-column: 1; }
}
