/* paltag: the app's own palette and face (Albert Sans, OFL). One ground (blush), one ink (plum), one accent (raspberry).
   One motif: the open ring of the app icon, its six arcs in the category colours of the map. */
@font-face { font-family: "Albert Sans"; src: url(fonts/AlbertSans_400Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/AlbertSans_500Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/AlbertSans_600SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/AlbertSans_800ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --bg: #FBEFF1;          /* blush ground */
  --surface: #FFFFFF;
  --field: #F6E3E8;       /* one tone step below blush */
  --ink: #2B1320;         /* plum */
  --muted: #6E5562;
  --accent: #D4365A;      /* raspberry: dog areas, actions, friends */
  --accent-deep: #A8304C;
  --pink: #F9DDE4;
  --plum: #2B1320;
  --plum-2: #3A1B2C;
  --on-plum-2: #E3D3DA;
  /* category colours (ink for pins and large type, bright for the ring, soft for pin grounds) */
  --area: #D4365A;    --area-soft: #F9DDE4;
  --park: #5C9A0C;    --park-bright: #A3E635;   --park-soft: #EEF4DE;   --park-text: #4A7D0A;
  --shop: #D4500C;    --shop-bright: #FF7A2E;   --shop-soft: #FDE7DA;   --shop-text: #A8400A;
  --event: #9A7400;   --event-bright: #FFD23F;  --event-soft: #FFF3C4;
  --vet: #0A8396;     --vet-bright: #1FC6DA;    --vet-soft: #DDF2F5;    --vet-text: #08707F;
  --shelter: #7650D8; --shelter-bright: #B08BFF; --shelter-soft: #EEE8FB;

  --f: "Albert Sans", system-ui, -apple-system, sans-serif;
  --t-h2: clamp(36px, 4.6vw, 72px);
  --t-state: clamp(22px, 2.2vw, 32px);
  --t-body: 18px;
  --t-small: 15px;

  --m: clamp(16px, 3vw, 44px);    /* page margin */
  --g: 24px;                      /* grid gutter */
  --wmax: 1352px;                 /* content width at most (1440 minus margins) */
  --pad: max(var(--m), calc((100% - var(--wmax)) / 2));
  --gap: clamp(112px, 12vw, 180px);
  --r: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 900px) { :root { --g: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-body)/1.55 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, .line, .statement { text-wrap: balance; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- the grid: 12 columns inside the page margins ---------- */
.sec { padding-left: var(--pad); padding-right: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--accent-deep); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: #FF4A78; transition: color .2s var(--ease), text-underline-offset .2s var(--ease); }
.link:hover { text-underline-offset: 8px; text-decoration-thickness: 3px; }

/* ---------- bar ---------- */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; gap: 32px; padding: 20px var(--pad); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; border-radius: 10px; text-decoration: none; }
.brand-icon { width: 36px; height: 36px; border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(43,19,32,.08), 0 2px 6px rgba(43,19,32,.10); } /* taste-skill-ignore: app icon edge */
.brand-word { width: 98px; height: 36px; }
.bar nav { display: flex; gap: 28px; margin-left: auto; }
.bar nav a { position: relative; font-size: 16px; font-weight: 500; text-decoration: none; padding: 8px 0; }
.bar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.bar nav a:hover::after { transform: scaleX(1); }

/* ---------- hero: centred, one thing after another ---------- */
.hero { padding: 140px var(--pad) 0; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(48px, 8.2vw, 132px); font-weight: 800; line-height: .94; letter-spacing: -.05em; max-width: 11ch; }
.lede { margin-top: 28px; max-width: 34em; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; margin-top: 36px; }
.hero-stage { margin-top: 72px; }
.hero-stage .stage { transform: scale(calc(.9 + .1 * var(--p, 1))); transform-origin: 50% 0; }
.hero-stage .map { aspect-ratio: 16 / 9; max-height: 80svh; }
.stage { position: relative; }
.stage figcaption { margin-top: 14px; font-size: var(--t-small); color: var(--muted); text-align: left; max-width: 62ch; }
.hero-stage figcaption { text-align: center; margin-left: auto; margin-right: auto; }

/* the map, as in the app (product conventions inside data-ui) */
.map { position: relative; width: 100%; aspect-ratio: 16 / 10; text-align: left; background: #F1EEEC; border-radius: 34px; overflow: hidden; color: var(--ink); isolation: isolate; }
.map-gl { position: absolute; inset: 0; }
.map .maplibregl-ctrl-attrib { font: 400 12px var(--f); background: rgba(255,255,255,.85); border-radius: 10px; margin: 0 10px 10px 0; }
.map .maplibregl-ctrl-bottom-right { bottom: 96px; }
.map .maplibregl-cooperative-gesture-screen { font: 600 18px var(--f); background: rgba(43,19,32,.55); }
.map-top { position: absolute; z-index: 2; top: 16px; left: 16px; right: 16px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.map-top > * { pointer-events: auto; }
.map-search { position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--muted); box-shadow: 0 4px 14px rgba(43,19,32,.12); max-width: 520px; } /* taste-skill-ignore: floating control inside data-ui */
.map-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 16px; color: var(--ink); outline: 0; }
.map-search input::placeholder { color: var(--muted); }
.map-search:focus-within { box-shadow: 0 0 0 3px var(--accent), 0 4px 14px rgba(43,19,32,.12); } /* taste-skill-ignore: focus ring */
#mapResults { position: absolute; top: 56px; left: 0; right: 0; margin: 0; padding: 6px; list-style: none; border-radius: 22px; background: #fff; box-shadow: 0 16px 36px rgba(43,19,32,.2); } /* taste-skill-ignore: open menu */
#mapResults[hidden] { display: none; }
#mapResults button { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border: 0; border-radius: 16px; background: transparent; text-align: left; cursor: pointer; font-size: 16px; }
#mapResults button:hover, #mapResults button:focus-visible { background: var(--bg); }
#mapResults span { color: var(--muted); font-size: 14px; }
.map-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.map-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.chip:active { transform: scale(.96); }
.chip i { width: 18px; height: 18px; border-radius: 50%; }
.chip-area i { background: var(--area-soft); box-shadow: inset 0 0 0 2px var(--accent-deep); } /* taste-skill-ignore */
.chip-park i { background: var(--park-soft); box-shadow: inset 0 0 0 2px var(--park); } /* taste-skill-ignore */
.chip[aria-pressed="false"] { background: rgba(255,255,255,.75); color: var(--muted); }
.chip[aria-pressed="false"] i { opacity: .4; }
.chip-gap { flex: none; width: 4px; }
.chip-city { font-weight: 500; }
.chip-city:hover { background: var(--pink); }

/* pins drawn in HTML: a pal's photo, the selected place */
.pal-pin { width: 40px; height: 40px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.pal-in { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 6px rgba(43,19,32,.25); transition: opacity .4s var(--ease), transform .4s var(--ease); } /* taste-skill-ignore: map pin */
.pal-pin img { position: absolute; inset: 3px; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.pal-pin .pulse { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--accent); animation: palPulse 1.6s cubic-bezier(.25,.46,.45,.94) infinite; }
@keyframes palPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
.pal-pin.far { pointer-events: none; }
.pal-pin.far .pal-in { opacity: 0; transform: scale(.4); }
.pal-pin.hidden { display: none; }
.sel-pin { display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.sel-disc { position: relative; width: 58px; height: 58px; display: grid; place-items: center; }
.sel-disc::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent-deep); opacity: .18; }
.sel-disc i { width: 38px; height: 38px; border-radius: 50%; background: var(--pink); position: relative; box-shadow: 0 2px 6px rgba(43,19,32,.2); } /* taste-skill-ignore: map pin */
.sel-disc i::after { content: ""; position: absolute; inset: 10px; background: var(--accent-deep); -webkit-mask: url(assets/paw.svg) center / contain no-repeat; mask: url(assets/paw.svg) center / contain no-repeat; }
.sel-pin.busy .sel-disc i { box-shadow: inset 0 0 0 3px var(--accent-deep), 0 2px 6px rgba(43,19,32,.2); } /* taste-skill-ignore */
.sel-pin.park .sel-disc::before { background: var(--park); }
.sel-pin.park .sel-disc i { background: var(--park-soft); }
.sel-pin.park .sel-disc i::after { background: var(--park); -webkit-mask-image: url(assets/tree.svg); mask-image: url(assets/tree.svg); }
.sel-pin.park.busy .sel-disc i { box-shadow: inset 0 0 0 3px var(--park), 0 2px 6px rgba(43,19,32,.2); } /* taste-skill-ignore */
.sel-label { margin-top: 2px; max-width: 200px; padding: 4px 10px; border-radius: 9px; background: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 1px 4px rgba(43,19,32,.16); } /* taste-skill-ignore: map label */
.sel-pin.in .sel-disc i { animation: selGrow .25s var(--ease-out); }
.sel-pin.in .sel-label { animation: labIn .25s var(--ease-out); }
@keyframes selGrow { from { transform: scale(.8); } }
@keyframes labIn { from { opacity: 0; transform: translateY(4px); } }

.pill { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 96px; max-width: 520px; padding: 16px 18px; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 18px 40px rgba(43,19,32,.22); animation: pillIn .45s var(--ease-out); } /* taste-skill-ignore: card over the map */
.pill[hidden] { display: none; }
@keyframes pillIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.pill-top { display: flex; align-items: center; gap: 12px; }
.pill-top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pill-top strong { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-top span { font-size: 14px; color: var(--muted); }
.pill-pin { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pink); position: relative; }
.pill-pin::after { content: ""; position: absolute; inset: 11px; background: var(--accent-deep); -webkit-mask: url(assets/paw.svg) center / contain no-repeat; mask: url(assets/paw.svg) center / contain no-repeat; }
.pill.park .pill-pin { background: var(--park-soft); }
.pill.park .pill-pin::after { background: var(--park); -webkit-mask-image: url(assets/tree.svg); mask-image: url(assets/tree.svg); }
.pill-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg); font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.pill-who { margin: 10px 0 2px 52px; font-size: 15px; }

.hour { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; max-width: 520px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 10px 18px; border-radius: 22px; background: #fff; box-shadow: 0 4px 14px rgba(43,19,32,.12); } /* taste-skill-ignore: floating control */
.hour label { font-size: 14px; font-weight: 600; }
.hour output { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.hour output b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 6px; }
.hour input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
.hour input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--pink); }
.hour input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--pink); }
.hour input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--accent); border: 4px solid #fff; box-shadow: 0 1px 4px rgba(43,19,32,.3); transition: transform .2s var(--ease); } /* taste-skill-ignore */
.hour input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 4px solid #fff; }
.hour input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* ---------- numbers: three lines, and the ring that turns with the page ---------- */
.numbers { margin-top: var(--gap); align-items: center; }
.num-lines { grid-column: 1 / span 7; }
.line { font-size: clamp(40px, 5.4vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: 1.02; }
.line + .line { margin-top: .22em; }
.line b { font-weight: 800; font-variant-numeric: tabular-nums; }
/* One palette for colour in text: the bright colours of the ring and the icon. None of them reaches 3:1 on blush,
   so on light grounds the words stay plum and the colour sits under them, like a marker (plum on these: 5.3 to 12:1). */
.hl { background: linear-gradient(transparent 60%, var(--dot) 60%, var(--dot) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em; margin: 0 -.08em; }
.line .hl { background: linear-gradient(transparent 66%, var(--dot) 66%, var(--dot) 88%, transparent 88%); }
.orbit { grid-column: 8 / span 5; }
.orbit-box { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin: 0 auto; overflow: hidden; contain: paint; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 9; stroke-linecap: butt; transform: rotate(var(--rot, 0deg)); opacity: calc(1 - var(--gr, 0)); }
/* step by step the ring becomes the app icon: the arcs melt into its gradient, the places go, the white ground,
   the disc and the paw arrive (the light icon, since the page is light; the plum one stays on plum). Every stage is a number from 0 to 1 that app.js sets from the scroll position. */
.orbit-ground { position: absolute; inset: 2.5%; border-radius: 50%; background: #FFFFFF; box-shadow: 0 4px 12px rgba(43,19,32,.07); opacity: var(--bd, 0); transform: scale(calc(.88 + .12 * var(--bd, 0))); }
.ring-grad { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#FFD23F 0deg 10deg, #9BE33A 38deg 96deg, #1FC6DA 120deg 146deg, #B08BFF 170deg 194deg, #FF4A78 216deg 280deg, #FF7A2E 302deg 334deg, #FFD23F 358deg); -webkit-mask: radial-gradient(closest-side, transparent calc(71% - 1px), #000 71%, #000 89%, transparent calc(89% + 1px)); mask: radial-gradient(closest-side, transparent calc(71% - 1px), #000 71%, #000 89%, transparent calc(89% + 1px)); opacity: var(--gr, 0); transform: rotate(var(--rot, 0deg)); }
.pins { position: absolute; inset: 0; opacity: calc(1 - var(--pf, 0)); transform: scale(calc(1 - .3 * var(--pf, 0))); }
.core { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.core-disc { fill: #FBE1E8; opacity: var(--pd, 0); transform-box: view-box; transform-origin: 512px 512px; transform: scale(calc(.55 + .45 * var(--pd, 0))); }
.core-paw { fill: #E0315F; opacity: var(--pw, 0); transform-box: view-box; transform-origin: 512px 540px; transform: scale(calc(.7 + .3 * var(--pw, 0))); }
.ring path { stroke-dasharray: 39.79 60; }
.ring path:nth-child(1) { stroke: #FF4A78; }
.ring path:nth-child(2) { stroke: #FF7A2E; }
.ring path:nth-child(3) { stroke: #FFD23F; }
.ring path:nth-child(4) { stroke: #9BE33A; }
.ring path:nth-child(5) { stroke: #1FC6DA; }
.ring path:nth-child(6) { stroke: #B08BFF; }
/* the places, as the app's soft pins: pale ground, coloured outline, coloured icon */
.pin { position: absolute; left: var(--x); top: var(--y); width: 9%; min-width: 28px; aspect-ratio: 1; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 2px var(--ink-k), 0 3px 8px rgba(43,19,32,.16); translate: -50% -50%; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); } /* taste-skill-ignore: map pin */
.pin::after { content: ""; position: absolute; inset: 26%; background: var(--ink-k); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.js .pin { opacity: 0; transform: scale(.3) translateY(30%); }
.js .pin.on { opacity: 1; transform: none; }
/* the outline the map uses: open now (vets, shops), someone is coming (dog areas) */
.pin::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink-k); opacity: 0; transform: scale(.7); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); } /* taste-skill-ignore: status ring */
.pin.s-open::before, .pin.s-busy::before { opacity: 1; transform: none; }
.pin.s-busy::before { box-shadow: 0 0 0 3px var(--area); }
.js .pin.s-busy.on::before { animation: busy 1.8s var(--ease-out) infinite; }
@keyframes busy { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.k-area { --soft: var(--area-soft); --ink-k: var(--area); --dot: #FF4A78; --icon: url(assets/paw.svg); }
.k-park { --soft: var(--park-soft); --ink-k: var(--park); --dot: #9BE33A; --icon: url(assets/tree.svg); }
.k-vet { --soft: var(--vet-soft); --ink-k: var(--vet); --dot: #1FC6DA; --icon: url(assets/cross.svg); }
.k-shop { --soft: var(--shop-soft); --ink-k: var(--shop); --dot: #FF7A2E; --icon: url(assets/bag.svg); }
.k-event { --soft: var(--event-soft); --ink-k: var(--event); --dot: #FFD23F; --icon: url(assets/calendar.svg); }
.k-shelter { --soft: var(--shelter-soft); --ink-k: var(--shelter); --dot: #B08BFF; --icon: url(assets/house.svg); }
.legend { display: grid; grid-template-columns: repeat(3, max-content); justify-content: center; gap: 18px 44px; margin: 32px auto 0; max-width: 600px; font-size: var(--t-small); color: var(--ink); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
/* each kind with the very pin of the ring (same ground, outline and symbol, same proportions), only smaller */
.legend i { position: relative; flex: none; width: 30px; aspect-ratio: 1; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 2px var(--ink-k), 0 3px 8px rgba(43,19,32,.16); transition: transform .45s var(--ease-out); } /* taste-skill-ignore: map pin */
.legend i::after { content: ""; position: absolute; inset: 26%; background: var(--ink-k); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.legend em { font-style: normal; }
/* with motion, the pins and names arrive with the arcs that fall from the ring (app.js); until then they wait */
.js .legend i, .js .legend em { opacity: 0; }
.orbit { position: relative; }
.fly { position: absolute; left: 0; top: 0; fill: none; stroke-width: 9; stroke-linecap: butt; overflow: visible; pointer-events: none; opacity: 0; }

/* ---------- place: Leone as the example, and the sentence that lights up ---------- */
.place { margin-top: var(--gap); align-items: center; }
.place-pics { grid-column: 1 / span 6; position: relative; aspect-ratio: 4 / 5; border-radius: 34px; overflow: hidden; background: var(--field); }
.place-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: 0; transform: scale(1.06); transition: opacity 1.6s var(--ease), transform 7.5s linear; }
.place-pics img.on { opacity: 1; transform: scale(1); }
.place-copy { grid-column: 8 / span 5; }
.statement { font-size: var(--t-state); font-weight: 700; line-height: 1.22; letter-spacing: -.02em; }
.place .statement { font-size: clamp(28px, 3vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.reveal .w { opacity: .18; transition: opacity .35s var(--ease); }
.reveal .w.on { opacity: 1; }
.place-story { margin-top: 36px; max-width: 34em; }
.place-story p + p { margin-top: 14px; }
.where { margin-top: 16px; font-size: var(--t-small); color: var(--muted); transition: opacity .6s var(--ease); }

/* ---------- the app: screens side by side ---------- */
.show { margin-top: var(--gap); padding: 120px 0 96px; background: var(--plum); color: #fff; }
.show-head { align-items: end; margin-bottom: 48px; }
.show-head h2 { grid-column: 1 / span 8; font-size: var(--t-h2); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.show-nav { grid-column: 9 / span 4; justify-self: end; display: flex; gap: 12px; }
.arrow { width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #4A2A3B; color: #fff; cursor: pointer; transition: background-color .25s var(--ease), opacity .25s var(--ease), transform .2s var(--ease); }
.arrow:hover { background: #5E3A4D; }
.arrow:active { transform: scale(.94); }
.arrow:disabled { opacity: .35; cursor: default; }
.show-row { display: flex; gap: var(--g); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 0 var(--pad) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.show-row::-webkit-scrollbar { display: none; }
.show-row:focus-visible { outline-offset: -3px; border-radius: 0; }
.slide { flex: 0 0 calc((100% - 2 * var(--g)) / 3); scroll-snap-align: start; }
.tile { height: clamp(520px, 44vw, 620px); display: grid; place-items: center; padding: 28px; border-radius: 34px; background: var(--plum-2); overflow: hidden; }
.tile-shot { padding: 32px 28px 0; align-items: start; }
.screen { width: auto; height: auto; max-width: min(100%, 290px); border-radius: 30px 30px 0 0; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.slide-name { margin-top: 24px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.slide-line { margin-top: 6px; max-width: 30em; font-size: 17px; color: var(--on-plum-2); }
.show-dots { display: flex; gap: 8px; margin-top: 36px; }
.show-dots i { width: 8px; height: 8px; border-radius: 4px; background: #5A3E4C; transition: width .4s var(--ease), background-color .4s var(--ease); }
.show-dots i.on { width: 28px; background: #FFB25B; }

/* interface fragments (app conventions) */
.ui { width: min(100%, 380px); background: var(--surface); color: var(--ink); border-radius: 30px; padding: 22px; font-size: 15px; line-height: 1.4; }
.ui h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.ui-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.ui-btn { display: block; width: 100%; height: 48px; margin-top: 16px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 16px; }
.with { display: flex; align-items: center; margin-top: 16px; }
.with p { margin-left: 12px; font-size: 14px; }
.with .ava + .ava { margin-left: -10px; }
.ava { position: relative; display: inline-block; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px var(--surface); } /* taste-skill-ignore: avatar ring inside data-ui */
.ava.big { width: 96px; height: 96px; box-shadow: none; } /* taste-skill-ignore */
.ava.ph { background: var(--pink) var(--ph) center / cover no-repeat; }
.ph-oliver { --ph: url(assets/dogs/oliver-2.jpg); }
.ph-aaron { --ph: url(assets/dogs/aaron-1.jpg); }
.ph-maya { --ph: url(assets/dogs/maya-1.jpg); }
.ph-rocco { --ph: url(assets/dogs/rocco-1.jpg); }
.ph-leone { --ph: url(assets/dogs/leone-real-2.jpg); }
.ui-profile .prof-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 20px; margin-bottom: 14px; }
.ui-profile .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ui-profile .tags span { padding: 6px 11px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 600; }
.ui-list .row { display: grid; grid-template-columns: 44px 1fr auto; column-gap: 12px; align-items: center; padding: 10px 0; }
.ui-list h3 { margin-bottom: 6px; }
.ui-list .row + .row { box-shadow: 0 -1px 0 #F1E2E6; } /* taste-skill-ignore: separator inside data-ui */
.ui-list .ava { width: 44px; height: 44px; grid-row: span 2; }
.ui-list .row div { min-width: 0; }
.ui-list .row p { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-list time { font-size: 13px; color: var(--muted); align-self: start; padding-top: 2px; }
.ui-list em { grid-column: 3; font-style: normal; justify-self: end; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent-deep); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.ui-list .unread .ava { box-shadow: 0 0 0 3px var(--pink); } /* taste-skill-ignore */
.ui-list .unread time { color: var(--accent-deep); font-weight: 600; }
.ui-list .unread p { color: var(--ink); }
.ui-chat .visit { margin: 16px 0 14px; padding: 14px; border-radius: 18px; background: var(--bg); display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; }
.ui-chat .visit span { grid-row: 2; color: var(--muted); font-size: 14px; }
.ui-chat .visit button { grid-row: 1 / span 2; grid-column: 2; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--pink); color: var(--accent-deep); font-weight: 600; font-size: 14px; }
.b { max-width: 82%; padding: 10px 14px; border-radius: 20px; margin-top: 8px; font-size: 15px; }
.b.them { background: var(--bg); border-bottom-left-radius: 6px; }
.b.me { margin-left: auto; background: var(--accent-deep); color: #fff; border-bottom-right-radius: 6px; }
.badges { display: flex; flex-direction: column; margin-top: 10px; }
.bdg { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 10px 0; font-weight: 700; font-size: 15px; }
.bdg + .bdg { box-shadow: 0 -1px 0 #F1E2E6; } /* taste-skill-ignore: separator inside data-ui */
.bdg i { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--area); }
.bdg small { font-weight: 400; font-size: 14px; color: var(--muted); }
.bdg.b2 i { background: var(--event-bright); }
.bdg.b3 i { background: var(--vet-bright); }
.bdg.b4 i { background: #E6D3D9; }
.bdg.off { color: var(--muted); }

/* ---------- services ---------- */
.svc { margin-top: var(--gap); }
.svc-copy { max-width: 900px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.svc h2 { font-size: clamp(36px, 5vw, 80px); font-weight: 800; letter-spacing: -.05em; line-height: .98; max-width: 16ch; }
.svc-copy p { margin-top: 24px; max-width: 36em; font-size: clamp(18px, 1.5vw, 21px); }
.svc .map { aspect-ratio: 16 / 9; max-height: 80svh; }
.svc-count { position: absolute; z-index: 2; left: 16px; bottom: 16px; margin: 0; padding: 10px 16px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px rgba(43,19,32,.12); } /* taste-skill-ignore: floating control */
#svcPill { bottom: 72px; }
.svc-when { margin-bottom: 0; color: var(--muted); }
.svc-when.open { color: var(--ink); font-weight: 600; }
.svc-when.open::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: #1FC6DA; }
#svcPill[data-k="1"] .svc-when.open::before, #svcPill[data-k="2"] .svc-when.open::before { background: #FF7A2E; }
#svcPill .pill-pin { background: var(--vet-soft); }
#svcPill .pill-pin::after { background: var(--vet); -webkit-mask-image: url(assets/cross.svg); mask-image: url(assets/cross.svg); }
#svcPill[data-k="1"] .pill-pin, #svcPill[data-k="2"] .pill-pin { background: var(--shop-soft); }
#svcPill[data-k="1"] .pill-pin::after { background: var(--shop); -webkit-mask-image: url(assets/bag.svg); mask-image: url(assets/bag.svg); }
#svcPill[data-k="2"] .pill-pin::after { background: var(--shop); -webkit-mask-image: url(assets/scissors.svg); mask-image: url(assets/scissors.svg); }
.chip-vet i { background: var(--vet-soft); box-shadow: inset 0 0 0 2px var(--vet); } /* taste-skill-ignore */
.chip-shop i { background: var(--shop-soft); box-shadow: inset 0 0 0 2px var(--shop); } /* taste-skill-ignore */
.chip-open[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sel-pin.svc .sel-disc::before { background: var(--vet); }
.sel-pin.svc .sel-disc i { background: var(--vet-soft); }
.sel-pin.svc .sel-disc i::after { background: var(--vet); -webkit-mask-image: url(assets/cross.svg); mask-image: url(assets/cross.svg); }
.sel-pin.svc.busy .sel-disc i { box-shadow: inset 0 0 0 3px var(--vet), 0 2px 6px rgba(43,19,32,.2); } /* taste-skill-ignore */
.sel-pin.svc[data-k="1"] .sel-disc::before, .sel-pin.svc[data-k="2"] .sel-disc::before { background: var(--shop); }
.sel-pin.svc[data-k="1"] .sel-disc i, .sel-pin.svc[data-k="2"] .sel-disc i { background: var(--shop-soft); }
.sel-pin.svc[data-k="1"] .sel-disc i::after { background: var(--shop); -webkit-mask-image: url(assets/bag.svg); mask-image: url(assets/bag.svg); }
.sel-pin.svc[data-k="2"] .sel-disc i::after { background: var(--shop); -webkit-mask-image: url(assets/scissors.svg); mask-image: url(assets/scissors.svg); }
.sel-pin.svc[data-k="1"].busy .sel-disc i, .sel-pin.svc[data-k="2"].busy .sel-disc i { box-shadow: inset 0 0 0 3px var(--shop), 0 2px 6px rgba(43,19,32,.2); } /* taste-skill-ignore */

/* ---------- pals: in person, two phones running the app's Connetti screen (light and dark theme) ---------- */
.how { margin-top: var(--gap); align-items: center; }
.how-steps { grid-column: 1 / span 5; }
.how-h { font-size: var(--t-h2); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-bottom: 44px; }
.step + .step { margin-top: 32px; }
.step-big { font-size: clamp(26px, 2.5vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--muted); transition: color .5s var(--ease); }
.step p:not(.step-big) { margin-top: 12px; max-width: 30em; }
.step.on .step-big { color: var(--ink); }
.phones { grid-column: 7 / span 6; }
.phones-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); }
.phone { container-type: inline-size; }
.phone.light { --p-behind: #E4D3D8; --p-bg: #FBEFF1; --p-card: #FFFFFF; --p-text: #2B1320; --p-muted: #6E5562; --p-primary: #D4365A; --p-primary-ink: #B23655; --p-soft: #F9DDE4; --p-edge: #F0C8D2; --p-inv: #2B1320; --p-on-inv: #FFFFFF; --p-status: #2B1320; }
.phone.dark { --p-behind: #050304; --p-bg: #1A0F16; --p-card: #26161F; --p-text: #F7ECF0; --p-muted: #C8B3BE; --p-primary: #D9456A; --p-primary-ink: #F28CA5; --p-soft: #4C1424; --p-edge: #6E1E33; --p-inv: #F7ECF0; --p-on-inv: #2B1320; --p-status: #FFFFFF; }
.pscreen { position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border: 2.8cqw solid #120A0E; border-radius: 15cqw; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 28px 60px rgba(43,19,32,.24); isolation: isolate; background: var(--p-behind); color: var(--p-text); font-size: 4cqw; line-height: 1.32; text-align: center; }
.status { position: absolute; inset: 0 0 auto; height: 12cqw; color: var(--p-status); }
.clock { position: absolute; left: 9cqw; top: 3.6cqw; font-size: 4.4cqw; font-weight: 600; letter-spacing: -.01em; }
.island { position: absolute; left: 50%; top: 2.8cqw; width: 30cqw; height: 8.4cqw; margin-left: -15cqw; border-radius: 5cqw; background: #000; }
.bars { position: absolute; right: 9cqw; top: 5.2cqw; display: flex; align-items: flex-end; gap: .7cqw; height: 3cqw; }
.bars i { width: 1cqw; border-radius: .3cqw; background: currentColor; }
.bars i:nth-child(1) { height: 35%; } .bars i:nth-child(2) { height: 55%; } .bars i:nth-child(3) { height: 78%; } .bars i:nth-child(4) { height: 100%; }
.sheet { position: absolute; inset: 15cqw 0 0; border-radius: 8cqw 8cqw 0 0; background: var(--p-bg); }
.sheet::after { content: ""; position: absolute; left: 50%; bottom: 2.2cqw; width: 34cqw; height: 1.3cqw; margin-left: -17cqw; border-radius: 1cqw; background: var(--p-text); opacity: .85; }
.sheet-top { position: relative; height: 15cqw; display: flex; align-items: center; justify-content: center; font-size: 4.4cqw; }
.cancel { position: absolute; left: 3.6cqw; top: 3cqw; padding: 1.6cqw 3.6cqw; border-radius: 99px; background: var(--p-card); box-shadow: 0 .6cqw 2cqw rgba(43,19,32,.12); transition: opacity .4s var(--ease); } /* taste-skill-ignore: inside data-ui */
.sheet-top b { font-weight: 700; }
.st { position: absolute; inset: 15cqw 4.5cqw 7cqw; display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateY(3cqw); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.phones[data-stage="0"] .st-search, .phones[data-stage="1"] .st-found, .phones[data-stage="2"] .st-done { opacity: 1; transform: none; }
.phones[data-stage="2"] .cancel { opacity: 0; }
.ttl { display: block; margin-top: 6cqw; font-size: 6.4cqw; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.sub { margin-top: 2.6cqw; font-size: 3.6cqw; color: var(--p-muted); }
.pic.ph-aaron { background-position: 55% 30%; }
.pic { display: block; flex: none; width: 30cqw; aspect-ratio: 1; border-radius: 50%; background: var(--p-soft) var(--ph) center / cover no-repeat; box-shadow: 0 0 0 1.2cqw var(--p-card), 0 1.4cqw 3.4cqw rgba(0,0,0,.2); } /* taste-skill-ignore: framed photo as in the app */
.radar { position: relative; flex: none; width: 74cqw; aspect-ratio: 1; margin-top: auto; display: grid; place-items: center; }
.radar i { position: absolute; inset: 0; border-radius: 50%; background: var(--p-soft); box-shadow: inset 0 0 0 .4cqw var(--p-edge); opacity: 0; animation: ripple 2.7s cubic-bezier(.33, 1, .68, 1) infinite; } /* taste-skill-ignore: radar ring */
.radar i:nth-child(2) { animation-delay: .9s; }
.radar i:nth-child(3) { animation-delay: 1.8s; }
.phones:not([data-stage="0"]) .radar i { animation-play-state: paused; }
@keyframes ripple { 0% { transform: scale(.44); opacity: .6; } 100% { transform: scale(1); opacity: 0; } }
.radar .pic { position: relative; width: 34cqw; }
.note { margin-top: auto; padding-top: 4cqw; font-size: 3.1cqw; color: var(--p-muted); }
.look { display: flex; align-items: center; gap: 2cqw; margin-top: 5cqw; font-size: 3.8cqw; font-weight: 700; color: var(--p-primary-ink); }
.look i { width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--p-primary); }
.duo { display: flex; align-items: center; margin-top: auto; }
.duo .pic { width: 28cqw; transition: transform .7s var(--ease-out); }
.duo .pic:first-child { transform: translateX(-9cqw); }
.duo .pic:last-child { transform: translateX(9cqw); }
.phones:not([data-stage="0"]) .duo .pic { transform: none; }
.lnk { position: relative; z-index: 1; width: 10cqw; height: 10cqw; margin: 0 -3.4cqw; border-radius: 50%; background: var(--p-card); box-shadow: 0 1cqw 2.6cqw rgba(0,0,0,.18); }
.lnk::before, .lnk::after { content: ""; position: absolute; top: 4.1cqw; width: 3.6cqw; height: 1.8cqw; border: .55cqw solid var(--p-primary); border-radius: 1cqw; }
.lnk::before { left: 1.6cqw; } .lnk::after { right: 1.6cqw; }
.code { align-self: stretch; margin-top: 5cqw; padding: 4.6cqw 3.6cqw 5cqw; border-radius: 6cqw; background: var(--p-card); }
.code p { font-size: 3.4cqw; font-weight: 600; }
.digits { display: flex; justify-content: center; gap: 2.2cqw; margin-top: 3.6cqw; }
.digits span { width: 13cqw; height: 16cqw; display: grid; place-items: center; border-radius: 3cqw; box-shadow: inset 0 0 0 .35cqw var(--p-edge); font-size: 9cqw; font-weight: 800; color: var(--p-primary-ink); font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(2.4cqw); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); } /* taste-skill-ignore: code box as in the app */
.phones:not([data-stage="0"]) .digits span { opacity: 1; transform: none; }
.digits span:nth-child(1) { transition-delay: .35s; } .digits span:nth-child(2) { transition-delay: .44s; } .digits span:nth-child(3) { transition-delay: .53s; } .digits span:nth-child(4) { transition-delay: .62s; }
.pbtn, .obtn { align-self: stretch; display: grid; place-items: center; height: 11cqw; border-radius: 99px; font-size: 4cqw; font-weight: 700; }
.pbtn { margin-top: auto; background: var(--p-primary); color: #fff; }
.pbtn.inv { background: var(--p-inv); color: var(--p-on-inv); }
.obtn { margin-top: 2.6cqw; box-shadow: inset 0 0 0 .4cqw var(--p-text); } /* taste-skill-ignore: outline button as in the app */
.friends { position: relative; display: flex; justify-content: center; margin-top: auto; }
.friends .pic { width: 33cqw; box-shadow: 0 0 0 1cqw var(--p-card), 0 0 0 2cqw var(--p-primary); } /* taste-skill-ignore: the friend ring */
.friends .pic + .pic { margin-left: -6cqw; }
.seal { position: absolute; left: 50%; bottom: -4.5cqw; width: 10cqw; height: 10cqw; margin-left: -5cqw; border-radius: 50%; background: var(--p-primary); box-shadow: 0 0 0 .9cqw var(--p-card); transform: scale(.4); opacity: 0; transition: transform .5s var(--ease-out) .2s, opacity .3s var(--ease-out) .2s; } /* taste-skill-ignore */
.seal::after { content: ""; position: absolute; left: 3.3cqw; top: 2.2cqw; width: 2.4cqw; height: 4.4cqw; border: solid #fff; border-width: 0 .9cqw .9cqw 0; transform: rotate(45deg); }
.phones[data-stage="2"] .seal { transform: none; opacity: 1; }
.st-done .ttl { margin-top: 10cqw; }
.st-done .sub { margin-bottom: auto; }
.st-found .code { margin-bottom: auto; }

/* ---------- in arrivo ---------- */
.next { margin-top: var(--gap); }
.next-head { align-items: end; margin-bottom: 48px; }
.next h2 { grid-column: 1 / span 6; font-size: var(--t-h2); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.next-lede { grid-column: 7 / span 6; max-width: 32em; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); }
.cards-next { row-gap: var(--g); }
.nc { grid-column: span 4; display: flex; flex-direction: column; min-height: 260px; padding: 30px 28px 26px; border-radius: var(--r); background: var(--surface); }
.nc-ico { flex: none; width: 52px; height: 52px; margin-bottom: 24px; padding: 12px; border-radius: 50%; background: var(--field); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nc-event .nc-ico { background: #FFD23F; }
.nc h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.nc p { margin-top: 10px; }
.nc-note { margin-top: auto; padding-top: 20px; font-size: var(--t-small); font-weight: 600; color: var(--muted); }

/* ---------- compare ---------- */
.compare { margin-top: var(--gap); }
.compare h2 { font-size: var(--t-h2); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-bottom: 56px; max-width: 14ch; }
.tr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: center; min-height: 70px; border-radius: 0; }
.tr > span { grid-column: span 3; padding: 14px 0; font-size: 18px; }
.tr:nth-child(even) { background: var(--field); }
.tr > span:first-child { font-size: 20px; font-weight: 600; letter-spacing: -.01em; padding-left: 20px; }
.th > span { font-weight: 700; font-size: 18px; }
.tr .feat { align-self: stretch; display: flex; align-items: center; padding: 14px 20px; background: var(--accent-deep); color: #fff; font-weight: 600; }
.th .feat { border-radius: 22px 22px 0 0; padding-top: 34px; margin-top: -20px; }
.tr:last-child .feat { border-radius: 0 0 22px 22px; }

/* ---------- faq ---------- */
.faq { margin-top: var(--gap); align-items: start; }
.faq h2 { grid-column: 1 / span 4; position: sticky; top: 48px; font-size: var(--t-h2); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.tiles { grid-column: 5 / span 8; display: flex; flex-direction: column; gap: 8px; }
.tiles details { border-radius: var(--r); background: var(--field); transition: background-color .35s var(--ease), color .35s var(--ease); }
.tiles details[open] { background: var(--accent-deep); color: #fff; }
.tiles summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 18px 26px; font-size: 20px; font-weight: 600; cursor: pointer; border-radius: var(--r); }
.tiles summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 18px; height: 18px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 18px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.pm::after { transform: rotate(90deg); }
.tiles details[open] .pm::after { transform: rotate(0deg); }
.tiles details p { padding: 0 26px 24px; max-width: 56ch; font-size: 18px; }
.tiles details[open] p { animation: open .45s var(--ease-out); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- cta ---------- */
.cta { margin-top: var(--gap); padding: 128px var(--m); background: var(--plum); color: #fff; text-align: center; }
.cta-in { display: flex; flex-direction: column; align-items: center; }
.icon { width: clamp(140px, 15vw, 200px); height: auto; aspect-ratio: 1; border-radius: 23%; }
.cta h2 { margin-top: 48px; font-size: clamp(48px, 7.4vw, 120px); font-weight: 800; letter-spacing: -.05em; line-height: .94; max-width: 11ch; }
.cta p { margin-top: 24px; max-width: 28em; font-size: 20px; color: var(--on-plum-2); }
.btn-light { margin-top: 36px; background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--pink); }

/* ---------- footer ---------- */
.foot { padding-top: 88px; padding-bottom: 36px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-bottom: 28px; box-shadow: 0 1px 0 var(--field); } /* taste-skill-ignore: separator */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 16px; font-weight: 500; }
.foot-links a, .foot-note a, .sources a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-decoration-color .2s var(--ease); }
.foot-links a:hover, .foot-note a:hover, .sources a:hover { text-decoration-color: #FF4A78; }
.foot-note a, .sources a { text-decoration-color: rgba(43,19,32,.25); }
.foot-bottom { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 14px; align-items: start; margin-top: 24px; font-size: var(--t-small); color: var(--muted); }
.foot-note { grid-column: 1 / span 7; max-width: 62ch; }
.foot-end { grid-column: 10 / span 3; justify-self: end; }
.sources { grid-column: 1 / span 7; grid-row: 2; }
.sources summary { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; border-radius: 6px; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.sources[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.sources p { margin-top: 10px; max-width: 72ch; }
.sources[open] p { animation: open .4s var(--ease-out); }

/* ---------- entrances: fade and rise as they come into view, one after another ---------- */
.js .seq, .js .seq-in, .js .words .wd { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease-out), transform .65s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .words .wd { display: inline-block; }
.js .seq.in, .js .seq-in.in, .js .words.in .wd { opacity: 1; transform: none; }
.js .place-pics.seq-in, .js .stage.seq-in, .js .orbit.seq-in, .js .phones.seq-in { transform: translateY(40px) scale(.97); }
.js .place-pics.seq-in.in, .js .stage.seq-in.in, .js .orbit.seq-in.in, .js .phones.seq-in.in { transform: none; }
.js .slide { opacity: 0; transform: translateY(36px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .show-row.in .slide { opacity: 1; transform: none; }
.js .tr { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js .table.in .tr { opacity: 1; transform: none; }
.js .tiles details { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), background-color .35s var(--ease), color .35s var(--ease); transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s; }
.js .tiles.in details { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .slide { flex-basis: calc((100% - var(--g)) / 2); }
  .nc { grid-column: span 6; }
  .num-lines { grid-column: 1 / span 7; }
  .orbit { grid-column: 8 / span 5; }
  .legend { grid-template-columns: repeat(2, max-content); gap: 16px 32px; }
}

/* ---------- phone and small tablet ---------- */
@media (max-width: 900px) {
  .bar nav { display: none; }
  .bar { justify-content: space-between; padding-top: 16px; }
  .brand-icon { width: 32px; height: 32px; }
  .brand-word { width: 87px; height: 32px; }
  .hero { padding-top: 108px; }
  .hero h1 { font-size: clamp(44px, 12.4vw, 92px); }
  .lede { font-size: 18px; margin-top: 20px; }
  .actions { flex-direction: column; gap: 18px; }
  .hero-stage { margin: 48px calc(var(--pad) * -1) 0; }
  .hero-stage .stage { transform: none; }
  .hero-stage .map, .svc .map { aspect-ratio: auto; height: 78svh; max-height: 680px; border-radius: 0; }
  .stage figcaption { padding: 0 var(--pad); }
  .svc .stage { margin: 0 calc(var(--pad) * -1); }
  .svc-copy { margin-bottom: 36px; }
  .num-lines, .orbit, .place-pics, .place-copy, .show-head h2, .next h2, .next-lede, .faq h2, .tiles { grid-column: 1 / -1; }
  .line { font-size: clamp(38px, 10.4vw, 80px); }
  .orbit { margin-top: 56px; }
  .orbit-box { width: min(100%, 420px); }
  .legend { grid-template-columns: repeat(3, max-content); gap: 18px 40px; }
  .place-pics { aspect-ratio: 10 / 11; }
  .place-copy { margin-top: 32px; }
  .place .statement { font-size: clamp(26px, 6.6vw, 40px); }
  .show { padding: 88px 0 72px; }
  .show-head { margin-bottom: 32px; }
  .show-nav { display: none; }
  .slide { flex-basis: calc(100% * 10 / 12 - var(--g) / 6); }
  .tile { height: 520px; padding: 20px; }
  .tile-shot { padding: 28px 20px 0; }
  .ui { padding: 18px; }
  .slide-name { font-size: 22px; margin-top: 20px; }
  .how-steps { display: contents; }
  .how-h, .step { grid-column: 1 / -1; }
  .how-h { order: 0; margin-bottom: 32px; }
  .phones { order: 1; grid-column: 2 / span 10; margin-bottom: 40px; }
  .step { order: 2; }
  .step + .step { margin-top: 24px; }
  .step-big { font-size: 26px; }
  .next-head { margin-bottom: 32px; }
  .next-lede { margin-top: 16px; }
  .compare h2 { margin-bottom: 32px; }
  .tr { display: block; padding: 18px 0; }
  .th { display: none; }
  .tr > span { display: block; padding: 4px 20px; font-size: 16px; }
  .tr > span:first-child { font-size: 20px; font-weight: 700; padding-bottom: 8px; }
  .tr > span[role=cell]::before { content: attr(data-col) ":\00a0"; font-weight: 600; }
  .tr .feat { display: block; border-radius: 14px !important; margin: 4px 12px; padding: 10px 14px; }
  .faq h2 { position: static; margin-bottom: 28px; }
  .tiles summary { font-size: 18px; min-height: 66px; padding: 16px 20px; }
  .tiles details p { font-size: 16px; padding: 0 20px 20px; }
  .cta { padding: 96px var(--m); }
  .cta h2 { font-size: clamp(48px, 14vw, 96px); }
  .foot { padding-top: 72px; }
  .foot-note, .sources, .foot-end { grid-column: 1 / -1; }
  .foot-end { grid-row: 3; justify-self: start; }
  .foot-links { gap: 6px 20px; font-size: 15px; }
}
@media (max-width: 600px) {
  .phones { grid-column: 1 / -1; }
  .nc { grid-column: 1 / -1; min-height: 0; padding: 22px 22px 20px; }
  .nc-ico { width: 46px; height: 46px; padding: 10px; margin-bottom: 16px; }
  .legend { grid-template-columns: repeat(2, max-content); gap: 16px 32px; }
  .tile { height: 480px; }
  .legend { gap: 14px 28px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .seq, .js .seq-in, .js .words .wd, .js .tr, .js .tiles details, .js .slide, .js .legend i, .js .legend em { opacity: 1; transform: none; }
  .fly { display: none; }
  .js .place-pics.seq-in, .js .stage.seq-in, .js .orbit.seq-in { transform: none; }
  .hero-stage .stage { transform: none; }
  .ring { transform: none; }
  .reveal .w { opacity: 1; }
  .place-pics img { transform: none; }
  .js .pin { opacity: 1; transform: none; }
  .js .phones.seq-in { transform: none; }
}
