:root {
  --ink: #08131c;
  --lane: #143246;
  --maple: #c9a36a;
  --amber: #e6b35a;
  --mist: #d7e2ea;
  --bg: #f4f7f9;
  --fg: #0e1c26;
  --muted: #4a5d6a;
  --border: #cfd9e0;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: Karla, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(20, 50, 70, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(201, 163, 106, 0.12), transparent 50%),
    linear-gradient(180deg, #eef3f6 0%, #f4f7f9 40%, #ebe6dc 100%);
  background-attachment: scroll;
  line-height: 1.5;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.font-display {
  font-family: var(--font-display);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  color: var(--mist);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: #08131c;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.brand-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-desktop {
  display: none;
  gap: 1.75rem;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(215, 226, 234, 0.8);
}

.nav-desktop a:hover {
  color: var(--amber);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0 0.75rem;
  max-height: calc(100svh - 4rem);
  overflow-y: auto;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  color: rgba(215, 226, 234, 0.9);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .menu-btn,
  .nav-mobile {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  color: var(--mist);
  overflow: hidden;
}

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

.hero-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink), rgba(8, 19, 28, 0.55), rgba(8, 19, 28, 0.5));
}

.hero-content {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    max(6.5rem, calc(env(safe-area-inset-top) + 5rem))
    0
    5rem;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 8vw, 5.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--amber);
  text-wrap: balance;
}

.hero-headline {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 4.5vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-support {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: rgba(215, 226, 234, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-block {
  width: 100%;
}

@media (min-width: 640px) {
  .btn-block {
    width: auto;
  }
}

.btn-amber {
  background: var(--amber);
  color: var(--ink);
}

.btn-amber:hover {
  background: var(--maple);
}

.btn-ghost {
  background: transparent;
  color: var(--mist);
  border-color: rgba(215, 226, 234, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lane {
  background: var(--lane);
  color: var(--mist);
}

.btn-lane:hover {
  background: var(--ink);
}

/* Sections */
.section {
  scroll-margin-top: 5.5rem;
  padding: 4rem 0;
}

.section-ink {
  background: var(--ink);
  color: var(--mist);
}

.section-title {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 6vw, 3rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-intro {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.section-ink .section-intro {
  color: rgba(215, 226, 234, 0.75);
}

.section-body {
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0 7rem;
    scroll-margin-top: 6rem;
  }
  .section-body {
    margin-top: 3.5rem;
  }
}

/* Hours */
.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hours-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.hours-list li:first-child {
  border-top: 0;
}

.hours-day {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
}

.hours-time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
}

@media (min-width: 640px) {
  .hours-list li {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 2rem;
  }
}

.note {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.section-ink .note {
  color: rgba(215, 226, 234, 0.7);
}

/* Location */
.location-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.address {
  font-style: normal;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
}

.address p {
  margin: 0;
}

.with-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pin {
  flex-shrink: 0;
  margin-top: 0.35rem;
  color: var(--amber);
}

.directions {
  margin: 1.5rem 0 0;
  max-width: 28rem;
  color: rgba(215, 226, 234, 0.75);
}

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  background: var(--lane);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 640px) {
  .map-frame {
    aspect-ratio: auto;
    min-height: 280px;
  }
}

/* Bowling */
.rates {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .rates {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }
}

.rate {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.rate dt {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.rate-price {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--lane);
  font-variant-numeric: tabular-nums;
}

.rate-detail {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Parties */
.packages {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.package {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.package:first-child {
  border-top: 0;
}

@media (min-width: 768px) {
  .package {
    flex-direction: row;
    justify-content: space-between;
    gap: 2.5rem;
  }
}

.package-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.package-detail {
  margin: 0.5rem 0 0;
  color: rgba(215, 226, 234, 0.7);
}

.includes {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.includes li {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: rgba(215, 226, 234, 0.85);
}

.includes li span:first-child {
  color: var(--amber);
}

.package-price {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.25rem);
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.package-price small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(215, 226, 234, 0.65);
}

.party-footer {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .party-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Leagues */
.leagues {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .leagues {
    grid-template-columns: 1fr 1fr;
  }
}

.league {
  border-left: 2px solid var(--maple);
  padding-left: 1.25rem;
}

.league-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
}

.league-when {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lane);
}

.league-detail {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

/* Contact */
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  text-decoration: none;
}

.contact-phone svg {
  color: var(--maple);
  flex-shrink: 0;
}

.contact-note {
  margin: 1.5rem 0 0;
  max-width: 28rem;
  color: var(--muted);
}

.contact-actions {
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--ink);
  color: var(--mist);
  padding: 2.5rem 0 max(2.5rem, env(safe-area-inset-bottom));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-blurb {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-wrap: balance;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(215, 226, 234, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
