/* Furrsati v7 · city.html (hire). Signature: a city switcher. Eight pills; choosing one slot-rolls the city word in the
   H1, moves the highlight ring on a dot-map drawn in code (coast column north to south, Zahle inland, no outline) and
   rewrites every city mention. Rates as hanging price tags. Transforms/opacity for motion. */

.ct .title { font-size: clamp(36px, 4.4vw, 64px); }

/* ═══ 1. hero ═══ */
.ct__anchors { position: absolute; top: 0; left: 0; width: 0; height: 0; overflow: hidden; }
.cth { position: relative; padding: clamp(100px, 13vh, 124px) 0 clamp(40px, 6vh, 72px); background: radial-gradient(60% 80% at 85% 45%, #eef3fb 0%, rgba(238, 243, 251, 0) 70%), #fff; overflow: clip; }
.cth__in { display: grid; gap: 28px; align-items: center; }
.cth__copy .crumbs { margin-bottom: 12px; }
.cth__title { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.8vw, 92px); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.slot { position: relative; display: inline-block; vertical-align: bottom; overflow: hidden; height: 1.12em; padding: 0 .04em; margin: -.06em 0; line-height: 1.12; color: var(--orange-text); }
.slot__w { display: inline-block; }
.slot__w.is-out { position: absolute; left: .04em; top: 0; animation: ct-out .55s cubic-bezier(.6, 0, .4, 1) forwards; }
.slot__w.is-in { animation: ct-in .7s var(--spring) both; }
@keyframes ct-out { to { transform: translateY(-110%); opacity: 0; } }
@keyframes ct-in { from { transform: translateY(105%); opacity: 0; } }
.slot::after { content: ""; position: absolute; left: .04em; right: .04em; bottom: .1em; height: .1em; border-radius: .05em; background: var(--orange); opacity: .55; transform-origin: left; transform: scaleX(var(--u, 1)); transition: transform .6s var(--spring); }
.cth__desc { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(245, 165, 36, .45); font-weight: 700; font-size: 15px; color: var(--ink); }
.cth__pin { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(245, 165, 36, .25); }
.cth__lead { margin-top: 16px; max-width: 34em; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; color: var(--text); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill { min-height: 44px; padding: 0 15px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .35s var(--spring); }
.pill:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }

/* the dot map */
.dmap { position: relative; margin: 0; justify-self: center; width: min(100%, 420px); padding: 0; }
.dmap__svg { width: 100%; height: auto; overflow: visible; }
.dmap__field circle { fill: #c9d4e6; }
.is-live .dmap__field circle.tw { animation: ct-tw 3.6s ease-in-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
@keyframes ct-tw { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.dmap__coast { fill: none; stroke: rgba(59, 130, 246, .28); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.dmap__ring { transition: transform .9s var(--spring); }
.dmap__r1, .dmap__r2 { fill: rgba(245, 165, 36, .3); transform-box: fill-box; transform-origin: center; }
.dmap__r3 { fill: var(--orange); stroke: #fff; stroke-width: 3; }
.is-live .dmap__r1 { animation: ct-pulse 2.4s ease-out infinite; }
.is-live .dmap__r2 { animation: ct-pulse 2.4s ease-out 1.2s infinite; }
@keyframes ct-pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.dmc { cursor: pointer; }
.dmc circle { fill: #fff; stroke: var(--ink); stroke-width: 2.5; transition: fill .2s; }
.dmc text { font-family: var(--ui); font-weight: 700; font-size: 13px; fill: var(--muted); transition: fill .2s; }
.dmc:hover circle { fill: var(--orange-hi); }
.dmc.is-on text { fill: var(--ink); font-size: 15px; }
.dmap__cap { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.dmap__cap b { color: var(--ink); }

/* ═══ 2. price tags ═══ */
.tags__head { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 48px); }
.tags__t { font-family: var(--display); font-size: clamp(32px, 3.8vw, 56px); line-height: 1; letter-spacing: -.035em; color: var(--ink); }
.tags__l { max-width: 36em; font-size: 17px; color: var(--text); }
.tg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; padding-top: 14px; }
.tag6 { position: relative; display: grid; gap: 4px; align-content: start; min-height: 150px; padding: 34px 18px 18px; border-radius: 10px 10px 22px 22px; background: var(--cs); clip-path: polygon(22% 0, 78% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); transform: rotate(var(--r)); transform-origin: 50% -14px; transition: transform .6s var(--spring); }
.tag6:hover { transform: rotate(calc(var(--r) * -1.6)); }
.is-live .tag6 { animation: ct-swing 4.8s ease-in-out infinite; animation-delay: calc(var(--r) * -1s); }
.tag6:hover { animation-play-state: paused; }
@keyframes ct-swing { 0%, 100% { transform: rotate(var(--r)); } 50% { transform: rotate(calc(var(--r) * -.6)); } }
.tag6__hole { position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--cd); }
.tag6__n { font-weight: 700; font-size: 14.5px; line-height: 1.25; color: var(--cd); }
.tag6__p { margin-top: 6px; font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tag6__u { font-size: 13px; color: var(--text); }
.tags__note { margin-top: 26px; }
.tags__note a { color: var(--ink); font-weight: 700; }

/* ═══ 3. skills as a run of words ═══ */
.cskills { background: var(--paper); }
.cskills__t { font-family: var(--display); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.03em; color: var(--ink); }
.cskills__l { margin-top: 10px; font-size: 16px; color: var(--muted); }
.wordrun { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin-top: 22px; }
.wordrun li { font-family: var(--display); font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -.025em; line-height: 1.2; color: var(--cd); transition: color .2s; }
.wordrun li:not(:last-child)::after { content: ""; display: inline-block; width: .28em; height: .28em; margin: 0 .45em; border-radius: 50%; background: var(--c); vertical-align: .18em; }
.wordrun li:hover { color: var(--ink); }

/* ═══ 4. why · a rail with four stops ═══ */
.rail { position: relative; display: grid; gap: 24px; margin-top: clamp(30px, 4vw, 52px); }
.rail__i { position: relative; display: grid; gap: 8px; padding-left: 66px; }
.rail__ic { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--cs); color: var(--cd); }
.rail__ic svg { width: 24px; height: 24px; }
.rail__i h3 { font-family: var(--display); font-size: 22px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.rail__i p { font-size: 16px; line-height: 1.5; color: var(--text); }

/* ═══ 5. faq ═══ */
.cfaq__in { display: grid; gap: 26px; }
.cfaq__t { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); line-height: 1.02; letter-spacing: -.03em; color: var(--ink); }

/* ═══ 6. other cities ═══ */
.others__t { font-family: var(--display); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.03em; color: var(--ink); }
.others__l { margin-top: 10px; font-size: 16px; color: var(--muted); }
.others__g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.others__g button { display: grid; gap: 2px; width: 100%; min-height: 64px; padding: 12px 16px; border: 0; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: start; font-family: var(--display); font-size: 20px; letter-spacing: -.02em; color: var(--ink); cursor: pointer; transition: transform .35s var(--spring), box-shadow .2s; }
.others__g button small { font-family: var(--ui); font-weight: 300; font-size: 13px; letter-spacing: 0; color: var(--muted); }
.others__g button:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--orange); }

/* ═══ 7. close ═══ */
.cclose__card { position: relative; display: grid; gap: 24px; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: radial-gradient(120% 120% at 100% 0%, #1d3a5f 0%, var(--ink) 55%); color: #fff; overflow: hidden; }
.cclose__card::before { content: ""; position: absolute; right: -20px; top: -20px; width: 260px; height: 260px; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.6px, transparent 2px); background-size: 18px 18px; opacity: .6; -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
.cclose__t { position: relative; font-family: var(--display); font-size: clamp(32px, 4.2vw, 62px); line-height: 1; letter-spacing: -.04em; }
.cclose__l { position: relative; margin-top: 14px; max-width: 34em; font-size: 17px; color: rgba(255, 255, 255, .84); }
.cclose__cta { position: relative; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

@media (min-width: 760px) {
  .tg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .others__g { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1020px) {
  .cth__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; }
  .dmap { width: min(100%, 440px); margin-right: -20px; }
  .tg { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tag6 { min-height: 168px; }
  .rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail::before { content: ""; position: absolute; left: 25px; right: 12%; top: 25px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); z-index: -1; }
  .rail__i { padding: 66px 12px 0 0; }
  .cfaq__in { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; }
  .cclose__card { grid-template-columns: minmax(0, 1.4fr) auto; align-items: end; }
}
@media (min-width: 1020px) and (max-height: 800px) { .dmap { width: min(100%, 380px); } }
@media (prefers-reduced-motion: reduce) {
  .tag6, .dmap__r1, .dmap__r2, .dmap__field circle { animation: none !important; }
  .dmap__r1, .dmap__r2 { opacity: .6; }
}
