/* Affinity Power — inner pages (service, town, areas, contact, blog, post, privacy, 404). Built on base.css tokens.
   Same rules as the rest of the site: transparent sections, full-bleed media feathered into var(--page), crimson only on CTAs. */

/* ---------- load-in ---------- */
[data-in] { animation: in-up 1.1s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes in-up { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- breadcrumb ---------- */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--tx3); margin-bottom: clamp(18px, 2.4vw, 28px); }
.crumb a { color: var(--tx2); transition: color .3s; }
.crumb a:hover { color: var(--ink); }
.crumb [aria-current] { color: var(--tx2); max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- shared headline type ---------- */
.vh__h, .mh__h { font-weight: 200; font-size: clamp(50px, min(6.6vw, 11.5vh), 112px); line-height: .96; letter-spacing: -.045em; text-shadow: 0 2px 40px rgba(3, 6, 13, .5); }
.vh__h span, .mh__h span { display: block; background: linear-gradient(100deg, var(--ink) 0%, var(--ice2) 55%, var(--ice) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vh__p, .mh__p { margin-top: clamp(18px, 2vw, 26px); max-width: 40ch; font-size: clamp(16.5px, 1.25vw, 19.5px); color: var(--tx2); }
.vh__btns, .mh__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 38px); }
.vh__fine { margin-top: 20px; font-size: 13.5px; color: var(--tx3); }
.vh__cue { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 46px; background: rgba(255, 255, 255, .12); overflow: hidden; z-index: 3; opacity: var(--cue, 1); }
.vh__cue span { position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ice); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- 1 · service / post hero: the lit window that opens to full screen ---------- */
.vh { position: relative; height: 175vh; height: 175svh; --p: 0; --pw: 0; --q: calc(1 - var(--p)); }
.vh__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.vh__win { position: absolute; inset: 0;
  clip-path: inset(calc((var(--hd) + 7vh) * var(--q)) calc(var(--gut) * var(--q)) calc(9vh * var(--q)) calc(52% * var(--q)) round calc(30px * var(--q)));
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--feather) * var(--p)), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--feather) * var(--p)), transparent 100%); }
.vh__win img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.14 - var(--p) * .08)); transform-origin: 70% 50%;
  filter: brightness(calc((.14 + var(--pw) * .9) * (1 - var(--p) * .5))) saturate(calc(.35 + var(--pw) * .6)) contrast(1.04); will-change: transform, filter; }
/* the light sweep when it powers on */
.vh__win::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(200, 222, 255, .26) 48%, rgba(255, 255, 255, .06) 52%, transparent 70%); transform: translateX(-110%); pointer-events: none; }
.vh.on .vh__win::after { animation: sweep 1.6s .35s var(--ease) both; }
@keyframes sweep { to { transform: translateX(110%); } }
.vh__win::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, calc(.12 * var(--q))), inset 0 0 120px rgba(3, 6, 13, calc(.55 * var(--q))); pointer-events: none; }
/* text side: a page-coloured wash that grows as the window opens behind the words */
.vh__shade { position: absolute; inset: 0; pointer-events: none; opacity: var(--p);
  background: linear-gradient(90deg, color-mix(in srgb, var(--page) 88%, transparent) 0%, color-mix(in srgb, var(--page) 55%, transparent) 42%, transparent 72%); }
.vh__copy { position: relative; z-index: 2; padding-top: var(--hd); }
.vh__copy > * { max-width: 46%; }
.vh__copy .vh__h { max-width: 9.5ch; }
.vh__h--post { font-size: clamp(40px, min(4.6vw, 9vh), 78px); line-height: 1.02; max-width: 13ch !important; }
.vh--post .vh__copy > * { max-width: 48%; }

/* ---------- 2 · town hero: live satellite map ---------- */
.mh { position: relative; height: 100vh; height: 100svh; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.mh__map, .mh__fb { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--feather)), transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--feather)), transparent 100%); }
.mh__map, .mh__map.maplibregl-map { position: absolute; } /* MapLibre's css sets position: relative */
.mh__map { background: #04070f; opacity: 0; transition: opacity 1.6s var(--ease); }
.mh__map.ready { opacity: 1; }
.mh__map canvas { outline: none; }
.mh__fb { object-fit: cover; filter: brightness(.38) saturate(.6); opacity: 0; transition: opacity .8s; }
.no-map .mh__fb { opacity: 1; }
/* blue-hour grade: on the map canvas only, so the pins stay crisp */
.mh__map canvas { filter: sepia(.5) hue-rotate(180deg) saturate(1.15) brightness(1.08) contrast(1.06); }
.mh__tint { display: none; }
.mh__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--page) 86%, transparent) 0%, color-mix(in srgb, var(--page) 50%, transparent) 40%, transparent 66%),
              linear-gradient(180deg, color-mix(in srgb, var(--page) 55%, transparent) 0%, transparent 26%); }
.mh__copy { position: relative; z-index: 2; padding-top: var(--hd); transform: translateY(calc(var(--mp, 0) * -60px)); opacity: calc(1 - var(--mp, 0) * 1.3); }
.mh__copy > * { max-width: 620px; }
.mh__st { margin-top: 22px; }
.mh .vh__cue { opacity: calc(1 - var(--mp, 0) * 4); }

/* map pins (MapLibre markers) */
.pin { position: relative; width: 22px; height: 22px; pointer-events: none; }
.pin i { position: absolute; inset: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(156, 194, 255, .45), 0 0 30px 10px rgba(156, 194, 255, .85), 0 0 90px 30px rgba(110, 160, 255, .35); }
.pin::before, .pin::after { content: ''; position: absolute; inset: -26px; border-radius: 50%; border: 1.5px solid rgba(185, 214, 255, .85); animation: ping 2.8s var(--ease) infinite; }
.pin::after { animation-delay: 1.4s; }
@keyframes ping { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.pin b { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-weight: 500; font-size: 17px; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .9); }

/* ---------- 3 · areas hero: the map rises from Tehachapi to all of Kern County ---------- */
.ah { position: relative; height: 260vh; height: 260svh; }
.ah__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.ah .mh__map { pointer-events: none; }
.ah .mh__map .maplibregl-marker { pointer-events: auto; }
.ah__copy { position: relative; z-index: 2; padding-top: var(--hd); pointer-events: none; }
.ah__copy > * { max-width: 560px; pointer-events: auto; }
.ah__shade { background: linear-gradient(90deg, color-mix(in srgb, var(--page) 88%, transparent) 0%, color-mix(in srgb, var(--page) 45%, transparent) 36%, transparent 58%), linear-gradient(180deg, color-mix(in srgb, var(--page) 55%, transparent) 0%, transparent 26%); }
.mt { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px; border-radius: 999px; background: rgba(8, 14, 28, .62); border: 1px solid rgba(156, 194, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #eef3fb; font-size: 13px; font-weight: 500; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s, border-color .3s; }
.mt i { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px rgba(156, 194, 255, .9); flex: none; }
.mt.live { opacity: 1; transform: none; }
.mt:hover, .mt:focus-visible { background: var(--ice2); color: #0a1630; border-color: var(--ice2); }
.mt--home { background: rgba(175, 26, 64, .72); border-color: rgba(255, 140, 165, .5); }
.mt--home i { background: #fff; }
.mt.dot { width: 14px; height: 14px; padding: 0; justify-content: center; border-radius: 50%; }
.mt.dot span { display: none; }
.mt.dot i { width: 6px; height: 6px; }

/* ---------- prose ---------- */
.prose { color: var(--tx2); font-size: 17px; line-height: 1.65; }
.prose h2 { margin: 1.8em 0 .5em; font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); }
.prose h3 { margin-bottom: .8em; font-weight: 400; font-size: 20px; letter-spacing: -.015em; color: var(--ink); }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--ice2); border-bottom: 1px solid var(--edge2); }

/* ---------- what you get ---------- */
.ig { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); padding-top: clamp(70px, 9vw, 130px); padding-bottom: clamp(80px, 10vw, 150px); }
.ig__pts { display: flex; flex-direction: column; gap: 10px; margin-top: clamp(26px, 3vw, 40px); }
.ig__pts li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--edge); font-size: 16.5px; color: var(--ink); }
.ig__pts svg { width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: rgba(156, 194, 255, .12); color: var(--ice); flex: none; }
.ig__r { align-self: center; max-width: 62ch; }
.ig__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* ---------- photo row ---------- */
.pg { padding-bottom: clamp(80px, 10vw, 150px); }
.pg__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.pg__row--1 { grid-template-columns: 1fr; } .pg__row--2 { grid-template-columns: 1.3fr 1fr; }
.pg__ph { display: block; height: clamp(260px, 30vw, 440px); border-radius: 26px; overflow: hidden; border: 1px solid var(--edge); background: var(--glass); }
.pg__ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.pg__it:hover .pg__ph img { transform: scale(1.09); }
.pg__it figcaption { margin-top: 12px; font-size: 14px; color: var(--tx2); }

/* ---------- three steps ---------- */
.st3 { padding-bottom: clamp(80px, 10vw, 150px); }
.st3__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 3.4vw, 46px); counter-reset: st; }
.st3__list li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 34px); padding-top: clamp(64px, 6vw, 84px); border-radius: 26px; background: var(--glass); border: 1px solid var(--edge); counter-increment: st; }
.st3__list li::before { content: counter(st); position: absolute; top: clamp(22px, 2.4vw, 30px); left: clamp(24px, 2.6vw, 34px); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--ice); border: 1px solid rgba(156, 194, 255, .35); box-shadow: 0 0 18px rgba(156, 194, 255, .2); }
.st3__list b { font-weight: 300; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.st3__list span { color: var(--tx2); font-size: 15.5px; }
.st3__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 40px); }

/* ---------- questions ---------- */
.fq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: clamp(80px, 10vw, 150px); }
.fq__list { display: flex; flex-direction: column; gap: 10px; }
.fq__it { border-radius: 20px; background: var(--glass); border: 1px solid var(--edge); transition: background .4s, border-color .4s; overflow: hidden; }
.fq__it[open] { background: var(--glass2); border-color: var(--edge2); }
.fq__it summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none; font-size: 17.5px; letter-spacing: -.01em; color: var(--ink); }
.fq__it summary::-webkit-details-marker { display: none; }
.fq__it summary i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--edge2); color: var(--tx2); flex: none; transition: transform .45s var(--ease), background .3s, color .3s; }
.fq__it[open] summary i { transform: rotate(45deg); background: var(--ice2); color: #0a1630; border-color: var(--ice2); }
.fq__a { padding: 0 22px 22px; color: var(--tx2); font-size: 16px; line-height: 1.6; max-width: 62ch; }

/* ---------- smaller review card ---------- */
.rv__card--sm blockquote p { font-size: clamp(28px, 3.4vw, 52px); max-width: 22ch; }

/* ---------- service cards ---------- */
.rl, .tf { padding-bottom: clamp(80px, 10vw, 150px); }
.ic__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ic { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--glass); border: 1px solid var(--edge); transition: border-color .4s, box-shadow .5s var(--ease); }
.ic__ph { display: block; height: clamp(200px, 19vw, 280px); overflow: hidden; }
.ic__ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.ic__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 76px 24px 22px; }
.ic__n { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -.025em; line-height: 1.12; }
.ic__n em { font-style: normal; color: var(--tx3); }
.ic__w { font-size: 14.5px; color: var(--tx2); }
.ic__go { position: absolute; right: 20px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--edge2); color: var(--tx2); transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease); }
.ic:hover { border-color: var(--edge2); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); }
.ic:hover .ic__ph img { transform: scale(1.09); filter: saturate(1.05); }
.ic:hover .ic__go { background: var(--ice2); color: #0a1630; border-color: var(--ice2); transform: translateX(3px); }

/* ---------- town page bits ---------- */
.tf { padding-top: clamp(70px, 9vw, 130px); }
.tf__top { align-items: flex-end; }
.tf__lead { max-width: 40ch; font-size: 17px; color: var(--tx2); }
.lf { padding-bottom: clamp(80px, 10vw, 150px); }
.lf__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lf__grid li { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2.4vw, 30px); border-radius: 24px; background: var(--glass); border: 1px solid var(--edge); }
.lf__grid b { font-weight: 300; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; }
.lf__grid span { font-size: 15px; color: var(--tx2); }
.lf__offer { background: rgba(175, 26, 64, .14) !important; border-color: rgba(200, 34, 77, .4) !important; }
.lf__offer span { color: #ffd3dc; }
.ot { padding-bottom: clamp(80px, 10vw, 150px); }
.ot__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: clamp(26px, 3vw, 40px); }
.ot__it { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 64px; padding: 0 22px; border-radius: 18px; background: var(--glass); border: 1px solid var(--edge); font-size: 17px; transition: background .35s, border-color .35s, color .35s; }
.ot__it svg { color: var(--tx3); transition: transform .4s var(--ease), color .3s; }
.ot__it:hover { background: var(--glass2); border-color: var(--edge2); }
.ot__it:hover svg { color: var(--ice); transform: translateX(3px); }
a.tw { text-decoration: none; }
.ar .ar__chips + .ar__ok { margin-top: 22px; }

/* ---------- areas index cards ---------- */
.tl { padding-top: clamp(40px, 6vw, 90px); padding-bottom: clamp(80px, 10vw, 150px); }
.tc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tc { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 76px 24px 24px; border-radius: 24px; background: var(--glass); border: 1px solid var(--edge); transition: background .35s, border-color .35s, box-shadow .5s var(--ease); }
.tc__n { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.025em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tc__n em { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(175, 26, 64, .22); color: #ffd3dc; letter-spacing: 0; }
.tc__w { font-size: 14.5px; color: var(--tx2); }
.tc__f { font-size: 13px; color: var(--tx3); }
.tc__go { position: absolute; right: 20px; top: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--edge2); color: var(--tx2); transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease); }
.tc:hover { background: var(--glass2); border-color: var(--edge2); box-shadow: 0 30px 70px -44px rgba(0, 0, 0, .9); }
.tc:hover .tc__go { background: var(--ice2); color: #0a1630; border-color: var(--ice2); transform: translateX(3px); }

/* ---------- contact ---------- */
.ch { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hd) + 40px) 0 clamp(60px, 8vw, 110px); }
.ch__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: brightness(.42) saturate(.75); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--feather), #000 calc(100% - var(--feather)), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 var(--feather), #000 calc(100% - var(--feather)), transparent 100%); }
.ch__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--page) 88%, transparent) 0%, color-mix(in srgb, var(--page) 62%, transparent) 46%, color-mix(in srgb, var(--page) 30%, transparent) 100%); }
.ch__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.ch__h { font-size: clamp(56px, min(7.4vw, 13vh), 124px); }
.ch__h span { display: inline; }
.ch__tel { display: inline-block; margin-top: clamp(18px, 2.4vw, 30px); font-weight: 300; font-size: clamp(36px, 4.2vw, 64px); letter-spacing: -.035em; line-height: 1; border-bottom: 1px solid var(--edge2); padding-bottom: 10px; transition: color .3s, border-color .3s; }
.ch__tel:hover { color: var(--ice2); border-color: var(--ice); }
.ch__st { margin-top: 18px; }
.ch__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(30px, 4vw, 52px); max-width: 560px; }
.ch__facts dt { font-size: 13px; color: var(--tx3); margin-bottom: 6px; }
.ch__facts dd { font-size: 15px; color: var(--tx2); line-height: 1.5; }
.ch__facts a { color: var(--ink); border-bottom: 1px solid var(--edge2); }
.ch__ft { font-size: 17px; color: var(--ink); }
.qt--solo { display: block; padding: 0; }
.qt textarea { width: 100%; min-height: 96px; padding: 14px 16px; border-radius: 14px; background: rgba(5, 9, 18, .5); border: 1px solid var(--edge); color: var(--ink); font: inherit; font-size: 16px; resize: vertical; transition: border-color .3s, background .3s; }
.qt textarea:focus { outline: none; border-color: var(--ice); background: rgba(5, 9, 18, .7); }
.cx { padding-top: clamp(40px, 6vw, 90px); padding-bottom: clamp(80px, 10vw, 150px); }
.cx__card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: clamp(28px, 4vw, 56px); border-radius: 30px; background: linear-gradient(160deg, rgba(175, 26, 64, .16), rgba(255, 255, 255, .02)); border: 1px solid rgba(200, 34, 77, .3); }
.cx__card p { margin-top: 10px; color: var(--tx2); font-size: 17px; }
.cx__offer { margin-top: 20px; font-size: 14.5px; color: var(--tx3); }
.cx__offer a { color: var(--tx2); border-bottom: 1px solid var(--edge2); }

/* ---------- blog ---------- */
.bh { padding-top: calc(var(--hd) + clamp(60px, 10vh, 130px)); padding-bottom: clamp(40px, 5vw, 70px); }
.bh__h { font-size: clamp(56px, min(8vw, 14vh), 132px); }
.bh__h span { display: inline; }
.bl { padding-bottom: clamp(80px, 10vw, 150px); }
.bl > .sec-h { margin-bottom: clamp(26px, 3vw, 40px); }
.bl__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.bl > .sec-h + .bl__row { margin-top: 0; }
.bc { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--glass); border: 1px solid var(--edge); transition: border-color .4s, box-shadow .5s var(--ease); }
.bc__ph { display: block; height: clamp(220px, 22vw, 320px); overflow: hidden; }
.bc__ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.bc__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 26px 28px; }
.bc__m { font-size: 13px; color: var(--tx3); }
.bc__t { font-weight: 300; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.03em; }
.bc__x { font-size: 15.5px; color: var(--tx2); max-width: 52ch; }
.bc .lnk { margin-top: 6px; }
.bc:hover { border-color: var(--edge2); box-shadow: 0 30px 70px -44px rgba(0, 0, 0, .9); }
.bc:hover .bc__ph img { transform: scale(1.09); }
.bc--big { display: grid; grid-template-columns: 1.25fr 1fr; }
.bc--big .bc__ph { height: auto; min-height: clamp(300px, 34vw, 480px); }
.bc--big .bc__body { justify-content: center; padding: clamp(28px, 4vw, 56px); }
.bc--big .bc__t { font-size: clamp(30px, 3.2vw, 48px); }

/* article */
.ar1 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(32px, 6vw, 110px); padding-top: clamp(50px, 7vw, 110px); padding-bottom: clamp(80px, 10vw, 150px); align-items: start; }
.ar1--solo { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
.prose--post { max-width: 68ch; font-size: 18px; }
.ar1__lead { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; color: var(--ink); letter-spacing: -.01em; }
.ar1__end { position: sticky; top: calc(var(--hd) + 40px); display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 28px; background: var(--glass); border: 1px solid var(--edge); }
.ar1__end .sec-h { font-size: clamp(34px, 3vw, 44px); }
.ar1__end p { color: var(--tx2); }
.ar1__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ar1__svc { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.ar1__svc .ot__it { height: 54px; font-size: 15.5px; }
.pc { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 2em 0 .4em; padding: 20px 22px; border-radius: 20px; background: var(--glass2); border: 1px solid var(--edge2); }
.pc p { color: var(--ink); margin: 0 !important; }

/* ---------- 404 ---------- */
.nf { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: var(--hd); }
.nf__in { position: relative; z-index: 2; }
.nf::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 50% at 70% 45%, rgba(156, 194, 255, calc(.12 * var(--lit, 1))) 0%, transparent 70%); pointer-events: none; }
.nf__h { font-weight: 200; font-size: clamp(54px, min(8vw, 14vh), 132px); line-height: .96; letter-spacing: -.045em; max-width: 11ch; }
.nf__h span { background: linear-gradient(100deg, var(--ink) 0%, var(--ice2) 55%, var(--ice) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-flicker] { animation: flick 2.6s steps(1) .3s both; }
@keyframes flick { 0% { opacity: .08; } 8% { opacity: .9; } 11% { opacity: .15; } 18% { opacity: 1; } 22% { opacity: .3; } 30%, 100% { opacity: 1; } }
.nf__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 15px; color: var(--tx2); }
.nf__links a { border-bottom: 1px solid var(--edge2); padding-bottom: 3px; transition: color .3s; }
.nf__links a:hover { color: var(--ink); }

/* footer town links (all pages load base.css; this file adds hover only where inner pages render) */
.ft__towns a { transition: color .3s; }
.ft__towns a:hover { color: var(--ink); }

/* ---------- laptop / short ---------- */
@media (min-width: 761px) and (max-height: 760px) {
  .vh__p, .mh__p { margin-top: 14px; }
  .vh__btns, .mh__btns { margin-top: 20px; }
  .vh__fine { display: none; }
}

/* ---------- tablets ---------- */
@media (max-width: 1020px) {
  .ig, .fq { grid-template-columns: 1fr; }
  .ic__grid, .tc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st3__list { grid-template-columns: 1fr; }
  .ch__in { grid-template-columns: 1fr; }
  .ar1 { grid-template-columns: 1fr; }
  .ar1__end { position: static; }
  .bc--big { grid-template-columns: 1fr; }
  .pg__row { grid-template-columns: 1fr 1fr; }
  .pg__row .pg__it:first-child { grid-column: 1 / -1; }
}
@media (min-width: 761px) and (max-width: 1020px) {
  .vh__copy > *, .vh--post .vh__copy > * { max-width: 52%; }
  .vh__win { clip-path: inset(calc((var(--hd) + 7vh) * var(--q)) calc(var(--gut) * var(--q)) calc(9vh * var(--q)) calc(56% * var(--q)) round calc(26px * var(--q))); }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .crumb { font-size: 12.5px; margin-bottom: 14px; }
  .crumb [aria-current] { max-width: 22ch; }
  .vh__h, .mh__h { font-size: clamp(40px, 11.6vw, 56px); }
  .vh__p, .mh__p { margin-top: 12px; font-size: 15.5px; }
  .vh__btns, .mh__btns { margin-top: 18px; gap: 10px; }
  .vh__btns .btn, .mh__btns .btn { flex: 1 1 auto; height: 52px; padding: 0 18px; font-size: 15px; }
  .vh__btns .btn--glass, .mh__btns .btn--glass { flex: 0 1 auto; }
  .vh__fine { display: none; }
  /* window sits in the top half, the words below; it opens to the full screen as you scroll */
  .vh__stick { align-items: flex-end; padding-bottom: calc(100px + env(safe-area-inset-bottom)); } /* clear the fixed phone bar */
  .vh__win { clip-path: inset(calc((var(--hd) + 10px) * var(--q)) calc(var(--gut) * var(--q)) calc(58% * var(--q)) calc(var(--gut) * var(--q)) round calc(22px * var(--q))); }
  .vh__win img { transform-origin: 50% 30%; }
  .vh__shade { background: linear-gradient(0deg, color-mix(in srgb, var(--page) 92%, transparent) 0%, color-mix(in srgb, var(--page) 60%, transparent) 46%, transparent 72%); }
  .vh__copy { padding-top: 0; }
  .vh__copy > *, .vh--post .vh__copy > * { max-width: none; }
  .vh__copy .vh__h { max-width: 11ch; }
  .vh__h--post { font-size: clamp(32px, 9vw, 44px); }
  .vh__cue { display: none; }
  .mh { align-items: flex-end; padding-bottom: calc(100px + env(safe-area-inset-bottom)); min-height: 600px; }
  .mh__shade { background: linear-gradient(0deg, color-mix(in srgb, var(--page) 94%, transparent) 0%, color-mix(in srgb, var(--page) 62%, transparent) 42%, transparent 64%), linear-gradient(180deg, color-mix(in srgb, var(--page) 55%, transparent) 0%, transparent 22%); }
  .mh .vh__cue { display: none; }
  .ah__stick { align-items: flex-end; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .ah__shade { background: linear-gradient(0deg, color-mix(in srgb, var(--page) 94%, transparent) 0%, color-mix(in srgb, var(--page) 55%, transparent) 40%, transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--page) 55%, transparent) 0%, transparent 22%); }
  .ah__copy { padding-top: 0; }
  .pin b { font-size: 14px; }
  .mt { height: 26px; font-size: 12px; padding: 0 10px 0 7px; }
  .ic__grid, .tc__grid, .lf__grid, .bl__row { grid-template-columns: 1fr; }
  .pg__row { grid-template-columns: 1fr; }
  .pg__ph { height: 240px; }
  .ig__pts li { padding: 14px 16px; font-size: 15.5px; }
  .fq__it summary { padding: 18px; font-size: 16px; }
  .fq__a { padding: 0 18px 18px; font-size: 15.5px; }
  .tf__top { flex-direction: column; align-items: flex-start; }
  .ch { padding-top: calc(var(--hd) + 28px); align-items: flex-start; }
  .ch__facts { grid-template-columns: 1fr 1fr; }
  .ch__facts > div:last-child { grid-column: 1 / -1; }
  .qt textarea { min-height: 80px; }
  .cx__card .btn { width: 100%; }
  .bc--big .bc__ph { min-height: 240px; }
  .bc__body { padding: 20px 20px 24px; }
  .prose--post { font-size: 17px; }
  .ar1__end { padding: 24px; }
  .nf__h { font-size: clamp(46px, 13vw, 64px); }
  .nf .mh__btns .btn { flex: 1 1 100%; }
  .sec-top { flex-wrap: wrap; }
}

/* ---------- reduced motion ---------- */
.rm .vh { height: 100vh; height: 100svh; }
.rm .vh__cue, .rm .mh .vh__cue { display: none; }
@media (prefers-reduced-motion: reduce) { [data-in], [data-flicker] { animation: none; } }

/* =====================================================================================
   "Find your town." — three options (2026-11-19). Aerials are graded a little toward the night palette.
   ===================================================================================== */
.tl .sec-top { margin-bottom: clamp(30px, 4vw, 56px); }
.air { filter: saturate(.78) brightness(.86) contrast(1.05); }

/* ---- A · Regions ---- */
.fa { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.fa__rg { display: grid; grid-template-columns: minmax(200px, .8fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 48px); align-items: start; padding-top: clamp(22px, 2.6vw, 34px); position: relative; }
.fa__rg::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--edge2), var(--edge) 40%, transparent); }
.fa__hd h3 { font-weight: 300; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -.03em; }
.fa__hd p { margin-top: 10px; font-size: 15px; color: var(--tx2); max-width: 26ch; }
.fa__towns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fa__towns--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fa__towns--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fa__t { position: relative; display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
.fa__ph { display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; margin-bottom: 12px; background: var(--glass); box-shadow: 0 30px 60px -38px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .05); }
.fa__towns--2 .fa__ph { aspect-ratio: 16 / 8; }
.fa__ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) brightness(.86) contrast(1.05); transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; }
.fa__t:hover .fa__ph img { transform: scale(1.1); filter: none; }
.fa__n { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.02em; padding-right: 48px; }
.fa__n em { font-style: normal; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: rgba(175, 26, 64, .25); color: #ffd3dc; letter-spacing: 0; }
.fa__f { font-size: 13.5px; color: var(--tx3); padding-right: 48px; }
.fa__go { position: absolute; right: 0; bottom: 6px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--edge2); color: var(--tx2); transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease); }
.fa__t:hover .fa__go { background: var(--ice2); color: #0a1630; border-color: var(--ice2); transform: translateX(3px); }

@media (max-width: 1020px) {
  .fa__rg { grid-template-columns: 1fr; gap: 16px; }
  .fa__towns, .fa__towns--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .fa__towns, .fa__towns--2, .fa__towns--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fa__towns--2 .fa__ph { aspect-ratio: 16 / 10; }
  .fa__ph { border-radius: 16px; margin-bottom: 8px; }
  .fa__n { font-size: 17px; padding-right: 0; }
  .fa__f { display: none; }
  .fa__go { display: none; }
}

/* town page: the town's own aerial beside the local facts */
.lf { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.lf__air { position: relative; margin: 0; min-height: 300px; border-radius: 26px; overflow: hidden; border: 1px solid var(--edge); }
.lf__air img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.85) contrast(1.05); }
.lf__air figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 10px; font-size: 13px; color: var(--ink); background: rgba(5, 10, 24, .6); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lf .lf__grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 1020px) { .lf { grid-template-columns: 1fr; } .lf__air { min-height: 0; aspect-ratio: 16 / 10; } }

/* No dots or pulses (owner rule 2026-11-19) */
.pin::before, .pin::after { display: none; }
.mt i { display: none; }
.mt { padding: 0 12px; }
.mt.dot { display: none; }
.pin { width: 34px; height: 44px; }
.pin i { display: none; }
.pin svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(156, 194, 255, .45)); }
.pin b { left: 44px; top: 40%; }

/* map labels glide to a free spot instead of hiding */
.mt { transition: opacity .5s var(--ease), transform .5s var(--ease), translate .35s var(--ease), background .3s, border-color .3s; }
@media (max-width: 1020px) { .mt { height: 24px; padding: 0 8px; font-size: 11.5px; } }
@media (max-width: 420px) { .mt { height: 21px; padding: 0 7px; font-size: 10.5px; } }


/* ---------- search content blocks ---------- */
.answ { padding-top: clamp(26px, 4vw, 54px); }
.ans { max-width: 74ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.gd { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: clamp(60px, 8vw, 110px); }
.gd__c { padding: clamp(24px, 3vw, 38px); border-radius: 26px; background: #fff; border: 1px solid var(--edge); box-shadow: 0 22px 46px -32px rgba(10, 40, 90, .42); }
.gd__h { font-weight: 300; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; margin-bottom: 18px; }
.gd__signs { display: flex; flex-direction: column; gap: 12px; }
.gd__signs li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; }
.gd__signs svg { flex: none; margin-top: 4px; color: var(--red); }
.gd__f { display: flex; flex-direction: column; gap: 14px; }
.gd__f dt { font-weight: 500; font-size: 16px; }
.gd__f dd { margin: 2px 0 0; color: var(--tx2); font-size: 15px; line-height: 1.5; }
.co { padding-bottom: clamp(60px, 8vw, 110px); }
.co__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(20px, 2.6vw, 32px); }
.co__list li { padding: 9px 14px; border-radius: 999px; background: #f4f7fc; border: 1px solid var(--edge); font-size: 14.5px; color: var(--ink); }
.ts { padding-bottom: clamp(50px, 7vw, 90px); }
.ts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(22px, 3vw, 38px); }
.ts__it { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(20px, 2.4vw, 28px); border-radius: 22px; background: #fff; border: 1px solid var(--edge); scroll-margin-top: calc(var(--hd) + 14px); }
.ts__it h3 { font-weight: 400; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.02em; line-height: 1.2; }
.ts__it p { flex: 1; color: var(--tx2); font-size: 15.5px; line-height: 1.55; }
.tr { padding-bottom: clamp(60px, 8vw, 110px); }
.tr__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tr__grid li { padding: 18px 20px; border-radius: 18px; background: #f4f7fc; }
.tr__grid h3 { font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.tr__grid p { margin-top: 3px; color: var(--tx2); font-size: 14.5px; }
.bl .bl__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1020px) { .gd, .ts__list { grid-template-columns: 1fr; } .tr__grid, .bl .bl__row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .tr__grid, .bl .bl__row { grid-template-columns: 1fr; } .ans { font-size: 17.5px; } }
