/* Indie Coffee - Neon Circuit Aesthetic */

:root {
  /* Neon palette */
  --bg: #0A0A0A;
  --ink: #E8E8E8;
  --ink-muted: #888888;
  --surface: #1A1A1A;
  --rule: #2A2A2A;
  --neon-amber: #FFB366;
  --neon-teal: #66E6CC;
  --neon-copper: #CC4422;
  --accent: var(--neon-copper);
  --accent-ink: #FFFFFF;

  --measure: 68ch;

  scrollbar-color: var(--rule) transparent;
  caret-color: var(--neon-amber);
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

::selection {
  background: var(--neon-amber);
  color: #0A0A0A;
}

:focus-visible {
  outline: 2px solid var(--neon-amber);
  outline-offset: 4px;
}

a {
  color: var(--neon-teal);
  text-decoration: none;
  text-underline-offset: 0.18em;
  transition: all 150ms cubic-bezier(0.2, 0, 0, 1);
}

a:hover {
  color: var(--neon-amber);
  text-shadow: 0 0 8px var(--neon-amber);
}

.num {
  font-variant-numeric: tabular-nums;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 100%);
  z-index: 100;
}

.nav-link {
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: -apple-system-ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

.nav-link:hover {
  color: var(--neon-amber);
  text-shadow: 0 0 12px var(--neon-amber);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.neon-title {
  font-family: "Brush Script MT", "Apple Chancery", cursive;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--neon-amber);
  text-shadow:
    0 0 10px var(--neon-amber),
    0 0 20px var(--neon-amber),
    0 0 40px var(--neon-amber),
    0 0 80px rgba(255, 179, 102, 0.4);
  letter-spacing: -0.02em;
  line-height: 1;
}

.neon-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--neon-teal);
  text-shadow:
    0 0 8px var(--neon-teal),
    0 0 16px var(--neon-teal),
    0 0 32px rgba(102, 230, 204, 0.3);
  margin: 0 0 3rem;
  font-family: -apple-system-ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

.status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.status-badge {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem;
  border: 2px solid currentColor;
  border-radius: 2px;
  font-family: -apple-system-ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

.status-badge.open {
  color: var(--neon-amber);
  text-shadow: 0 0 12px var(--neon-amber);
  border-color: var(--neon-amber);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.status-time {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-family: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

.cta {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1rem 2.5rem;
  color: var(--accent-ink);
  background: transparent;
  border: 2px solid var(--neon-copper);
  border-radius: 2px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 150ms cubic-bezier(0.2, 0, 0, 1);
  font-family: -apple-system-ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

.cta:hover {
  border-color: var(--neon-copper);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: var(--accent-ink);
  text-shadow:
    0 0 12px rgba(255, 255, 255, 1),
    0 0 24px var(--neon-copper);
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0 0 3rem;
  color: var(--neon-amber);
  text-shadow: 0 0 16px rgba(255, 179, 102, 0.5);
  font-family: -apple-system-ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Menu */
.menu-category {
  margin-bottom: 4rem;
}

.category-heading {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 1.5rem;
  font-family: -apple-system-ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.item-name {
  font-size: 1.125rem;
  font-weight: 500;
}

.item-desc {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.item-price {
  font-family: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  font-size: 1rem;
  color: var(--ink);
  white-space: nowrap;
}

.neon-item {
  color: var(--neon-amber);
  text-shadow: 0 0 8px rgba(255, 179, 102, 0.6);
  transition: all 150ms cubic-bezier(0.2, 0, 0, 1);
}

.neon-item-teal {
  color: var(--neon-teal);
  text-shadow: 0 0 8px rgba(102, 230, 204, 0.6);
  transition: all 150ms cubic-bezier(0.2, 0, 0, 1);
}

.menu-item:hover .neon-item {
  text-shadow:
    0 0 12px var(--neon-amber),
    0 0 24px rgba(255, 179, 102, 0.4);
}

.menu-item:hover .neon-item-teal {
  text-shadow:
    0 0 12px var(--neon-teal),
    0 0 24px rgba(102, 230, 204, 0.4);
}

/* Hours */
.hours-display {
  max-width: 600px;
  margin: 0 auto;
}

.hours-sign {
  background: var(--surface);
  border: 2px solid var(--neon-amber);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: -apple-system-ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

.hours-row:last-child {
  border-bottom: none;
}

.day {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
}

.time {
  font-family: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  font-size: 1rem;
  color: var(--neon-amber);
  text-shadow: 0 0 8px rgba(255, 179, 102, 0.5);
}

/* Location */
.location-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 2rem;
  font-style: normal;
}

.address-marker {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.address-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.address-line {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
}

.location-note {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}

/* About */
.about-content {
  max-width: var(--measure);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
  font-family: -apple-system-ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: all 150ms cubic-bezier(0.2, 0, 0, 1);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--neon-copper);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  background: transparent;
  border: 2px solid var(--neon-copper);
  border-radius: 2px;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-family: -apple-system-ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

.form-submit:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.form-submit:active {
  transform: translateY(0);
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--rule);
}

.footer-text {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    gap: 1rem;
    padding: 1rem;
  }

  .nav-link {
    font-size: 0.75rem;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .menu-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .item-price {
    align-self: flex-start;
  }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .neon-title {
    animation: neon-flicker 3s ease-in-out infinite;
  }

  @keyframes neon-flicker {
    0%, 100% {
      text-shadow:
        0 0 10px var(--neon-amber),
        0 0 20px var(--neon-amber),
        0 0 40px var(--neon-amber),
        0 0 80px rgba(255, 179, 102, 0.4);
    }
    50% {
      text-shadow:
        0 0 8px var(--neon-amber),
        0 0 16px var(--neon-amber),
        0 0 32px var(--neon-amber),
        0 0 64px rgba(255, 179, 102, 0.3);
    }
  }
}

/* Print */
@media print {
  body {
    background: #fff;
    background-image: none;
    color: #000;
  }

  .nav,
  .cta,
  .form-submit {
    display: none;
  }

  .neon-title,
  .neon-tagline,
  .neon-item,
  .neon-item-teal {
    color: #000;
    text-shadow: none;
  }

  .section-heading {
    color: #000;
    text-shadow: none;
  }

  .hours-sign,
  .location-card {
    border-color: #000;
    box-shadow: none;
  }
}
