/* The market (city) pages in the denim look: build_market_pages.render through
   site_denim.city_page. Loaded after denim.css, which carries the tokens, the type, the
   header, the buttons, the closing band and the footer. Signed off as the Lawton draft,
   2026-11-27. */
.lsmall{font-size:18px;line-height:1.4;font-weight:500;color:var(--denim);max-width:none}
.g-denim .lsmall{color:var(--white)}
.lhead{max-width:820px}
.lhead .t-h2{color:var(--denim);margin-top:8px}
.lhead .lead{margin-top:16px}
.lhead .lead + .lead{margin-top:10px}
.lrule{display:block;width:120px;height:12px;margin:0 0 14px -2px;overflow:visible}

/* the marker art: orange marker, crayon, white screens on light grounds (the live colors) */
.lart .mk{fill:none;stroke:var(--mk,#D2542A);stroke-linecap:round;stroke-linejoin:round}
.lart .cr{fill:var(--cr,#E7A892)}
.lart .cr-lt{fill:var(--cr-lt,#EDC1B1)}
.lart .cr-dk{fill:var(--cr-dk,#E18E72)}
.lart .wh{fill:var(--wh,#FFFFFF)}
.lart .dot{fill:var(--dot,#D2542A)}
/* on denim: paper chalk; crayon and screens take the denim, so bodies still hide what is behind them */
.lart-denim{--mk:#F2ECE0;--dot:#F2ECE0;--cr:#2D4C7C;--cr-lt:#2D4C7C;--cr-dk:#2D4C7C;--wh:#2D4C7C}

/* breadcrumb, inside the title band */
.lcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;font-size:16px;line-height:1.5;margin:-24px 0 28px}
.lcrumbs a{color:var(--white);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:40px}
.lcrumbs a:hover{text-decoration-thickness:2px}
.lcrumbs .sl{opacity:.7}
.lcrumbs [aria-current]{font-weight:500}

/* the title band */
.lhero{padding:56px 0 64px}
.lh-grid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);column-gap:56px;grid-template-areas:"head art" "acts acts" "status fine";align-items:start}
.lh-head{grid-area:head}
.lh-head .t-h1{margin-top:8px;font-size:52px}
.lh-head .lead{margin-top:16px;max-width:34em}
.lh-art{grid-area:art;align-self:center}
.lh-acts{grid-area:acts;display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.lh-acts .button{padding:0 26px}
.lh-status{grid-area:status;margin-top:40px}
.lh-fine{grid-area:fine;margin-top:40px}
.lh-status p,.lh-fine p{max-width:44ch}
.lh-sb{font-weight:700;font-size:20px;line-height:1.4}
.lh-sb + p{margin-top:6px}
.lh-fine p{font-size:16px;line-height:1.6}

.scene-box{position:relative;width:100%;padding-bottom:52px}
.scene-box .heroart{display:block;width:100%;height:auto;margin:0}
.lscene-clip .heroart{overflow:hidden}
.sc-pause{position:absolute;right:0;bottom:0;z-index:2;width:44px;height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:var(--white);color:var(--denim);cursor:pointer}
.lart-paper .sc-pause{background:var(--white)}
.sc-pause svg{width:16px;height:16px;display:block}
.sc-pause .ic-play,.sc-pause[aria-pressed="true"] .ic-pause{display:none}
.sc-pause[aria-pressed="true"] .ic-play{display:block}
.scene-box.sc-paused *{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){.scene-box *{animation:none!important}.sc-pause{display:none}}

/* variant B: words on denim, the town on paper right under it */
.lhero-b .lh-grid{grid-template-areas:"head acts";grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:end}
.lhero-b .lh-acts{flex-direction:column;align-items:stretch;margin-top:0}
.lscene-sec{padding:var(--compact) 0}
.lscene-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:56px;align-items:center}
.lscene-grid .lh-art{grid-area:auto;align-self:center}
.lscene-side .lh-status,.lscene-side .lh-fine{margin-top:0}
.lscene-side .lh-fine{margin-top:20px;padding-top:20px;border-top:1px solid var(--line-paper)}
.lscene-side .lh-sb{color:var(--denim)}
.lscene-sec .scene-box{padding-bottom:52px}
.lscene-sec .sc-pause{left:0;right:auto;bottom:0;width:40px;height:40px;box-shadow:0 0 0 1px var(--line-paper)}

/* what we help with: eight soft tiles, drawing beside the words */
.lhelp .lhead{margin-bottom:48px}
.lcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:20px}
.lcard{display:grid;grid-template-columns:104px minmax(0,1fr);column-gap:28px;align-items:start;background:var(--paper);border-radius:24px;padding:32px 36px}
.lcard .dw{display:block;width:104px;height:76px;margin-top:4px}
.lcard .helpart{display:block;width:104px;height:76px}
.lcard .t-h3{color:var(--denim);font-size:23px}
.lcard .t-h3 a{color:var(--denim);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.lcard .t-h3 a:hover{text-decoration-thickness:2px}
.lcard p{margin-top:8px;font-size:18px}

/* around here and the 55+ block: two white tiles on paper */
.ltiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ltile{background:var(--white);border-radius:24px;padding:40px}
.lt-art{display:block;height:132px;margin-bottom:24px}
.lt-art svg{display:block;height:132px;width:auto;max-width:100%}
.lt-h{margin-top:8px;font-size:30px;line-height:1.2;font-weight:500;letter-spacing:-.01em;color:var(--denim);text-wrap:balance}
.lt-body{margin-top:16px}
.lt-body p + p{margin-top:12px}

/* towns and rates: soft rows, no rules; cards on phones */
.larea .lhead{margin-bottom:40px}
.ltable{outline-offset:4px}
.ltable table{width:100%;border-collapse:separate;border-spacing:0 12px;margin:-12px 0}
.ltable thead th{font-size:16px;line-height:1.5;font-weight:500;color:var(--denim);text-align:left;padding:0 28px 0}
.ltable thead th:last-child{text-align:right;white-space:nowrap}
.ltable tbody th,.ltable tbody td{background:var(--paper);padding:24px 28px;vertical-align:top;text-align:left}
.ltable tbody th{border-radius:20px 0 0 20px;font-weight:500;color:var(--denim);font-size:20px;line-height:1.4;width:220px;white-space:nowrap}
.ltable tbody td.rate{border-radius:0 20px 20px 0;text-align:right;white-space:nowrap;font-size:28px;line-height:1.2;font-weight:500;color:var(--denim);width:160px}
.ltable td.towns{font-size:18px;line-height:1.6}
.lqs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:32px}
.lq{background:var(--paper);border-radius:24px;padding:28px 32px}
.lq-h{font-size:21px;line-height:1.35;font-weight:500;color:var(--denim)}
.lq-h + p{margin-top:8px}
.lsib{margin-top:20px;background:var(--paper);border-radius:24px;padding:24px 32px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.lsib-h{font-weight:500;color:var(--denim);max-width:none}
.lpills{display:flex;flex-wrap:wrap;gap:10px}
.lpills a{display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border-radius:999px;background:var(--white);color:var(--denim);font-weight:500;text-decoration:none}
.lpills a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}

/* buying this for a parent: the one denim band in the body */
.lgift-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:56px;align-items:start}
.lgift .t-h2{color:var(--white);margin-top:8px}
.lg-body p{font-size:var(--t-lead);line-height:1.55;max-width:40ch}
.lg-body p + p{margin-top:14px}
.lg-body .hl{font-weight:700}
.lg-body .button{margin-top:28px}

/* questions: the questions page's cards, every answer open */
.lfaq .lrule{margin-bottom:14px}
.lfaq .fg-head{display:block}
.lfaq .fg-h{margin-top:8px}

/* become a Local Nerd: one white tile on paper */
.ljoin{padding:var(--compact) 0}
.lj-tile{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:56px;background:var(--white);border-radius:24px;padding:44px 48px;align-items:start}
.lj-body p{max-width:46ch}
.lj-body a{font-weight:500}


@media (max-width:1140px){
  .lh-head .t-h1{font-size:44px}
  .lh-grid{column-gap:40px}
  .lcards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .lcard{grid-template-columns:minmax(0,1fr);padding:28px 32px}
  .lcard .t-h3{margin-top:16px}
  .ltile{padding:32px}
  .lt-h{font-size:26px}
  .lj-tile{padding:36px 40px;column-gap:40px}
  .lgift-grid,.lscene-grid{column-gap:40px}
  .ltable tbody th{width:180px;font-size:19px}
  .ltable tbody td.rate{width:130px;font-size:24px}
}
@media (max-width:900px){
  .lh-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "art" "acts" "status" "fine"}
  .lh-art{margin-top:32px}
  .lh-status{margin-top:36px}
  .lh-fine{margin-top:20px}
  .lhero-b .lh-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "acts"}
  .lhero-b .lh-acts{flex-direction:row;margin-top:32px}
  .lscene-grid{grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:32px}
  .ltiles{grid-template-columns:minmax(0,1fr);gap:16px}
  .lt-art{height:120px}
  .lt-art svg{height:120px}
  .lgift-grid{grid-template-columns:minmax(0,1fr)}
  .lg-body{margin-top:20px}
  .lj-tile{grid-template-columns:minmax(0,1fr)}
  .lj-body{margin-top:16px}
  .lqs{grid-template-columns:minmax(0,1fr);gap:16px}
}
@media (max-width:760px){
  .ltable thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .ltable table,.ltable tbody{display:block;margin:0}
  .ltable tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:baseline;background:var(--paper);border-radius:20px;padding:22px 24px}
  .ltable tbody tr + tr{margin-top:12px}
  .ltable tbody th,.ltable tbody td{background:none;padding:0;border-radius:0;width:auto}
  .ltable tbody th{white-space:normal;grid-row:1;grid-column:1}
  .ltable tbody td.rate{width:auto}
  .ltable tbody td.rate{grid-row:1;grid-column:2}
  .ltable tbody td.towns{grid-row:2;grid-column:1 / -1;margin-top:10px}
}
@media (max-width:640px){
  .lhero{padding:40px 0 48px}
  .lcrumbs{margin:-16px 0 20px}
  .lh-head .t-h1{font-size:36px}
  .lh-acts{flex-direction:column;align-items:stretch}
  .lhero-b .lh-acts{flex-direction:column}
  .lscene-sec{padding:28px 0 32px}
  .lscene-grid{grid-template-columns:minmax(0,1fr)}
  .lscene-grid .lh-art{max-width:300px}
  .lscene-side{margin-top:20px}
  .lh-sb{font-size:19px}
  .lcards{grid-template-columns:minmax(0,1fr);gap:16px}
  .lcard{padding:24px;border-radius:20px}
  .lcard .dw,.lcard .helpart{width:88px;height:64px}
  .lcard .t-h3{font-size:21px;margin-top:12px}
  .lhelp .lhead,.larea .lhead{margin-bottom:28px}
  .ltile{padding:28px 24px;border-radius:20px}
  .lt-art,.lt-art svg{height:104px}
  .lt-h{font-size:24px}
  .lq{padding:24px;border-radius:20px}
  .lsib{padding:24px;border-radius:20px}
  .lj-tile{padding:28px 24px;border-radius:20px}
  .lg-body .button{width:100%}
  .ltable tbody td.rate{font-size:22px}
  .ltable tbody th{font-size:18px}
}

/* a market with no town scene yet: the porch (or the laptop and phone) in chalk */
.lh-plain svg{display:block;width:100%;max-width:440px;height:auto;margin:0 auto}
.lscene-sec .lh-plain svg{margin:0}
/* a town a neighboring Local Nerd drives to, and a row that is remote only */
.ltable .via{display:block;font-size:16px;line-height:1.4;font-weight:400;color:var(--navy);white-space:normal}
.ltable tbody td.rate.rw{font-size:22px}
.ltable td.towns a{color:var(--denim);font-weight:500}
@media (max-width:640px){.ltable tbody td.rate.rw{font-size:20px}}

/* the town (suburb) pages: build_suburb_pages.render through site_denim.town_page */
.lcards-slim{grid-auto-rows:auto}
.lcard-slim{align-items:center;padding:24px 32px}
.lcard-slim .t-h3{margin-top:0}
.lqs-one{grid-template-columns:minmax(0,1fr)}
.lnear .parent-link{margin-top:16px;font-size:20px;font-weight:500}
.lnear .parent-link a{color:var(--denim)}
.lnear-body .lsib-h{font-size:20px;line-height:1.4;font-weight:500;color:var(--denim);margin-bottom:14px}
.lnear .lpills a{background:var(--paper)}
@media (max-width:1140px){
  .lcard-slim{grid-template-columns:104px minmax(0,1fr);padding:22px 28px}
  .lcard-slim .t-h3{margin-top:0}
}
@media (max-width:640px){
  .lcard-slim{grid-template-columns:88px minmax(0,1fr);column-gap:20px;padding:18px 20px}
  .lcard-slim .t-h3{margin-top:0}
}

/* ===== phones: the town scene and the tile drawings fill their column; the hero fits the first
   screen (the bar's pill and the dock carry the phone number, so the hero's own call button rests) */
@media (max-width:640px){
  .lhero{padding:24px 0 32px}
  .lcrumbs{margin:-8px 0 14px}
  .lh-head .lead{margin-top:12px}
  .lhero-b .lh-acts{margin-top:24px}
  .lhero .lh-acts a[data-nav="market-call"]{display:none}
  .lscene-grid .lh-art{max-width:none}
  .lt-art,.lt-art svg{height:auto}
  .lt-art svg{width:100%}
  .lcard .dw,.lcard .helpart{margin-left:auto;margin-right:auto}
}
