/* Self-hosted fonts (tools/fonts/fetch.mjs): Google Fonts' standard latin files, as the approved homepage sets them.
   Plus Jakarta Sans for headings and the brand name (weights 700 to 800; the home page's reviews at 600 and the
   month on Portugal's stamp at 500, as the app draws it), Outfit for everything else (400 to 700),
   and Noto Serif Black Italic for the home page's place names (the app's own face for them; a browser fetches it
   only on a page that shows one).
   The "Fallback" faces stand in while a font loads: local fonts resized to the same widths (measured by
   tools/fonts/fallbacks.mjs), so the swap moves nothing. */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:500 800;font-display:swap;src:url("/_astro/plus-jakarta-sans-latin.B2KjpZfh.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Outfit";font-style:normal;font-weight:400 700;font-display:swap;src:url("/_astro/outfit-latin.D6ftewdU.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Noto Serif";font-style:italic;font-weight:900;font-display:swap;src:url("/_astro/noto-serif-latin-900-italic.CqI1I868.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* FALLBACKS */
@font-face{font-family:"Outfit Fallback";src:local("Arial");font-style:normal;font-weight:100 500;font-stretch:100%;size-adjust:98.86%;ascent-override:101.16%;descent-override:26.30%;line-gap-override:0%} /* 37776 characters */
@font-face{font-family:"Outfit Fallback";src:local("Arial");font-style:italic;font-weight:100 500;font-stretch:100%;size-adjust:102.65%;ascent-override:97.42%;descent-override:25.33%;line-gap-override:0%} /* 208 characters */
@font-face{font-family:"Outfit Fallback";src:local("Arial Bold");font-style:normal;font-weight:600 900;font-stretch:100%;size-adjust:93.65%;ascent-override:106.78%;descent-override:27.76%;line-gap-override:0%} /* 2153 characters */
@font-face{font-family:"Plus Jakarta Sans Fallback";src:local("Arial Bold");font-style:normal;font-weight:600 900;font-stretch:100%;size-adjust:100.80%;ascent-override:102.98%;descent-override:22.02%;line-gap-override:0%} /* 1452 characters */
/* thimbletravel.com: one stylesheet for every page. The header, the store badges, the buttons, the footer, the cookie
   bar and the contact, privacy, terms and 404 pages are the first mockup's (design handoff website-home-chart, mockup
   version 1790723716-30b8), with changes from it marked "Not in the mockup". The home page and the Get the app page are
   round two's design, which Caleb approved on Nov 17, 2026 (further down). Colour tokens first. */
:root{
  color-scheme:dark;
  --bg:#191C1D; --bg-2:#202425; --bg-3:#2A2F31; --line:#33393B; --line-2:#41484B;
  --fg:#F5F3EF; --fg-2:#B7BCC0; --fg-3:#8D9397;
  --orange:#C2410C; --orange-hi:#FF7A45;
  /* Not in the mockup: Ember (Caleb's picks, Nov 4, 2026) in place of the mockup's oranges. The page is dark, so
     orange words, links, icons and lines use night Ember, --orange-hi (6.63:1 on --bg, where Ember is 3.31:1). White
     text on Ember is 5.18:1, so the fills that carry white text are Ember itself */
  --orange-fill:var(--orange);
  --good:#7fdca0; --bad:#ff9a8f;
  --f-head:"Plus Jakarta Sans","Plus Jakarta Sans Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body:"Outfit","Outfit Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr:72px; --gut:clamp(16px,4vw,40px);
  --ease:cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
/* One offset for every in-page link: just under the pinned header, 12 px below it. The glide itself is script
   (glide() in src/scripts/site.ts): smooth for a link click only, so every other scroll stays instant */
html{background:var(--bg);scroll-padding-top:calc(env(safe-area-inset-top,0px) + var(--hdr) + 12px)}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--f-body);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{width:100%;max-width:1200px;margin-inline:auto;padding-inline:var(--gut)}
h1,h2,h3{font-family:var(--f-head);letter-spacing:-.025em;margin:0;text-wrap:balance}
/* Not in the mockup: text-wrap balance. The hero's line is longer now ("Intelligent trip planner. Flights, tours and
   hotel deals.") and wraps on phones; balanced, it breaks into two even lines instead of leaving one word on the second */
.eyebrow{margin:0;font-size:12.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--orange-hi);text-wrap:balance}
:focus-visible{outline:2px solid var(--orange-hi);outline-offset:3px}
/* Not in the mockup: read by screen readers, not shown */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Not in the mockup: the first thing Tab reaches, shown only then */
.skip-main{position:fixed;left:12px;top:calc(env(safe-area-inset-top,0px) + 12px);z-index:70;padding:10px 16px;border-radius:999px;background:var(--fg);color:var(--bg);font-weight:600;text-decoration:none;transform:translateY(-200%)}
.skip-main:focus-visible{transform:none}

/* Header */
.hdr{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;height:var(--hdr);display:flex;align-items:center;background:rgba(25,28,29,.86);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.06)}
.hdr .wrap{display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
/* Not in the mockup: the logo drawn in November 2026 is taller for its width (110 x 90, where the mockup's was
   128 x 90). It keeps the mockup's height to the nearest whole pixel of width: 40 px wide (the mockup's was 46), and
   33 on a phone (38) */
.brand img{width:40px;height:auto}
.brand span{font-family:var(--f-head);font-weight:800;font-size:22px;letter-spacing:-.02em}
.nav{margin-left:auto;display:flex;align-items:center;gap:24px;font-size:15px;font-weight:500}
.nav a{text-decoration:none}
.nav a:not(.pill):hover{color:var(--orange-hi)}
.pill{display:inline-flex;align-items:center;height:40px;padding:0 18px;border-radius:999px;background:var(--orange-fill);color:#fff;font-weight:600;text-decoration:none}
.menu-btn{display:none;appearance:none;width:44px;height:44px;margin-right:-8px;border:0;border-radius:12px;background:none;color:var(--fg);cursor:pointer;place-items:center}
.menu-btn svg{width:24px;height:24px}
.menu{display:none}
.menu:popover-open{display:block;position:fixed;inset:calc(var(--hdr) + 8px) 12px auto auto;margin:0;width:min(260px,calc(100vw - 24px));padding:8px;border-radius:18px;background:var(--bg-2);border:1px solid var(--line-2);color:var(--fg);box-shadow:0 24px 60px -24px rgba(0,0,0,.8)}
.menu a{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:12px;text-decoration:none;font-weight:500}
.menu a:hover{background:var(--bg-3)}
.brand span,.pill{white-space:nowrap}
.nav .show-sm{display:none}
@media (max-width:760px){.nav .hide-sm{display:none}.nav .show-sm{display:inline-flex}.menu-btn{display:grid}.hdr .wrap{gap:12px}.nav{gap:4px}.brand{gap:8px}.brand span{font-size:18px}.brand img{width:33px}.pill{height:38px;padding:0 14px;font-size:14.5px}}
@media (max-width:359px){.brand span{display:none}}

/* Store badges (src/components/StoreBadges.astro) */
.stores{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.store{display:inline-block;border-radius:10px;line-height:0}
.store img{height:52px;width:auto}
/* Both store badges at every width, side by side on a phone as on a computer (Caleb, Nov 25, 2026; from Nov 17 a phone
   had shown only its own store's badge) */
@media (max-width:899px){:root{--hdr:64px}}

/* Buttons: the contact form, the 404 page and the cookie bar (the home page's web card has its own look, below) */
.btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 22px;border-radius:999px;background:var(--orange-fill);color:#fff;font-weight:600;text-decoration:none;flex:1 1 auto}
.btn.light{background:var(--fg);color:var(--bg)}
/* Not in the mockup, which drew no look for a button under the mouse (Caleb asked for one on Nov 11, 2026): a button
   lights up in night Ember, with the page's dark for its words (6.63:1, where white would be 2.6:1), and a store
   badge gets the ring the keyboard gets, because the stores' own artwork stays as they drew it. Only where there is
   a mouse, since a button tapped on a phone would stay lit. The contact form's button stays as it is while it sends */
@media (hover:hover){
  .pill:hover,.btn:not(:disabled):hover{background:var(--orange-hi);color:var(--bg)}
  .store:hover{outline:2px solid var(--orange-hi);outline-offset:3px}
}

/* The home page and the Get the app page: round two's design as Caleb approved it on Nov 17, 2026 (the website home
   page build plan, artifact Version 6: build/parts b.css, base.css and g.css). Sizes are the design's; where this
   differs from it, a note says why. The two pages carry page-home and page-app on <html> (Base.astro): the app's night
   look, Ink for the ground and night Ember for everything you tap with Ink words on it (7.2:1), and a header that lies
   clear over their first screen (site.ts, header()) */
html.page-home,html.page-app,html.page-trip{
  --bg:#0c0d0f; --bg-2:#1a1b1f; --bg-3:#1f2024; --line:#2a2b30; --line-2:#3b3c42; --on-ember:#111214;
  /* how far down the header reaches */
  --top:calc(env(safe-area-inset-top,0px) + var(--hdr));
  /* the left edge of the header's own column, which the words line up with (the design's column was 1180 wide with
     20 px sides and its header ran the full width; the site's header is unchanged, so the words line up with its
     logo), and the right edge the cards keep, the design's own: they sit in the map's corner at every width */
  --wl:max(var(--gut),calc((100% - 1200px) / 2 + var(--gut)));
  --wr:max(36px,env(safe-area-inset-right,0px));
}
/* --lift: what the cookie bar covers at the foot of the screen while it shows, so the parts there can rise above it:
   site.ts measures it (--bar, room()) once it runs, and until then this guess holds, so nothing moves when the measure
   arrives. (Set on main, which can see whether the bar, just before it, is showing. The guesses are the bar's room as
   measured on Nov 17, 2026: its words take one, two or three lines as the screen narrows.) */
.page-home main,.page-app main{--lift:var(--bar,var(--bar-est,0px))}
.cookie:not([hidden]) ~ main{--bar-est:89px}
@media (max-width:585px){.cookie:not([hidden]) ~ main{--bar-est:112px}}
@media (max-width:523px){.cookie:not([hidden]) ~ main{--bar-est:141px}}
@media (max-width:399px){.cookie:not([hidden]) ~ main{--bar-est:164px}}
/* the design's resets, with no weight of their own, so every rule below wins over them */
:where(.page-home main,.page-app main) :where(p,ul,figure,blockquote){margin:0}
:where(.page-home main,.page-app main) :where(ul){padding:0;list-style:none}
.page-home .eyebrow,.page-app .eyebrow{font-size:13px;line-height:1.2;letter-spacing:.14em;color:var(--fg-3)}
.page-home .eyebrow.ember{color:var(--orange-hi)}
.page-home .stores,.page-app .stores{justify-content:flex-start}
.page-home .store img{height:48px}
.free{font-size:14px;font-weight:500;line-height:1.3;color:var(--fg-3)}
/* The header: clear over the picture at the top of the page, the design's Ink glass once the page scrolls (the trip
   pages too, over their map: src/styles/trips.css) */
.page-home .hdr,.page-app .hdr,.page-trip .hdr{position:fixed;left:0;right:0;top:env(safe-area-inset-top,0px);background:rgba(12,13,15,.72);-webkit-backdrop-filter:saturate(1.4) blur(18px);backdrop-filter:saturate(1.4) blur(18px);transition:background-color .3s,border-color .3s,-webkit-backdrop-filter .3s,backdrop-filter .3s}
html.js.page-home .hdr:not(.solid),html.js.page-app .hdr:not(.solid),html.js.page-trip .hdr:not(.solid){background-color:transparent;border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}

/* ---------- The trip map (src/components/home/TripMap.astro; src/scripts/trip.ts moves it) ----------
   From 761 px wide, a real street map of Lisbon stays pinned while the page scrolls past --steps screens; the camera
   moves and the routes draw themselves. Under 761 px the story is plain sections instead (the phone block below) */
.b-story{position:relative;height:calc(var(--steps) * 100vh);height:calc(var(--steps) * 100svh)}
.b-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;isolation:isolate;background:#11242f}
.b-map{position:absolute;inset:0;z-index:0}
.b-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.b-still{width:100%;height:100%;object-fit:cover}
.b-dim{position:absolute;inset:0;background:rgba(10,11,13,.6);opacity:0;transition:opacity .8s var(--ease)}
.b-stage[data-step="3"] .b-dim{opacity:.72}
.b-stage[data-step="6"] .b-dim{opacity:.62}
.b-pins{position:absolute;inset:0;pointer-events:none;transition:opacity .6s var(--ease)}
.b-stage[data-step="3"] .b-pins,.b-stage[data-step="6"] .b-pins{opacity:.35}
.b-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:
  linear-gradient(90deg,rgba(12,13,15,.97) 0%,rgba(12,13,15,.92) 20%,rgba(12,13,15,.68) 34%,rgba(12,13,15,.2) 48%,rgba(12,13,15,0) 58%),
  linear-gradient(180deg,rgba(12,13,15,.8) 0,rgba(12,13,15,0) 15%),
  linear-gradient(0deg,rgba(12,13,15,.92) 0,rgba(12,13,15,0) 13%)}
/* at the top of the page the headline runs across the map, so the top is darker there; it fades out to the right of
   the headline, so the day's own labels stay bright wherever the day sits */
.b-shade::before{content:"";position:absolute;inset:0;opacity:0;transition:opacity .7s var(--ease);
  background:linear-gradient(180deg,rgba(12,13,15,.9) 0,rgba(12,13,15,.66) 24%,rgba(12,13,15,0) 46%);
  -webkit-mask-image:linear-gradient(90deg,#000 0,#000 52%,transparent 80%);mask-image:linear-gradient(90deg,#000 0,#000 52%,transparent 80%)}
.b-stage[data-step="0"] .b-shade::before{opacity:1}

/* things pinned to the map: a zero size point moved by the script, with the visible part inside */
.b-mark{position:absolute;left:0;top:0;width:0;height:0;will-change:transform}
.b-mark.d1{--c:#ff7a45}.b-mark.d2{--c:#ffc266}.b-mark.d3{--c:#ff9db8}
.b-pin .in{position:absolute;left:-13px;top:-13px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  font:800 13px/1 var(--f-head);color:#111214;background:var(--c);
  box-shadow:0 0 0 3px rgba(12,13,15,.9),0 0 0 4.5px rgba(255,255,255,.2),0 8px 18px rgba(0,0,0,.6);
  transform:scale(0);transition:transform .5s cubic-bezier(.3,1.7,.5,1),color .3s}
.b-pin.on .in{transform:scale(1)}
.b-stage[data-zoom="far"] .b-pin.on .in{transform:scale(.44);color:transparent}
.b-label .in{position:absolute;left:21px;top:0;transform:translateY(-50%) translateX(-8px);opacity:0;white-space:nowrap;
  display:flex;gap:7px;align-items:baseline;padding:6px 12px 6px 10px;border-radius:999px;font:500 13.5px/1.1 var(--f-body);color:var(--fg);
  background:rgba(17,18,20,.86);border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  box-shadow:0 8px 20px rgba(0,0,0,.45);transition:opacity .4s var(--ease),transform .5s var(--ease)}
.b-label .in b{font-weight:700;color:var(--orange-hi)}
.b-label.on .in{opacity:1;transform:translateY(-50%)}
.b-day .in{position:absolute;white-space:nowrap;display:flex;gap:8px;align-items:baseline;padding:7px 13px 7px 11px;border-radius:999px;
  font:500 13.5px/1.1 var(--f-body);color:var(--fg-2);background:rgba(17,18,20,.9);border:1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 8px 20px rgba(0,0,0,.45);opacity:0;transition:opacity .45s var(--ease)}
.b-day .in b{font:800 13px/1 var(--f-head);color:var(--c);letter-spacing:.02em}
.b-day.on .in{opacity:1;transition-delay:.25s}
.b-day.below .in{left:0;top:12px;transform:translateX(-50%)}
.b-day.above .in{left:0;bottom:12px;transform:translateX(-50%)}
.b-bed .in{position:absolute;left:-17px;top:-17px;width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:var(--orange-hi);color:#111214;
  box-shadow:0 0 0 3px rgba(12,13,15,.9),0 10px 22px rgba(0,0,0,.6);transform:scale(0);transition:transform .5s cubic-bezier(.3,1.7,.5,1)}
.b-bed .in svg{width:19px;height:19px}
.b-bed.on .in{transform:scale(1)}
.b-you .in{position:absolute;left:-9px;top:-9px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px var(--orange-hi),0 6px 16px rgba(0,0,0,.6);transform:scale(0);transition:transform .4s var(--ease)}
.b-you.on .in{transform:scale(1)}
.b-you .in::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid var(--orange-hi);animation:b-pulse 1.9s var(--ease) infinite}
@keyframes b-pulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(3.2);opacity:0}}

/* the headline block and the parts' words */
.b-hero,.b-copy{position:absolute;z-index:3;left:var(--wl)}
.b-hero{top:max(calc(var(--top) + 36px),12.5vh);width:min(940px,68vw);transition:opacity .5s var(--ease),transform .7s var(--ease)}
.b-hero h1{font-size:clamp(40px,min(5.6vw,11.5vh),88px);font-weight:800;line-height:.98;letter-spacing:-.045em;margin-top:18px;text-wrap:wrap}
/* The small line's two sentences each stay whole, so when it is too long for the screen the break falls between them,
   with or without text-wrap balance */
.b-hero .eyebrow span{display:inline-block}
.b-hero .lead{margin-top:22px;font-size:clamp(17px,1.45vw,21px);color:var(--fg-2);max-width:30ch}
.b-cta{margin-top:28px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
/* the code to scan under the store buttons: only on a computer with a mouse and room for it (TripMap.astro), so a phone
   or a tablet never shows it or loads its picture; on a short window it steps aside first (trip.ts, the class noscan) */
.b-scan{display:none}
@media (min-width:1001px) and (min-height:800px) and (hover:hover) and (pointer:fine){.b-scan{display:flex;align-items:center;gap:14px;margin-top:4px}}
.b-stage.noscan .b-scan{display:none}
.b-qr{flex:none;width:84px;height:84px;padding:8px;border-radius:14px;background:#fff;line-height:0}
.b-qr img{width:100%;height:100%}
.b-scan p{margin:0;max-width:150px;font-size:14px;font-weight:500;line-height:1.3;color:var(--fg-3)}
.b-stage:not([data-step="0"]) .b-hero{opacity:0;transform:translateY(-34px);pointer-events:none}
.b-copy{top:50%;width:min(440px,36vw)}
.b-step{position:absolute;left:0;right:0;top:0;transform:translateY(calc(-50% + 28px));opacity:0;pointer-events:none;
  transition:opacity .45s var(--ease),transform .7s var(--ease);display:grid;gap:16px;justify-items:start}
.b-step.on{opacity:1;transform:translateY(-50%);pointer-events:auto;transition-delay:.12s}
.b-step.was{transform:translateY(calc(-50% - 28px))}
.b-step h2{font-size:clamp(30px,3.3vw,52px);font-weight:800;line-height:1.04;letter-spacing:-.035em}
.b-step p:not(.eyebrow){color:var(--fg-2);font-size:clamp(16px,1.25vw,18.5px);max-width:38ch}
.b-step .b-small{color:var(--fg-3);font-size:15.5px;padding-left:14px;border-left:2px solid var(--orange-hi)}
.b-chip{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;line-height:1;color:var(--good);background:rgba(127,220,160,.09);border:1px solid rgba(127,220,160,.22);padding:9px 14px;border-radius:999px}
.b-chip svg{width:15px;height:15px;flex:none}
.b-ticks{display:grid;gap:10px}
.b-ticks li{display:flex;gap:10px;align-items:flex-start;color:var(--fg-2);font-size:16px;line-height:1.4}
.b-ticks svg{width:18px;height:18px;flex:none;margin-top:2px;color:var(--orange-hi)}

/* real pieces of the app, floating over the map. The ones for later parts stay out of the layout until the first
   touch or scroll (trip.ts adds "later"), so their pictures load then and not with the first screen */
.b-card{position:absolute;z-index:3;opacity:0;transform:translateY(18px) scale(.96);pointer-events:none;
  transition:opacity .45s var(--ease),transform .7s var(--ease);filter:drop-shadow(0 30px 44px rgba(0,0,0,.75)) drop-shadow(0 0 1px rgba(255,255,255,.3))}
.b-stage:not(.later) :is(.b-hotel,.b-phone,.b-next,.b-widget,.b-share){display:none}
.b-card.on{opacity:1;transform:none;transition-delay:.5s}
.b-card img{width:100%;height:auto}
.b-card figcaption{display:none}
.b-glance,.b-share{right:var(--wr);bottom:76px;width:min(330px,26vw)}
.b-glance img{border-radius:22px;border:1px solid var(--line)}
/* on a computer's first screen this card peeks over the bottom edge (its top 43%: day one, and day two cut off), so
   the page plainly goes on */
@media (min-width:761px){
  .b-stage[data-step="0"] .b-glance{opacity:1;transform:translateY(calc(100% + 96px));transition-delay:0s}
  .b-stage[data-step="0"].drawn .b-glance{transform:translateY(calc(56.7% + 76px));pointer-events:auto;cursor:pointer;transition:transform .9s var(--ease)}
  .b-stage[data-step="0"].drawn .b-glance:hover{transform:translateY(calc(56.7% + 66px))}
}
.b-share{width:min(340px,27vw)}
.b-hotel{left:calc(56% + 30px);top:52%;width:min(280px,23vw);margin-top:calc(min(280px,23vw) * -.57)}
.b-next{left:calc(66% + 30px);top:58%;width:min(320px,calc(34% - 62px));margin-top:-112px}
.b-widget{left:calc(66% + 30px);top:calc(58% + 118px);width:124px}
.b-phone{left:calc(50% + 15vw);top:50%;transform:translateY(calc(-50% + 18px)) scale(.96)}
.b-phone.on{transform:translateY(-50%)}
/* the tour page in a drawn phone */
.b-device{--pw:min(290px,32vh);position:relative;width:var(--pw);padding:calc(var(--pw) * .032);border-radius:calc(var(--pw) * .172);
  background:linear-gradient(145deg,#4a4c53 0%,#1c1d21 22%,#0a0a0c 60%,#33353b 100%);
  box-shadow:0 0 0 1px rgba(0,0,0,.9),inset 0 0 0 1.5px rgba(255,255,255,.14),0 50px 120px -30px rgba(0,0,0,.9),0 30px 60px -30px rgba(0,0,0,.8)}
.b-device::before,.b-device::after{content:"";position:absolute;width:3px;border-radius:2px;background:linear-gradient(#3a3c42,#1b1c20)}
.b-device::before{left:-2px;top:24%;height:9%}
.b-device::after{right:-2px;top:29%;height:14%}
.b-screen{position:relative;width:100%;aspect-ratio:660/1434;border-radius:calc(var(--pw) * .142);overflow:hidden;background:#111214}
.b-screen > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* Portugal's stamp, drawn as the app draws it (TripMap.astro), pressed on as the app presses it: 0.85 s, down large,
   squeezed, a little over, home */
.b-stamp{--sw:min(340px,26vw,46vh);left:calc(50% + 19vw);top:50%;width:0;height:0;transform:none;filter:none}
.b-stamp.on{transition-duration:.01s;transition-delay:0s}
.b-stamp-in{position:absolute;left:calc(var(--sw) * -.5);top:calc(var(--sw) * -.38);width:var(--sw);transform:rotate(-4deg);filter:drop-shadow(0 28px 40px rgba(0,0,0,.62))}
.b-stamp-in svg{display:block;width:100%;height:auto;overflow:visible}
.b-stamp.on .b-stamp-in{animation:b-press .85s linear .6s both}
@keyframes b-press{
  0%{opacity:0;transform:rotate(-12deg) scale(1.6);animation-timing-function:cubic-bezier(.2,.8,.2,1)}
  52.94%{opacity:1;transform:rotate(-4deg) scale(.93);animation-timing-function:cubic-bezier(.2,.8,.2,1)}
  76.47%{opacity:1;transform:rotate(-4deg) scale(1.03);animation-timing-function:cubic-bezier(.2,.8,.2,1)}
  100%{opacity:1;transform:rotate(-4deg) scale(1)}
}

/* the part buttons, and over them on the first screen a small moving cue */
.b-rail{position:absolute;z-index:4;left:var(--wl);bottom:calc(24px + env(safe-area-inset-bottom,0px) + var(--lift));display:flex;gap:2px;padding:5px;border-radius:999px;margin-left:-5px;
  background:rgba(22,23,26,.78);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.08)}
.b-cue{position:absolute;z-index:4;left:var(--wl);bottom:calc(84px + env(safe-area-inset-bottom,0px) + var(--lift));display:flex;align-items:center;gap:8px;margin:0;
  font-size:14.5px;font-weight:500;line-height:1;letter-spacing:.01em;color:var(--fg-2);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .5s var(--ease),transform .6s var(--ease)}
.b-stage[data-step="0"] .b-cue{opacity:1;transform:none}
.b-cue svg{width:17px;height:17px;flex:none;color:var(--orange-hi);animation:b-nudge 1.8s var(--ease) infinite}
@keyframes b-nudge{0%{transform:translateY(-4px);opacity:0}35%{opacity:1}65%{opacity:1}100%{transform:translateY(5px);opacity:0}}
.b-rail button{appearance:none;margin:0;font:600 13.5px/1 var(--f-body);color:var(--fg-3);background:none;border:0;padding:9px 14px;border-radius:999px;cursor:pointer;transition:color .2s,background-color .3s;white-space:nowrap}
.b-rail button:hover{color:var(--fg)}
.b-rail button.on{color:var(--on-ember);background:var(--orange-hi)}
.b-stage[data-step="0"] .b-rail button{color:var(--fg-2)}
.b-stage[data-step="0"] .b-rail button:hover{color:var(--fg)}
/* the map's credit: white at half strength, where the design had 42%, so its small words measure 5.2:1 over the map
   behind them, not 4.1 (tests/a11y.spec.ts) */
.b-credit{position:absolute;z-index:2;right:max(20px,env(safe-area-inset-right,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px) + var(--lift));margin:0;font-size:11px;font-weight:400;line-height:1;color:rgba(255,255,255,.5);letter-spacing:.01em}
@media (min-width:761px){.b-stage[data-step="0"] .b-credit{right:calc(var(--wr) + min(330px,26vw) + 18px)}}
/* the script measures a computer's first screen (trip.ts, firstScreen) and sets these where a line has to step aside */
.b-stage.nocue .b-cue{display:none}
@media (min-width:761px){.b-stage.tight .b-hero .lead,.b-stage.tighter .b-hero .lead,.b-stage.tighter .b-hero .free{display:none}}
.b-stage.times .b-label .in span{display:none}

@media (max-width:1000px){.b-widget{display:none}}
/* With scripts off, from 761 px wide: the map stands still behind the first screen (the first day's streets), and
   every part's words follow it in order, on the page's own ground. (A phone's plain sections need no script: below) */
@media (min-width:761px){
  html:not(.js) .b-story{height:auto}
  html:not(.js) .b-stage{position:relative;height:auto;overflow:visible;background:var(--bg);padding-bottom:40px}
  html:not(.js) .b-map,html:not(.js) .b-shade{bottom:auto;height:100vh;height:100svh}
  html:not(.js) .b-canvas,html:not(.js) .b-pins,html:not(.js) .b-dim,html:not(.js) .b-float,html:not(.js) .b-cue,html:not(.js) .b-rail{display:none}
  html:not(.js) .b-hero{position:relative;inset:auto;margin-left:var(--wl);min-height:100vh;min-height:100svh;padding:max(calc(var(--top) + 36px),12.5vh) 0 64px;opacity:1;transform:none}
  html:not(.js) .b-copy{position:relative;inset:auto;height:auto;margin-left:var(--wl);width:min(700px,calc(100% - var(--wl) - var(--gut)));display:grid;gap:64px;padding-top:24px}
  html:not(.js) .b-step{position:static;transform:none;opacity:1;pointer-events:auto}
  html:not(.js) .b-credit{bottom:auto;top:calc(100svh - 24px)}
}

/* ---------- The story on a phone, under 761 px wide (Caleb's go for the plan after the Trip7 review, Nov 26, 2026) ----
   Plain sections that scroll like any page, with nothing pinned: the headline block, the first day as a still map,
   then each part's words, its picture under them and a line under the picture. The words and pictures are the
   computer's own (TripMap.astro): .b-copy and .b-float step aside (display:contents) and "order" puts each picture
   after its own words. The map, its shade, the cue and the part buttons do not show. These rules win over every class
   the moving map sets (on, was, drawn, later, data-step, data-zoom), because a phone turned on its side starts the
   moving map (trip.ts) and may be turned back. With scripts off it is the same page, every picture loading as it
   comes near. The stage clips sideways only: Portugal's stamp is pressed on from larger than the screen is wide, and
   the page must not scroll sideways while it settles */
.b-day1{display:none}
@media (max-width:760px){
  .b-story{height:auto}
  .b-story .b-stage{position:relative;height:auto;overflow:visible;overflow-x:hidden;overflow-x:clip;background:var(--bg);display:flex;flex-direction:column;padding-bottom:56px}
  .b-story .b-stage :is(.b-map,.b-shade,.b-cue,.b-rail){display:none}
  .b-story .b-stage :is(.b-copy,.b-float){display:contents}
  /* the headline block, 22 px under the header */
  .b-story .b-stage .b-hero{position:relative;inset:auto;width:auto;max-width:560px;margin:0 var(--gut);padding-top:calc(var(--top) + 22px);opacity:1;transform:none;pointer-events:auto;transition:none}
  .b-hero .eyebrow{font-size:11px;letter-spacing:.1em}
  .b-hero h1{font-size:clamp(33px,10vw,48px);margin-top:12px}
  .b-hero .lead{font-size:16px;margin-top:12px;max-width:none}
  .b-cta{margin-top:16px;gap:8px}
  .page-home .store img{height:42px}

  /* the first day, a still map edge to edge, in the frame's own shape (5 to 4) at every width, to 550 by 440 at most.
     Its picture is a background here only, so a computer never fetches it; a soft dark edge sets it into the page,
     under the route and the stops */
  .b-story .b-day1{display:block;position:relative;order:1;width:100%;max-width:550px;aspect-ratio:5/4;margin:26px auto 0;overflow:hidden;background:#11242f var(--day1) center/cover no-repeat}
  .b-day1::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,var(--bg) 0,rgba(12,13,15,0) 16%,rgba(12,13,15,0) 84%,var(--bg) 100%)}
  .b-day1 svg{position:absolute;inset:0;width:100%;height:100%}
  /* the route as the moving map draws it near, its widths in the map's own numbers: a ride is a dark edge, a glow and
     the line; the walk is dots over the dark edge */
  .b-day1 path{fill:none;stroke-linecap:round;stroke-linejoin:round}
  .b-day1 .edge{stroke:rgba(8,9,11,.8);stroke-width:10.3}
  .b-day1 .glow{stroke:#ff7a45;stroke-opacity:.24;stroke-width:18}
  .b-day1 .core{stroke:#ff7a45;stroke-width:4.6}
  .b-day1 .walk{stroke:#ff7a45;stroke-width:5.6;stroke-dasharray:.01 10.9}
  /* each stop: its number in the moving map's pin, and its time to the right */
  .b-d1-stop{position:absolute;width:0;height:0}
  .b-d1-pin{position:absolute;left:-11px;top:-11px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font:800 12px/1 var(--f-head);color:#111214;background:#ff7a45;
    box-shadow:0 0 0 2.5px rgba(12,13,15,.9),0 0 0 3.75px rgba(255,255,255,.2),0 6px 14px rgba(0,0,0,.6)}
  .b-d1-time{position:absolute;left:17px;top:-10.5px;height:21px;display:flex;align-items:center;padding:0 8px;border-radius:999px;white-space:nowrap;
    font:700 11.5px/1 var(--f-body);color:var(--orange-hi);background:rgba(17,18,20,.9);border:1px solid rgba(255,255,255,.1);box-shadow:0 6px 14px rgba(0,0,0,.45)}
  /* the day's name, top left */
  .b-d1-tag{position:absolute;left:16px;top:14px;max-width:calc(100% - 32px);display:flex;gap:9px;align-items:baseline;padding:7px 12px 7px 10px;border-radius:999px;
    font:500 12.5px/1.1 var(--f-body);color:var(--fg-2);background:rgba(17,18,20,.86);border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
  .b-d1-tag b{font:800 13px/1 var(--f-head);color:var(--orange-hi);letter-spacing:.02em;white-space:nowrap}
  .b-d1-tag span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  /* the map's credit under it, on the page's ground (5.4:1) */
  .b-story .b-stage .b-credit{position:relative;inset:auto;order:2;align-self:center;width:100%;max-width:550px;margin:8px 0 0;padding:0 16px;font-size:10.5px;line-height:1.3}

  /* each part's words, then its picture */
  .b-story .b-stage .b-step{position:relative;inset:auto;max-width:560px;margin:56px var(--gut) 0;gap:12px;opacity:1;transform:none;pointer-events:auto;transition:none}
  .b-story .b-stage .b-step[data-s="1"]{margin-top:40px}
  .b-step h2{font-size:clamp(27px,7.6vw,34px)}
  .b-step p:not(.eyebrow){font-size:16.5px;line-height:1.5;max-width:none}
  .b-step .b-chip{font-size:12.5px;padding:7px 11px}
  .b-step[data-s="1"]{order:10}.b-glance{order:11}
  .b-step[data-s="2"]{order:20}.b-hotel{order:21}
  .b-step[data-s="3"]{order:30}.b-phone{order:31}
  .b-step[data-s="4"]{order:40}.b-next{order:41}.b-widget{order:42}
  .b-step[data-s="5"]{order:50}.b-share{order:51}
  .b-step[data-s="6"]{order:60}.b-stamp{order:61}
  /* the four cards take the column's width, to 440 px at most; each picture has a line under it */
  .b-story .b-stage .b-card{display:block;position:relative;inset:auto;width:auto;max-width:440px;margin:22px var(--gut) 0;opacity:1;transform:none;pointer-events:auto;transition:none;filter:none}
  .b-story .b-card > img{filter:drop-shadow(0 18px 30px rgba(0,0,0,.55)) drop-shadow(0 0 1px rgba(255,255,255,.3))}
  .b-story .b-card figcaption{display:block;margin-top:10px;font-size:13.5px;line-height:1.4;color:var(--fg-3)}
  /* the tour screen in its drawn phone, centred */
  .b-story .b-stage .b-phone{align-self:center;max-width:none;text-align:center}
  .b-story .b-phone .b-device{--pw:min(250px,66vw);margin-inline:auto}
  /* the home screen widget, its line beside it */
  .b-story .b-stage .b-widget{display:flex;align-items:center;gap:16px}
  .b-story .b-widget > img{width:132px;flex:none}
  .b-story .b-widget figcaption{margin-top:0}
  /* Portugal's stamp, centred and turned as the app turns it */
  .b-story .b-stage .b-stamp{--sw:min(264px,68vw);align-self:center;width:var(--sw);height:auto;max-width:none}
  .b-story .b-stamp .b-stamp-in{position:relative;left:auto;top:auto;width:100%;animation:none}
  /* The pictures that wait for the first touch or scroll (trip.ts adds "later") keep their places meanwhile: a quiet
     dark shape of each picture's own size and corners (the tour screen's drawn phone holds its own place) */
  .b-hotel{--ar:800/911;--rad:9.4%/8.25%}
  .b-next{--ar:832/559;--rad:5.7%/8.5%}
  .b-widget{--ar:519/524;--rad:21.4%/21.2%}
  .b-share{--ar:800/584;--rad:5.1%/7%}
  .b-story :is(.b-hotel,.b-next,.b-widget,.b-share) > img{border-radius:var(--rad);background:var(--bg-2)}
  html.js .b-story .b-stage:not(.later) :is(.b-hotel,.b-phone,.b-next,.b-widget,.b-share) img{display:none}
  html.js .b-story .b-stage:not(.later) :is(.b-hotel,.b-next,.b-widget,.b-share)::before{content:"";display:block;aspect-ratio:var(--ar);border-radius:var(--rad);background:var(--bg-2)}
  html.js .b-story .b-stage:not(.later) .b-widget::before{width:132px;flex:none}
}
/* a screen under 620 px tall: the line under the headline steps aside */
@media (max-width:760px) and (max-height:619px){.b-story .b-hero .lead{display:none}}
/* where the screen is wider than the map, its sides fade into the page too */
@media (min-width:551px) and (max-width:760px){
  .b-day1::before{background:linear-gradient(180deg,var(--bg) 0,rgba(12,13,15,0) 16%,rgba(12,13,15,0) 84%,var(--bg) 100%),linear-gradient(90deg,var(--bg) 0,rgba(12,13,15,0) 16%,rgba(12,13,15,0) 84%,var(--bg) 100%)}
}
/* under 360 px wide: smaller stops, times and day name, and the times of stops 2 and 4 left out, since the three stops
   by the river sit too close there */
@media (max-width:359px){
  .b-d1-pin{left:-9px;top:-9px;width:18px;height:18px;font-size:10.5px;box-shadow:0 0 0 2px rgba(12,13,15,.9),0 0 0 3px rgba(255,255,255,.2),0 5px 12px rgba(0,0,0,.6)}
  .b-d1-time{left:14px;top:-9.5px;height:19px;padding:0 7px;font-size:10.5px}
  .b-d1-stop:is(.s2,.s4) .b-d1-time{display:none}
  .b-d1-tag{left:12px;top:10px;max-width:calc(100% - 24px);gap:8px;padding:6px 10px 6px 9px;font-size:11.5px}
  .b-d1-tag b{font-size:12px}
  .b-story .b-stage .b-credit{font-size:9.5px}
}
/* With motion allowed and the page's script running: the first day draws itself once, in the day's own order
   (TripMap.astro gives each leg its --d and --t and each stop its --at), and Portugal's stamp is pressed on as it comes
   into view (trip.ts adds "seen"). With reduce motion on, or scripts off, everything is simply there */
@media (max-width:760px) and (prefers-reduced-motion:no-preference){
  html.js .b-day1 :is(.edge,.glow,.core){stroke-dasharray:1;animation:b-route var(--t) cubic-bezier(.45,0,.55,1) var(--d) backwards}
  html.js .b-day1 .walk{animation:b-show var(--t) linear var(--d) backwards}
  html.js .b-d1-pin{animation:b-pop .5s cubic-bezier(.3,1.7,.5,1) var(--at) backwards}
  html.js .b-d1-time{animation:b-time .45s var(--ease) calc(var(--at) + .1s) backwards}
  html.js .b-story .b-stamp:not(.seen) .b-stamp-in{opacity:0}
  html.js .b-story .b-stamp.seen .b-stamp-in{animation:b-press .85s linear .1s both}
}
@keyframes b-route{from{stroke-dashoffset:1;visibility:hidden}to{stroke-dashoffset:0;visibility:visible}}
@keyframes b-show{from{opacity:0}to{opacity:1}}
@keyframes b-pop{from{transform:scale(0)}to{transform:none}}
@keyframes b-time{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:none}}

/* ---------- Under the story ---------- */
.sec{position:relative;padding-block:24px 112px}
.sec-head{max-width:720px;margin-bottom:48px}
.sec-head h2{font-size:clamp(34px,4.2vw,56px);font-weight:800;line-height:1.04;letter-spacing:-.035em;margin-top:14px}
.sec-head .sub{margin-top:14px;color:var(--fg-2);font-size:19px}
@media (max-width:760px){.sec{padding-block:24px 72px}.sec-head{margin-bottom:32px}}

/* Trips: a row of trip pages, each over one of its own photos, between the trip map and What people say
   (src/components/home/Trips.astro; the finishing pass, Caleb's pick of Nov 26, 2026). Three cards on a computer;
   on a phone all six, in a row that slides sideways and runs to the screen's edges */
.places{padding-block:112px 96px}
.places-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:44px}
.places-head .sec-head{margin-bottom:0}
/* All trips: More questions' outline button. It is in the head on a computer and under the row on a phone */
.places-all{display:inline-flex;align-items:center;padding:15px 24px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line-2);color:var(--fg);font:700 16px/1 var(--f-head);letter-spacing:-.01em;text-decoration:none;white-space:nowrap;transition:background-color .2s}
@media (hover:hover){.places-all:hover{background:rgba(255,255,255,.06)}}
.places-foot{display:none}
.places-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.place-card:nth-child(n+4){display:none}
/* the place name is sized from its card's width (container units), so it stays on one line at every width */
.place-card{container-type:inline-size}
.place-card a{position:relative;display:block;aspect-ratio:5/6;border-radius:24px;overflow:hidden;background:var(--bg-2);color:#fff;text-decoration:none;isolation:isolate}
.place-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s var(--ease)}
@media (hover:hover){.place-card a:hover img{transform:scale(1.04)}}
/* the dark under the words belongs to the words' own block, as it does behind Get the app on a phone, and there is
   none over the rest of the photo: white words never sit on bright snow, however many lines the small line takes */
.pc-words{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:7px;padding:96px 26px 24px;background:linear-gradient(180deg,rgba(12,13,15,0) 0,rgba(12,13,15,.34) 34px,rgba(12,13,15,.7) 84px,rgba(12,13,15,.92) 100%)}
.pc-eyebrow{font:600 11.5px/1.35 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.84);text-wrap:balance}
.pc-title{font:600 17px/1.2 var(--f-head);letter-spacing:-.01em}
/* 42 px where container units are not known */
.pc-title em{display:block;margin-top:1px;font:italic 900 42px/1.05 var(--f-place);font-size:clamp(24px,11.4cqw,42px);letter-spacing:-.01em}
@media (max-width:1000px){.pc-words{padding-inline:20px}}
@media (max-width:760px){
  .places{padding-block:76px 68px}
  .places-head{display:block;margin-bottom:28px}
  .places-head .places-all{display:none}
  .places-foot{display:block;margin-top:26px}
  /* the row bleeds to the screen's edges by the gutter, and keeps a few pixels above and below (taken back by the
     margin) so a card's focus ring is not cut by the row it slides in */
  .places-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:-6px calc(var(--gut) * -1);padding:6px var(--gut);scroll-padding-inline:var(--gut);scrollbar-width:none}
  .places-row::-webkit-scrollbar{display:none}
  .place-card{flex:0 0 78%;scroll-snap-align:start}
  .place-card:nth-child(n+4){display:block}
  .place-card a{aspect-ratio:4/5}
  .pc-words{padding:88px 20px 20px}
}

/* What people say: two App Store reviews, then the four short facts */
.proof{padding-block:96px;border-top:1px solid rgba(255,255,255,.06)}
.quotes{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.quote .stars{display:flex;gap:3px;color:var(--orange-hi);margin-bottom:16px}
.quote .stars svg{width:18px;height:18px;fill:currentColor}
.quote blockquote{font-family:var(--f-head);font-weight:600;font-size:clamp(19px,1.72vw,24px);line-height:1.36;letter-spacing:-.02em;text-wrap:pretty}
.quote figcaption{margin-top:14px;color:var(--fg-3);font-size:15px}
.quote figcaption b{color:var(--fg-2);font-weight:600}
.facts{display:grid;grid-template-columns:repeat(4,1fr);margin-top:72px;border-top:1px solid var(--line)}
.fact{padding:28px 24px 0;border-right:1px solid var(--line)}
.fact:first-child{padding-left:0}
.fact:last-child{border-right:0}
.fact .fact-t{font-family:var(--f-head);font-size:18px;font-weight:700;line-height:1.2;letter-spacing:-.01em;color:var(--fg)}
.fact p:not(.fact-t){margin-top:8px;color:var(--fg-3);font-size:15.5px;line-height:1.45}
@media (max-width:900px){.quotes{grid-template-columns:1fr;gap:40px}.facts{grid-template-columns:1fr 1fr;margin-top:48px}.fact{padding:22px 16px 22px 0;border-bottom:1px solid var(--line)}.fact:nth-child(2n){border-right:0;padding-left:16px}.fact:nth-child(2n+1){padding-left:0}.fact:nth-last-child(-n+2){border-bottom:0}}
/* Your information: four promises under the facts, in the same look, under a small heading set like the page's
   eyebrows (Nov 26, 2026) */
.facts-h{margin:64px 0 0;font:600 13px/1.2 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--fg-3)}
.facts.promises{margin-top:18px}
@media (max-width:900px){.facts-h{margin-top:44px}.facts.promises{margin-top:14px}}

/* Booking on the web */
.webbook{padding-block:0 96px}
.web{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;padding:30px 34px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01))}
.web h3{font-size:24px;font-weight:800;line-height:1.15;letter-spacing:-.025em;text-wrap:wrap}
.web p{margin-top:8px;color:var(--fg-2);font-size:16px;max-width:60ch}
.web .acts{display:flex;gap:10px;flex-wrap:wrap}
.web .btn{flex:none;height:auto;padding:15px 24px;font:700 16px/1 var(--f-head);letter-spacing:-.01em;background:var(--orange-hi);color:var(--on-ember);transition:transform .2s var(--ease),background-color .2s}
.web .btn.ghost{background:transparent;color:var(--fg);box-shadow:inset 0 0 0 1px var(--line-2)}
@media (hover:hover){
  .web .btn:not(:disabled):hover{background:#ff8d5e;color:var(--on-ember);transform:translateY(-1px)}
  .web .btn.ghost:not(:disabled):hover{background:rgba(255,255,255,.06);color:var(--fg)}
}
@media (max-width:900px){.web{grid-template-columns:1fr;padding:26px 22px}}

/* Pricing: the Free account, and the Premium card that leads with the money. The ticks are the design's own shapes,
   files of the site's own (src/assets/img/icons) */
.plans{display:grid;grid-template-columns:1fr 1.5fr;gap:20px;align-items:start}
.plan{position:relative;padding:34px;border-radius:28px;background:var(--bg-2);border:1px solid var(--line)}
.plan.best{background:linear-gradient(180deg,#221a16,#1a1b1f 55%);border-color:rgba(255,122,69,.45);box-shadow:0 30px 80px -40px rgba(255,122,69,.35)}
.plan .tier{display:block;font-size:14px;font-weight:600;line-height:1;letter-spacing:.12em;text-transform:uppercase;color:var(--fg-3)}
.plan .price{display:block;font:800 56px/1 var(--f-head);letter-spacing:-.04em;margin-top:14px}
.plan .per{display:block;margin-top:10px;color:var(--fg-3);font-size:15px;max-width:38ch}
.plan .flag{position:absolute;top:26px;right:26px;font-size:12px;font-weight:700;line-height:1;letter-spacing:.1em;text-transform:uppercase;color:var(--on-ember);background:var(--orange-hi);padding:8px 12px;border-radius:999px}
.plan ul{margin-top:26px;padding-top:24px;border-top:1px solid var(--line);display:grid;gap:12px}
.plan li{position:relative;padding-left:28px;color:var(--fg-2);font-size:16px;line-height:1.4}
.plan li::before{content:"";position:absolute;left:0;top:3px;width:17px;height:17px;background:var(--orange-hi);
  -webkit-mask:url("/_astro/tick.9JvtbmiK.svg") center / contain no-repeat;mask:url("/_astro/tick.9JvtbmiK.svg") center / contain no-repeat}
.plan li.more::before{-webkit-mask-image:url("/_astro/plus.csbzu4bI.svg");mask-image:url("/_astro/plus.csbzu4bI.svg")}
.plan.best .price{display:flex;align-items:baseline;gap:12px}
.plan.best .price small{font:500 17px/1 var(--f-body);letter-spacing:0;color:var(--fg-2)}
.plan.best .month{display:block;margin-top:12px;font-size:17.5px;font-weight:600;line-height:1.2;color:var(--fg)}
.plan.best .trial{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:18px}
.plan.best .trial b{font-size:15px;font-weight:700;line-height:1;letter-spacing:.01em;color:var(--on-ember);background:var(--orange-hi);padding:10px 15px;border-radius:999px}
.plan.best .trial span{color:var(--fg-3);font-size:14.5px}
.plan.best .plus{margin-top:26px;padding-top:24px;border-top:1px solid var(--line);font-size:15.5px;font-weight:600;line-height:1.2;color:var(--fg-2)}
.plan.best ul{margin-top:0;padding-top:0;border-top:0;grid-template-columns:1fr;gap:11px}
.plan.best h3{display:flex;align-items:center;gap:9px;margin-bottom:14px;font:700 13px/1.2 var(--f-body);letter-spacing:.1em;text-transform:uppercase;color:var(--orange-hi);text-wrap:wrap}
.plan.best h3 svg{width:17px;height:17px;flex:none}
.plan.best .money{margin-top:16px;padding:22px 24px 24px;border-radius:20px;background:rgba(255,122,69,.09);border:1px solid rgba(255,122,69,.32)}
.plan.best .money ul{grid-template-columns:1fr 1fr;column-gap:24px}
.plan.best .money li{color:var(--fg);font:700 18.5px/1.28 var(--f-head);letter-spacing:-.015em;padding-left:30px}
.plan.best .money li::before{top:4px;width:19px;height:19px}
/* the two headings share a row and the lists start level, however the headings wrap */
.plan.best .groups{display:grid;grid-template-columns:1.12fr 1fr;column-gap:30px;align-items:start;margin-top:26px;padding-inline:24px}
.plan.best .group{display:contents}
.plan.best .group:nth-child(1) h3{grid-area:1/1}
.plan.best .group:nth-child(1) ul{grid-area:2/1/span 2}
.plan.best .group:nth-child(2) h3{grid-area:1/2}
.plan.best .group:nth-child(2) ul{grid-area:2/2}
.plan.best .group:nth-child(2) .extras{grid-area:3/2;margin-top:11px}
.fine{margin-top:22px;color:var(--fg-3);font-size:14.5px}
@media (max-width:900px){
  .plans{grid-template-columns:1fr}
  .plan{padding:26px}
  .plan .price{font-size:46px}
  .plan.best .money{padding:18px 18px 20px}
  .plan.best .money ul{grid-template-columns:1fr}
  .plan.best .groups{display:block;padding-inline:18px}
  .plan.best .group{display:block}
  .plan.best .group + .group{margin-top:24px}
  .plan.best .money li{font-size:17.5px}
}

/* Questions: two columns on a computer, one on a phone; each opens its answer (src/scripts/home.ts) */
.qa-list{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;border-top:1px solid var(--line)}
.qa{border-bottom:1px solid var(--line)}
.qa .q{padding:22px 0;font-size:18px;font-weight:700;line-height:1.3;letter-spacing:-.015em;text-wrap:wrap}
.qa .a{padding:0 30px 24px 0;color:var(--fg-2);font-size:16.5px}
/* With scripts on, the questions look from the first paint (html.js) as the script leaves them: every answer closed,
   and room kept on the right of each question for the chevron its button brings (the button's 16 px gap and the 12 px
   chevron), so nothing below them moves when the script runs. Firefox, opening the page at #get-the-app while the
   answers closed above it, was left at the page's foot (the full test of Nov 27, 2026). With scripts off every answer
   shows */
html.js .qa .q{padding-right:28px}
html.js .qa-list.acc .q{padding:0}
html.js .qa:not(.open) .a{display:none}
.qa-btn{appearance:none;width:100%;margin:0;padding:22px 0;border:0;background:none;color:var(--fg);font:inherit;letter-spacing:inherit;text-align:left;display:flex;justify-content:space-between;gap:16px;align-items:center;cursor:pointer}
.qa-ic{flex:none;width:12px;height:12px;border-right:2px solid var(--orange-hi);border-bottom:2px solid var(--orange-hi);transform:rotate(45deg) translate(-3px,-3px);transition:transform .25s var(--ease)}
.qa.open .qa-ic{transform:rotate(225deg) translate(-3px,-3px)}
@media (max-width:900px){.qa-list{grid-template-columns:1fr}.qa .q{font-size:17px;padding:18px 0}.qa-btn{padding:18px 0}}
/* A link in an answer (the Privacy Policy, the Contact Us page, the email address), as in Terms and Privacy */
.qa .a a{color:var(--fg);text-underline-offset:3px}
/* The nine questions after the first six wait behind More questions (src/scripts/home.ts), which then goes away.
   Kept out, and the button shown, from the first paint (html.js), so nothing moves when the script runs. With scripts
   off all fifteen show, and there is no button. The button has the web booking card's outline look */
html.js .qa-list:not(.all) .qa.more{display:none}
.qa-foot{display:none}
html.js .qa-foot{display:block;margin-top:28px}
html.js .qa-list.all + .qa-foot{display:none}
.qa-more{appearance:none;margin:0;padding:15px 24px;border:0;border-radius:999px;background:transparent;color:var(--fg);box-shadow:inset 0 0 0 1px var(--line-2);font:700 16px/1 var(--f-head);letter-spacing:-.01em;cursor:pointer;transition:background-color .2s}
@media (hover:hover){
  .qa .a a:hover{color:var(--orange-hi)}
  .qa-more:hover{background:rgba(255,255,255,.06)}
}

/* Get the app, over the Whistler photo. The line on a photo names its place, in the serif the app uses for place
   names (src/styles/fonts.css), at the sizes the site's photos have used since Nov 10, 2026 */
:root{--f-place:"Noto Serif",Georgia,"Times New Roman",serif}
.place-name{font-family:var(--f-place);font-style:italic;font-weight:900;font-size:26px;line-height:1.1;letter-spacing:0}
.credit{margin:0;color:#fff}
.credit .place-name{color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.7)}
.get{position:relative;min-height:min(86vh,760px);display:grid;align-items:end;overflow:hidden;isolation:isolate}
.get-bg{position:absolute;inset:0;z-index:-2}
.get-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.get::before{content:"";position:absolute;inset:0;z-index:-1;background:
  linear-gradient(90deg,rgba(12,13,15,.9) 0%,rgba(12,13,15,.8) 32%,rgba(12,13,15,.48) 56%,rgba(12,13,15,0) 80%),
  linear-gradient(180deg,var(--bg) 0%,rgba(12,13,15,.35) 26%,rgba(12,13,15,.15) 50%,rgba(12,13,15,.82) 100%)}
.get-in{width:100%;padding-block:120px 88px}
.get .eyebrow,.g-copy .eyebrow{color:rgba(255,255,255,.8)}
.get h2{font-size:clamp(40px,6vw,88px);font-weight:800;line-height:1;letter-spacing:-.04em;max-width:13ch;margin-top:16px;text-shadow:0 2px 34px rgba(0,0,0,.5)}
.get .sub{margin-top:18px;font-size:19px;color:var(--fg);max-width:46ch;opacity:.88}
.get .stores{margin-top:30px}
.get-where,.g-where{position:absolute;right:max(20px,env(safe-area-inset-right,0px));bottom:26px}
/* the picture of the app (the finishing pass, Nov 26, 2026), in the trip map's drawn phone */
.get-phone{margin:0}
@media (min-width:761px){
  /* beside the words, its foot sinking below the section's by just over half its width, so the words keep their place
     at the foot of the photo and the phone shows its top half or so: day one's first stops */
  .get-in{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:40px;align-items:end}
  .get-phone{--gp:min(280px,25vw,38vh);margin-bottom:calc(var(--gp) * -.527)}
  .get-phone .b-device{--pw:var(--gp)}
  /* the place moves to the phone's left: the phone's width and 48 px from the column's right edge */
  .get-where{right:calc(max((100vw - 1200px) / 2,0px) + var(--gut) + min(280px,25vw,38vh) + 48px)}
}
@media (max-width:760px){
  /* the picture first, then the words, whose own block rises over the phone's foot with the dark in it */
  .get-in{display:flex;flex-direction:column;padding-block:84px 0}
  .get-where{bottom:18px;z-index:2}
  /* the photo is snow: the dark under the words belongs to the words' own block, so white words never sit on bright
     snow, however tall the phone. The block runs to the screen's edges */
  .get::before{background:linear-gradient(180deg,var(--bg) 0%,rgba(12,13,15,.2) 16%,rgba(12,13,15,.2) 100%)}
  .get-phone{order:-1;align-self:center;margin-bottom:-150px}
  .get-phone .b-device{--pw:min(236px,60vw)}
  .get-copy{position:relative;z-index:1;margin-inline:calc(var(--gut) * -1);padding:162px var(--gut) 76px;
    background:linear-gradient(180deg,rgba(12,13,15,0) 0,rgba(12,13,15,.72) 92px,rgba(12,13,15,.92) 150px,rgba(12,13,15,.97) 100%)}
  .place-name{font-size:22px}
  .get-where,.g-where{right:var(--gut)}
  /* the place stays on one line on the narrowest phones, clear of the store buttons, here and on the Get the app page */
  .get-where .place-name,.g-where .place-name{font-size:clamp(17px,5.6vw,22px);white-space:nowrap}
}

/* Travel essentials (src/pages/travel-essentials.astro, its own page since the finishing pass, Nov 26, 2026; it was
   the home page's last section; the page's own widths are with the other pages', below): each card is one link to its
   partner (its words name the link, and the card around it takes the click too) */
.kit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.kit-card{position:relative;display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:22px;border:1px solid var(--line);background:var(--bg-2);transition:border-color .2s,transform .2s var(--ease)}
.kit-card:focus-within{border-color:rgba(255,122,69,.6)}
.kit-card img{height:22px;width:auto;align-self:flex-start;opacity:.95}
.kit-card p{color:var(--fg-2);font-size:14.5px;line-height:1.45;flex:1}
.kit-card .code{color:var(--good);font-weight:600;font-size:14px}
.kit-card a{font:700 14.5px/1 var(--f-head);color:var(--orange-hi);text-decoration:none}
.kit-card a::after{content:"";position:absolute;inset:0;border-radius:inherit}
@media (hover:hover){.kit-card:hover{border-color:rgba(255,122,69,.6);transform:translateY(-2px)}}
@media (max-width:900px){.kit-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.kit-grid{grid-template-columns:1fr}}

/* ---------- The Get the app page (src/pages/app.astro) ----------
   On a computer, both store buttons and a code to scan. A phone goes straight to its own store, so it sees this page
   only with scripts off. The page stops above the cookie bar while it shows (--lift) */
.page-app .store img{height:54px}
.g-main{position:relative;min-height:calc(100vh - var(--lift));min-height:calc(100svh - var(--lift));display:grid;align-items:center;overflow:hidden;isolation:isolate}
.g-bg{position:absolute;inset:0;z-index:-2}
/* the photo is a ski run at Whistler in fresh snow: the snowy trees fill its middle and right, so a window wider than
   the photo loses the run along the bottom first */
.g-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 22%}
/* dark where the words are, on the left, and nearly clear on the right, where the lit peaks and the lake show */
.g-main::before{content:"";position:absolute;inset:0;z-index:-1;background:
  linear-gradient(90deg,rgba(12,13,15,.88) 0%,rgba(12,13,15,.76) 30%,rgba(12,13,15,.36) 56%,rgba(12,13,15,.12) 100%),
  linear-gradient(180deg,rgba(12,13,15,.72) 0%,rgba(12,13,15,0) 20%,rgba(12,13,15,0) 64%,rgba(12,13,15,.8) 100%)}
.g-in{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(32px,6vw,96px);align-items:center;padding-block:128px 96px}
.g-copy h1{font-size:clamp(42px,6vw,88px);font-weight:800;line-height:1;letter-spacing:-.04em;max-width:12ch;margin-top:16px;text-shadow:0 2px 34px rgba(0,0,0,.5)}
.g-copy .sub{margin-top:20px;font-size:19px;color:var(--fg);opacity:.88;max-width:44ch}
.g-copy .stores{margin-top:30px}
.g-scan{width:min(300px,100%);padding:22px 22px 20px;border-radius:30px;background:rgba(22,23,26,.74);border:1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 40px 90px -30px rgba(0,0,0,.9);text-align:center}
.g-qr{padding:20px;border-radius:18px;background:#fff}
.g-qr img{width:100%;height:auto}
.g-scan p{margin-top:16px;font:600 17px/1.3 var(--f-head);letter-spacing:-.01em;color:var(--fg);text-wrap:balance}
@media (max-width:860px){
  /* a phone can't scan its own screen, so the code is for computers only */
  .g-main{align-items:end}
  .g-in{grid-template-columns:minmax(0,1fr);align-items:end;padding-block:110px 84px}
  .g-scan{display:none}
  /* the tall photo keeps its top, where the lit peaks are; the dark under the words belongs to the words' own block,
     so it starts just above them on a short phone and a tall one alike */
  .g-bg img{object-position:50% 0%}
  .g-main::before{background:linear-gradient(180deg,rgba(12,13,15,.7) 0%,rgba(12,13,15,.14) 18%,rgba(12,13,15,.2) 100%)}
  .g-in{background:linear-gradient(180deg,rgba(12,13,15,0) 0,rgba(12,13,15,.62) 96px,rgba(12,13,15,.8) 190px,rgba(12,13,15,.94) 100%)}
  .page-app .store img{height:48px}
  .g-where{bottom:18px}
}

/* With reduce motion on, nothing moves by itself and nothing glides: the map's pulse, the scroll cue and the stamp's
   press stop, a trip card's photo stays still under the mouse, and every change is immediate (trip.ts does the same
   for the map) */
@media (prefers-reduced-motion:reduce){
  .b-step,.b-card,.b-hero,.b-pin .in,.b-label .in,.b-day .in,.b-dim,.b-pins,.b-shade::before,.b-cue,.b-bed .in,.b-you .in,.b-stage[data-step="0"].drawn .b-glance,.qa-ic,.web .btn,.kit-card,.place-card img,.page-home .hdr,.page-app .hdr,.page-trip .hdr{transition-duration:.01s;transition-delay:0s}
  .b-you .in::after,.b-cue svg,.b-stamp.on .b-stamp-in{animation:none}
  .place-card a:hover img{transform:none}
}


/* Footer, every page */
.ftr{border-top:1px solid rgba(255,255,255,.06);padding-block:40px 120px;color:var(--fg-3);font-size:14px}
.ftr .wrap{display:flex;flex-wrap:wrap;gap:14px 28px;justify-content:space-between;align-items:flex-start}
.ftr .about{flex:1 1 100%;margin-bottom:12px}
.ftr .about p{margin:0;max-width:62ch}
.ftr .about p:first-child{font-size:15px;line-height:1.5;color:var(--fg-2)}
.ftr .about p+p{margin-top:6px}
.ftr .legal p{margin:0}
.ftr .legal a{color:var(--fg-2)}
.ftr nav{display:flex;flex-wrap:wrap;gap:10px 22px}
.ftr nav a{text-decoration:none;color:var(--fg-2)}
.ftr nav a:hover,.ftr nav button:hover{color:var(--fg)}
/* Not in the mockup: Cookie settings, a button that reads as one of the links */
.ftr nav button{appearance:none;margin:0;padding:0;border:0;background:none;color:var(--fg-2);font:inherit;cursor:pointer}

/* Quiet fade for sections below the fold, once */
.rv.pre{opacity:0;transform:translateY(16px)}
.rv{transition:opacity .45s var(--ease),transform .45s var(--ease)}

/* Cookie choice before Analytics. It starts hidden; the script after it shows it before the first paint when the
   visitor still has to choose */
.cookie{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:60;width:min(760px,calc(100vw - 24px));display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:14px 16px;border-radius:18px;background:rgba(32,36,37,.97);border:1px solid var(--line-2);box-shadow:0 20px 50px -20px rgba(0,0,0,.8);font-size:14.5px}
.cookie p{margin:0;flex:1 1 280px;color:var(--fg-2)}
.cookie .btns{margin:0;flex:0 0 auto}
.cookie button{appearance:none;border:1px solid var(--line-2);background:transparent;color:var(--fg);font:600 14px var(--f-body);height:40px;padding:0 18px;border-radius:999px;cursor:pointer}
.cookie button.yes{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.cookie a{color:var(--fg-2)}
.cookie[hidden]{display:none}
/* Out of the way while the visitor is typing in the contact form or its send button would sit under it */
.cookie.away{transform:translate(-50%,calc(100% + 40px));visibility:hidden}


@media (prefers-reduced-motion:reduce){
  .rv{transition:none}
  .rv.pre{opacity:1;transform:none}
}

/* Not in the mockup: the contact, privacy, terms and 404 pages, in the homepage's type and colours */
.page{padding-block:clamp(40px,7vw,72px) clamp(64px,9vw,112px)}
.page .wrap{max-width:760px}
.back{display:inline-flex;align-items:center;gap:8px;color:var(--fg-2);font-size:15px;text-decoration:none}
.back:hover{color:var(--fg)}
.back svg{width:16px;height:16px}
.page h1{margin:22px 0 10px;font-size:clamp(32px,5vw,48px);line-height:1.05;font-weight:800}
.page .lead{margin:0;color:var(--fg-2);font-size:clamp(17px,1.6vw,19px)}
/* Travel essentials: as wide as the home page's sections, so its four cards keep the width they had there, with the
   commission line under the lead and before the cards */
.kit-page .wrap{max-width:1200px}
.kit-page .earn{margin:14px 0 0;color:var(--fg-3);font-size:14px}
.kit-page .kit-grid{margin-top:36px}
.doc{margin-top:28px;color:var(--fg-2);font-size:16px;line-height:1.65}
.doc section{margin-top:34px}
.doc h2{margin:0 0 12px;color:var(--fg);font-size:22px;line-height:1.25}
.doc h3{margin:18px 0 8px;color:var(--fg);font-size:18px}
.doc p{margin:0 0 12px}
.doc ul,.doc ol{margin:0 0 14px;padding-left:22px;display:grid;gap:8px}
.doc strong{color:var(--fg);font-weight:600}
.doc a{color:var(--fg);text-underline-offset:3px}
.doc a:hover{color:var(--orange-hi)}
.doc .dates{color:var(--fg-3);font-size:15px}
/* Not in the mockup: on Thimble in AI apps (Nov 27, 2026), the address an AI app connects to, text to copy and never
   a link. One click selects all of it, and it breaks anywhere rather than run off a phone's screen */
.doc .address{color:var(--fg);-webkit-user-select:all;user-select:all;overflow-wrap:anywhere}
/* Contact form */
.form{margin-top:32px;display:grid;gap:20px}
.field{display:grid;gap:8px}
.field label{color:var(--fg-2);font-size:14.5px;font-weight:500}
.field input,.field textarea{width:100%;padding:13px 16px;border-radius:14px;border:1px solid var(--line-2);background:var(--bg-2);color:var(--fg);font:inherit;font-size:16px}
.field textarea{resize:none;min-height:150px}
.field input::placeholder,.field textarea::placeholder{color:var(--fg-3)}
.field input:focus-visible,.field textarea:focus-visible{outline:2px solid var(--orange-hi);outline-offset:1px;border-color:transparent}
.form .btn{width:100%;height:50px;border:0;font:600 16px var(--f-body);cursor:pointer}
.form .btn:disabled{cursor:progress;opacity:.8}
.form-error{margin:0;color:var(--bad);font-size:15px;text-align:center}
.sent{margin-top:32px;padding:clamp(28px,5vw,40px);border-radius:22px;background:var(--bg-2);border:1px solid var(--line);text-align:center;display:grid;justify-items:center;gap:10px}
.sent .tick{color:var(--orange-hi);font-size:40px;line-height:1}
.sent h2{font-size:24px}
.sent p{margin:0;color:var(--fg-2)}
.sent button{appearance:none;margin-top:12px;padding:6px 4px;border:0;background:none;color:var(--orange-hi);font:600 15px var(--f-body);cursor:pointer}
.sent button:hover{text-decoration:underline}
.nf .btns{margin-top:26px;max-width:420px}
