/* Trade × council pages (/for-trades/leads/<council>, /for-trades/<trade>/<council>) on the Site Plan.
   Data-led: a register card with the monthly series in the hero, share bars for the work and the districts,
   recent applications with the address taken off. Tokens only; the patch check, rules, price, FAQ and close
   come from trades.css / sections.css unchanged. */

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font: 13px/1.4 var(--font-mono); color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-4); }

/* ---------- Hero ---------- */
.area-hero { padding: clamp(84px, 8vw, 112px) 0 clamp(64px, 8vw, 112px); }
.area-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.area-hero-copy { display: grid; gap: 24px; align-content: start; min-width: 0; }
.area-hero .h1 { font-size: clamp(40px, 4.6vw, 68px); }
.area-hero .hero-proof { grid-template-columns: repeat(3, minmax(0, auto)); }
.area-hero .hero-proof dd { font-weight: var(--w-num); }
.area-hero .hero-proof dt { white-space: normal; max-width: 15ch; }

/* ---------- The register card: the monthly series ---------- */
.reg-card { margin: 0; background: var(--sheet); border-radius: var(--r-xl); box-shadow: var(--sh-3); padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 18px; min-width: 0;
  background-image: linear-gradient(var(--scrim) 1px, transparent 1px), linear-gradient(90deg, var(--scrim) 1px, transparent 1px); background-size: 20px 20px; }
.reg-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.reg-card-top b { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.reg-card .big { font-family: var(--font-display); font-weight: var(--w-num); font-size: clamp(56px, 6vw, 84px); line-height: .9; letter-spacing: -0.04em; }
.reg-card .big small { display: block; margin-top: 10px; font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; color: var(--ink-3); text-transform: uppercase; }
.mbars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; height: 190px; padding-top: 22px; border-bottom: 1px solid var(--rule-2); }
.mbar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.mbar i { display: block; height: var(--h); min-height: 0; border-radius: 6px 6px 2px 2px; background: var(--amber); transform-origin: bottom; transition: transform var(--dur-draw) var(--ease-out); }
.mbar.partial i { background: repeating-linear-gradient(135deg, var(--amber) 0 5px, var(--amber-soft) 5px 9px); }
.mbar b { position: absolute; left: 0; right: 0; bottom: calc(var(--h) + 6px); text-align: center; font: 600 13px/1 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.mlabels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: -8px; }
.mlabels span { text-align: center; font: 12px/1.3 var(--font-mono); color: var(--ink-3); }
.reg-card .note { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.pw-motion .reg-card:not(.in) .mbar i { transform: scaleY(.04); }

/* ---------- Share bars (work mix, districts, trades) ---------- */
.area-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hb-card { background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: clamp(20px, 2.2vw, 28px); display: grid; gap: 14px; min-width: 0; }
.hb-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.hb-card .small { color: var(--ink-3); }
.hbars { display: grid; gap: 10px; }
.hbars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; }
.hbars .k { font-size: 15px; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.hbars .k a { color: inherit; }
.hbars .k a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.hbars .n { font-weight: 600; font-variant-numeric: tabular-nums; }
.hbars .bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; }
.hbars .bar i { display: block; height: 100%; width: var(--w); background: var(--amber-deep); border-radius: 3px; }
.hbars.blue .bar i { background: var(--blue); }
.hbars .k .chip { margin-left: 8px; vertical-align: 2px; }

.insights { display: grid; gap: 14px; max-width: 46em; margin-bottom: clamp(32px, 4vw, 56px); }
.insights p { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.insights p:first-child { color: var(--ink); }

/* ---------- Recent applications ---------- */
.area-band { background: var(--paper-2); }
.ex-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ex { background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.ex-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ex-top .mono { color: var(--ink-3); font-size: 12px; }
.ex p { color: var(--ink); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.ex .ex-why { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; padding-top: 10px; border-top: 1px solid var(--rule); }
.ex .ex-why b { color: var(--ink-2); font-weight: 600; }
.ex-addr { font: 13px/1 var(--font-mono); color: var(--ink-3); letter-spacing: .06em; }
.ex-foot { margin-top: 22px; }

/* ---------- Decisions ---------- */
.dec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.dec-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); margin-top: 8px; }
.dec-stats div { padding: 18px 16px 0 0; }
.dec-stats dt { font: 500 11px/1.35 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.dec-stats dd { margin: 8px 0 0; font-family: var(--font-display); font-weight: var(--w-num); font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.03em; line-height: 1; }
.dec-src { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.timeline.static li { opacity: 1; }
.timeline.static::after { height: calc(100% - 16px); }
.timeline.static li::before { background: var(--red); box-shadow: 0 0 0 4px var(--red-wash); }

/* ---------- Pick a trade (hub) ---------- */
.trade-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Link mesh ---------- */
.mesh { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.mesh h3 { font-size: 17px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.mesh ul { display: grid; gap: 2px; }
.mesh li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; }
.mesh li a:hover { color: var(--ink); }
.mesh li a span:last-child { color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mesh-all { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.mesh-all a { color: var(--ink-2); }
.mesh-all a:hover { color: var(--ink); }

/* ---------- Niche page (/for-trades/<trade>) on the Site Plan ---------- */
.trig-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.trig-table th { text-align: left; font: 500 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 0 14px 12px 0; border-bottom: 1px solid var(--rule-2); }
.trig-table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.trig-table td:first-child { color: var(--ink); font-weight: 600; min-width: 12ch; }
.trig-table td em { font-style: normal; color: var(--ink-2); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pains li { background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 24px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.pains li b { display: block; font-family: var(--font-display); font-weight: var(--w-num); font-size: 28px; letter-spacing: -0.02em; color: var(--amber-deep); margin-bottom: 8px; line-height: 1; }
.limited { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .area-hero-grid, .area-two, .dec-grid { grid-template-columns: minmax(0, 1fr); }
  .mesh { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pains { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ex-list, .mesh { grid-template-columns: minmax(0, 1fr); }
  .area-hero .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .mbars { height: 150px; gap: 6px; }
  .mlabels { gap: 6px; }
  .mbar b { font-size: 11px; }
  .dec-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trig-table { font-size: 14px; }
}
