/* ============================================================
   CITIES / LOCATIONS - public pages (/cities and /cities/<slug>)
   Loaded after style.css, only by the pages rendered by
   netlify/functions/cities.js. Everything is scoped with .ct- and built on
   the existing tokens (--ink, --ivory, --muted, --line, --cyan, --violet,
   --display, --mono, --ease). Minimal, editorial: rules and type, no cards,
   no gradients, no shadows.
   ============================================================ */

/* ---------- accessibility ---------- */
.ct-skip{
  position:absolute; left:16px; top:-64px; z-index:1200;
  background:var(--ivory); color:#0a0a0f; padding:12px 18px;
  font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  transition: top .25s var(--ease);
}
.ct-skip:focus{ top:16px; outline:2px solid var(--cyan); outline-offset:3px; }
.ct-page a:focus-visible, .ct-page button:focus-visible{ outline:2px solid var(--cyan); outline-offset:4px; }
#main{ scroll-margin-top:96px; }
/* CMS text can contain a very long word or URL: wrap it instead of overflowing the screen */
.ct-page main{ overflow-wrap:anywhere; }

/* scroll reveal - without JS (or with reduced motion) everything is simply visible */
.js .ct-rise{ opacity:0; transform:translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i,0) * 50ms); }
.js .ct-rise.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js .ct-rise{ opacity:1; transform:none; transition:none; } }

/* ---------- breadcrumbs ---------- */
.ct-crumbs{ margin:0 0 36px; }
.ct-crumbs ol{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px 0; font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.ct-crumbs li{ color:var(--ivory); }
.ct-crumbs li + li::before{ content:"/"; color:var(--muted); margin:0 12px; }
.ct-crumbs a{ color:var(--muted); transition:color .3s var(--ease); }
.ct-crumbs a:hover{ color:var(--cyan); }

/* ---------- hero ---------- */
.ct-hero{ padding:150px 0 0; }
.ct-eyebrow{ font-family:var(--mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--cyan); margin:0 0 22px; display:flex; align-items:center; gap:10px; }
.ct-eyebrow::before{ content:""; width:22px; height:1px; background:var(--cyan); display:inline-block; }
.ct-h1{
  font-size:clamp(38px, 7.2vw, 100px); line-height:.98; letter-spacing:-.03em;
  text-transform:uppercase; font-weight:600; margin:0; text-wrap:balance; max-width:15ch;
}
.ct-intro{ margin:34px 0 0; max-width:620px; color:var(--muted); font-size:clamp(16px,1.6vw,19px); line-height:1.65; }
.ct-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:38px; }
.ct-actions:empty{ display:none; }
.ct-actions--center{ justify-content:center; }

/* ---------- sections ---------- */
.ct-sec{ padding:104px 0 0; }
main > .ct-sec:last-child{ padding-bottom:120px; }
.ct-h2{ font-size:clamp(28px, 3.8vw, 46px); line-height:1.04; letter-spacing:-.015em; margin:0 0 44px; text-wrap:balance; }
.ct-h2--small{ font-size:clamp(20px, 2.2vw, 26px); margin-bottom:22px; }
.ct-split{ display:grid; grid-template-columns:minmax(0,.4fr) minmax(0,.6fr); gap:24px 64px; align-items:start; }
.ct-split .ct-h2{ margin-bottom:0; }
.ct-empty{ color:var(--muted); font-size:17px; line-height:1.7; max-width:560px; }
.ct-empty a, .ct-prose a{ color:var(--cyan); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }

/* ---------- rich text from the CMS ---------- */
.ct-prose > :first-child{ margin-top:0; }
.ct-prose p{ color:var(--muted); font-size:17px; line-height:1.8; margin:0 0 18px; }
.ct-prose strong{ color:var(--ivory); font-weight:500; }
.ct-prose ul, .ct-prose ol{ margin:0 0 18px; padding:0; list-style:none; counter-reset:ctn; }
.ct-prose li{ position:relative; padding:0 0 0 22px; margin:0 0 8px; color:var(--muted); font-size:16.5px; line-height:1.7; }
.ct-prose ul li::before{ content:""; position:absolute; left:0; top:.78em; width:8px; height:1px; background:var(--cyan); }
.ct-prose ol li{ counter-increment:ctn; }
.ct-prose ol li::before{ content:counter(ctn) "."; position:absolute; left:0; font-family:var(--mono); font-size:12px; color:var(--cyan); top:.3em; }

/* ---------- editorial rows (services) ---------- */
.ct-rows{ list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.ct-row{
  display:grid; grid-template-columns:56px minmax(0,.9fr) minmax(0,1.3fr) 150px; gap:8px 32px; align-items:baseline;
  padding:30px 0; border-bottom:1px solid var(--line);
}
.ct-row-n{ font-family:var(--mono); font-size:12px; letter-spacing:.06em; color:var(--cyan); }
.ct-row-t{ font-size:clamp(20px, 2.2vw, 26px); font-weight:600; letter-spacing:-.01em; margin:0; }
.ct-row-d{ margin:0; color:var(--muted); font-size:15.5px; line-height:1.7; }
.ct-row-l{ justify-self:end; }
.ct-textlink{ font-family:var(--mono); font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ivory); border-bottom:1px solid var(--line); padding-bottom:4px; white-space:nowrap; transition:color .3s var(--ease), border-color .3s var(--ease); }
.ct-textlink:hover{ color:var(--cyan); border-color:var(--cyan); }

/* ---------- hub: city rows ---------- */
.ct-cities{ list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.ct-cities li{ border-bottom:1px solid var(--line); }
.ct-city{
  display:grid; grid-template-columns:56px minmax(0,.9fr) minmax(0,1.3fr) 230px; gap:8px 32px; align-items:baseline;
  padding:34px 0; transition:background .4s var(--ease), padding .4s var(--ease);
}
.ct-city:hover{ padding-left:14px; padding-right:14px; background:var(--surface); }
.ct-city-n{ font-family:var(--mono); font-size:12px; letter-spacing:.06em; color:var(--cyan); }
.ct-city-main{ display:flex; flex-direction:column; gap:10px; }
.ct-city-name{ font-size:clamp(28px, 4vw, 52px); line-height:1; letter-spacing:-.02em; margin:0; }
.ct-city-label{ font-family:var(--mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.ct-city-desc{ color:var(--muted); font-size:15.5px; line-height:1.7; max-width:520px; }
.ct-city-cta{ font-family:var(--mono); font-size:12.5px; letter-spacing:.08em; line-height:1.55; text-transform:uppercase; color:var(--ivory); text-align:right; justify-self:end; transition:color .3s var(--ease); }
.ct-city:hover .ct-city-cta{ color:var(--cyan); }

/* ---------- why work with me ---------- */
.ct-why{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:0 64px; border-top:1px solid var(--line); }
.ct-why-item{ padding:30px 0; border-bottom:1px solid var(--line); display:grid; grid-template-columns:44px 1fr; gap:6px 0; }
.ct-why-item h3{ font-size:clamp(19px, 2vw, 23px); margin:0; }
.ct-why-item p{ grid-column:2; margin:0; color:var(--muted); font-size:15.5px; line-height:1.7; }

/* ---------- relevant work ---------- */
.ct-work{ list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.ct-work li{ border-bottom:1px solid var(--line); }
.ct-work-item{ display:grid; grid-template-columns:56px minmax(0,1fr) 170px; gap:8px 32px; align-items:baseline; padding:28px 0; transition:background .4s var(--ease), padding .4s var(--ease); }
.ct-work-item:hover{ padding-left:14px; padding-right:14px; background:var(--surface); }
.ct-work-main h3{ font-size:clamp(20px, 2.4vw, 28px); margin:0; }
.ct-work-main p{ margin:8px 0 0; color:var(--muted); font-size:15px; line-height:1.6; }
.ct-work-cta{ font-family:var(--mono); font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ivory); text-align:right; transition:color .3s var(--ease); }
.ct-work-item:hover .ct-work-cta{ color:var(--cyan); }

/* ---------- process (reuses the homepage .process-grid / .process-step) ---------- */
.ct-pg-2{ grid-template-columns:repeat(2,1fr); }
.ct-pg-3{ grid-template-columns:repeat(3,1fr); }
.ct-pg-4{ grid-template-columns:repeat(4,1fr); }
.ct-pg-5{ grid-template-columns:repeat(5,1fr); }
.ct-process .process-step p{ color:var(--muted); font-size:14.5px; line-height:1.65; margin-top:10px; }
@media (max-width: 1020px){
  .ct-pg{ grid-template-columns:repeat(2,1fr); gap:44px 0; }
  .ct-pg .process-step:not(:last-child)::after{ display:none; }
  .ct-pg .process-step:nth-child(odd){ padding-left:0; }
}
@media (max-width: 520px){
  .ct-pg{ grid-template-columns:1fr; gap:34px 0; }
  .ct-pg .process-step{ padding:0; }
}

/* ---------- coverage ---------- */
.ct-tags{ list-style:none; margin:0 0 20px; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.ct-tags li{ font-family:var(--mono); font-size:12px; letter-spacing:.04em; color:var(--ivory); border:1px solid var(--line); border-radius:100px; padding:8px 15px; }

/* ---------- FAQs ---------- */
.ct-faqs{ border-top:1px solid var(--line); }
.ct-faq{ display:grid; grid-template-columns:minmax(0,.4fr) minmax(0,.6fr); gap:10px 64px; padding:30px 0; border-bottom:1px solid var(--line); }
.ct-faq h3{ font-size:clamp(18px, 1.9vw, 22px); line-height:1.25; margin:0; }
.ct-faq .ct-prose p:last-child{ margin-bottom:0; }

/* ---------- final call to action ---------- */
.ct-cta{ border:1px solid var(--line); border-radius:20px; padding:72px 32px; text-align:center; background:var(--surface); }
.ct-cta-h{ font-size:clamp(28px, 4.4vw, 54px); line-height:1.04; letter-spacing:-.02em; max-width:18ch; margin:0 auto; text-wrap:balance; }
.ct-cta-p{ color:var(--muted); font-size:17px; line-height:1.7; max-width:540px; margin:20px auto 0; }
.ct-cta .ct-actions{ margin-top:32px; }

/* ---------- other locations ---------- */
.ct-more{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px 28px; }
.ct-more a{ font-family:var(--mono); font-size:12.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); border-bottom:1px solid transparent; padding-bottom:3px; transition:color .3s var(--ease), border-color .3s var(--ease); }
.ct-more a:hover{ color:var(--ivory); border-color:var(--cyan); }

/* ============================================================
   tablet / mobile
   ============================================================ */
@media (max-width: 900px){
  .ct-split{ grid-template-columns:1fr; gap:22px; }
  .ct-split .ct-h2{ margin-bottom:6px; }
  .ct-faq{ grid-template-columns:1fr; gap:12px; }
  .ct-why{ grid-template-columns:1fr; }
}
@media (max-width: 760px){
  .ct-hero{ padding-top:122px; }
  .ct-sec{ padding-top:76px; }
  main > .ct-sec:last-child{ padding-bottom:88px; }
  .ct-h2{ margin-bottom:30px; }
  .ct-row, .ct-city{ grid-template-columns:36px minmax(0,1fr); gap:6px 14px; padding:26px 0; }
  .ct-row-t, .ct-city-main{ grid-column:2; }
  .ct-row-d, .ct-city-desc{ grid-column:2; }
  .ct-row-l, .ct-city-cta{ grid-column:2; justify-self:start; text-align:left; margin-top:8px; }
  .ct-city:hover, .ct-work-item:hover{ padding-left:0; padding-right:0; background:transparent; }
  .ct-work-item{ grid-template-columns:36px minmax(0,1fr); gap:6px 14px; }
  .ct-work-cta{ grid-column:2; margin-top:6px; text-align:left; }
  .ct-why-item{ grid-template-columns:36px 1fr; }
  .ct-cta{ padding:52px 22px; }
  .ct-actions .btn{ flex:1 1 100%; justify-content:center; }
}
