/* New customer site (/new/). Phone first; one stylesheet. 2026-10-25
   Brand: the logo's navy and red. Archivo (wide, italic) for route, times and prices, echoing
   the logo's heavy italic; Public Sans for everything else. The one loud element is the
   departure board on the home page; everything else stays quiet. */

:root {
    --navy: #07346f;
    --navy-deep: #04213f;
    --red: #e3062a;
    --red-dark: #b80422;
    --ink: #13223a;
    --steel: #56677f;
    --line: #d7dee8;
    --paper: #f2f4f8;
    --white: #ffffff;
    --tint: #e8eef8;
    --amber: #ffb81c;
    --ok: #17734a;
    --radius: 12px;
    --display: "Archivo", "Arial Narrow", Arial, sans-serif;
    --text: "Public Sans", -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.5 var(--text);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.sr {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--white); padding: 8px 12px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font: 700 1.25rem/1.2 var(--text); }

/* ---------- header ---------- */
.top { background: var(--white); border-bottom: 3px solid var(--red); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: block; width: 150px; flex: none; }
.brand img { display: block; width: 100%; height: auto; margin-top: -14px; } /* the artwork has empty space above the words */
.top-nav { display: flex; align-items: center; gap: 4px; font-size: .9rem; font-weight: 600; }
.top-nav a { padding: 10px 8px; text-decoration: none; color: var(--navy); white-space: nowrap; }
.top-nav .call { color: var(--red-dark); display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; }
.call-num { display: none; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 22px 0 64px; }
.hero h1 {
    font-family: var(--display);
    font-style: italic;
    font-weight: 850;
    font-stretch: 115%;
    font-size: clamp(1.9rem, 8.4vw, 3.4rem);
    letter-spacing: -.01em;
}
.hero h1 span[aria-hidden] { color: var(--amber); font-style: normal; padding: 0 .12em; }
.hero-sub { margin: 8px 0 0; color: #c9d6ea; max-width: 34em; }

/* ---------- search card ---------- */
.card { background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(4, 33, 63, .12), 0 8px 24px rgba(4, 33, 63, .10); }
.search { margin-top: -44px; padding: 16px; display: grid; gap: 16px; position: relative; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .seats > label, .pick-date > label, .ret-date > label {
    display: block; padding: 0; margin-bottom: 6px;
    font-size: .8rem; font-weight: 700; color: var(--steel);
}
input[type=radio], input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* direction: two big buttons */
.dir { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dir label {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px;
    padding: 12px; min-height: 64px; border: 2px solid var(--line); border-radius: 10px; cursor: pointer;
    font-family: var(--display); font-weight: 750; font-stretch: 105%; font-size: 1rem; line-height: 1.15; color: var(--ink);
}
.dir-arrow { color: var(--red); }
.dir input:checked + label { border-color: var(--navy); background: var(--navy); color: var(--white); }
.dir input:checked + label .dir-arrow { color: var(--amber); }
.dir input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips > label {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
    border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .95rem; background: var(--white);
}
.chips > label small { font-weight: 500; color: var(--steel); }
.chips input:checked + label { border-color: var(--navy); background: var(--tint); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.chips input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.search:has(#dir-dc:checked) .from-ny,
.search:has(#dir-ny:checked) .from-dc { display: none; }

.pick-date, .ret-date { display: none; width: 100%; }
.when:has(#w-pick:checked) .pick-date { display: block; }
.ret:has(#ret:checked) .ret-date { display: block; margin-top: 10px; }

input[type=date], input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password] {
    width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #b9c4d3; border-radius: 10px;
    font: 500 1rem var(--text); color: var(--ink); background: var(--white);
}
input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(7, 52, 111, .18); }

.row-2 { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.stepper { display: flex; align-items: center; border: 1.5px solid #b9c4d3; border-radius: 10px; overflow: hidden; width: max-content; }
.stepper input { width: 3.2em; border: 0; border-radius: 0; text-align: center; font-weight: 700; min-height: 46px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.step { width: 46px; min-height: 46px; border: 0; background: var(--tint); color: var(--navy); font-size: 1.4rem; font-weight: 700; cursor: pointer; }
.js .step { display: block; }
.ret { padding-top: 22px; }
.ret-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--navy);
}
.ret-toggle::before {
    content: ""; width: 22px; height: 22px; border: 2px solid #8c9ab0; border-radius: 6px; flex: none; background: var(--white) center/14px no-repeat;
}
.ret input:checked + .ret-toggle::before {
    border-color: var(--navy); background-color: var(--navy);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E");
}
.ret input:focus-visible + .ret-toggle::before { outline: 3px solid var(--amber); outline-offset: 2px; }

.promo summary { cursor: pointer; color: var(--navy); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.promo input { margin-top: 8px; text-transform: uppercase; }

.btn-go, .btn {
    display: block; width: 100%; min-height: 54px; border: 0; border-radius: 10px; cursor: pointer;
    background: var(--red); color: var(--white); font: 800 1.15rem var(--display); font-stretch: 110%; letter-spacing: .01em;
}
.btn-go:hover, .btn:hover { background: var(--red-dark); }

/* ---------- departure board (the loud part) ---------- */
.board { margin: 24px 0 0; background: var(--navy-deep); color: #e7edf6; border-radius: var(--radius); padding: 16px 0 8px; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 16px 10px; }
.board-head h2 { color: var(--white); font-size: 1.05rem; }
.board-head a { color: var(--amber); font-size: .9rem; font-weight: 600; }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li {
    display: grid; grid-template-columns: 5.4em 1fr auto; gap: 4px 12px; align-items: baseline;
    padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, .09);
}
.b-time { font: 800 1.15rem var(--display); font-stretch: 100%; font-variant-numeric: tabular-nums; color: var(--amber); white-space: nowrap; }
.b-route { font-weight: 600; }
.b-route small { display: block; font-weight: 400; color: #9fb2cc; }
.b-state { font: 700 1rem var(--display); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.b-state em { font-style: normal; color: var(--amber); font-size: .8rem; font-family: var(--text); margin-right: 6px; }
.board-list li.is-full .b-time, .board-list li.is-full .b-route { color: #7488a5; }
.board-list li.is-full .b-state { color: #ff8a9b; }
.board-note { margin: 4px 16px 6px; font-size: .8rem; color: #9fb2cc; }
main:has(#dir-dc:checked) .board-ny,
main:has(#dir-ny:checked) .board-dc { display: none; }

/* ---------- stops, why ---------- */
.stops, .why { margin: 32px 0 0; }
.stops h2, .why h2 { margin-bottom: 12px; }
.stops-grid { display: grid; gap: 16px; }
.stops h3 { font-size: .8rem; color: var(--steel); margin-bottom: 6px; }
.stops ul, .why ul { list-style: none; margin: 0; padding: 0; }
.stops li { padding: 12px 0; border-top: 1px solid var(--line); display: grid; }
.stops li span { color: var(--steel); font-size: .92rem; }
.why ul { display: grid; gap: 10px; }
.why li { padding-left: 18px; position: relative; }
.why li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--red); border-radius: 2px; }

/* ---------- trips page ---------- */
.sumbar { background: var(--navy); color: var(--white); padding: 12px 0; }
.sumbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sum-route { margin: 0; font: 800 italic 1.15rem var(--display); font-stretch: 110%; }
.sum-route span[aria-hidden] { color: var(--amber); font-style: normal; }
.sum-meta { margin: 2px 0 0; color: #c9d6ea; font-size: .9rem; }
.sum-edit { color: var(--white); font-weight: 700; padding: 10px 4px; flex: none; }
.sum-edit:hover { color: var(--amber); }

.days { display: flex; gap: 6px; overflow-x: auto; margin: 14px -16px 0; padding: 2px 16px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.days a {
    flex: 0 0 auto; scroll-snap-align: center; display: grid; justify-items: center; min-width: 76px; padding: 8px 6px;
    border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); text-decoration: none; color: var(--ink); line-height: 1.25;
}
.days a.is-on { border-color: var(--navy); background: var(--navy); color: var(--white); }
.d-wd { font-size: .78rem; font-weight: 700; text-transform: none; color: inherit; opacity: .8; }
.d-day { font-weight: 700; }
.d-price { font-size: .78rem; color: var(--ok); font-weight: 600; }
.days a.is-on .d-price { color: var(--amber); }
.board-note.dark { color: var(--steel); margin: 4px 0 0; }

.notice { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; border-left: 5px solid; background: var(--white); font-weight: 500; }
.notice-error { border-color: var(--red); background: #fff1f3; }
.notice-warn { border-color: var(--amber); background: #fff8e6; }
.notice-ok { border-color: var(--ok); background: #eaf6ef; }
.leg-h { margin: 18px 0 10px; font-size: 1.05rem; }
.trips { display: grid; gap: 10px; }
.trip { position: relative; }
.trip label {
    display: grid; gap: 6px; padding: 14px 16px; background: var(--white); border: 2px solid transparent; border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(4, 33, 63, .1); cursor: pointer;
}
.trip input:checked + label { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7, 52, 111, .15); }
.trip input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.trip.is-off label { cursor: default; background: #eef1f5; box-shadow: none; color: #7c8aa0; }
.t-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.t-dep, .t-arr { font: 800 1.35rem var(--display); font-stretch: 100%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-arr { color: var(--steel); font-weight: 700; }
.t-dur { position: relative; height: 18px; display: flex; justify-content: center; }
.t-dur::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dotted #aab6c7; }
.t-dur span { position: relative; background: var(--white); padding: 0 6px; font-size: .78rem; color: var(--steel); font-weight: 600; }
.trip.is-off .t-dur span { background: #eef1f5; }
.t-stops { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .95rem; }
.t-to { text-align: right; color: var(--steel); font-weight: 500; }
.t-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 2px; }
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { font-size: .76rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.tag-elite { background: var(--ink); color: var(--amber); font-style: italic; font-family: var(--display); letter-spacing: .02em; }
.tag-few { background: #fff3d1; color: #7a5200; }
.tag-off { background: #e2e7ee; color: #5a6880; }
.t-note { font-size: .82rem; color: var(--steel); }
.t-price { font: 800 1.45rem var(--display); color: var(--navy); white-space: nowrap; }
.t-price small { font: 500 .75rem var(--text); color: var(--steel); }
.trip input:checked + label .t-price::after {
    content: ""; display: inline-block; width: 18px; height: 18px; margin-left: 8px; vertical-align: -2px; border-radius: 50%;
    background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center/12px no-repeat;
}
.empty { background: var(--white); border-radius: var(--radius); padding: 16px; margin: 0; }

.gobar { position: sticky; bottom: 0; margin: 16px -16px 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(4, 33, 63, .08); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); z-index: 5; }
.gobar-in { display: flex; align-items: center; gap: 12px; }
.go-total { margin: 0; flex: 1; font-weight: 600; color: var(--steel); line-height: 1.25; }
.go-total strong { display: block; font: 800 1.35rem var(--display); color: var(--ink); }
.gobar .btn { width: auto; min-width: 9.5em; padding: 0 22px; }
.fees-note { font-size: .85rem; color: var(--steel); margin: 14px 0 0; }

/* ---------- checkout, ticket, sign-in ---------- */
.narrow { max-width: 640px; }
.crumb { margin: 14px 0 0; font-weight: 600; }
.crumb a { text-decoration: none; }
.page-h { margin: 8px 0 14px; font: 800 italic 1.6rem var(--display); font-stretch: 108%; color: var(--navy); }
.summary { padding: 16px; display: grid; gap: 12px; }
.leg { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.leg-title { margin: 0; font-size: .8rem; font-weight: 700; color: var(--steel); }
.leg-line { margin: 2px 0 0; font-weight: 600; }
.leg-line strong { font: 800 1.15rem var(--display); margin-right: 4px; }
.leg-addr { margin: 2px 0 0; color: var(--steel); font-size: .9rem; }
.price { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price th { text-align: left; font-weight: 500; padding: 4px 0; }
.price td { text-align: right; padding: 4px 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-total th, .price-total td { border-top: 2px solid var(--ink); padding-top: 8px; font: 800 1.2rem var(--display); }
.points { margin: 0; padding: 10px 12px; background: var(--tint); border-radius: 10px; font-size: .92rem; }
.points p { margin: 0; }
.pay { margin-top: 16px; padding: 16px; display: grid; gap: 14px; }
.pay h2 { margin-top: 6px; }
.field { display: grid; gap: 4px; }
.field > label { font-weight: 700; font-size: .9rem; }
.hint { margin: 0; color: var(--steel); font-size: .85rem; }
.err { margin: 0; color: var(--red-dark); font-weight: 600; font-size: .88rem; }
.has-err input { border-color: var(--red); }
.row-2f { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.note textarea { width: 100%; margin-top: 8px; padding: 10px; border: 1.5px solid #b9c4d3; border-radius: 10px; font: 1rem var(--text); }
.secure-line { margin: -6px 0 0; color: var(--steel); font-size: .88rem; }
.secure-line::before { content: "🔒 "; }
.terms { background: var(--paper); border-radius: 10px; padding: 12px; font-size: .9rem; }
.terms p { margin: 0 0 8px; }
.terms .check { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 700; cursor: pointer; }
.terms .check::before { content: ""; width: 22px; height: 22px; border: 2px solid #8c9ab0; border-radius: 6px; background: var(--white) center/14px no-repeat; flex: none; }
.terms input:checked + .check::before {
    border-color: var(--navy); background-color: var(--navy);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E");
}
.terms input:focus-visible + .check::before { outline: 3px solid var(--amber); outline-offset: 2px; }
.terms.has-err { box-shadow: inset 0 0 0 2px var(--red); }
.btn-pay { margin-top: 4px; }
.btn-pay:disabled { background: #8c9ab0; cursor: wait; }
.btn-inline { display: inline-flex; align-items: center; justify-content: center; width: auto; padding: 0 22px; text-decoration: none; }
.btn-quiet {
    display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 20px; border: 2px solid var(--navy);
    border-radius: 10px; color: var(--navy); font: 800 1.05rem var(--display); text-decoration: none; background: var(--white);
}
.btn-quiet:hover { background: var(--tint); color: var(--navy); }
.field input, .pay input:not([type=checkbox]) { width: 100%; }

.done-head { margin-top: 20px; }
.done-check { margin: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--ok); color: var(--white); display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; }
.done-paid { color: var(--steel); }
.ticket { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px; border-top: 6px solid var(--red); align-items: start; }
.ticket p { margin: 0; }
.ticket-kind { font-size: .8rem; font-weight: 700; color: var(--steel); }
.ticket-date { font-weight: 700; }
.ticket-time { font: 800 1.8rem var(--display); color: var(--navy); line-height: 1.1; }
.ticket-stop { font-weight: 600; }
.ticket-dest, .ticket-meta { color: var(--steel); font-size: .9rem; margin-top: 4px !important; }
.ticket-num { margin-top: 8px !important; font-size: .95rem; }
.ticket-num strong { font: 800 1.05rem var(--display); letter-spacing: .03em; }
.ticket-qr { width: 132px; }
.ticket-qr svg { display: block; width: 100%; height: auto; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.good-to-know { margin-top: 24px; }
.good-to-know ul { padding-left: 18px; }
@media (max-width: 420px) {
    .ticket { grid-template-columns: 1fr; }
    .ticket-qr { width: 160px; }
}
@media print {
    .top, .foot, .done-actions, .good-to-know, .skip { display: none; }
    body { background: #fff; }
    .card { box-shadow: none; border: 1px solid #999; }
    .ticket { break-inside: avoid; }
}

/* ---------- footer ---------- */
.foot { margin-top: 48px; background: var(--navy); color: #c9d6ea; padding: 28px 0 32px; font-size: .92rem; }
.foot a { color: var(--white); }
.foot-in { display: grid; gap: 20px; }
.foot-brand { font: 800 italic 1.1rem var(--display); font-stretch: 112%; color: var(--white); margin: 0 0 4px; }
.foot p { margin: 0 0 8px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.foot-links a { display: inline-block; padding: 6px 0; }
.foot-legal { font-size: .8rem; color: #9fb2cc; }

/* ---------- wider screens ---------- */
@media (min-width: 560px) {
    .call-num { display: inline; }
    .brand { width: 200px; }
}
@media (min-width: 900px) {
    .hero { padding: 40px 0 96px; }
    .home main > .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
    .search { margin-top: -72px; padding: 22px; }
    .board { margin-top: -72px; }
    .stops { grid-column: 1; }
    .why { grid-column: 2; }
    .stops-grid { grid-template-columns: 1fr 1fr; }
    .foot-in { grid-template-columns: 2fr 1fr; }
    .foot-legal { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- manage booking ---------- */
.m-state { margin: 10px 0 0 !important; padding: 6px 10px; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.m-ok { background: #eaf6ef; color: var(--ok); }
.m-warn { background: #fff8e6; color: #7a5200; }
.m-off { background: #eef1f5; color: var(--steel); }
.m-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 18px; align-items: flex-start; }
.m-actions form { margin: 0; }
.m-hold { width: 100%; background: var(--white); border-radius: var(--radius); padding: 12px 14px; }
.m-hold summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.m-hold form { display: grid; gap: 10px; margin-top: 10px; }
.m-hold p { margin: 0; font-size: .92rem; }
.m-hold select, .m-opts select { min-height: 44px; border: 1.5px solid #b9c4d3; border-radius: 10px; padding: 0 10px; font: 600 1rem var(--text); background: var(--white); }
.m-opts { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 14px; }
.m-opts .chips > label { min-height: 40px; }

/* ---------- layout per screen size (2026-10-25 review) ---------- */
/* small phones: the departure board puts the route on its own line */
@media (max-width: 420px) {
    .board-list li { grid-template-columns: auto 1fr; }
    .b-route { grid-column: 1 / -1; grid-row: 2; }
    .b-state { justify-self: end; }
}
/* desktop: the bus list with the total and Continue in a sticky column beside it */
@media (min-width: 900px) {
    .trips-page .pick { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 28px; align-items: start; }
    .trips-page .pick > * { grid-column: 1; }
    .trips-page .pick > .gobar {
        grid-column: 2; grid-row: 1 / span 30; position: sticky; top: 16px; margin: 18px 0 0; padding: 18px;
        border: 0; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(4, 33, 63, .12), 0 8px 24px rgba(4, 33, 63, .10);
    }
    .trips-page .gobar .wrap { padding: 0; }
    .trips-page .gobar-in { flex-direction: column; align-items: stretch; gap: 14px; }
    .trips-page .gobar .btn { width: 100%; }
    .trips-page .fees-note { max-width: calc(100% - 328px); }
}
/* desktop: checkout / change payment with the trip and price beside the form */
@media (min-width: 1000px) {
    .checkout-page main.narrow { max-width: 1040px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 28px; align-items: start; }
    .checkout-page main.narrow > * { grid-column: 1; }
    .checkout-page main.narrow > .summary { grid-column: 2; grid-row: 3 / span 8; position: sticky; top: 16px; }
    .checkout-page main.narrow > .pay { margin-top: 0; }
}

/* ---------- text pages, stops, forms, account (2026-10-25) ---------- */
.acct { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; justify-content: center; }
.acct-label { display: none; }
@media (min-width: 720px) { .acct-label { display: inline; } }
.lead { font-size: 1.05rem; color: var(--ink); }
.prose { line-height: 1.6; }
.prose h2 { margin: 26px 0 8px; font-size: 1.2rem; color: var(--navy); }
.prose h3 { margin: 18px 0 6px; font-size: 1.02rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 12px; }
.prose section { scroll-margin-top: 12px; }
.prose details { background: var(--white); border-radius: 10px; margin: 0 0 8px; box-shadow: 0 1px 2px rgba(4, 33, 63, .08); }
.prose summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style-position: inside; }
.prose summary::marker { color: var(--red); }
.prose details > :not(summary) { padding: 0 16px; }
.prose details > :last-child { padding-bottom: 14px; margin-bottom: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.toc a { padding: 8px 12px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; }
.toc a:hover { border-color: var(--navy); }
.photo { margin: 18px 0; }
.photo img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }
.why-photo img { max-height: 260px; }
.why-more { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-weight: 600; }

.stop-area { margin-top: 22px; scroll-margin-top: 12px; }
.stop-area h2 { margin-bottom: 10px; }
.stop-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .stop-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .stop-grid { grid-template-columns: 1fr 1fr 1fr; } }
.stop { padding: 16px; scroll-margin-top: 12px; }
.stop:target { box-shadow: 0 0 0 3px var(--amber); }
.stop h3 { font: 800 1.15rem var(--display); color: var(--navy); margin-bottom: 6px; }
.stop p { margin: 0 0 6px; }
.stop-addr { font-weight: 600; }
.stop-where, .stop-transit { color: var(--steel); font-size: .92rem; }
.stop-use { font-size: .82rem; font-weight: 700; color: var(--ok); }
.stop-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px !important; font-weight: 600; }

.contact-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; align-items: start; } .text-page main.narrow:has(.contact-grid) { max-width: 1000px; } }
.contact-info { padding: 16px; }
.contact-info h2 { margin-bottom: 8px; }
.contact-info h3 { margin: 14px 0 4px; font-size: 1rem; }
.contact-info p { margin: 0 0 8px; }
.field textarea, .field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #b9c4d3; border-radius: 10px; font: 500 1rem var(--text); background: var(--white); color: var(--ink); }
.row-3f { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .row-3f { grid-template-columns: 2fr 1.4fr 1fr; } }
.g-recaptcha { min-height: 78px; }
/* Google's box is 304 px wide, too wide for a form card on phones under 380 px: shown at 84% there */
@media (max-width: 379px) {
    .g-recaptcha { width: 254px; height: 66px; min-height: 0; }
    .g-recaptcha > div { transform: scale(.835); transform-origin: 0 0; }
}

.pts-big { margin: 4px 0; font: 800 2rem var(--display); color: var(--navy); }
.pts-big strong { font-size: 2.4rem; }
.acct-trips { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.acct-trips a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; text-decoration: none; color: var(--ink); }
.at-when { font-weight: 700; }
.at-what { color: var(--steel); grid-column: 1; }
.at-num { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 700 .85rem var(--display); color: var(--navy); }
/* phones: logo, Manage booking, account and call must fit in 360-430 px */
@media (max-width: 519px) {
    .top-in { gap: 6px; }
    .brand { width: 122px; }
    .top-nav { gap: 0; font-size: .86rem; }
    .top-nav > a:first-child { padding: 10px 6px; }
}
/* form boxes keep their height; side-by-side fields line up on their boxes */
.field { align-content: start; }
.row-2f, .row-3f { align-items: end; }

/* ---------- photos (2026-10-25) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(4, 33, 63, .78) 0%, rgba(7, 52, 111, .62) 55%, rgba(7, 52, 111, .82) 100%); }
@media (min-width: 900px) {
    .hero { padding-bottom: 150px; }
    .hero::before { background: linear-gradient(90deg, rgba(4, 33, 63, .9) 0%, rgba(7, 52, 111, .72) 42%, rgba(7, 52, 111, .15) 75%, rgba(7, 52, 111, .05) 100%); }
    .home .search, .home .board { margin-top: -120px; }
}
.photo picture, .photo-pair picture, .photo-strip picture { display: block; }
.photo img, .photo-pair img, .photo-strip img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.photo-wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.photo-side { float: right; width: 42%; max-width: 240px; margin: 4px 0 10px 16px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.photo-pair img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; }
.photo-strip img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.prose h2 { clear: both; }
.board { position: relative; }
@media (min-width: 900px) {
    .hero { padding-bottom: 230px; }
    .hero-photo img { object-position: 55% 80%; }
    .home .search { margin-top: -200px; }
    .home .board { margin-top: 24px; }
}

/* ---------- menu (2026-10-25): desktop = links in the header; phone = Manage booking, call, Menu ---------- */
.top { position: relative; z-index: 30; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; }
.top-nav .acct { display: none; }
.top-nav .nav-manage[aria-current] { color: var(--red-dark); }
.menu > summary {
    list-style: none; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: 10px; cursor: pointer; color: var(--navy); font-weight: 700;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu .i-close, .menu[open] .i-open { display: none; }
.menu[open] .i-close { display: block; }
.menu[open] > summary { background: var(--tint); }
.menu-word { display: none; }
.menu-panel {
    position: absolute; left: 0; right: 0; top: 100%; margin-top: 3px; /* below the red line */
    background: var(--white); border-bottom: 3px solid var(--red); box-shadow: 0 16px 32px rgba(4, 33, 63, .22);
}
.menu-panel ul { list-style: none; margin: 0 auto; padding: 6px 0; max-width: 1080px; }
.menu-panel li + li { border-top: 1px solid var(--line); }
.top-nav .menu-panel li a {
    display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px;
    font-size: 1.05rem; border-left: 4px solid transparent;
}
.top-nav .menu-panel a[aria-current] { border-left-color: var(--red); background: var(--tint); }
.top-nav .menu-acct a { color: var(--steel); }
.top-nav .menu-call {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin: 4px 16px 16px;
    border-radius: 10px; background: var(--red); color: var(--white); font-size: 1.05rem;
}
.top-nav .menu-call:hover { background: var(--red-dark); color: var(--white); }
.secure { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 0 4px; color: var(--ok); font-weight: 600; font-size: .9rem; }
@media (min-width: 420px) { .menu-word { display: inline; } }
@media (max-width: 519px) { .top-nav .nav-manage { padding: 10px 6px; } .menu > summary { padding: 0 6px; } }
@media (max-width: 719px) { .call-num { display: none; } }
@media (min-width: 980px) {
    .nav-links { display: flex; gap: 2px; }
    .top-nav .nav-links a { display: block; padding: 8px 10px; border-radius: 8px; }
    .top-nav .nav-links a[aria-current] { background: var(--tint); }
    .menu, .top-nav .nav-manage { display: none; }
    .top-nav .acct { display: inline-flex; }
}
/* the smallest phones (360 px): logo, Manage booking, call and Menu still fit */
@media (max-width: 379px) {
    .brand { width: 110px; }
    .top-nav .nav-manage { padding: 10px 4px; }
    .top-nav .call, .menu > summary { min-width: 40px; padding: 0 2px; }
}
/* 320 px phones (iPhone SE 1st gen): a smaller logo and menu text so the header does not run off the screen */
@media (max-width: 339px) {
    .top-in { gap: 4px; }
    .brand { width: 96px; }
    .top-nav { font-size: .78rem; }
}
.top-in > .call {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px;
    color: var(--red-dark); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
