/* Brookshirex — homepage stylesheet.
   Design language: a night chart-table, not a holiday brochure. Deep chart-
   ink navy, brass engraved linework, aged parchment for readable surfaces,
   reef teal as the one cool accent. Zilla Slab carries the field-guide/
   engraved-plaque voice; IBM Plex Sans/Mono handle body copy and data
   (distances, day counts) respectively. */

:root {
  --bx-navy: #0e1b2e;
  --bx-navy-2: #16283f;
  --bx-navy-deep: #081120;
  --bx-parchment: #f3ead3;
  --bx-parchment-2: #e9dec0;
  --bx-brass: #c6a15c;
  --bx-brass-deep: #9c7c3f;
  --bx-reef: #4a9d92;
  --bx-reef-deep: #2c6961;
  --bx-ink: #14212f;
  --bx-white: #fffcf4;
  --bx-mist: rgba(243, 234, 211, 0.72);
  --bx-mist-dim: rgba(243, 234, 211, 0.5);
  --bx-line: rgba(198, 161, 92, 0.24);
  --bx-line-strong: rgba(198, 161, 92, 0.48);
  --bx-shadow: 0 20px 44px rgba(4, 8, 16, 0.4);

  --bx-font-display: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --bx-font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bx-font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --bx-radius: 3px;
  --bx-radius-lg: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--bx-navy);
  color: var(--bx-mist);
  font-family: var(--bx-font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--bx-font-display); margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--bx-brass); outline-offset: 2px; }

.bx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.bx-skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--bx-parchment); color: var(--bx-ink); padding: 12px 18px; border-radius: 0 0 var(--bx-radius) 0;
}
.bx-skip:focus { left: 0; }

.bx-eyebrow {
  font-family: var(--bx-font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bx-brass); margin: 0 0 10px;
}

/* ---------- buttons ---------- */
.bx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--bx-radius); border: 1.5px solid transparent;
  font-family: var(--bx-font-body); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  cursor: pointer; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.bx-btn--solid { background: var(--bx-brass); color: var(--bx-navy-deep); }
.bx-btn--solid:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(198, 161, 92, .28); }
.bx-btn--ghost { background: transparent; border-color: var(--bx-line-strong); color: var(--bx-parchment); }
.bx-btn--ghost:hover { border-color: var(--bx-brass); color: var(--bx-brass); }
.bx-btn--lg { min-height: 52px; padding: 0 28px; font-size: .98rem; }

/* ---------- header ----------
   Deliberately spare: brand mark + a single menu control. Every nav link
   and the primary CTA live in the slide-out panel below, not in the bar
   itself — there is no persistent link list here at any viewport width. */
.bx-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 27, 46, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bx-line);
}
.bx-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.bx-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bx-parchment); font-family: var(--bx-font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: .01em; }
.bx-brand__mark { display: inline-flex; width: 28px; height: 28px; color: var(--bx-brass); }

.bx-menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px;
  border: none; background: none; cursor: pointer;
  font-family: var(--bx-font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bx-parchment);
}
.bx-menu-toggle__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bx-brass); flex: none; transition: transform .2s ease; }
.bx-menu-toggle[aria-expanded="true"] .bx-menu-toggle__dot { transform: scale(1.6); }
.bx-menu-toggle:hover { color: var(--bx-brass); }

.bx-menu-scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(4, 8, 16, .6);
}
.bx-menu-scrim[hidden] { display: none; }

.bx-menu-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(320px, 84vw); padding: 90px 28px 28px;
  background: var(--bx-navy-2); border-left: 1px solid var(--bx-line);
  display: flex; flex-direction: column; gap: 34px;
}
.bx-menu-panel[hidden] { display: none; }
.bx-menu-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bx-menu-panel a {
  display: flex; align-items: center; min-height: 52px; padding: 4px 0;
  text-decoration: none; font-family: var(--bx-font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--bx-parchment); border-bottom: 1px solid var(--bx-line);
}
.bx-menu-panel a:hover { color: var(--bx-brass); }
.bx-menu-panel__cta { width: 100%; }

/* ---------- hero ----------
   Background photo goes inline on the section itself (style="background-
   image:url(...)"), not here — this stylesheet only supplies the fallback
   colour, sizing/position, and the legibility overlay drawn on top of it. */
.bx-hero {
  position: relative;
  isolation: isolate;
  padding: 56px 0 40px;
  overflow: hidden;
  background-color: var(--bx-navy-deep);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.bx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 17, 32, .58) 0%, rgba(8, 17, 32, .32) 45%, rgba(8, 17, 32, .8) 100%),
    radial-gradient(ellipse 900px 500px at 82% -10%, rgba(74, 157, 146, .16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 110%, rgba(198, 161, 92, .12), transparent 60%);
}
.bx-hero > .bx-wrap { position: relative; z-index: 1; }
.bx-hero__copy { max-width: 640px; }
.bx-hero__h1 { font-size: 2.1rem; line-height: 1.06; color: var(--bx-parchment); letter-spacing: -.005em; }
.bx-hero__lead { font-size: 1.05rem; color: var(--bx-mist); max-width: 52ch; margin: 18px 0 0; }
@media (min-width: 640px) { .bx-hero { padding: 76px 0 56px; } .bx-hero__h1 { font-size: 3.1rem; } .bx-hero__lead { font-size: 1.15rem; } }
@media (min-width: 1080px) { .bx-hero__h1 { font-size: 3.6rem; } }

.bx-wizard { margin: 40px 0 0; }
.bx-wizard__label { font-family: var(--bx-font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bx-mist-dim); margin-bottom: 12px; }
.bx-wizard__row { display: flex; flex-wrap: wrap; gap: 10px; }
.bx-wizard__btn {
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--bx-line-strong);
  background: rgba(243, 234, 211, .04); color: var(--bx-parchment); font-weight: 600; font-size: .88rem; cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.bx-wizard__btn:hover { border-color: var(--bx-brass); color: var(--bx-brass); }
.bx-wizard__btn.is-active { background: var(--bx-brass); border-color: var(--bx-brass); color: var(--bx-navy-deep); }

/* ---------- section shell ---------- */
.bx-section { padding: 72px 0; }
.bx-section--parchment { background: var(--bx-parchment); color: var(--bx-ink); }
.bx-section--parchment .bx-eyebrow { color: var(--bx-brass-deep); }
.bx-section--alt { background: var(--bx-navy-2); }
.bx-section__head { max-width: 680px; margin-bottom: 40px; }
.bx-section__head h2 { font-size: 1.8rem; color: var(--bx-parchment); line-height: 1.12; }
.bx-section--parchment .bx-section__head h2 { color: var(--bx-ink); }
.bx-section__lead { font-size: 1rem; color: var(--bx-mist); margin: 14px 0 0; }
.bx-section--parchment .bx-section__lead { color: rgba(20, 33, 47, .72); }
@media (min-width: 760px) { .bx-section__head h2 { font-size: 2.3rem; } }

/* ---------- photo placeholder ---------- */
.bx-photo {
  position: relative; aspect-ratio: var(--ar, 4/3); border-radius: var(--bx-radius-lg);
  border: 1px solid var(--bx-line);
  background: var(--bx-navy-deep);
  display: block; padding: 0; overflow: hidden;
}
.bx-photo__image { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.bx-route:hover .bx-photo__image { transform: scale(1.025); }
.bx-section--parchment .bx-photo {
  border-color: rgba(20, 33, 47, .22);
  background-color: rgba(20, 33, 47, .03);
  background-image: repeating-linear-gradient(45deg, rgba(20, 33, 47, .08) 0 1px, transparent 1px 14px);
}
.bx-photo__icon { width: 26px; height: 26px; color: var(--bx-brass); opacity: .85; }
.bx-photo__label { font-family: var(--bx-font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bx-brass); }
.bx-photo__brief { font-size: .82rem; color: var(--bx-mist-dim); max-width: 28ch; }

.bx-property__grid { display: grid; gap: 28px; align-items: center; }
.bx-property__photo { border-radius: var(--bx-radius-lg); overflow: hidden; box-shadow: var(--bx-shadow); }
.bx-property__photo img { display: block; width: 100%; height: auto; }
.bx-property__copy p { margin: 0 0 14px; }
.bx-property__copy p:last-child { margin-bottom: 0; }
@media (min-width: 860px) {
  .bx-property__grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}

.bx-about__grid { display: grid; gap: 28px; align-items: center; }
.bx-about__photo { border-radius: var(--bx-radius-lg); overflow: hidden; box-shadow: var(--bx-shadow); }
.bx-about__photo img { display: block; width: 100%; height: auto; }
.bx-about__copy p { margin: 0 0 14px; }
.bx-about__copy p:last-child { margin-bottom: 0; }
@media (min-width: 860px) {
  .bx-about__grid { grid-template-columns: 1fr 1.05fr; gap: 48px; }
}
.bx-section--parchment .bx-photo__brief { color: rgba(20, 33, 47, .58); }
.bx-photo__size { font-family: var(--bx-font-mono); font-size: .68rem; color: var(--bx-mist-dim); opacity: .7; }
.bx-section--parchment .bx-photo__size { color: rgba(20, 33, 47, .5); }

/* ---------- scale comparison (signature) ---------- */
.bx-scale { padding: 76px 0; background: var(--bx-navy-deep); position: relative; overflow: hidden; }
.bx-scale__inner { display: grid; gap: 40px; align-items: center; }
.bx-scale__copy { max-width: 480px; }
.bx-scale__copy h2 { font-size: 1.9rem; color: var(--bx-parchment); line-height: 1.14; }
.bx-scale__copy p { color: var(--bx-mist); font-size: 1rem; margin-top: 16px; }
.bx-scale__toggle { margin-top: 24px; }
.bx-scale__stage { position: relative; aspect-ratio: 4/3; border: 1.5px solid var(--bx-line); border-radius: var(--bx-radius-lg); background: rgba(243, 234, 211, .02); overflow: hidden; }
.bx-scale__layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8%; }
.bx-scale__shape { width: 100%; height: 100%; }
.bx-scale__shape--au { fill: rgba(198, 161, 92, .5); stroke: var(--bx-brass); stroke-width: 1.6; }
.bx-scale__shape--ref { fill: rgba(74, 157, 146, .28); stroke: var(--bx-reef); stroke-width: 1.4; stroke-dasharray: 5 4; opacity: 0; transition: opacity .5s ease; }
.bx-scale__stage.is-comparing .bx-scale__shape--ref { opacity: 1; }
.bx-scale__caption { position: absolute; left: 14px; bottom: 12px; font-family: var(--bx-font-mono); font-size: .7rem; letter-spacing: .06em; color: var(--bx-mist-dim); }
.bx-stats { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.bx-stat { border-left: 2px solid var(--bx-brass); padding-left: 14px; }
.bx-stat__num { display: block; font-family: var(--bx-font-mono); font-size: 1.3rem; color: var(--bx-parchment); font-weight: 600; }
.bx-stat__label { font-size: .82rem; color: var(--bx-mist-dim); }

@media (min-width: 860px) {
  .bx-scale__inner { grid-template-columns: 1fr 1.1fr; }
}

/* ---------- route stop chain ---------- */
.bx-stops { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--bx-font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--bx-brass-deep); margin: 12px 0; }
.bx-stops__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bx-brass-deep); flex: none; }
.bx-stops__seg { width: 16px; height: 1px; background: var(--bx-line-strong); flex: none; }

/* ---------- routes grid ---------- */
.bx-routes { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bx-routes { grid-template-columns: repeat(2, 1fr); } }
.bx-route {
  background: rgba(243, 234, 211, .03); border: 1px solid var(--bx-line); border-radius: var(--bx-radius-lg);
  overflow: hidden; transition: border-color .18s ease, transform .18s ease;
}
.bx-route:hover { border-color: var(--bx-line-strong); transform: translateY(-2px); }
.bx-route__link { display: block; text-decoration: none; color: inherit; }
.bx-route__body { padding: 20px; }
.bx-route__days { font-family: var(--bx-font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--bx-reef); text-transform: uppercase; }
.bx-route__body h3 { font-size: 1.2rem; color: var(--bx-parchment); margin-top: 6px; }
.bx-route__body p { font-size: .9rem; color: var(--bx-mist); margin: 10px 0 0; }
.bx-route__gateway {
  font-family: var(--bx-font-mono); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--bx-mist-dim) !important; margin: 12px 0 0 !important; padding-top: 10px; border-top: 1px solid var(--bx-line);
}

/* ---------- before you go — read like a manual page, not cards ---------- */
.bx-manual { margin: 0; border-top: 1px solid var(--bx-line); }
.bx-manual__row {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  padding: 22px 0; border-bottom: 1px solid var(--bx-line);
}
.bx-manual__row dt {
  font-family: var(--bx-font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bx-brass); font-weight: 600;
}
.bx-manual__row dd { margin: 0; font-size: .98rem; color: var(--bx-mist); line-height: 1.6; }
@media (min-width: 700px) {
  .bx-manual__row { grid-template-columns: 190px 1fr; gap: 28px; align-items: baseline; }
}
.bx-section--parchment .bx-manual { border-top-color: rgba(20, 33, 47, .18); }
.bx-section--parchment .bx-manual__row { border-bottom-color: rgba(20, 33, 47, .18); }
.bx-section--parchment .bx-manual__row dt { color: var(--bx-brass-deep); }
.bx-section--parchment .bx-manual__row dd { color: var(--bx-ink); }

/* ---------- final CTA ---------- */
.bx-cta { padding: 72px 0; background: var(--bx-navy-deep); border-top: 1px solid var(--bx-line); }
.bx-cta__inner { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.bx-cta h2 { font-size: 1.7rem; color: var(--bx-parchment); max-width: 26ch; }
.bx-cta p { color: var(--bx-mist); margin-top: 10px; }
@media (min-width: 760px) {
  .bx-cta__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .bx-cta h2 { font-size: 2rem; }
}

/* ---------- interior pages: breadcrumb + page hero ---------- */
.bx-breadcrumb { font-family: var(--bx-font-mono); font-size: .74rem; letter-spacing: .03em; color: var(--bx-mist-dim); margin: 0 0 20px; }
.bx-breadcrumb a { color: var(--bx-mist-dim); text-decoration: none; }
.bx-breadcrumb a:hover { color: var(--bx-brass); }
.bx-breadcrumb span[aria-current] { color: var(--bx-parchment); font-weight: 600; }

.bx-page-hero {
  position: relative; isolation: isolate; padding: 128px 0 52px; overflow: hidden;
  background-color: var(--bx-navy-deep); background-size: cover; background-position: center 42%; background-repeat: no-repeat;
}
.bx-page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 17, 32, .64) 0%, rgba(8, 17, 32, .28) 42%, rgba(8, 17, 32, .88) 100%);
}
.bx-page-hero > .bx-wrap { position: relative; z-index: 1; }
.bx-page-hero h1 { color: var(--bx-parchment); font-size: 2rem; max-width: 20ch; line-height: 1.08; }
.bx-page-hero__lead { color: var(--bx-mist); font-size: 1.02rem; max-width: 58ch; margin: 16px 0 20px; }
.bx-page-hero .bx-stops { color: var(--bx-parchment); }
.bx-page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (min-width: 760px) { .bx-page-hero h1 { font-size: 2.8rem; } }

/* ---------- quick facts strip ---------- */
.bx-quickfacts { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 24px; background: rgba(243, 234, 211, .03); border: 1px solid var(--bx-line); border-radius: var(--bx-radius-lg); }
.bx-quickfacts dt { font-family: var(--bx-font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bx-brass); margin-bottom: 4px; }
.bx-quickfacts dd { margin: 0; font-weight: 700; color: var(--bx-parchment); }
@media (min-width: 640px) { .bx-quickfacts { grid-template-columns: repeat(4, 1fr); } }
.bx-section--parchment .bx-quickfacts { background: rgba(20, 33, 47, .03); border-color: rgba(20, 33, 47, .18); }
.bx-section--parchment .bx-quickfacts dt { color: var(--bx-brass-deep); }
.bx-section--parchment .bx-quickfacts dd { color: var(--bx-ink); }

/* ---------- day-by-day log ---------- */
.bx-log { display: flex; flex-direction: column; max-width: 760px; }
.bx-log__entry { padding: 26px 0; border-bottom: 1px solid var(--bx-line); display: grid; gap: 8px; }
.bx-log__entry:first-child { padding-top: 0; }
.bx-log__entry:last-child { border-bottom: 0; }
.bx-log__day { font-family: var(--bx-font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bx-reef); }
.bx-log__entry h3 { font-size: 1.15rem; color: var(--bx-parchment); }
.bx-log__entry p { font-size: .96rem; color: var(--bx-mist); margin: 0; }
@media (min-width: 760px) {
  .bx-log__entry { grid-template-columns: 150px 1fr; gap: 26px; align-items: baseline; }
}

/* ---------- long-form prose (About / Privacy / Terms) ---------- */
.bx-prose { max-width: 720px; }
.bx-prose h2 { font-size: 1.4rem; color: var(--bx-parchment); margin: 44px 0 14px; }
.bx-prose h2:first-child { margin-top: 0; }
.bx-prose h3 { font-size: 1.08rem; color: var(--bx-parchment); margin: 28px 0 10px; }
.bx-prose p { font-size: 1rem; line-height: 1.7; color: var(--bx-mist); }
.bx-prose a { color: var(--bx-brass); text-decoration: underline; text-underline-offset: 2px; }
.bx-prose a:hover { color: var(--bx-brass-deep); }
.bx-section--parchment .bx-prose h2 { color: var(--bx-ink); }
.bx-section--parchment .bx-prose h3 { color: var(--bx-ink); }
.bx-section--parchment .bx-prose p { color: rgba(20, 33, 47, .75); }

/* ---------- contact page ---------- */
.bx-contact-grid { display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .bx-contact-grid { grid-template-columns: 1fr 1fr; } }
.bx-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.bx-contact-list dt { font-family: var(--bx-font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bx-brass); margin-bottom: 4px; }
.bx-contact-list dd { margin: 0; color: var(--bx-parchment); }
.bx-contact-list a { color: var(--bx-parchment); text-decoration: none; border-bottom: 1px solid var(--bx-line-strong); }
.bx-contact-list a:hover { color: var(--bx-brass); }
.bx-contact-form { display: flex; flex-direction: column; gap: 14px; }
.bx-contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--bx-mist); }
.bx-contact-form input, .bx-contact-form textarea {
  min-height: 46px; padding: 10px 14px; border-radius: var(--bx-radius); border: 1.5px solid var(--bx-line-strong);
  background: rgba(243, 234, 211, .04); color: var(--bx-parchment); font-family: inherit; font-size: .95rem;
}
.bx-contact-form textarea { min-height: 130px; resize: vertical; }
.bx-contact-form input:focus, .bx-contact-form textarea:focus { border-color: var(--bx-brass); outline: none; }
.bx-contact-form__note { font-size: .82rem; color: var(--bx-mist-dim); margin: 4px 0 0; }

/* ---------- footer — read like a chart legend, not a sitemap ---------- */
.bx-footer { background: var(--bx-navy-deep); border-top: 1px solid var(--bx-line); padding: 52px 0 30px; }
.bx-footer__inner { max-width: 1040px; }
.bx-footer__tagline { font-size: .9rem; color: var(--bx-mist-dim); margin: 12px 0 0; max-width: 42ch; }
.bx-footer__legend-label {
  font-family: var(--bx-font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bx-brass); margin: 36px 0 14px;
}
.bx-footer__legend {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 10px;
}
.bx-footer__legend li { display: flex; align-items: center; }
.bx-footer__legend li:not(:last-child)::after {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--bx-line-strong);
  margin: 0 16px;
}
.bx-footer__legend a { text-decoration: none; font-size: .88rem; color: var(--bx-mist); }
.bx-footer__legend a:hover { color: var(--bx-brass); }
.bx-footer__bottom { margin: 0; padding-top: 20px; border-top: 1px solid var(--bx-line); font-size: .78rem; color: var(--bx-mist-dim); }

/* ---------- menu panel: account state ---------- */
.bx-menu-panel__account { display: flex; flex-direction: column; gap: 14px; }
.bx-menu-panel__account[hidden] { display: none; }
.bx-menu-panel__account-email {
  font-family: var(--bx-font-mono); font-size: .84rem; color: var(--bx-parchment);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bx-menu-panel__auth-actions { display: flex; flex-direction: column; gap: 12px; }
.bx-menu-panel__auth-actions[hidden] { display: none; }

/* ---------- auth modal ---------- */
.bx-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bx-modal[hidden] { display: none; }
.bx-modal__backdrop { position: absolute; inset: 0; background: rgba(4, 8, 16, .68); border: none; cursor: pointer; }
.bx-modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: var(--bx-navy-2); border: 1px solid var(--bx-line); border-radius: var(--bx-radius-lg);
  padding: 28px 26px 24px; box-shadow: var(--bx-shadow);
}
.bx-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.bx-modal__head h3 { margin: 0; font-size: 1.3rem; color: var(--bx-parchment); }
.bx-modal__close {
  width: 36px; height: 36px; border: none; background: none; font-size: 1.3rem; cursor: pointer;
  color: var(--bx-mist-dim); border-radius: 50%;
}
.bx-modal__close:hover { background: rgba(243, 234, 211, .06); color: var(--bx-parchment); }
.bx-modal__lead { font-size: .9rem; color: var(--bx-mist); margin-bottom: 20px; }
.bx-modal__lead[hidden] { display: none; }
.bx-modal__form { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.bx-modal__field { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--bx-mist-dim); }
.bx-modal__field input {
  min-height: 46px; padding: 0 14px; border-radius: var(--bx-radius); border: 1.5px solid var(--bx-line-strong);
  font-size: .95rem; font-family: inherit; background: rgba(243, 234, 211, .04); color: var(--bx-parchment);
}
.bx-modal__field input:focus { border-color: var(--bx-brass); outline: none; }
.bx-modal__error { font-size: .82rem; color: #e39a7c; background: rgba(198, 111, 92, .12); border: 1px solid rgba(198, 111, 92, .3); border-radius: var(--bx-radius); padding: 10px 12px; margin: 0; }
.bx-modal__error[hidden] { display: none; }
.bx-modal__switch { font-size: .84rem; color: var(--bx-mist-dim); margin: 18px 0 0; text-align: center; }
.bx-modal__switch[hidden] { display: none; }
.bx-modal__link-btn { border: none; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--bx-brass); cursor: pointer; text-decoration: underline; }
.bx-modal__link-btn:hover { color: var(--bx-brass-deep); }
.bx-modal__fine { font-size: .74rem; color: var(--bx-mist-dim); margin: 16px 0 0; }
.bx-modal__fine a { color: var(--bx-mist-dim); text-decoration: underline; }

/* ---------- toast ---------- */
.bx-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  padding: 14px 18px; background: var(--bx-parchment); color: var(--bx-ink);
  border-radius: var(--bx-radius-lg); box-shadow: var(--bx-shadow); font-size: .88rem;
  opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
.bx-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bx-toast__icon { width: 18px; height: 18px; flex: none; color: var(--bx-reef-deep); }

/* ---------- group trips: price table ---------- */
.bx-price-table__month-label {
  font-family: var(--bx-font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bx-brass); margin: 40px 0 12px;
}
.bx-price-table__month-label:first-child { margin-top: 0; }
.bx-price-table-wrap { overflow-x: auto; border: 1px solid var(--bx-line); border-radius: var(--bx-radius-lg); }
.bx-price-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.bx-price-table th {
  font-family: var(--bx-font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bx-brass); text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--bx-line);
  background: rgba(243, 234, 211, .04); white-space: nowrap;
}
.bx-price-table td { padding: 15px 16px; border-bottom: 1px solid var(--bx-line); font-size: .9rem; color: var(--bx-mist); vertical-align: middle; }
.bx-price-table tr:last-child td { border-bottom: 0; }
.bx-price-table__date { font-family: var(--bx-font-mono); color: var(--bx-parchment); white-space: nowrap; }
.bx-price-table__route a { color: var(--bx-parchment); text-decoration: none; font-weight: 600; }
.bx-price-table__route a:hover { color: var(--bx-brass); }
.bx-price-table__group { font-family: var(--bx-font-mono); white-space: nowrap; }
.bx-price-table__price { font-family: var(--bx-font-mono); color: var(--bx-parchment); font-weight: 700; white-space: nowrap; }

/* ---------- group trips: callout used on homepage + route pages ---------- */
.bx-group-note {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  border: 1px solid var(--bx-line-strong); border-radius: var(--bx-radius-lg);
  background: rgba(198, 161, 92, .05); margin: 0 0 32px;
}
.bx-group-note__icon { width: 24px; height: 24px; flex: none; color: var(--bx-brass); margin-top: 2px; }
.bx-group-note p { margin: 0; font-size: .92rem; color: var(--bx-mist); line-height: 1.6; }
.bx-group-note a { color: var(--bx-brass); text-decoration: underline; text-underline-offset: 2px; }
.bx-group-note a:hover { color: var(--bx-brass-deep); }

/* ---------- pricing page: how it works steps ---------- */
.bx-steps { display: flex; flex-direction: column; max-width: 720px; }
.bx-steps__item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--bx-line); }
.bx-steps__item:last-child { border-bottom: 0; }
.bx-steps__num { font-family: var(--bx-font-mono); font-size: 1rem; color: var(--bx-brass); font-weight: 700; }
.bx-steps__item h3 { font-size: 1.02rem; color: var(--bx-parchment); margin-bottom: 6px; }
.bx-steps__item p { margin: 0; font-size: .92rem; color: var(--bx-mist); }
