/* ==========================================================================
   Bowl Out Rice and Noodles — Brand Palette & Base Styles
   ========================================================================== */
:root {
  --bg-navy: #071b2e;
  --bg-surface: #0c263f;
  --bg-card: #102f4d;
  --border-subtle: #1c446b;
  --cream: #fdf0d5;
  --cream-muted: #c8d2dc;
  --orange: #f36512;
  --orange-hover: #d85307;
  --amber: #f5a012;
  --cyan: #32d9e8;
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --header-height: 77px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-navy);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-navy);
  color: var(--cream);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.orange {
  color: var(--orange);
}

.category {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.button {
  display: inline-block;
  background-color: var(--orange);
  color: #ffffff;
  border: 2px solid var(--orange);
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.button:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
}

.button.small {
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
}

.button.btn-cancel {
  background-color: #64748b;
  border-color: #64748b;
}

.button.btn-cancel:hover {
  background-color: #475569;
  border-color: #475569;
}

/* ==========================================================================
   Top Navigation Header
   ========================================================================== */
header.top {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 5%;
  background-color: rgba(7, 27, 46, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--border-subtle);
}

header.top .brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

header.top nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

header.top nav a {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--cream);
  transition: color 0.2s ease;
}

header.top nav a:hover {
  color: var(--cyan);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 5% 4rem;
}

.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border: 1.5px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: normal;
  color: var(--amber);
}

.hero p {
  font-size: 1.08rem;
  line-height: 1.65;
  letter-spacing: 0.015em;
  color: var(--cream-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero .actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.textlink {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  transition: color 0.2s ease;
}

.textlink:hover {
  color: var(--amber);
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.roundel {
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background-color: var(--orange);
  border: 3px solid var(--cyan);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-8deg);
  padding: 0.5rem;
}

.roundel span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.15rem;
  line-height: 1;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.roundel small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--bg-navy);
  margin-top: 0.25rem;
  line-height: 1.15;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

/* ==========================================================================
   Ticker Bar
   ========================================================================== */
.ticker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  padding: 0.9rem 5%;
  background-color: var(--orange);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
}

/* ==========================================================================
   Menu Section
   ========================================================================== */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 5%;
  scroll-margin-top: var(--header-height, 77px);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 480px;
  color: var(--cream-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  letter-spacing: 0.015em;
}

.filters {
  position: sticky;
  top: var(--header-height, 77px);
  z-index: 850;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0;
  margin-bottom: 2rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0.85rem max(5%, calc(50vw - 620px + 5%));
  background-color: rgba(7, 27, 46, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.filters.is-stuck {
  border-bottom-color: rgba(50, 217, 232, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.filters::-webkit-scrollbar {
  display: none;
}

.filters button {
  background-color: var(--bg-surface);
  color: var(--cream);
  border: 1.5px solid var(--border-subtle);
  padding: 0.55rem 1.15rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filters button:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.filters button.active {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.35rem;
}

.menu-card {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.45rem 1.55rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.menu-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.menu-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: 0.06em;
  line-height: 1.28;
  color: var(--cream);
}

.menu-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  white-space: nowrap;
}

.menu-card p {
  font-size: 0.95rem;
  line-height: 1.58;
  letter-spacing: 0.015em;
  color: var(--cream-muted);
  margin-bottom: 0.95rem;
}

.menu-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cyan);
  background-color: rgba(50, 217, 232, 0.1);
  border: 1px solid rgba(50, 217, 232, 0.35);
  padding: 0.24rem 0.65rem;
  border-radius: 4px;
}

.menu-advisory {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-surface);
  border-left: 4px solid var(--amber);
  border-radius: 4px;
  font-size: 0.86rem;
  line-height: 1.6;
  letter-spacing: 0.012em;
  color: var(--cream-muted);
}

/* ==========================================================================
   Story Section
   ========================================================================== */
.story {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 3rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 5%;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: var(--header-height, 77px);
}

.story-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-mark span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  min-width: 160px;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--orange) 0%, #c84705 100%);
  border: 4px solid var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4rem;
  letter-spacing: 0.06em;
  color: var(--cream);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.story h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.story h2 em {
  font-style: normal;
  color: var(--amber);
}

.story p {
  color: var(--cream-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.015em;
}

.story strong {
  color: var(--cream);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Order CTA Section
   ========================================================================== */
.order {
  text-align: center;
  padding: 4.5rem 5%;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.order h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.order p {
  max-width: 540px;
  margin: 0 auto 1.75rem;
  color: var(--cream-muted);
  line-height: 1.6;
  letter-spacing: 0.015em;
}

.order small {
  display: block;
  margin-top: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--cream-muted);
}

/* ==========================================================================
   Visit & Location Section
   ========================================================================== */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 5%;
  scroll-margin-top: var(--header-height, 77px);
}

.visit h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.visit h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.11em;
  line-height: 1.3;
  color: var(--amber);
  margin-top: 1.55rem;
  margin-bottom: 0.45rem;
}

.visit h3:first-child {
  margin-top: 0;
}

.visit p {
  font-size: 0.98rem;
  line-height: 1.72;
  letter-spacing: 0.018em;
  color: var(--cream-muted);
}

.visit strong {
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.025em;
}

.sibling-concepts {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.concepts-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cyan);
}

.concept-link {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream);
  border-bottom: 1.5px solid var(--orange);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.concept-link:hover {
  color: var(--amber);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 5%;
  background-color: #04111e;
  border-top: 2px solid var(--border-subtle);
  font-size: 0.88rem;
  letter-spacing: 0.015em;
  color: var(--cream-muted);
}

footer .brand img {
  height: 40px;
  width: auto;
}

.legal-links {
  display: flex;
  gap: 1.25rem;
}

.legal-links a:hover {
  color: var(--cyan);
}

footer strong {
  color: var(--cream);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   External Order Redirect Modal
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(4, 15, 28, 0.82);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background-color: #ffffff;
  color: #071b2e;
  width: 100%;
  max-width: 440px;
  padding: 2rem;
  border-radius: 8px;
  border-top: 5px solid var(--orange);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.modal-box h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  color: #071b2e;
  margin-bottom: 0.75rem;
}

.modal-box p {
  font-size: 0.98rem;
  line-height: 1.6;
  letter-spacing: 0.015em;
  color: #334155;
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .actions {
    justify-content: center;
  }

  .hero-art {
    flex-direction: column-reverse;
  }

  .story {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .visit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.55rem;
    padding: 0.65rem 4%;
    margin-bottom: 1.35rem;
  }

  .filters button {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.48rem 0.9rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 102px;
  }

  header.top {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 1rem;
    padding: 0.6rem 4%;
  }

  header.top .brand img {
    height: 40px;
  }

  header.top nav {
    gap: 1.1rem;
  }

  header.top .button.small {
    padding: 0.42rem 0.85rem;
    font-size: 0.82rem;
  }

  .ticker {
    gap: 1rem;
    font-size: 0.92rem;
    text-align: center;
  }

  .section {
    padding: 3rem 4%;
  }

  .section-heading {
    margin-bottom: 1.25rem;
  }

  .menu-grid {
    gap: 0.85rem;
  }

  .menu-card {
    padding: 1.05rem 1.2rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}
