/* THE TRIP IN HAND: its bar at the foot of the window and its whole-screen page (components/design/trip-kit.tsx), on every
   page that fills a trip: Find your stay, Days Out, Explore (9 October 2026). Hand-written; copied to
   public/design-css/_trip-kit.css by scratchpad/design-2026/build-trip-kit.sh. These rules were Find your stay's own
   (days-out/days-try.css, sfx-) until the shortlist became the trip; they say their own inks and faces here, since
   Explore does not name them. Square corners throughout. */
.sfx-bar, .sfx-pop { --cask: #392916; --shell: #F9F5EE; --tweed: #682114; --bracken: #C08C3D; --paper: #FFFFF7; --ink: #414042; --stone: #E9E2D6; --dor6-edge: 33px;
    --face: 'Larken', Georgia, serif; --sans: 'Jost', Helvetica, Arial, sans-serif; --serif: 'Lora', Georgia, serif; --ease: cubic-bezier(.2, .7, .2, 1); }
/* the shortlist along the foot of the window: one button */
.sfx-bar { position: fixed; z-index: 80; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 12px; border: 0; cursor: pointer;
    background: var(--cask); color: var(--shell); box-shadow: 0 10px 40px rgba(14, 12, 10, .28); max-width: calc(100vw - 32px); }
.sfx-bar-pics { display: flex; gap: 4px; }
.sfx-bar-pics img { width: 44px; height: 44px; object-fit: cover; display: block; }
/* a small picture arrives as the card's photograph lands on it (flyToShortlist), and the bar rises the first time */
.sfx-bar-pics img:last-child { animation: sfx-land .3s .56s var(--ease) both; }
@keyframes sfx-land { from { opacity: 0; } to { opacity: 1; } }
.sfx-bar { animation: sfx-up .4s var(--ease) both; }
@keyframes sfx-up { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .sfx-bar, .sfx-bar-pics img:last-child { animation: none; } }
.sfx-bar-says { font-family: var(--face); font-weight: 300; font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 16em; }
.sfx-bar-go { height: 44px; padding: 0 22px; display: inline-flex; align-items: center; background: var(--shell); color: #414042; font: 500 14px/1 var(--sans); white-space: nowrap; }
.sfx-bar-go:hover { background: #fff; }
/* the bar is two buttons: the trip's name (for a member, the way to another of their trips) and Open */
.sfx-bar { cursor: default; }
button.sfx-bar-says { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
button.sfx-bar-says span { overflow: hidden; text-overflow: ellipsis; }
button.sfx-bar-says i { font-style: normal; font-family: var(--sans); font-size: 15px; opacity: .85; }
button.sfx-bar-go { border: 0; cursor: pointer; }
.sfx-bar-menu { position: absolute; left: 0; right: 0; bottom: 100%; margin: 0 0 8px; padding: 8px 0; max-height: 52vh; overflow: auto; background: var(--paper); color: var(--ink); box-shadow: 0 10px 40px rgba(14, 12, 10, .28); }
.sfx-bar-menu p { margin: 0; padding: 10px 18px 6px; font: 400 14px/1.4 var(--sans); color: var(--tweed); }
.sfx-bar-menu button, .sfx-bar-menu a { display: block; width: 100%; box-sizing: border-box; padding: 12px 18px; background: none; border: 0; text-align: left; cursor: pointer; text-decoration: none; color: var(--ink);
    font-family: var(--face); font-weight: 300; font-size: 23px; line-height: 1.15; }
.sfx-bar-menu a { font: 500 15px/1.3 var(--sans); border-top: 1px solid rgba(65, 64, 66, .12); }
.sfx-bar-menu a + a { border-top: 0; padding-top: 4px; }
.sfx-bar-menu button:hover, .sfx-bar-menu a:hover { background: #F5F1E9; }
/* THE SHORTLIST ITSELF, A WHOLE SCREEN (Jack, 9 October 2026, of the pop-up in the middle of the page: "i was thinking more
   of a full screen page for the shortlist"): paper over everything under the site bar, a cross at the top right, the
   trip's name large, and one long row for each place down a single column */
/* over the site bar too, and the bell put away: nothing on the screen but the list and its cross (Jack: "with a big x to close with no menu etc") */
.sfx-pop { position: fixed; inset: 0; z-index: 1000; overflow: auto; background: var(--paper); color: var(--ink); padding: 96px var(--dor6-edge) 96px; }
.sfx-pop-box { position: static; width: min(100%, 1480px); margin: 0 auto; }
body:has(.sfx-pop) .bellfab { visibility: hidden; }
.sfx-pop-x { position: fixed; z-index: 2; top: 28px; right: var(--dor6-edge); width: 84px; height: 84px; padding: 0; border: 0; background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.sfx-pop-x svg, .sfx-pop-off svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: square; }
.sfx-pop-x svg { width: 48px; height: 48px; stroke-width: 1.1; }
.sfx-pop-x:hover, .sfx-pop-off:hover { background: var(--oat, #F5F1E9); }
/* the trip's name is the heading and is typed over to change it; a hairline shows it can be, on pointing or typing */
.sfx-pop-title { display: block; width: 100%; box-sizing: border-box; margin: 0 0 14px; padding: 0 0 6px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none; color: var(--ink);
    font-family: var(--face); font-weight: 300; font-size: min(clamp(44px, 5vw, 84px), 28px + (clamp(44px, 5vw, 84px) - 28px) * 0.6); line-height: 1.06; letter-spacing: -.015em; }
.sfx-pop-title::placeholder { color: var(--ink); opacity: 1; }
.sfx-pop-title:hover, .sfx-pop-title:focus { border-bottom-color: rgba(65, 64, 66, .35); outline: none; }
.sfx-pop-says { margin: 0 0 56px; font-family: var(--serif, 'Lora', Georgia, serif); font-size: 19px; line-height: 1.5; color: var(--tweed); }
.sfx-pop-says a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sfx-pop-box h3 { margin: 0 0 18px; font-family: var(--face); font-weight: 300; font-size: min(clamp(28px, 2.6vw, 40px), 28px + (clamp(28px, 2.6vw, 40px) - 28px) * 0.6); line-height: 1.1; color: var(--ink); }
.sfx-pop-end { margin: 44px 0 0; }
.sfx-pop-list { list-style: none; margin: 0; padding: 0; }
.sfx-pop-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 56px; align-items: center; gap: 16px; border-top: 1px solid rgba(65, 64, 66, .14); }
.sfx-pop-list li:last-child { border-bottom: 1px solid rgba(65, 64, 66, .14); }
.sfx-pop-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 32px; padding: 18px 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); }
.sfx-pop-row img { width: 220px; height: 150px; object-fit: cover; display: block; background: var(--stone); }
.sfx-pop-row b { display: block; font-family: var(--face); font-weight: 300; font-size: min(clamp(28px, 2.2vw, 36px), 28px + (clamp(28px, 2.2vw, 36px) - 28px) * 0.6); line-height: 1.1; }
.sfx-pop-row i { display: block; margin-top: 12px; font: normal 400 19px/1.45 var(--sans); color: var(--tweed); }
.sfx-pop-row:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.sfx-pop-off { width: 56px; height: 56px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.sfx-pop { animation: sfx-in .35s var(--ease) both; }
@keyframes sfx-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.sfx-pop-blank { display: block; width: 220px; height: 150px; background: var(--stone); }
.sfx-pop-none { margin: 0 0 8px; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--tweed); }
.sfx-pop-box h3 { margin-top: 56px; }
.sfx-pop-says + h3 { margin-top: 0; }
.sfx-pop-end { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; }
/* the screen is drawn on the body, outside any page's own rules, so its buttons are said here in full: the site's
   button (54px, a hairline, Jost), filled for the first */
.sfx-pop-end .btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 26px; box-sizing: border-box; border: 1px solid var(--ink); border-radius: 0; background: none; color: var(--ink);
    font: 500 15.5px/1 var(--sans); letter-spacing: 0; text-transform: none; text-decoration: none; cursor: pointer; white-space: nowrap; }
.sfx-pop-end .btn:hover { background: var(--ink); color: var(--shell); }
.sfx-pop-end .btn.is-fill { background: var(--ink); color: var(--shell); }
.sfx-pop-end .btn.is-fill:hover { background: #000; }
.sfx-pop, .sfx-pop a { color: var(--ink); }
/* THE SCREEN IN TWO: what is on the trip at the left; at the right, held as the list scrolls, the trip on our own map
   (Jack, 9 October 2026: "i think the shortlist page could be much better still", "linked nicer with the days out
   thing - so it feels like one system") */
.sfx-pop-cols.has-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 480px); gap: clamp(40px, 5vw, 96px); align-items: start; }
.sfx-pop-map { position: sticky; top: 96px; display: block; width: 100%; height: auto; background: #F5F1E9; }
.sfx-pop-map .sfx-coast path { fill: #E3DACB; stroke: none; }
.sfx-pop-map circle { stroke: #F5F1E9; transition: r .2s var(--ease); }
.sfx-pop-map circle.stay { fill: var(--bracken); }
.sfx-pop-map circle.visit { fill: var(--ink); }
/* a place to stay's way into Days Out, beside its row */
.sfx-pop-days { font: 500 14.5px/1.3 var(--sans); color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(65, 64, 66, .35); padding: 4px 0; white-space: nowrap; }
.sfx-pop-days:hover { border-bottom-color: var(--ink); }
/* near where they are staying: six to add, three across */
.sfx-pop-ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.sfx-pop-idea-pic { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; margin: 0 0 12px; }
.sfx-pop-idea-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sfx-pop-idea b { display: block; font-family: var(--face); font-weight: 300; font-size: 23px; line-height: 1.15; color: var(--ink); }
.sfx-pop-idea i { display: block; margin: 5px 0 10px; font: normal 400 15px/1.4 var(--sans); color: var(--tweed); }
.sfx-pop-add { background: none; border: 0; border-bottom: 1px solid rgba(65, 64, 66, .35); padding: 4px 0; cursor: pointer; font: 500 14.5px/1.3 var(--sans); color: var(--ink); }
.sfx-pop-add:hover { border-bottom-color: var(--ink); }
@media (max-width: 1100px) {
    .sfx-pop-cols.has-map { grid-template-columns: 1fr; gap: 0; }
    .sfx-pop-map { position: static; order: -1; max-height: 300px; margin: 0 0 36px; }
    .sfx-pop-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the member's other trips, and a new one: quiet, at the foot */
.sfx-pop-trips { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(65, 64, 66, .14); }
.sfx-pop-trips h3 { margin-top: 0; font-size: 26px; }
.sfx-pop-trips p { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 22px; }
.sfx-pop-trips button { background: none; border: 0; border-bottom: 1px solid rgba(65, 64, 66, .35); padding: 4px 0; cursor: pointer; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.sfx-pop-trips button:hover { border-bottom-color: var(--ink); }
/* EXPLORE'S BUTTON: on a card's photograph, bottom left, when the card is pointed at; always there once the place is on
   the trip; where there is no pointer, the heart alone */
.ex-trip { position: absolute; z-index: 3; left: 10px; bottom: 10px; height: 40px; padding: 0 14px 0 11px; display: inline-flex; align-items: center; gap: 7px; border: 0; background: #F9F5EE; color: #414042;
    font: 500 13.5px/1 'Jost', Helvetica, Arial, sans-serif; cursor: pointer; white-space: nowrap; opacity: 0; transition: opacity .25s; }
.ex-c:hover .ex-trip, .ex-c:focus-within .ex-trip, .ex-trip.on { opacity: 1; }
.ex-trip svg { width: 18px; height: 18px; fill: none; stroke: #414042; stroke-width: 1.5; stroke-linejoin: round; }
.ex-trip.on svg { fill: #C08C3D; stroke: #C08C3D; }
.ex-trip:hover { background: #fff; }
@media (hover: none) { .ex-trip { opacity: 1; width: 40px; padding: 0; justify-content: center; } .ex-trip span { display: none; } }
@media (max-width: 760px) {
    .sfx-bar, .sfx-pop { --dor6-edge: 16px; }
    /* clear of the bell in the corner */
    .sfx-bar { left: 16px; right: 84px; transform: none; bottom: 18px; gap: 10px; }
    .sfx-bar-says { font-size: 18px; margin-right: auto; }
    .sfx-bar-go { padding: 0 14px; }
    .sfx-bar-pics img:nth-child(n + 2) { display: none; }
    .sfx-pop { padding: 84px 16px 56px; }
    .sfx-pop-x { top: 10px; right: 8px; width: 64px; height: 64px; }
    .sfx-pop-x svg { width: 36px; height: 36px; }
    .sfx-pop-title { font-size: min(38px, 28px + (38px - 28px) * 0.6); }
    .sfx-pop-says { font-size: 17px; margin-bottom: 36px; }
    .sfx-pop-list li { grid-template-columns: minmax(0, 1fr) 44px; gap: 0 6px; }
    .sfx-pop-list li > a.sfx-pop-days { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin: -4px 0 14px 118px; }
    .sfx-pop-list li > span:empty { display: none; }
    .sfx-pop-row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
    .sfx-pop-row img { width: 104px; height: 104px; }
    .sfx-pop-row b { font-size: 22px; }
    .sfx-pop-row i { font-size: 14.5px; margin-top: 6px; }
    .sfx-pop-off { width: 44px; height: 44px; }
    .sfx-pop-blank { width: 104px; height: 104px; }
    .sfx-pop-box h3 { margin-top: 40px; }
    .sfx-pop-end .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .sfx-pop { animation: none; } }
