/* ZS Clean · city page (Escondido Nov 17, San Marcos Nov 18, Oceanside Nov 18, 2026) · prototype · not live.
   Oceanside copy: San Marcos's file (which carries Escondido's) plus the Oceanside pieces at the end (self-hosted signature, tide line).
   San Marcos copy: Escondido's approved code plus the San Marcos pieces at the end (fountain pill, Double Peak rise, four cards,
   two zips, Close by pills, paint correction band).
   Scoped to .city inside the site shell (.zs). Uses the shell's tokens: --gar, --kelp, --kelp70, --tint, --ease,
   --font-head, --font-body, --gutter, --nav-h. Phone first; desktop from 992 px, as on Home.
   Rules kept: no underlines or divider lines, pills for actions, Garibaldi only as an accent (buttons with Kelp
   words, numbers, the period, one signature), one Book per view (the shell's nav-book.js handles the hand-off). */

.city{ --tint2:#E4EAEA; --r-lg:24px; --sec:96px; letter-spacing:-.02em; }
@media (min-width:992px){ .city{ --sec:150px; --r-lg:28px; } }
.city .dot{ color:var(--gar); }
.city svg.ic{ width:20px; height:20px; flex:none; }
.city svg.g{ width:20px; height:20px; flex:none; }
.city-sec{ padding-top:var(--sec); }
.city-h2{ font:italic 600 clamp(40px, 11vw, 96px)/.96 var(--font-head); letter-spacing:-.035em; text-wrap:balance; }
.city [hidden]{ display:none !important; }
.city-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* ---------- buttons and pills ---------- */
.city-btn{ display:inline-flex; align-items:center; gap:12px; min-height:56px; padding:0 8px 0 24px; border-radius:999px;
  font:600 17px/1 var(--font-body); letter-spacing:-.01em; white-space:nowrap; -webkit-tap-highlight-color:transparent;
  transition:transform .35s var(--ease), background-color .25s var(--ease); }
.city-btn i{ display:grid; place-items:center; width:40px; height:40px; border-radius:50%; flex:none; }
.city-btn:active{ transform:scale(.98); }
.city-btn--book{ justify-content:space-between; background:var(--gar); color:var(--kelp); }
.city-btn--book i{ background:var(--kelp); color:#fff; }
.city-btn--book:hover{ background:#EC8636; }
.city-btn--book:focus-visible{ outline-color:var(--kelp); }
.city-btn--text{ padding:0 24px 0 8px; background:var(--kelp); color:#fff; }
.city-btn--text i{ background:var(--gar); color:var(--kelp); }
.city-ctas{ display:flex; flex-direction:column; gap:10px; margin-top:28px; }
.city-ctas .city-btn{ width:100%; }
@media (min-width:600px){ .city-ctas{ flex-direction:row; flex-wrap:wrap; } .city-ctas .city-btn{ width:auto; } .city-btn--book{ min-width:220px; } }

.city-pill{ display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:0 6px 0 20px; border-radius:999px;
  background:var(--tint); color:var(--kelp); font:650 15px/1 var(--font-body); }
.city-pill i{ display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#fff; }
.city-pill--dark{ background:var(--kelp); color:#fff; padding:0 20px 0 14px; }
.city-chip{ align-self:flex-start; display:inline-flex; align-items:center; gap:8px; min-height:34px; padding:0 14px 0 10px;
  border-radius:999px; background:#fff; font:600 14px/1 var(--font-body); }
.city-chip svg.ic{ width:18px; height:18px; }

.city-proof{ display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:0 14px 0 12px; border-radius:999px;
  background:var(--tint); font:500 14px/1 var(--font-body); }
.city-proof b{ font-weight:700; font-size:15px; }
.city-proof .g{ width:18px; height:18px; }

/* ---------- hero ---------- */
.city-hero{ padding-top:16px; }
.city-h1{ margin-top:22px; }
.city-lines{ margin-top:18px; font:500 19px/1.4 var(--font-body); color:var(--kelp70); }

/* V1 · the name is the hero: "Escondido." set as big as the screen allows. Long city names set --fit lower. */
.city--v1 .city-h1__a{ display:block; font:italic 600 clamp(30px, 8.4vw, 64px)/1 var(--font-head); letter-spacing:-.03em; }
.city--v1 .city-h1__city{ display:block; margin:.02em 0 0 -.05em; font:italic 600 var(--fit, 19vw)/.9 var(--font-head);
  letter-spacing:-.05em; white-space:nowrap; }
.city--v1 .city-lines span{ display:block; }
@media (min-width:992px){
  .city--v1 .city-h1__city{ font-size:min(var(--fit-d, 19.4vw), 290px); }
  .city--v1 .city-hero__row{ display:flex; align-items:flex-end; justify-content:space-between; gap:40px; margin-top:26px; }
  .city--v1 .city-lines{ margin:0; font-size:22px; }
  .city--v1 .city-ctas{ margin:0; }
}

/* V2 · the place is the hero: Home's own hero shape (heading, then a photo card), and the card opens out of a pill. */
.city--v2 .city-h1{ font:italic 600 clamp(48px, 12.6vw, 100px)/.93 var(--font-head); letter-spacing:-.045em; text-wrap:balance; }

/* ---------- the photo ---------- */
.city-photo{ position:relative; margin:0; border-radius:var(--r-lg); overflow:hidden; background:var(--tint2); aspect-ratio:4/5;
  max-width:100%; isolation:isolate; }
.city-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.city-photo__credit{ position:absolute; top:10px; right:10px; z-index:2; }
.city-photo__credit a{ display:inline-flex; align-items:center; min-height:28px; padding:0 11px; border-radius:999px;
  background:rgba(18,38,43,.5); color:#fff; font:500 11.5px/1 var(--font-body); letter-spacing:0;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
@media (min-width:992px){ .city-photo--wide{ aspect-ratio:16/9; } }

/* ---------- the note ---------- */
.city-letter{ position:relative; z-index:2; border-radius:var(--r-lg); padding:28px 24px 26px; background:#fff;
  box-shadow:0 24px 60px -28px rgba(18,38,43,.35); }
.city-letter__to{ font:italic 600 21px/1.25 var(--font-head); letter-spacing:-.01em; color:var(--kelp70); }
.city-letter__lead{ margin-top:14px; font:italic 600 40px/.98 var(--font-head); letter-spacing:-.035em; }
.city-letter p.t{ margin-top:14px; font-size:17px; line-height:1.55; }
.city-sign{ margin-top:22px; }
.city-sign__bye{ font-size:17px; }
.city-sig{ display:block; width:max-content; margin:4px 0 0 -4px; padding:4px 14px 12px 4px; font:400 66px/1 'ZS Signature', 'Herr Von Muellerhoff', 'Snell Roundhand', cursive;
  letter-spacing:0; transform:rotate(-5deg); transform-origin:0 70%; }
.city-sign__co{ display:block; margin-top:-2px; font:650 12px/1 var(--font-body); letter-spacing:.12em; text-transform:uppercase; color:var(--kelp70); }

/* V1: the white letter lies over the bottom of the photo (phone) or its right edge (desktop) */
.city-note--v1{ padding-top:56px; }
.city-note--v1 .city-letter{ margin:-104px 10px 0; }
@media (min-width:992px){
  .city-note--v1{ padding-top:110px; }
  .city-note--v1 .city-note__grid{ display:grid; grid-template-columns:repeat(12, minmax(0, 1fr)); column-gap:24px; align-items:end; }
  .city-note--v1 .city-photo{ grid-column:1 / 9; grid-row:1; }
  .city-note--v1 .city-photo__credit{ top:auto; right:auto; bottom:12px; left:12px; }
  .city-note--v1 .city-letter{ grid-column:8 / 13; grid-row:1; margin:0 0 -110px; padding:40px 40px 34px; }
  .city-letter__lead{ font-size:52px; }
  .city-letter p.t{ font-size:18px; }
  .city-sig{ font-size:78px; }
}

/* V2: the photo pins and the Kelp letter slides up over it (phone); on desktop it pins beside the text */
.city-v2{ position:relative; }
.city-v2 .city-photo{ position:sticky; top:calc(var(--nav-h) + 8px); margin:30px -10px 0; }
.city-letter--dark{ margin:-72px 0 0; background:var(--kelp); color:#fff; box-shadow:0 -18px 50px -20px rgba(18,38,43,.45); }
.city-letter--dark .city-letter__to{ color:rgba(255,255,255,.72); }
.city-letter--dark .city-sig{ color:var(--gar); }
.city-letter--dark .city-sign__co{ color:rgba(255,255,255,.66); }
@media (min-width:992px){
  .city-v2{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 560px); column-gap:72px; align-items:start; }
  .city-v2__text{ grid-column:1; grid-row:1; padding-top:24px; }
  .city-v2 .city-photo{ grid-column:2; grid-row:1 / 3; top:calc(var(--nav-h) + 24px); margin:0; }
  .city-v2 .city-letter{ grid-column:1; grid-row:2; margin:90px 0 0; padding:44px 44px 38px; }
}

/* the pill that opens into the photo (V2). --e goes 0 → 1 with scroll (city.js); --ax/--ay/--aw/--ah place the pill
   over the sign in the photo, as fractions of the card, so another city's photo only needs its own four numbers. */
.city-grow{ --e:1; --rad:var(--r-lg);
  --t0:calc((var(--ay) - var(--ah) / 2) * 100%); --b0:calc((1 - var(--ay) - var(--ah) / 2) * 100%);
  --l0:calc((var(--ax) - var(--aw) / 2) * 100%); --r0:calc((1 - var(--ax) - var(--aw) / 2) * 100%); }
.city.is-live .city-grow{ --e:0; --rad:999px;
  clip-path:inset(calc(var(--t0) * (1 - var(--e))) calc(var(--r0) * (1 - var(--e))) calc(var(--b0) * (1 - var(--e))) calc(var(--l0) * (1 - var(--e))) round var(--rad)); }
.city.is-live .city-grow img{ transform:scale(calc(1 + .14 * (1 - var(--e)))); transform-origin:calc(var(--ax) * 100%) calc(var(--ay) * 100%); will-change:transform; }
.city.is-live .city-grow .city-photo__credit{ opacity:calc((var(--e) - .9) * 10); }

/* ---------- what Escondido does to your car ---------- */
.city-facts{ display:grid; gap:12px; margin-top:30px; }
.city-fact{ display:flex; flex-direction:column; gap:10px; padding:22px 22px 24px; border-radius:var(--r-lg); background:var(--tint); }
.city-fact__top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:4px; }
.city-fact__no{ font:italic 600 26px/1 var(--font-head); color:var(--gar); }
.city-fact__ic{ display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:#fff; }
.city-fact__ic svg.ic{ width:24px; height:24px; }
.city-fact h3{ font:600 26px/1.1 var(--font-head); letter-spacing:-.02em; }
.city-fact p{ font-size:16.5px; line-height:1.5; color:var(--kelp70); }
.city-fact--help{ background:var(--kelp); color:#fff; }
.city-fact--help .city-fact__ic{ background:rgba(255,255,255,.1); }
.city-fact--help p{ color:rgba(255,255,255,.8); }
.city-links{ display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.city-links a{ display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:0 6px 0 16px; border-radius:999px;
  background:rgba(255,255,255,.12); color:#fff; font:600 15px/1 var(--font-body); transition:background-color .25s var(--ease); }
.city-links a:hover{ background:rgba(255,255,255,.2); }
.city-links i{ display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#fff; color:var(--kelp); }
.city-links svg.ic{ width:16px; height:16px; }
.city-fact__do{ margin-top:6px; padding:14px 16px; border-radius:16px; background:#fff; font-size:15.5px; line-height:1.5; }
.city-fact__do b{ display:block; margin-bottom:2px; font:650 12px/1.4 var(--font-body); letter-spacing:.1em; text-transform:uppercase; color:var(--kelp70); }
.city-links--light a{ background:#fff; color:var(--kelp); }
.city-links--light a:hover{ background:var(--tint2); }
.city-links--light i{ background:var(--tint); }
@media (min-width:992px){
  .city-facts{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin-top:56px; align-items:start; }
  .city-fact{ padding:30px 30px 32px; }
  .city-fact h3{ font-size:32px; }
}

/* ---------- all of Escondido ---------- */
.city-area__lead{ margin-top:22px; font:500 19px/1.4 var(--font-body); }
.city-zips{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:18px; }
.city-zips li{ display:flex; align-items:center; justify-content:center; min-height:84px; border-radius:999px; background:var(--tint);
  font:italic 600 36px/1 var(--font-head); letter-spacing:-.02em; }
.city-hoods{ margin-top:22px; font-size:17px; line-height:1.55; color:var(--kelp70); max-width:56ch; }
.city-hoods b{ font-weight:600; color:var(--kelp); }
.city-where{ margin-top:26px; padding:20px 20px 22px; border-radius:var(--r-lg); background:var(--tint); }
.city-where p{ font:500 17px/1.45 var(--font-body); }
.city-where__links{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.city-where .city-pill{ background:#fff; padding:0 18px 0 6px; }
.city-where .city-pill i{ background:var(--tint); }
@media (min-width:992px){
  .city-where{ display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:36px; padding:26px 30px; }
  .city-where__links{ margin-top:0; flex:none; }
  .city-zips{ grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; margin-top:26px; }
  .city-zips li{ min-height:136px; font-size:64px; }
  .city-hoods{ font-size:19px; margin-top:28px; }
}

/* ---------- not a car wash ---------- */
.city-band{ margin-top:var(--sec); padding-block:76px 80px; background:var(--kelp); color:#fff; }
.city-band .city-h2 > span{ display:block; }
.city-band p{ margin-top:24px; font-size:18px; line-height:1.55; color:rgba(255,255,255,.82); max-width:36ch; }
@media (min-width:992px){
  .city-band{ padding-block:140px; }
  .city-band .zs-wrap{ display:grid; grid-template-columns:minmax(0, 1.3fr) minmax(0, 1fr); gap:72px; align-items:end; }
  .city-band p{ margin:0; font-size:21px; }
}
.city-vs{ display:grid; gap:10px; margin-top:30px; }
.city-vs__card{ padding:24px 22px 26px; border-radius:var(--r-lg); background:var(--tint); }
.city-vs__card--us{ background:var(--kelp); color:#fff; }
.city-vs__t{ font:italic 600 30px/1 var(--font-head); letter-spacing:-.03em; }
.city-vs ul{ display:grid; gap:12px; margin-top:18px; }
.city-vs li{ display:flex; align-items:center; gap:12px; font:500 16.5px/1.35 var(--font-body); }
.city-vs li i{ display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#fff; flex:none; }
.city-vs__card--us li i{ background:rgba(255,255,255,.1); }
.city-vs__card--wash{ color:var(--kelp70); }
@media (min-width:992px){
  .city-vs{ grid-template-columns:1fr 1fr; gap:20px; margin-top:56px; }
  .city-vs__card{ padding:36px 36px 40px; }
  .city-vs__t{ font-size:44px; }
  .city-vs li{ font-size:19px; }
}

/* ---------- prices ---------- */
.city-prices{ display:grid; gap:12px; margin-top:30px; }
.city-price{ display:flex; flex-direction:column; gap:8px; padding:24px 24px 26px; border-radius:var(--r-lg); background:var(--tint); }
.city-price h3{ font:italic 600 30px/1.05 var(--font-head); letter-spacing:-.03em; }
.city-price__from{ font:500 16px/1.2 var(--font-body); }
.city-price__from b{ font-size:22px; font-weight:700; }
.city-price__d{ font-size:16px; line-height:1.5; color:var(--kelp70); }
.city-price .city-chip{ margin-top:6px; }
.city-price--dark{ background:var(--kelp); color:#fff; }
.city-price--dark .city-price__d{ color:rgba(255,255,255,.78); }
.city-price--dark .city-chip{ background:rgba(255,255,255,.12); }
.city-sizes{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:6px; margin:10px 0 0; }
.city-sizes div{ display:flex; flex-direction:column; justify-content:space-between; gap:4px; min-width:0; padding:10px 10px 11px; border-radius:14px; background:#fff; }
.city-sizes dt{ font:500 12.5px/1.25 var(--font-body); color:var(--kelp70); }
.city-sizes dd{ margin:0; font:700 17px/1 var(--font-body); }
.city-price--dark .city-sizes div{ background:rgba(255,255,255,.1); }
.city-price--dark .city-sizes dt{ color:rgba(255,255,255,.72); }
.city-incl{ margin-top:6px; }
.city-incl summary{ display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:0 6px 0 16px; border-radius:999px; background:#fff;
  list-style:none; font:650 15px/1 var(--font-body); cursor:pointer; -webkit-tap-highlight-color:transparent; }
.city-incl summary::-webkit-details-marker{ display:none; }
.city-incl summary i{ display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--tint); }
.city-incl summary svg.ic{ width:16px; height:16px; }
.city-incl summary .m, .city-incl[open] summary .p{ display:none; }
.city-incl[open] summary .m{ display:block; }
.city-incl ul{ display:grid; gap:8px; margin-top:14px; }
.city-incl li{ position:relative; padding-left:17px; font-size:15.5px; line-height:1.45; }
.city-incl li::before{ content:""; position:absolute; top:.56em; left:1px; width:6px; height:6px; border-radius:50%; background:var(--gar); }   /* Home's package dots */
.city-incl[open] ul{ animation:city-in .45s var(--ease); }
.city-price--dark .city-incl summary{ background:rgba(255,255,255,.12); color:#fff; }
.city-price--dark .city-incl summary i{ background:#fff; color:var(--kelp); }
.city-pricenote{ display:flex; gap:12px; margin-top:16px; padding:18px 20px; border-radius:var(--r-lg); background:var(--tint); font-size:15.5px; line-height:1.5; }
.city-pricenote svg.ic{ width:24px; height:24px; margin-top:1px; }
.city-single{ margin-top:22px; }
.city-single p{ font:600 17px/1.3 var(--font-body); }
.city-single__links{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.city-prices__foot{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 18px; margin-top:22px; }
.city-paynote{ display:inline-flex; align-items:center; gap:10px; font:500 16px/1.3 var(--font-body); }
@media (min-width:992px){
  .city-prices{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin-top:56px; }
  .city-price{ padding:32px 32px 34px; min-height:300px; }
  .city-price h3{ font-size:40px; }
  .city-prices{ align-items:start; }
  .city-price{ min-height:0; }
  .city-pricenote{ margin-top:28px; max-width:880px; }
  .city-single{ display:flex; align-items:center; gap:20px; }
  .city-single__links{ margin-top:0; }
}

/* ---------- reviews ---------- */
.city-reviews{ margin-top:var(--sec); padding-block:76px 80px; background:var(--tint); }
.city-rv{ display:flex; gap:12px; margin:30px calc(-1 * var(--gutter)) 0; padding:0 var(--gutter) 4px; overflow-x:auto;
  scroll-snap-type:x mandatory; scroll-padding-inline:var(--gutter); scrollbar-width:none; }
.city-rv::-webkit-scrollbar{ display:none; }
.city-rv li{ flex:0 0 86%; scroll-snap-align:start; display:flex; flex-direction:column; gap:12px; padding:22px 22px 24px;
  border-radius:var(--r-lg); background:#fff; }
.city-rv__who{ display:flex; align-items:center; gap:10px; font-weight:600; }
.city-rv__av{ display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--tint2); font-weight:700; }
.city-rv__who .g{ width:20px; height:20px; margin-left:auto; }
.city-rv blockquote{ margin:0; font-size:17px; line-height:1.55; }
.city-rv .city-chip{ background:var(--tint); margin-top:auto; }
.city-rv__foot{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; margin-top:22px; }
.city-rv__small{ font-size:14px; color:var(--kelp70); }
@media (min-width:992px){
  .city-reviews{ padding-block:140px; }
  .city-rv{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin:56px 0 0; padding:0; overflow:visible; }
  .city-rv li{ padding:30px; }
}
/* V2: one review at a time on Kelp; tap the card or the pill for the next */
.city-deck{ margin-top:var(--sec); padding-block:76px 80px; background:var(--kelp); color:#fff; }
.city-deck .city-h2{ color:#fff; }
.city-deck__list{ position:relative; display:grid; margin-top:30px; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.city-deck__list > li{ grid-area:1 / 1; display:flex; flex-direction:column; gap:16px; transition:opacity .45s var(--ease), transform .6s var(--ease); }
.city-deck__list > li[aria-hidden="true"]{ opacity:0; transform:translateY(14px); pointer-events:none; }
.city-deck blockquote{ margin:0; font:500 23px/1.4 var(--font-body); letter-spacing:-.02em; }
.city-deck__who{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; font-weight:600; }
.city-deck__who .city-chip{ background:rgba(255,255,255,.12); align-self:center; }
.city-deck__bar{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:28px; }
.city-deck__next{ display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:0 6px 0 18px; border-radius:999px;
  background:#fff; color:var(--kelp); font:650 15px/1 var(--font-body); }
.city-deck__next i{ display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:var(--tint); }
.city-deck .city-pill--dark{ background:rgba(255,255,255,.12); }
.city-deck .city-rv__small{ color:rgba(255,255,255,.7); width:100%; }
@media (min-width:992px){
  .city-deck{ padding-block:140px; }
  .city-deck .zs-wrap{ display:grid; grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); gap:72px; align-items:start; }
  .city-deck__list{ margin-top:0; }
  .city-deck blockquote{ font-size:34px; line-height:1.3; }
}

/* ---------- questions ---------- */
.city-faq{ display:grid; gap:10px; margin-top:30px; }
.city-q{ border-radius:22px; background:var(--tint); transition:background-color .3s var(--ease), box-shadow .3s var(--ease); }
.city-q[open]{ background:#fff; box-shadow:0 14px 44px -16px rgba(18,38,43,.28); }
.city-q summary{ display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:68px; padding:12px 12px 12px 20px;
  list-style:none; font:600 18px/1.3 var(--font-body); letter-spacing:-.01em; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.city-q summary::-webkit-details-marker{ display:none; }
.city-q summary:focus-visible{ outline:3px solid var(--kelp); outline-offset:2px; border-radius:22px; }
.city-q summary i{ position:relative; flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#fff; transition:background-color .3s var(--ease), color .3s var(--ease); }
.city-q[open] summary i{ background:var(--kelp); color:#fff; }
.city-q summary .m, .city-q[open] summary .p{ display:none; }
.city-q[open] summary .m{ display:block; }
.city-q__a{ padding:0 20px 22px; font-size:17px; line-height:1.55; }
.city-q__a .city-btn{ margin-top:14px; min-height:52px; }
.city-q__a .city-pill{ margin-top:14px; }
.city-q[open] .city-q__a{ animation:city-in .45s var(--ease); }
.city-faq__more{ display:grid; gap:10px; }
.city-faq__btn{ justify-self:start; margin-top:6px; }
@keyframes city-in{ from{ opacity:0; transform:translateY(-6px); } }
@media (min-width:992px){
  .city-faq-wrap{ display:grid; grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); gap:72px; align-items:start; }
  .city-faq-wrap .city-h2{ position:sticky; top:calc(var(--nav-h) + 40px); }
  .city-faq{ margin-top:0; }
  .city-q summary{ min-height:76px; padding-left:28px; font-size:20px; }
  .city-q__a{ padding:0 28px 28px; font-size:18px; }
}
.city-end{ height:var(--sec); }

/* ---------- motion: soft, once, never on the heading, off with reduced motion ---------- */
.city.is-live [data-rise]{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .9s var(--ease); transition-delay:calc(var(--d, 0) * 90ms); }
.city.is-live [data-rise].is-in{ opacity:1; transform:none; }
.city.is-live .city-note--v1 .city-photo img{ transform:scale(1.07); transition:transform 2.4s var(--ease); }
.city.is-live .city-note--v1 .city-photo.is-in img{ transform:none; }
.city.is-live .city-sig{ clip-path:inset(-40% 100% -40% -10%); }
.city.is-live .is-in .city-sig{ clip-path:inset(-40% -10% -40% -10%); transition:clip-path 1.9s cubic-bezier(.5,.05,.3,1) .35s; }
@media (prefers-reduced-motion:reduce){
  .city.is-live [data-rise], .city.is-live .city-sig, .city.is-live .city-photo img, .city.is-live .city-peak{ opacity:1; transform:none; clip-path:none; transition:none; }
  .city-q[open] .city-q__a, .city-incl[open] ul{ animation:none; }
}


/* ================= San Marcos (Nov 18) ================= */
/* the note opens with its own greeting, set big */
.city-letter__lead--to{ margin-top:0; font-size:38px; line-height:1; text-wrap:balance; }
.city-letter--dark .city-letter__lead--to{ color:#fff; }
@media (min-width:992px){ .city-letter__lead--to{ font-size:50px; } }

/* the place, named on the photo once it has opened (both photos are public domain, so there is no credit to show) */
.city-photo__place{ position:absolute; top:12px; left:12px; z-index:2; }
.city-photo__place span{ display:inline-flex; align-items:center; gap:6px; min-height:32px; padding:0 13px 0 9px; border-radius:999px;
  background:rgba(18,38,43,.5); color:#fff; font:600 13px/1 var(--font-body); letter-spacing:0; -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.city-photo__place svg.ic{ width:16px; height:16px; }
.city.is-live .city-grow .city-photo__place, .city.is-live .city-peak .city-photo__place{ opacity:calc((var(--e) - .9) * 10); }

/* V1 · the fountain: Escondido's pill stood upright over the fountain (--aw/--ah are just tall; city.js rounds by the narrow side) */

/* V2 · Double Peak: the view rises out of a two-peak ridge (city.js draws it as the card's top edge) and drifts across the
   valley as you scroll (--pan). The panorama band is 8:5, so the 4:5 card shows half of it at a time. */
.city-peak{ --e:1; --pan:.5; }
.city-peak img{ object-position:50% 50%; }
.city.is-live .city-peak{ --e:0; --pan:.15; }
.city.is-live .city-peak img{ object-position:calc(var(--pan) * 100%) 50%; will-change:transform;
  transform:translateY(calc(var(--lift, 16%) * (1 - var(--e)))) scale(calc(1 + .1 * (1 - var(--e)))); transform-origin:50% 40%; }   /* the valley, not the rocks, sits in the ridge before it opens */

/* four problem cards */
@media (min-width:992px){ .city-facts--four{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (min-width:1200px){ .city-facts--four{ grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; } .city-facts--four .city-fact{ padding:26px 24px 28px; } .city-facts--four .city-fact h3{ font-size:30px; } }

/* two zips, the neighborhoods, and the towns close by */
@media (min-width:992px){ .city-zips--two{ grid-template-columns:repeat(2, minmax(0, 1fr)); max-width:760px; } }
.city-near{ display:flex; flex-direction:column; gap:12px; margin-top:26px; padding:20px 20px 22px; border-radius:var(--r-lg); background:var(--tint); }
.city-near p{ font:600 17px/1.3 var(--font-body); }
.city-near__links{ display:flex; flex-wrap:wrap; gap:8px; }
.city-near .city-pill{ background:#fff; }
.city-near .city-pill i{ background:var(--tint); }
.city-pill--plain{ padding:0 20px; }
@media (min-width:992px){ .city-near{ flex-direction:row; align-items:center; gap:20px; margin-top:36px; padding:22px 30px; } }

/* paint correction, at your place: one Kelp band */
.city-paint{ margin-top:var(--sec); padding-block:76px 80px; background:var(--kelp); color:#fff; }
.city-paint .city-h2{ color:#fff; }
.city-paint__body{ display:grid; gap:14px; margin-top:26px; max-width:620px; }
.city-paint__body p{ font-size:17.5px; line-height:1.55; color:rgba(255,255,255,.82); }
.city-paint__body .city-paint__a{ font:italic 600 28px/1.15 var(--font-head); letter-spacing:-.025em; color:#fff; }
.city-paint__c b{ color:#fff; font-weight:700; font-size:20px; }
.city-paint .city-pill{ justify-self:start; margin-top:6px; background:#fff; }
.city-paint .city-pill i{ background:var(--tint); }
@media (min-width:992px){
  .city-paint{ padding-block:140px; }
  .city-paint .zs-wrap{ display:grid; grid-template-columns:minmax(0, 1.1fr) minmax(0, 1fr); gap:72px; align-items:end; }
  .city-paint__body{ margin-top:0; }
  .city-paint__body .city-paint__a{ font-size:34px; }
  .city-paint__body p{ font-size:19px; }
}
.city-prices__foot .city-paynote svg.ic{ width:22px; height:22px; }


/* ================= Oceanside (Nov 18) ================= */
/* the signature is self-hosted (fonts/zs-signature-mateo.woff2, declared as "ZS Signature" in the page head) */

/* V1 · the pier: the pill lies along the pier (--ax/--ay/--aw/--ah on the figure) */

/* V2 · the tide: the photo rises out of a gentle swell line (city.js draws it; --tide is where it starts), no sideways drift */
.city-peak--tide{ --lift:0%; }
.city.is-live .city-peak--tide img{ object-position:50% 50%; transform-origin:50% 55%; }
