/* Niche trade pages, town pages and the Other trades hub (generated from _build/). Uses the site tokens only. */

/* The concept sheet: the idea we'd build for this trade */
.np-concept { padding-top: clamp(56px, 7vw, 96px); }
.np-sheet { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; background: var(--pm-surface, var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg, 16px); padding: clamp(26px, 4.4vw, 64px); }
.np-k { margin: 0 0 18px; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--blaze-text, #B83A0A); }
.np-sheet h2 { color: var(--ink); text-wrap: balance; font-size: clamp(34px, 4.2vw, 60px); hyphens: none; }
.np-sheet .lede { margin-top: 20px; color: var(--body); max-width: 34em; }
.np-steps { list-style: none; margin: 0; padding: 0; counter-reset: np; border-top: 1px solid var(--line); }
.np-steps li { counter-increment: np; display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 4px 0; padding: clamp(18px, 2.2vw, 26px) 0; border-bottom: 1px solid var(--line); }
.np-steps li::before { content: counter(np, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--blaze-text, #B83A0A); font-variant-numeric: tabular-nums; }
.np-steps b { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.np-steps span { color: var(--body); line-height: 1.55; }
@media (max-width: 880px) { .np-sheet { grid-template-columns: 1fr; } }

/* Related trades, set as a sentence of links */
.np-related { margin-top: clamp(36px, 5vw, 56px); color: var(--body); max-width: 46em; }
.np-related a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blaze-text, #B83A0A); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* Other trades hub */
.np-group + .np-group { margin-top: clamp(48px, 6vw, 80px); }
.np-group-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.np-group-h h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; color: var(--ink); }
.np-group-h span { font-size: 15px; color: var(--muted); }
.np-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); column-gap: clamp(20px, 3vw, 44px); }
.np-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; align-items: center; padding: clamp(18px, 2vw, 24px) clamp(4px, 1vw, 12px) clamp(18px, 2vw, 24px) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: color var(--dur-hover) var(--ease-colour); }
.np-list b { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.np-list small { grid-column: 1; font-size: 15px; line-height: 1.5; color: var(--body); }
.np-list svg { grid-column: 2; grid-row: 1 / span 2; color: var(--blaze-text, #B83A0A); transition: transform var(--dur-hover) var(--ease-out); }
@media (hover: hover) { .np-list a:hover { color: var(--blaze-text, #B83A0A); } .np-list a:hover svg { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .np-list svg, .np-list a { transition: none; } }
