/* =========================================================================
   Chrome — status bar, header, mega menu, drawer, mobile action bar, footer
   ========================================================================= */

.brand-logo { display: block; height: 2.6rem; width: auto; }
@media (min-width: 64rem) { .brand-logo { height: 3.1rem; } }

/* ---- Status bar: the one full-width orange band ---- */
.statusbar {
  background: var(--brand);
  color: var(--brand-ink);
  font-size: var(--step--1);
}
.statusbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-sm);
  min-height: 2.4rem; padding-block: 0.3rem;
}
.statusbar__left { display: flex; align-items: center; gap: 1.1rem; min-width: 0; }
.statusbar a { color: inherit; text-decoration: none; font-weight: 600; }
.statusbar a:hover { text-decoration: underline; }
.statusbar .status__detail { opacity: 0.85; }
.statusbar .status[data-state="open"] .status__dot { background: var(--brand-ink); box-shadow: 0 0 0 3px oklch(0.17 0.01 55 / 0.18); }
.statusbar .addr { display: inline-flex; align-items: center; gap: 0.4em; }
@media (max-width: 52rem) { .statusbar .addr, .statusbar .hide-sm { display: none; } }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--dark);
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow var(--dur-mid) var(--ease-out-quart);
}
.site-header[data-scrolled="true"] { box-shadow: var(--shadow-lg); }
.nav { display: flex; align-items: center; gap: var(--space-md); min-height: var(--header-h); }
.nav__brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; text-decoration: none; }

.nav__links { display: none; list-style: none; margin: 0; padding: 0; }
.nav__cta { display: flex; align-items: center; gap: 0.6rem; }
.nav__cta .btn { padding-block: 0.65rem; min-height: 2.85rem; }
@media (max-width: 30rem) { .nav__cta .btn .label-long { display: none; } }

@media (min-width: 64rem) {
  .nav__links { display: flex; align-items: center; gap: 0.1rem; margin-inline: auto 0.5rem; }
  .nav__item { position: relative; }
  .nav__link {
    display: inline-flex; align-items: center; gap: 0.35em;
    padding: 0.6rem 0.8rem;
    font-weight: 500; font-size: var(--step-0);
    color: var(--on-dark-muted); text-decoration: none;
    background: none; border: 0;
    border-radius: var(--r-sm);
    transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
  }
  .nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--on-dark); background: var(--dark-2); }
  .nav__link[aria-current="page"] { color: var(--on-dark); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
  .nav__link .icon { width: 0.9em; height: 0.9em; opacity: 0.7; transition: rotate var(--dur-fast) ease; }
  .nav__item:hover > .nav__link .icon, .nav__item:focus-within > .nav__link .icon { rotate: 180deg; }

  .nav__panel {
    position: absolute; top: calc(100% + 0.55rem); left: 50%;
    translate: -50% 6px;
    background: var(--bg); color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.6rem;
    min-width: 15rem;
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur-fast) ease, translate var(--dur-mid) var(--ease-out-quart), visibility var(--dur-fast);
  }
  .nav__panel::before { content: ""; position: absolute; inset: -0.6rem 0 auto; height: 0.6rem; }
  .nav__item:hover > .nav__panel, .nav__item:focus-within > .nav__panel { opacity: 1; visibility: visible; translate: -50% 0; }

  .nav__panel--wide { width: min(40rem, 90vw); display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.4rem; }
  .nav__panel a {
    display: block; padding: 0.55rem 0.75rem;
    color: var(--ink-800); text-decoration: none; font-weight: 500;
    border-radius: var(--r-sm);
  }
  .nav__panel a:hover { background: var(--surface-2); color: var(--ink-900); }
  .nav__panel-foot {
    grid-column: 1 / -1;
    margin-top: 0.4rem; padding: 0.6rem 0.75rem 0.2rem;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-size: var(--step--1); color: var(--text-muted);
  }
  .nav__panel .nav__panel-foot a { display: inline-flex; padding: 0; font-weight: 600; color: var(--ink-900); border-bottom: 2px solid var(--brand); border-radius: 0; }
  .nav__panel .nav__panel-foot a:hover { background: none; }
}

.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.85rem; height: 2.85rem;
  background: transparent; border: 1.5px solid var(--line-dark);
  border-radius: var(--r-sm); color: var(--on-dark);
}
.nav__toggle svg { width: 1.4rem; height: 1.4rem; }
@media (min-width: 64rem) { .nav__toggle { display: none; } }

/* ---- Mobile drawer ---- */
.drawer {
  border: 0; padding: 0;
  position: fixed; inset: 0 0 0 auto;
  width: min(23rem, 88vw); max-width: 100%;
  height: 100dvh; max-height: 100dvh;
  margin: 0 0 0 auto; background: var(--bg);
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer[open] { display: flex; }
.drawer::backdrop { background: oklch(0.12 0.01 60 / 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: drawer-in var(--dur-mid) var(--ease-out-expo); }
  @keyframes drawer-in { from { translate: 100% 0; } }
}
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem var(--gutter);
  background: var(--dark);
}
.drawer__head .brand-logo { height: 2.4rem; }
.drawer__close {
  width: 2.6rem; height: 2.6rem; display: inline-flex; align-items: center; justify-content: center;
  background: var(--dark-2); border: 0; border-radius: var(--r-sm); color: var(--on-dark);
}
.drawer__nav { padding: var(--space-2xs) var(--gutter) var(--space-sm); overflow-y: auto; flex: 1; }
.drawer__nav > a, .drawer__nav summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0.25rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--step-1); color: var(--ink-900); text-decoration: none;
  border-bottom: 1px solid var(--line);
  list-style: none; cursor: pointer;
}
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary .icon { transition: rotate var(--dur-fast) ease; }
.drawer__nav details[open] summary .icon { rotate: 180deg; }
.drawer__nav .sub { display: grid; padding: 0.3rem 0 0.6rem; border-bottom: 1px solid var(--line); }
.drawer__nav .sub a { padding: 0.5rem 0.75rem; color: var(--ink-700); text-decoration: none; font-weight: 500; }
.drawer__nav .sub a:first-child { color: var(--ink-900); font-weight: 600; }
.drawer__foot { padding: var(--space-sm) var(--gutter) max(var(--space-sm), env(safe-area-inset-bottom)); display: grid; gap: 0.6rem; border-top: 1px solid var(--line); }

/* ---- Mobile sticky action bar ---- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-actionbar);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0.6rem;
  padding: 0.6rem var(--gutter) max(0.6rem, env(safe-area-inset-bottom));
  background: var(--dark);
  border-top: 1px solid var(--line-dark);
}
.actionbar .btn { min-height: 3.1rem; padding-block: 0.7rem; }
@media (min-width: 64rem) { .actionbar { display: none; } }
@media (max-width: 63.99rem) { body { padding-bottom: 4.5rem; } }

/* ---- Footer ---- */
/* The CTA band and the footer read as one dark closing block: the footer sits
   a step deeper than --dark, with a hairline instead of a hard accent rule. */
.site-footer { background: var(--dark-0); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-grid {
  display: grid; gap: var(--space-lg);
  padding-block: var(--space-xl) var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.25fr; } }
.footer-col h2 { color: var(--on-dark); font-size: var(--step-0); font-weight: 600; letter-spacing: 0; margin-bottom: var(--space-xs); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; font-size: var(--step--1); }
.footer-brand .brand-logo { height: 3.4rem; margin-bottom: var(--space-sm); }
.footer-brand p { font-size: var(--step--1); max-width: 34ch; }
.footer-social { display: flex; gap: 0.5rem; margin-top: var(--space-sm); }
.footer-social a {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: var(--r-sm); background: var(--dark-2); border: 1px solid var(--line-dark);
}
.footer-social a:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.footer-contact { display: grid; gap: 0.5rem; font-size: var(--step--1); }
.footer-contact .big { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); color: var(--brand); line-height: 1.1; }
.footer-hours { list-style: none; padding: 0; display: grid; gap: 0.15rem; margin-top: 0.3rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-sm); justify-content: space-between;
  padding-block: var(--space-md);
  border-top: 1px solid var(--line-dark);
  font-size: var(--step--1);
}
.footer-bottom nav { display: flex; gap: 1rem; flex-wrap: wrap; }
