/* Advanto homepage, motion concept. Part two: the advert cards, the held break and its steps, the prototypes in
   their windows, the match, the end line, the foot, phones, and reduced motion. */

/* ---------- who it's for: the advert cards ---------- */
.trades { position: relative; z-index: 1; background: var(--night); color: #fff; }
.trades [data-title] { color: rgba(255, 255, 255, .26); }
.trades__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.6vh, 42px); }
.trades__in { display: grid; justify-items: center; gap: clamp(12px, 2.2vh, 24px); padding: 0 var(--gut); text-align: center; }
.trades__h { font-size: var(--t-title); font-weight: 800; line-height: 1.05; letter-spacing: -.038em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 20px; max-width: 900px; }
.chip { position: relative; padding: 6px 1px; border: 0; background: none; color: rgba(255, 255, 255, .5); font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; transition: color .25s; }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: #fff; transform: scaleX(0); transition: transform .5s var(--ease-out); }
.chip:hover { color: rgba(255, 255, 255, .85); }
.chip[aria-selected="true"] { color: #fff; }
.chip[aria-selected="true"]::after { transform: scaleX(1); }
.trades__band { position: relative; }
.trades__track { display: flex; gap: clamp(12px, 1.2vw, 18px); width: max-content; padding: 0 var(--gut); will-change: transform; }
.card {
  position: relative; flex: 0 0 auto; display: block; width: clamp(236px, 22.5vw, 336px); aspect-ratio: 3 / 4; padding: 0; border: 0;
  background: none; color: inherit; text-align: left; perspective: 1300px; cursor: pointer;
  transition: opacity .55s var(--ease-out), translate .8s var(--ease-out);
}
.card.is-gone { opacity: 0; translate: 0 46px; }
.card__in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1.05s var(--ease); }
.card.is-flip .card__in { transform: rotateY(180deg); }
.card__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.card__f, .card__b { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.card__f { background: linear-gradient(158deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.card__f::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 60% at 85% 100%, rgba(255, 255, 255, .28), transparent 70%); pointer-events: none; }
.card__f--ad { background: #f3f1ec; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -34px rgba(0, 0, 0, .8); }
.card__f--ad::before { content: none; }
.card__ad { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); }
.card:hover .card__ad { transform: scale(1.035); }
.card__tag.card__flag { left: auto; right: 14px; top: -13px; z-index: 3; background: rgba(8, 12, 18, .92); box-shadow: 0 0 0 2px var(--night), 0 6px 14px -6px rgba(0, 0, 0, .6); transition: opacity .3s; }
.card.is-flip .card__flag { opacity: 0; }
.card__art { position: absolute; right: -16%; bottom: 13%; width: 84%; height: auto; color: var(--c3); transform: rotate(-12deg); transition: transform 1.3s var(--ease-out); }
.card:hover .card__art { transform: rotate(-5deg) scale(1.07) translate(-2%, -2%); }
.card__hook { position: absolute; left: 20px; right: 22px; top: 56px; font-size: clamp(1.3rem, 1.8vw, 1.72rem); font-weight: 900; line-height: 1.03; letter-spacing: -.035em; color: var(--ci); }
.card__tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 7px; border-radius: 999px; background: rgba(8, 12, 18, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 800; color: #fff; }
.card__tag svg { width: 15px; height: 15px; }
.card__foot { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: 46px 18px 16px; background: linear-gradient(180deg, rgba(6, 10, 15, 0), rgba(6, 10, 15, .66)); }
.card__n { font-size: 18px; font-weight: 900; letter-spacing: -.025em; color: #fff; }
.card__pl { display: flex; gap: 6px; }
.card__pl svg { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .75); }
.card__b { transform: rotateY(180deg); display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 20px; background: #111a24; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.card__bk { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-2); }
.card__bn { font-size: 23px; font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
.card__bl { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.35; color: rgba(255, 255, 255, .82); }
.card__bl li { display: flex; gap: 10px; align-items: flex-start; }
.card__bl svg { width: 18px; height: 18px; margin-top: 1px; color: var(--mint-2); flex: 0 0 auto; }
.card__go { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 16px; background: var(--lime); color: var(--ink); font-weight: 900; font-size: 15px; text-decoration: none; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16); transition: transform .3s var(--spring); }
.card__go:hover { transform: translateY(-2px); }
.card__go svg { width: 18px; height: 18px; }

/* ---------- the break, held, and the steps under it ---------- */
.flow { position: relative; z-index: 1; background: var(--bg); }
.lr { position: relative; padding-top: 30vh; }
.brk { position: sticky; top: 0; z-index: 4; display: grid; place-items: center; min-height: 150px; height: 23vh; padding: 0 var(--gut); text-align: center; background: var(--bg); }
.brk::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12vh; background: linear-gradient(rgba(var(--bg-rgb), 1), rgba(var(--bg-rgb), 0)); pointer-events: none; }
.brk__l, .hire__l { font-weight: 800; letter-spacing: -.04em; }
.brk__l { max-width: 19ch; font-size: var(--t-title); line-height: 1.07; }
.w {
  display: inline-block; color: #c9d1cd; clip-path: inset(-.14em -.1em 112% -.1em); transform: translateY(.45em);
  transition: color .45s var(--ease-out), clip-path .3s var(--ease-in), transform .3s var(--ease-in);
}
.w.is-on { color: var(--ink); }
.is-in .w {
  clip-path: inset(-.14em -.1em -.26em -.1em); transform: none;
  transition: color .45s var(--ease-out), clip-path .85s var(--ease-out) calc(var(--i, 0) * 45ms), transform .85s var(--ease-out) calc(var(--i, 0) * 45ms);
}

.how { position: relative; padding: 2vh 0 16vh; }
.thread { position: absolute; left: 0; top: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.thread path { fill: none; stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.thread__track { stroke: rgba(11, 18, 32, .13); }
.thread__ink { stroke: var(--ink); }
.thread__dot { fill: var(--bg); stroke: rgba(11, 18, 32, .3); stroke-width: 1.5; transform-box: fill-box; transform-origin: 50% 50%; transition: transform .5s var(--pop), fill .3s, stroke .3s; }
.thread__dot.is-on { fill: var(--ink); stroke: var(--ink); transform: scale(1.35); }
.how__in { position: relative; z-index: 1; max-width: 1260px; margin: 0 auto; padding: 0 var(--gut); }
.ch { display: grid; grid-template-columns: minmax(210px, .74fr) 1.72fr; gap: clamp(24px, 5vw, 84px); align-items: center; min-height: 88vh; padding: 5vh 0; }
.ch__h { padding-left: clamp(40px, 4.4vw, 62px); }
.ch__t { max-width: 11ch; font-size: var(--t-ch); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; transform: translateY(24px); opacity: 0; transition: transform 1s var(--ease-out), opacity .8s var(--ease-out); }
.ch__t.is-in { transform: none; opacity: 1; }
.win {
  position: relative; border-radius: 20px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(11, 18, 32, .06), 0 40px 80px -40px rgba(11, 18, 32, .4), 0 12px 24px -16px rgba(11, 18, 32, .18);
  opacity: 0; transform: translateY(80px) scale(.95); transition: opacity .9s var(--ease-out), transform 1.15s var(--ease-out);
}
.win.is-in { opacity: 1; transform: none; }
.win__bar { position: relative; display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #f7f9f8; border-bottom: 1px solid var(--line); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #dce2df; }
.win__bar span { position: absolute; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 8px; background: #edf1ef; font-size: 11.5px; font-weight: 800; color: #8a948f; }

/* the prototypes: the app's own look, sized in em so it scales with the window */
.proto { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fbfcfb; font-size: clamp(10px, .95vw, 14.5px); line-height: 1.3; }
.cur { position: absolute; left: 0; top: 0; z-index: 9; width: 1.9em; height: 1.9em; pointer-events: none; will-change: transform; filter: drop-shadow(0 .15em .25em rgba(11, 18, 32, .35)); }
.cur::after { content: ""; position: absolute; left: -.6em; top: -.6em; width: 1.2em; height: 1.2em; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; transform: scale(.4); }
.cur.is-click::after { animation: click .55s var(--ease-out); }
@keyframes click { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.2); } }
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: 3em; padding: 0 1.25em; border-radius: 1em; background: #fff; color: var(--ink); font-weight: 900; white-space: nowrap; box-shadow: 0 0 0 1.5px var(--app-line), 0 .25em 0 var(--app-line); transition: transform .12s, box-shadow .12s; }
.a-btn--go { background: var(--app-go); color: #fff; box-shadow: 0 0 0 1.5px #4fb802, 0 .25em 0 var(--app-go-d); }
.a-btn.is-press { transform: translateY(.2em); box-shadow: 0 0 0 1.5px #4fb802, 0 .05em 0 var(--app-go-d); }
.a-card { border-radius: 1.1em; background: #fff; box-shadow: 0 0 0 1.5px var(--app-line), 0 .3em 0 var(--app-line); }
.a-step { display: flex; justify-content: space-between; font-size: .82em; font-weight: 800; color: #8a948f; }
.a-bar { height: .55em; border-radius: 1em; background: #e9eeeb; overflow: hidden; }
.a-bar i { display: block; height: 100%; border-radius: inherit; background: var(--app-go); transition: width .8s var(--ease-out); }
.a-q { font-size: 1.42em; font-weight: 900; line-height: 1.12; letter-spacing: -.02em; }

/* the example adverts are real pictures made by Advanto's ad maker (img/ads): a photo, the words, the button */
.shot { display: block; width: 100%; height: 100%; object-fit: cover; }
.fbad__pic .shot { position: absolute; inset: 0; }

/* a garden, drawn in CSS (no longer used by the example advert; kept for anything still asking for .art) */
.art {
  display: block; position: relative; overflow: hidden; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 80% 22%, #fff7c2 0 6%, rgba(255, 247, 194, .55) 6.5%, rgba(255, 247, 194, 0) 12%),
    radial-gradient(34% 26% at 12% 66%, #2f9e44 0 62%, rgba(47, 158, 68, 0) 64%),
    radial-gradient(30% 24% at 92% 64%, #2b8a3e 0 62%, rgba(43, 138, 62, 0) 64%),
    radial-gradient(22% 18% at 64% 60%, #37b24d 0 62%, rgba(55, 178, 77, 0) 64%),
    linear-gradient(180deg, transparent 54%, #40c057 54% 61%, transparent 61%),
    repeating-linear-gradient(98deg, #8ce99a 0 7%, #74dd85 7% 14%) 0 100% / 100% 41% no-repeat,
    linear-gradient(180deg, #a5d8ff 0%, #e7f5ff 60%);
}
.art::after { content: ""; position: absolute; left: 44%; bottom: 0; width: 14%; height: 41%; background: linear-gradient(180deg, #f1e3c8, #e6d2ad); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }

/* 1. the area */
.pa { position: absolute; inset: 0; display: grid; grid-template-columns: 1.22fr 1fr; }
.pa__map { position: relative; overflow: hidden; background: #edf1ef; }
.pa__map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pa__ring { --r: 30%; position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.pa__ring::before { content: ""; position: absolute; left: calc(var(--rr, 40px) * -1); top: calc(var(--rr, 40px) * -1); width: calc(var(--rr, 40px) * 2); height: calc(var(--rr, 40px) * 2); border-radius: 50%; background: rgba(45, 212, 167, .16); box-shadow: 0 0 0 2px #2dd4a7, 0 0 0 9999px rgba(11, 18, 32, .07); transition: all .9s var(--spring); }
.pa__pin { position: absolute; left: 50%; top: 50%; width: 2.2em; height: 2.2em; margin: -2.1em 0 0 -1.1em; color: #ff4b4b; filter: drop-shadow(0 .2em .2em rgba(11, 18, 32, .3)); }
.pa__lbl { position: absolute; left: 50%; top: 50%; margin-top: .5em; transform: translateX(-50%); padding: .3em .7em; border-radius: .7em; background: rgba(11, 18, 32, .86); color: #fff; font-size: .82em; font-weight: 800; white-space: nowrap; }
.pa__ui { display: flex; flex-direction: column; gap: .75em; padding: 1.5em 1.4em; background: #fff; border-left: 1px solid var(--line); }
.pa__opt { display: flex; align-items: center; gap: .8em; height: 3.3em; padding: 0 1em; font-weight: 900; font-size: 1.04em; transition: background .3s, box-shadow .3s; }
.pa__opt > svg:first-child { width: 1.25em; height: 1.25em; color: #ff4b4b; }
.pa__opt span { flex: 1; text-align: center; }
.pa__opt b { display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: #58cc02; color: #fff; transition: background .3s; }
.pa__opt b svg { width: .95em; height: .95em; }
.pa__opt b .is-y { display: none; }
.pa__opt.is-sel { background: #ddf4ff; box-shadow: 0 0 0 2px #1cb0f6, 0 .3em 0 #1899d6; }
.pa__opt.is-sel b { background: #1cb0f6; }
.pa__opt.is-sel b .is-n { display: none; }
.pa__opt.is-sel b .is-y { display: block; }
.pa__go { margin-top: auto; align-self: flex-end; }

/* 2. the photo */
.pp { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5em; padding: 1.6em; background: #f3f6f5; }
.pp__drop { position: relative; display: grid; place-items: center; align-content: center; gap: .5em; border-radius: 1.2em; border: 2px dashed #cdd7d2; background: #f9fbfa; color: #8a948f; font-weight: 900; text-align: center; transition: border-color .3s, background .3s; }
.pp__drop svg { width: 2.4em; height: 2.4em; }
.pp__drop.is-hot { border-color: var(--mint); background: #effcf7; }
.pp__photo { position: absolute; left: 0; top: 0; z-index: 4; width: 34%; aspect-ratio: 4 / 3; border-radius: .9em; overflow: hidden; box-shadow: 0 1.2em 2.2em -1em rgba(11, 18, 32, .5), 0 0 0 .25em #fff; will-change: transform; }
.pp__right { display: grid; align-content: center; gap: 1em; }
.pp__h { font-size: 1.3em; font-weight: 900; letter-spacing: -.02em; }
.pp__sizes { display: grid; grid-template-columns: 1fr .8fr .5fr; align-items: end; gap: .9em; }
.pp__sz { display: grid; gap: .45em; justify-items: center; opacity: 0; transform: translateY(1.2em) scale(.9); transition: opacity .5s var(--ease-out), transform .8s var(--spring); }
.pp__sz.is-on { opacity: 1; transform: none; }
.pp__sz .shot { height: auto; border-radius: .7em; box-shadow: 0 0 0 1.5px var(--app-line), 0 .7em 1.4em -1em rgba(11, 18, 32, .45); }
.pp__sz:nth-child(1) .shot { aspect-ratio: 1; }
.pp__sz:nth-child(2) .shot { aspect-ratio: 3 / 4; }
.pp__sz:nth-child(3) .shot { aspect-ratio: 9 / 16; }
.pp__sz b { font-size: .8em; font-weight: 800; color: #7b8580; }
.pp__note { display: inline-flex; align-items: center; gap: .5em; font-weight: 800; color: #7b8580; opacity: 0; transition: opacity .4s; }
.pp__note.is-on { opacity: 1; }
.pp__spin { width: 1.1em; height: 1.1em; border-radius: 50%; border: .18em solid #d5ddd9; border-top-color: var(--mint); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 3. the words */
.pw { position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.5em; padding: 1.4em 1.6em; background: #f1f4f3; }
.fbad { display: flex; flex-direction: column; border-radius: 1em; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px #e3e8e5, 0 1em 2em -1.4em rgba(11, 18, 32, .35); font-size: .92em; }
.fbad__top { display: flex; align-items: center; gap: .6em; padding: .8em .9em .5em; }
.fbad__av { flex: 0 0 auto; width: 2.3em; height: 2.3em; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8ff5e4, #12a58b 60%, #075e52); object-fit: cover; box-shadow: 0 0 0 1px rgba(11, 18, 32, .08); }
.fbad__top b { display: block; font-weight: 900; }
.fbad__top small { display: block; color: #8a948f; font-size: .8em; font-weight: 700; }
.fbad__txt { min-height: 4.1em; padding: 0 .9em .7em; font-size: .98em; line-height: 1.32; font-weight: 700; }
.fbad__pic { position: relative; flex: 1; min-height: 5em; }
.fbad__foot { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .7em .9em; background: #f4f6f5; }
.fbad__foot small { display: block; color: #8a948f; font-size: .72em; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.fbad__foot b { display: block; font-weight: 900; line-height: 1.15; }
.fbad__foot em { flex: 0 0 auto; padding: .55em .9em; border-radius: .6em; background: #e4e8ea; font-style: normal; font-weight: 900; font-size: .9em; }
.live { display: inline-flex; align-items: center; gap: .35em; margin-left: auto; padding: .3em .65em; border-radius: 999px; background: #d3f9d8; color: #2b8a3e; font-style: normal; font-weight: 900; font-size: .78em; }
.live i { width: .5em; height: .5em; border-radius: 50%; background: #2f9e44; animation: live 1.6s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 68, .6); } 100% { box-shadow: 0 0 0 .5em rgba(47, 158, 68, 0); } }
.pw__side { display: flex; flex-direction: column; gap: .75em; justify-content: center; }
.pw__h { font-size: 1.3em; font-weight: 900; letter-spacing: -.02em; }
.pw__opt { padding: .8em .95em; border-radius: 1em; background: #fff; box-shadow: 0 0 0 1.5px var(--app-line); font-weight: 800; font-size: .95em; line-height: 1.3; transition: box-shadow .3s, background .3s, transform .4s var(--spring); }
.pw__opt.is-sel { box-shadow: 0 0 0 2px var(--mint); background: #effcf7; transform: translateX(.3em); }
.pw__row { display: flex; gap: .6em; align-items: center; }
.pw__ok { display: inline-flex; align-items: center; gap: .4em; padding: .55em .9em; border-radius: 999px; background: #d3f9d8; color: #2b8a3e; font-weight: 900; transform: scale(0); transition: transform .6s var(--spring); }
.pw__ok svg { width: 1em; height: 1em; }
.pw__ok.is-on { transform: scale(1); }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; background: var(--ink); vertical-align: -.16em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* 4. say go */
.pg { position: absolute; inset: 0; display: grid; place-items: center; background: #f1f4f3; }
.pg__scr { position: relative; display: grid; gap: .65em; width: min(80%, 31em); padding: 1.4em 1.6em 1.3em; border-radius: 1.4em; text-align: center; }
.pg__h { font-size: 1.4em; font-weight: 900; letter-spacing: -.02em; text-align: left; }
.pg__tick { width: 2.4em; height: 2.4em; margin: .2em auto 0; color: var(--app-go); }
.pg__lot { display: block; width: 4.6em; height: 4.6em; margin: -.6em auto -.9em; line-height: 0; }
.pg__lot:not(.is-lottie) { display: none; }
.match__lot { display: inline-block; width: 1.7em; height: 1.7em; align-self: center; margin: -.3em -.15em -.3em -.4em; line-height: 0; }
.pg__amt { font-size: 1.55em; font-weight: 900; letter-spacing: -.02em; }
.pg__s { color: #4b5563; font-weight: 700; }
.pg__btns { display: flex; gap: .7em; justify-content: center; margin-top: .3em; }
.pg__state { position: absolute; right: 1.2em; top: 1.2em; display: inline-flex; align-items: center; gap: .4em; padding: .35em .75em; border-radius: 999px; background: #eef1f0; color: #6b7280; font-weight: 900; font-size: .85em; transition: background .3s, color .3s; }
.pg__state i { width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.pg__state.is-live { background: #d3f9d8; color: #2b8a3e; }
.pg__state.is-live i { animation: live 1.4s ease-out infinite; }
.pg__burst { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; pointer-events: none; }
.pg__burst i { position: absolute; left: -.3em; top: -.3em; width: .6em; height: .6em; border-radius: 50%; opacity: 0; }

/* 5. replies */
.pr { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(70% 90% at 50% 100%, #dff5ec, #f3f6f5 70%); }
.pr__ph { position: relative; height: 92%; aspect-ratio: 9 / 18.5; border-radius: 2.4em; background: #0b1220; padding: .5em; box-shadow: 0 2em 3em -2em rgba(11, 18, 32, .55); }
.pr__scr { position: absolute; inset: .45em; overflow: hidden; border-radius: 2em; background: linear-gradient(165deg, #c4efdf, #a6c8ff); }
.pr__isl { position: absolute; left: 50%; top: .55em; width: 32%; height: 1.15em; transform: translateX(-50%); border-radius: 1em; background: #0b1220; }
.pr__time { margin-top: .8em; text-align: center;   /* own em: just under the island, clear of the replies */ color: #fff; font-size: 2.7em; font-weight: 800; letter-spacing: -.03em; }
.pr__date { text-align: center; color: rgba(255, 255, 255, .9); font-weight: 800; font-size: .85em; }
.pr__list { position: absolute; left: .55em; right: .55em; top: 7.6em; display: grid; gap: .45em; }
.pr__n { display: flex; gap: .55em; align-items: flex-start; padding: .65em .7em; border-radius: 1.1em; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 .4em 1em -.6em rgba(11, 18, 32, .35); font-size: .8em; opacity: 0; transform: translateY(-1.4em) scale(.94); transition: opacity .4s var(--ease-out), transform .7s var(--spring); }
.pr__n.is-on { opacity: 1; transform: none; }
.pr__app { flex: 0 0 auto; width: 2em; height: 2em; border-radius: .55em; background: radial-gradient(circle at 50% 45%, #2af0d6, #0b7a6c 70%); }
/* who wrote: their photo, with the app's badge on the corner (how a phone shows a message from a person) */
.pr__av { position: relative; flex: 0 0 auto; width: 2.3em; height: 2.3em; }
.pr__av img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pr__badge { position: absolute; right: -.18em; bottom: -.18em; width: .95em; height: .95em; border-radius: .28em; background: radial-gradient(circle at 50% 45%, #2af0d6, #0b7a6c 70%); box-shadow: 0 0 0 .12em rgba(255, 255, 255, .95); }
.pr__n b { display: flex; justify-content: space-between; font-weight: 900; }
.pr__n b small { color: #8a948f; font-weight: 800; }
.pr__n span { display: block; color: #374151; font-weight: 700; line-height: 1.25; }
.pr__acts { display: flex; gap: .4em; margin-top: .45em; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease-out); }
.pr__n.is-open .pr__acts { max-height: 3em; }
.pr__acts em { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: .3em; padding: .45em; border-radius: .7em; background: #0b1220; color: #fff; font-style: normal; font-weight: 900; }
.pr__acts em + em { background: #25d366; }

/* ---------- the match ---------- */
.match { position: relative; height: 300vh; }
.match__stick { position: sticky; top: 0; display: flex; flex-direction: column; align-items: center; height: 100vh; height: 100svh; padding: clamp(54px, 9vh, 104px) var(--gut) clamp(96px, 13vh, 130px); overflow: hidden; }
.match__head { display: grid; justify-items: center; gap: 12px; text-align: center; }
.match__t { font-size: var(--t-title); font-weight: 800; line-height: 1.05; letter-spacing: -.038em; }
.match__sub { color: var(--mute); font-size: clamp(15px, 1.2vw, 18px); font-weight: 700; }
.match__stage { position: relative; flex: 1; width: min(1160px, 100%); margin-top: clamp(40px, 7vh, 80px); }
.match__net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.match__net path { fill: none; stroke: rgba(11, 18, 32, .42); stroke-width: 1.3; stroke-linecap: round; }
.match__net circle { fill: var(--ink); }
.match__ad { position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(236px, 24vw, 320px); font-size: clamp(11px, .95vw, 14px); transform: translate(-50%, -50%); }
.match__ad .fbad { box-shadow: 0 0 0 1px rgba(11, 18, 32, .06), 0 40px 70px -40px rgba(11, 18, 32, .5); }
.match__ad .fbad__pic { flex: none; aspect-ratio: 1; }
.match__lvl { position: absolute; left: 50%; bottom: calc(100% + 16px); transform: translateX(-50%); display: inline-flex; align-items: baseline; gap: .3em; white-space: nowrap; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 800; letter-spacing: -.035em; color: var(--mute); }
.odo { display: inline-flex; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.odo__col { display: block; height: 1.1em; overflow: hidden; line-height: 1.1; }
.odo__strip { display: block; transition: transform .9s var(--ease-out); }
.odo__strip i { display: block; height: 1.1em; font-style: normal; text-align: center; }
.match__eg { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: rgba(11, 18, 32, .06); color: var(--mute); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.match__rs { margin: 0; padding: 0; list-style: none; }
.rp {
  position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; width: clamp(204px, 19vw, 258px); padding: 10px 12px;
  border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 18, 32, .06), 0 16px 30px -18px rgba(11, 18, 32, .45);
  opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: opacity .35s var(--ease-out), transform .75s var(--spring);
}
.rp.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rp::after { content: ""; position: absolute; inset: -1px; border-radius: 17px; border: 2px solid rgba(45, 212, 167, .9); opacity: 0; pointer-events: none; }
.rp.is-ring::after { animation: rp-ring .9s var(--ease-out); }
@keyframes rp-ring { 0% { inset: -1px; opacity: 1; } 100% { inset: -16px; opacity: 0; border-width: 0; border-radius: 30px; } }
.rp__av { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--av); color: #fff; font-weight: 900; font-size: 15px; }
.rp__av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rp__t { display: grid; min-width: 0; }
.rp__t b { font-size: 14px; font-weight: 900; line-height: 1.2; }
.rp__t span { overflow: hidden; color: #4b5563; font-size: 13px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.rp__now { align-self: flex-start; margin-left: auto; color: #94a3a0; font-size: 11px; font-weight: 800; }

/* ---------- the end line ---------- */
.hire { position: relative; height: 210vh; }
.hire__stick { position: sticky; top: 0; display: grid; place-items: center; height: 100vh; height: 100svh; padding: 0 var(--gut); text-align: center; }
.hire__in { display: grid; justify-items: center; gap: clamp(16px, 2.6vh, 28px); }
.hire__l { font-size: clamp(2.35rem, 5.2vw, 5.2rem); line-height: 1.1; }
.hire__gap { position: relative; display: inline-block; width: 0; height: 1em; vertical-align: -.08em; transition: width .9s var(--ease); }
.hire.is-open .hire__gap { width: 1.42em; }
.ph { position: absolute; left: 50%; bottom: -.1em; width: .86em; height: 1.56em; margin-left: -.43em; border-radius: .16em; background: #0b1220; box-shadow: 0 .2em .45em -.16em rgba(11, 18, 32, .5); transform: scale(0) rotate(-16deg); transform-origin: 50% 85%; transition: transform .95s var(--spring); }
.hire.is-phone .ph { transform: scale(1) rotate(-6deg); }
.ph__scr { position: absolute; inset: .032em; overflow: hidden; border-radius: .13em; background: linear-gradient(165deg, #c4efdf, #a6c8ff); }
.ph__isl { position: absolute; left: 50%; top: .045em; width: .26em; height: .065em; margin-left: -.13em; border-radius: 1em; background: #0b1220; }
.ph__time { position: absolute; left: 0; right: 0; top: .78em; text-align: center;   /* in its own (small) em: just under the island */ color: #fff; font-size: .2em; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.ph__note { position: absolute; left: .05em; right: .05em; top: .56em; height: .24em; border-radius: .055em; background: rgba(255, 255, 255, .94); box-shadow: 0 .02em .06em rgba(11, 18, 32, .2); opacity: 0; transform: translateY(-.5em) scale(.9); transition: transform .8s var(--spring), opacity .3s; }
.ph__app { position: absolute; left: .04em; top: .045em; width: .15em; height: .15em; border-radius: 50%; object-fit: cover; background: radial-gradient(circle at 50% 45%, #2af0d6, #0b7a6c 70%); }
.ph__l1, .ph__l2 { position: absolute; left: .23em; height: .03em; border-radius: 1em; background: #9aa5a0; }
.ph__l1 { top: .065em; width: .32em; background: #0b1220; }
.ph__l2 { top: .135em; width: .44em; }
.ph__seal { position: absolute; right: -.17em; top: -.13em; display: grid; place-items: center; width: .36em; height: .36em; border-radius: 50%; background: #22c55e; color: #fff; box-shadow: 0 0 0 .045em var(--bg); transform: scale(0); transition: transform .7s var(--pop); }
.ph__seal svg { width: .22em; height: .22em; }
.hire.is-sign .ph__note { opacity: 1; transform: none; }
.hire.is-sign .ph__seal { transform: scale(1); }
.hire__p { color: var(--mute); font-size: clamp(16px, 1.4vw, 21px); font-weight: 700; opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.hire.is-price .hire__p { opacity: 1; transform: none; }

/* ---------- the foot: the city, held ---------- */
.foot { position: relative; z-index: 1; height: 240vh; }
.foot__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.foot__mist { position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 30vh; background: linear-gradient(180deg, rgba(var(--bg-rgb), 1), rgba(var(--bg-rgb), .8) 35%, rgba(var(--bg-rgb), 0)); pointer-events: none; }
.foot__ring { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.beacon { --bw: 120px; --bh: 220px; position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; opacity: 0; transition: opacity 1s var(--ease-out); will-change: transform; }
.beacon.is-on { opacity: 1; }
.beacon__holo {
  position: absolute; left: calc(var(--bw) / -2); bottom: 0; width: var(--bw); height: var(--bh); overflow: hidden;
  background: linear-gradient(to top, rgba(45, 212, 167, .62), rgba(45, 212, 167, .3) 28%, rgba(94, 234, 212, .08) 80%, rgba(94, 234, 212, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
.beacon__holo b { position: absolute; left: 0; right: 0; top: -14px; bottom: 0; background: repeating-linear-gradient(to top, rgba(220, 255, 240, .5) 0 1px, rgba(220, 255, 240, 0) 1px 7px); animation: holo 1.2s linear infinite; }
@keyframes holo { to { transform: translateY(-7px); } }
.beacon.is-hot .beacon__holo { filter: brightness(1.3) saturate(1.2); }
.beacon__base { position: absolute; left: calc(var(--bw) / -2); top: calc(var(--bw) * var(--sq, .34) * -.5); width: var(--bw); height: calc(var(--bw) * var(--sq, .34)); border-radius: 50%; border: 2px solid rgba(198, 255, 122, .95); box-shadow: 0 0 22px 4px rgba(45, 212, 167, .5), inset 0 0 16px rgba(45, 212, 167, .55); animation: base 2.4s ease-in-out infinite; }
@keyframes base { 50% { box-shadow: 0 0 34px 8px rgba(45, 212, 167, .62), inset 0 0 22px rgba(45, 212, 167, .7); } }
.beacon__hit { position: absolute; left: 0; top: 0; z-index: 4; width: 160px; height: 200px; margin: -170px 0 0 -80px; border-radius: 40% 40% 50% 50%; will-change: transform; }
.beacon__hit:hover ~ .foot__bar, .beacon__hit:focus-visible { outline: none; }
.foot__pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.lp { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.lp i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #22c55e, 0 4px 10px rgba(11, 18, 32, .3); transform: scale(0); transition: transform .7s var(--pop); }
.lp i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #22c55e; animation: pin-rip 2.6s var(--ease-out) infinite; animation-delay: var(--d, 0s); }
.lp span { position: absolute; left: 13px; bottom: 9px; padding: 5px 9px; border-radius: 10px; background: rgba(255, 255, 255, .94); box-shadow: 0 8px 18px -10px rgba(11, 18, 32, .45); font-size: 12px; font-weight: 800; white-space: nowrap; opacity: 0; transform: translateY(5px); transition: opacity .5s var(--ease-out) .2s, transform .6s var(--ease-out) .2s; }
.lp.is-on i { transform: scale(1); }
.lp.is-on span { opacity: 1; transform: none; }
.foot__bar { position: absolute; left: var(--gut); right: var(--gut); bottom: var(--dock-b); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.foot__legal, .foot__osm {
  display: flex; align-items: center; gap: 16px; margin: 0; padding: 10px 16px; border-radius: 16px; font-size: 12.5px; font-weight: 800;
  background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 10px 24px -14px rgba(11, 18, 32, .35);
}
.foot__legal a, .foot__osm a { text-decoration: none; }
.foot__legal a:hover, .foot__osm a:hover { text-decoration: underline; }
.foot__legal span { color: var(--mute); }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .dock__wm { display: none; }
  .dock__mark { padding: 0 7px; }
  .start { min-width: 150px; padding: 0 18px; }
  .hero__copy { top: 19svh; }
  .net__h { top: 13svh; }
  .net__rows { bottom: 17svh; height: 24svh; }
  .chips { flex-wrap: nowrap; justify-content: flex-start; max-width: 100vw; overflow-x: auto; padding: 0 var(--gut); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .card { width: 70vw; }
  .lr { padding-top: 24vh; }
  .brk { height: auto; min-height: 0; padding: 18px var(--gut) 14px; }
  .brk__l { max-width: 13ch; }
  .ch { grid-template-columns: 1fr; gap: 18px; min-height: 0; padding: 7vh 0; }
  .ch__h { padding-left: 34px; }
  .proto { aspect-ratio: 4 / 5; font-size: clamp(10px, 3.1vw, 13px); }
  .pa { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .pa__ui { border-left: 0; border-top: 1px solid var(--line); padding: 1em 1.1em; gap: .55em; }
  .pa__ui .a-step, .pa__ui .a-bar { display: none; }
  .pa__opt { height: 2.8em; }
  .pp { grid-template-columns: 1fr; grid-template-rows: .85fr 1fr; gap: 1em; }
  .pw { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: .9em; }
  .pw__opt:nth-of-type(n + 3) { display: none; }
  .pg__scr { width: 88%; }
  .match__stick { padding-top: 48px; }
  .match__ad { width: 60vw; }
  .rp { width: 46vw; padding: 8px 10px; gap: 8px; }
  .rp__av { width: 30px; height: 30px; font-size: 13px; }
  .rp__now { display: none; }
  .hire__l { font-size: clamp(2.1rem, 10vw, 3.2rem); }
  .foot__bar { justify-content: center; bottom: calc(var(--dock-b)); }
  .foot__legal { gap: 12px; padding: 9px 13px; }
  .foot__osm { padding: 8px 12px; font-size: 11px; }
  .cap { max-width: calc(100vw - 32px); }
}

/* ---------- reduced motion: everything is shown at rest ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
/* the flat UK foot: towns light up by name as the colour reaches them (no "reply" claim at country scale) */
.lp--town span { font-weight: 900; color: var(--ink); }
.lp--town i { box-shadow: 0 0 0 3px var(--mint), 0 4px 10px rgba(11, 18, 32, .25); }
.lp--town i::after { border-color: var(--mint); }
.lp--left span { left: auto; right: 13px; }

/* a landmark's name, over it when it is pointed at */
.lm-tag { position: absolute; left: 0; top: 0; z-index: 3; display: grid; justify-items: center; gap: 1px; padding: 7px 12px 8px; border-radius: 12px; background: rgba(11, 18, 32, .9); color: #fff; white-space: nowrap; pointer-events: none; translate: -50% calc(-100% - 6px); opacity: 0; scale: .9; transition: opacity .25s var(--ease-out), scale .35s var(--spring); will-change: transform; }
.lm-tag.is-on { opacity: 1; scale: 1; }
.lm-tag b { font-size: 13px; font-weight: 900; letter-spacing: -.01em; }
.lm-tag span { font-size: 11px; font-weight: 700; color: var(--mint-2); }
.lm-tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; border-radius: 2px; transform: rotate(45deg); }

/* where's your business: a bar at the top of the screen while the map shows, from the first moment (owner, 12 Nov:
   always there, and nothing is pinned or named until they say). Once there is a town, the one on the pin's label is a
   button back to the bar */
.pin__town { display: inline-flex; align-items: center; gap: 4px; margin-left: 2px; padding: 0; border: 0; background: none; font: inherit; color: var(--mint-2); cursor: pointer; pointer-events: auto; }
.pin__town svg { width: 12px; height: 12px; opacity: .8; transition: transform .3s var(--spring); }
.pin__town:hover svg, .pin__town:focus-visible svg { transform: rotate(-12deg) scale(1.15); }
.pin__tag { pointer-events: auto; }
.pin.is-quiet .pin__tag { opacity: .25; }
.pin:not(.is-set) { visibility: hidden; }
/* on the 3D map the pin's ripple runs out to the edge of the advert's area (hero.js draws it as an ellipse on the
   ground, in step with the dots' strong ring) instead of the fixed pulse round the dot. The dot is smaller there, so
   5 miles still shows round it on the whole-country view */
.pin__rip { position: absolute; left: 0; top: 0; width: 0; height: 0; border: 2px solid var(--mint); border-radius: 50%; box-shadow: 0 0 10px rgba(45, 212, 167, .55), inset 0 0 8px rgba(45, 212, 167, .35); opacity: 0; pointer-events: none; will-change: transform, width, height, opacity; }
.pin.is-3d .pin__dot::after { display: none; }
.pin.is-3d .pin__dot { left: -6px; top: -6px; width: 12px; height: 12px; box-shadow: 0 0 0 3px var(--mint), 0 4px 10px rgba(11, 18, 32, .35); }
.where { position: fixed; left: 50%; top: calc(clamp(14px, 2.2vh, 24px) + env(safe-area-inset-top)); z-index: 5; display: flex; align-items: center; gap: 8px; width: min(340px, calc(100vw - 32px)); padding: 6px 6px 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px rgba(11, 18, 32, .08), 0 18px 40px -18px rgba(11, 18, 32, .55); translate: -50% 0; transition: opacity .35s var(--ease-out), translate .5s var(--ease-out), box-shadow .25s; }
/* it comes in with the page, and leaves upward with the headline when the dive starts (unless they are typing) */
.is-loading .where, .hero__stick:not(.is-rest) .where:not(:focus-within) { opacity: 0; translate: -50% -16px; pointer-events: none; }
.where:focus-within { box-shadow: 0 0 0 2px var(--mint), 0 18px 40px -16px rgba(11, 18, 32, .55); }
.where__pin { flex: 0 0 auto; width: 18px; height: 18px; color: #ff4b4b; }
.where input { flex: 1; min-width: 0; height: 36px; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; font-weight: 800; color: var(--ink); }
.where input::placeholder { color: #7b8580; font-weight: 700; }
.where button { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; transition: transform .3s var(--spring), background .3s; }
.where button:hover { transform: scale(1.06); }
.where button svg { width: 17px; height: 17px; }
.where.is-miss { animation: where-no .45s var(--ease-out); }
@keyframes where-no { 20%, 60% { translate: calc(-50% - 6px) 0; } 40%, 80% { translate: calc(-50% + 6px) 0; } }
/* phones: the label is centred over the pin, but held 8px inside the screen for a town near its edge (Brighton, Hull) */
@media (max-width: 700px) { .pin__tag { left: 0; translate: clamp(calc(8px - var(--pin-x, 0px)), -50%, calc(100vw - 8px - var(--pin-x, 0px) - 100%)) 0; bottom: 18px; } }

/* an advert, tried on: a phone with a feed, and what the advert does beside it */
.fp { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.fp[hidden] { display: none; }
.fp__scrim { position: absolute; inset: 0; background: rgba(6, 10, 15, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease-out); }
.fp.is-on .fp__scrim { opacity: 1; }
.fp__in { position: relative; display: grid; grid-template-columns: auto minmax(0, 340px); align-items: center; gap: clamp(24px, 4vw, 56px); max-height: 100%; opacity: 0; translate: 0 26px; scale: .97; transition: opacity .35s var(--ease-out), translate .6s var(--spring), scale .6s var(--spring); }
.fp.is-on .fp__in { opacity: 1; translate: 0 0; scale: 1; }
.fp__phone { position: relative; height: min(78vh, 700px); aspect-ratio: 9 / 19.2; border-radius: 44px; background: #0b1220; padding: 10px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 2px #273042; }
.fp__scr { position: relative; height: 100%; overflow: hidden; border-radius: 35px; background: #fff; display: flex; flex-direction: column; }
.fp__status { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px 4px; font-size: 13px; color: var(--ink); }
.fp__status span { width: 88px; height: 24px; border-radius: 20px; background: #0b1220; position: absolute; left: 50%; top: 9px; translate: -50% 0; }
.fp__top { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px 9px; border-bottom: 1px solid #edf0ee; font-size: 17px; font-weight: 900; color: var(--ink); }
.fp__top span { display: flex; gap: 14px; }
.fp__top svg, .fp__acts svg { width: 21px; height: 21px; color: var(--ink); }
.fp__feed { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.fp__feed::-webkit-scrollbar { display: none; }
.fp__post { display: grid; gap: 7px; padding-bottom: 14px; border-bottom: 1px solid #f1f3f2; }
.fp__post header { display: flex; align-items: center; gap: 9px; padding: 9px 12px 2px; }
.fp__av { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #e4e9e7; }
.fp__post header span { display: grid; line-height: 1.15; font-size: 13px; color: var(--ink); }
.fp__post header small { font-size: 11px; color: #7b8580; font-weight: 700; }
.fp__line { display: block; width: 38%; height: 9px; border-radius: 9px; background: #e8ecea; margin-left: 12px; }
.fp__line--long { width: 70%; }
.fp__post > img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fp__post--ghost > img { filter: saturate(.75); opacity: .85; }
.fp__pic { aspect-ratio: 3 / 4 !important; }
.fp__cta { display: flex; justify-content: space-between; align-items: center; margin: -7px 0 0; padding: 10px 12px; background: #f2f5f4; color: var(--ink); font-size: 13px; font-weight: 900; text-decoration: none; border-bottom: 1px solid #e6ebe9; }
.fp__cta svg { width: 16px; height: 16px; }
.fp__acts { display: flex; align-items: center; gap: 13px; padding: 0 12px; }
.fp__acts span { flex: 1; }
.fp__cap { margin: 0; padding: 0 12px; font-size: 13px; line-height: 1.35; color: #27302c; }
.fp__side { color: #fff; }
.fp__k { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-2); }
.fp__t { margin: 0 0 18px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
.fp__l { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .84); }
.fp__l li { display: flex; gap: 10px; align-items: flex-start; }
.fp__l svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 1px; color: var(--mint-2); }
.fp__row { display: flex; gap: 10px; flex-wrap: wrap; }
.fp__go { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 16px; background: var(--lime); color: var(--ink); font-weight: 900; text-decoration: none; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16); transition: transform .3s var(--spring); }
.fp__go:hover { transform: translateY(-2px); }
.fp__go svg { width: 18px; height: 18px; }
.fp__x { height: 48px; padding: 0 18px; border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 16px; background: none; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.fp__note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .55); }
.fp-open, .fp-open body { overflow: hidden; }
@media (max-width: 760px) {
  .fp { place-items: start center; overflow-y: auto; padding: 16px 16px 28px; }
  .fp__in { grid-template-columns: 1fr; justify-items: center; gap: 22px; max-height: none; }
  .fp__phone { height: min(64vh, 560px); border-radius: 38px; }
  .fp__scr { border-radius: 30px; }
  .fp__side { width: 100%; max-width: 420px; }
}

/* the advert's area: once a town is chosen, beside the map (desktop) or above the dock (phones) */
.area { position: absolute; left: clamp(16px, 5vw, 80px); top: 56%; z-index: 4; width: 280px; padding: 16px 16px 14px; border-radius: 20px; background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 1.5px rgba(11, 18, 32, .06), 0 24px 50px -28px rgba(11, 18, 32, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); translate: 0 -50%; opacity: 0; scale: .96; pointer-events: none; transition: opacity .35s var(--ease-out), scale .5s var(--spring); }
.hero__stick.is-rest .area.is-on { opacity: 1; scale: 1; pointer-events: auto; }
.area__k { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: #5d6762; }
.area__k b { color: var(--ink); font-weight: 900; }
.area__r { display: flex; gap: 6px; margin-bottom: 10px; }
.area__r button { flex: 1; height: 34px; border: 0; border-radius: 11px; background: #eef3f1; color: var(--ink); font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; transition: background .25s, color .25s, transform .3s var(--spring); }
.area__r button:hover { transform: translateY(-1px); }
.area__r button[aria-checked="true"] { background: #12b886; color: #fff; }
.area__t { margin: 0 0 12px; font-size: 13px; line-height: 1.4; font-weight: 700; color: #3d4742; min-height: 2.8em; }
.area__go { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 13px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 900; text-decoration: none; transition: transform .3s var(--spring); }
.area__go:hover { transform: translateY(-2px); }
.area__go svg { width: 16px; height: 16px; }
/* phones and tablets: just above the dock, so only its title and the three distances (the dock's own Start free already
   carries the town and the miles); hero.js frames the map above it (owner, 12 Nov: "this box covers the screen"), and it
   steps aside while they type; the scroll nudge, which sits in the same place, waits until the card is gone. Keep 1100px
   in step with CARD_LOW in hero.js */
@media (max-width: 1100px) {
  .area { top: auto; bottom: 96px; left: 50%; translate: -50% 0; width: min(340px, calc(100vw - 32px)); padding: 11px; }
  .area__k { margin-bottom: 8px; } .area__r { margin-bottom: 0; } .area__t, .area__go { display: none; }
  .hero__stick:has(.where:focus-within) .area { opacity: 0; pointer-events: none; }
  body:has(.hero__stick.is-rest .area.is-on) .nudge { transform: translate(-50%, 180px); }
}

/* mxthaius.dev touches (js/touches.js): the labelled cursor, and the credit */
.mx-cursor-on, .mx-cursor-on a, .mx-cursor-on button, .mx-cursor-on [role="button"] { cursor: none; }
.mx-cursor-on input { cursor: text; }
.mx-dot, .mx-ring { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; }
.mx-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--mint); }
.mx-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); mix-blend-mode: difference; display: grid; place-items: center; transition: opacity .2s; }
.mx-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; transition: inset .3s var(--spring), background .3s; }
.mx-ring span { position: relative; font-size: 10px; font-weight: 900; letter-spacing: .1em; line-height: 1; text-transform: uppercase; white-space: nowrap; color: var(--ink); opacity: 0; transition: opacity .2s; }
.mx-ring.hot { border-color: transparent; mix-blend-mode: normal; }
.mx-ring.hot::before { inset: -9px; background: rgba(45, 212, 167, .9); box-shadow: 0 8px 22px -8px rgba(18, 184, 134, .7); }
.mx-ring.hot span { opacity: 1; }
.mx-ring.press::before { inset: -8px; }
.mx-ring.text { opacity: 0; }
.fp-open .mx-ring, .fp-open .mx-dot { z-index: 100; }
.mx-credit { text-decoration: none; color: inherit; transition: color .2s; }
.mx-credit:hover { color: var(--wave, #12b886); }

/* the cookie choice (/consent.js) on the homepage: a card at the bottom, Accept and No thanks equal */
.cookie-box { position: fixed; z-index: 70; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); translate: -50% 0; width: min(560px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 0 0 2px #e3e9e6, 0 5px 0 #e3e9e6, 0 24px 60px -24px rgba(11, 18, 32, .45); }
.cookie-box[hidden] { display: none; }
.cookie-title { margin: 0; font-size: 20px; font-weight: 1000; }
.cookie-text { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; color: #3d4742; }
.cookie-text a { color: #0f7a5c; font-weight: 900; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.cookie-actions .btn { display: flex; justify-content: center; align-items: center; width: 100%; padding: 12px 16px; border: 2px solid #e3e9e6; border-radius: 18px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; box-shadow: 0 4px 0 #e3e9e6; transition: transform .15s; }
.cookie-actions .btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #e3e9e6; }
.cookie-actions .btn.primary { background: #a6f45c; border-color: #4fb802; box-shadow: 0 4px 0 #4fb802; }
