:root {
  --twilight-navy: #2a3746;
  --alabaster: #f3f2eb;
  --pure-white: #ffffff;
  --sky-blue: #bdd2db;
  --creek-blue: #85a2ba;
  --scooter-orange: #e97f57;
  --muted-text: #5a6b7a;
  --font-ui: "Lato", "Helvetica Neue", Helvetica, sans-serif;
  --font-editorial: "Martel", Georgia, "Times New Roman", serif;
  --header-height: 6.5rem;
  --header-height-compact: 4rem;
  --page-pad: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--twilight-navy);
  font-family: var(--font-ui);
  background: var(--alabaster);
}

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

a {
  color: inherit;
}

.main {
  min-height: calc(100vh - var(--header-height) - 12rem);
  padding-top: var(--header-height);
}

/* —— Header —— */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: var(--alabaster);
  border-bottom: 1px solid transparent;
  transition: height 220ms ease, border-color 220ms ease;
}

.site-header.is-compact {
  height: var(--header-height-compact);
  border-bottom-color: rgba(42, 55, 70, 0.08);
}

.site-header__inner {
  height: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__brand {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  min-height: 2.75rem;
}

.site-header__logo {
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-header__logo--wordmark {
  width: min(240px, 46vw);
  height: auto;
}

.site-header__logo--treedle {
  position: absolute;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.site-header.is-compact .site-header__logo--wordmark {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

.site-header.is-compact .site-header__logo--treedle {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.site-header__toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.5rem 0;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--twilight-navy);
  cursor: pointer;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-header__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted-text);
  transition: color 160ms ease;
}

.site-header__link:hover,
.site-header__link:focus-visible,
.site-header__link.is-active {
  color: var(--twilight-navy);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--scooter-orange);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--twilight-navy);
  transition: background-color 160ms ease, color 160ms ease;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  background: var(--scooter-orange);
  color: var(--alabaster);
  outline: none;
}

/* —— Footer —— */

.site-footer {
  border-top: 1px solid rgba(42, 55, 70, 0.08);
  padding: 3rem var(--page-pad) 2.5rem;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.site-footer__mark {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  opacity: 0.9;
}

.site-footer__name {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__meta,
.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted-text);
}

.site-footer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list a {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted-text);
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
  color: var(--twilight-navy);
}

/* —— Home splash —— */

.splash {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 8vh, 4rem) var(--page-pad) 4rem;
}

.splash__mark {
  width: min(150px, 36vw);
  margin: 0 0 2.25rem;
}

.splash__kicker {
  margin: 0 0 1.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.splash__lede {
  margin: 0 auto 2.5rem;
  max-width: 34rem;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(0.98rem, 1.7vw, 1.125rem);
  line-height: 1.7;
}

.splash__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--scooter-orange);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.splash__cta:hover,
.splash__cta:focus-visible {
  background: var(--scooter-orange);
  color: var(--alabaster);
  outline: none;
}

/* —— Interior stubs —— */

.page-hero {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 6rem) var(--page-pad) 5rem;
}

.page-hero--compact {
  max-width: 44rem;
  padding-bottom: 2rem;
}

.menu-panel {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--page-pad) 5rem;
}

/* Build-time menu SSR (matches widget classnames until JS hydrates) */
#bbcc-menu-page-root {
  font-family: var(--font-ui);
  color: var(--twilight-navy);
  line-height: 1.55;
}

#bbcc-menu-page-root h2,
#bbcc-menu-page-root h3,
#bbcc-menu-page-root h4 {
  margin: 0;
  font-style: normal;
  font-weight: 700;
}

#bbcc-menu-page-root p {
  margin: 0;
}

#bbcc-menu-page-root section + section {
  margin-top: 2rem;
}

.bbcc-special {
  padding: 0 0 1.75rem;
  margin: 0 0 1.75rem;
  border-bottom: 1px solid rgba(42, 55, 70, 0.1);
}

.bbcc-special h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: 0.4rem;
}

.bbcc-special h3 {
  font-size: 1.65rem;
  color: var(--twilight-navy);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.bbcc-special p {
  font-size: 1rem;
  color: var(--muted-text);
  margin-bottom: 1rem;
}

.bbcc-hours h2,
.bbcc-menu h2 {
  font-size: 1.25rem;
  color: var(--twilight-navy);
  margin-bottom: 0.85rem;
}

.bbcc-menu h2 {
  border-bottom: 2px solid var(--creek-blue);
  padding-bottom: 0.35rem;
}

.bbcc-hours__day {
  margin-bottom: 0.65rem;
}

.bbcc-hours__day strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.bbcc-hours__day ul {
  margin: 0;
  padding-left: 1.1rem;
}

.bbcc-hours__day li,
.bbcc-hours__taco,
.bbcc-hours__bar,
.bbcc-menu-item p,
.bbcc-menu-footnote {
  font-size: 0.92rem;
  color: var(--muted-text);
}

.bbcc-menu-item {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(42, 55, 70, 0.08);
}

.bbcc-menu-item:last-child {
  border-bottom: 0;
}

.bbcc-menu-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.bbcc-menu-item h4 {
  font-size: 1rem;
  flex: 1;
}

.bbcc-menu-item__price {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.bbcc-menu-footnote {
  margin-top: 1.25rem;
  font-style: italic;
}

.page-hero__kicker {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.page-hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-ui);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-hero__lede {
  margin: 0;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--twilight-navy);
}

.page-hero__actions {
  margin: 2rem 0 0;
}

.text-link {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--scooter-orange);
  padding-bottom: 0.2rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--scooter-orange);
}

/* —— Mobile nav —— */

@media (max-width: 820px) {
  :root {
    --header-height: 5.25rem;
    --header-height-compact: 3.75rem;
  }

  .site-header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header__nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.25rem var(--page-pad) 1.75rem;
    background: var(--alabaster);
    border-bottom: 1px solid rgba(42, 55, 70, 0.08);
  }

  .site-header.is-compact .site-header__nav {
    top: var(--header-height-compact);
  }

  .site-header.is-nav-open .site-header__nav {
    display: flex;
  }

  .site-header__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .site-header__cta {
    width: 100%;
  }

  .site-header__logo--wordmark {
    width: min(190px, 58vw);
  }
}

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

  .site-header,
  .site-header__logo,
  .site-header__cta,
  .splash__cta {
    transition: none;
  }
}
