/* PlumbMatch. Tokens from brand/final/colours/brand-colours.css. Mobile first, 16px side gutter. */
@font-face { font-family: 'Golos'; src: url(/assets/fonts/golos-var-latin.woff2?v=261030110802) format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Onest'; src: url(/assets/fonts/onest-var-latin.woff2?v=261030110802) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0F2233; --aqua: #22B5D6; --aqua-deep: #0B6A85; --red: #D93A30; --red-press: #B92E25;
  --mist: #EEF4F7; --slate: #5D6670; --line: #E3E5E8; --white: #FFFFFF; --body: #24323F;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--body); font: 400 17px/1.6 'Onest', Arial, sans-serif; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: var(--aqua-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, .disp { font-family: 'Golos', Arial, sans-serif; color: var(--navy); font-weight: 800; letter-spacing: -0.015em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.9rem); }
h3 { font-size: 1.22rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.lede { font-size: 1.18rem; line-height: 1.55; max-width: 34em; }
.small { font-size: .9rem; color: var(--slate); }
.red { color: var(--red); } .aqua-deep { color: var(--aqua-deep); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 99; border-radius: 8px; }
.skip:focus { top: 8px; }
.tbc { background: #FFF3C4; color: #5A4500; border: 1px dashed #B58A00; border-radius: 4px; padding: 0 .3em; font-size: .92em; }

/* preview flag */
.flag { background: var(--navy); color: #fff; font-size: .82rem; text-align: center; padding: 7px 16px; }
.flag b { color: var(--aqua); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1.02rem/1.1 'Golos', Arial, sans-serif;
       padding: 15px 22px; border-radius: 10px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
       transition: background-color 160ms var(--ease), transform 120ms var(--ease), border-color 160ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 20px; height: 20px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-press); color: #fff; }
.btn-aqua { background: var(--aqua); color: var(--navy); }
.btn-aqua:hover { background: #1AA2C1; color: var(--navy); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--mist); color: var(--navy); }

/* header: sits above the phone bar (50) and below the open phone menu (100) */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.site-head > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo img { height: 30px; width: auto; display: block; }
.nav { display: none; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--aqua); }
.head-cta { display: none; }
.menu-btn { display: inline-flex; background: none; border: 2px solid var(--navy); border-radius: 10px; padding: 8px; color: var(--navy); cursor: pointer; }
.menu-btn .ic { width: 22px; height: 22px; }
.phone-menu { position: fixed; inset: 0; z-index: 100; background: var(--white); padding: 18px 16px; display: none; flex-direction: column; gap: 6px; }
.phone-menu.open { display: flex; }
.phone-menu .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.phone-menu a.link { font: 800 1.5rem/1.2 'Golos', Arial, sans-serif; color: var(--navy); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.phone-menu .btn { margin-top: 18px; }
@media (min-width: 980px) {
  .site-head > .wrap { height: 78px; }
  .logo img { height: 36px; }
  .nav { display: flex; gap: 26px; }
  .head-cta { display: inline-flex; padding: 12px 18px; }
  .menu-btn { display: none; }
}

/* the signature device */
.pipe { height: 48px; overflow: hidden; }
.pipe svg { display: block; width: 100%; height: 100%; }
@media (min-width: 760px) { .pipe { height: 64px; } }

/* hero */
.hero { padding: 34px 0 30px; }
.hero-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start;
              grid-template-areas: "head" "ask" "prom"; }
.hero-head { grid-area: head; } .triage { grid-area: ask; } .hero .promises { grid-area: prom; }
.hero h1 .second { display: block; color: var(--red); }
.hero .lede { margin: 16px 0 0; }
.promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.promises li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; color: var(--navy); }
.promises li::before { content: ''; flex: none; width: 10px; height: 14px; border-radius: 2px; background: var(--aqua); transform: translateY(2px); }
.triage { background: #fff; border: 2px solid var(--navy); border-radius: 18px; padding: 22px 18px; }
.triage .q { font: 800 1.35rem/1.2 'Golos', Arial, sans-serif; color: var(--navy); margin: 0 0 14px; }
.triage .urgent { width: 100%; }
.triage .or { margin: 18px 0 10px; font-weight: 700; color: var(--navy); }
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.job { display: flex; align-items: center; gap: 10px; padding: 13px 12px; border: 1.5px solid var(--line); border-radius: 12px;
       color: var(--navy); text-decoration: none; font-weight: 700; font-size: .98rem; line-height: 1.2; background: #fff;
       transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.job:hover { border-color: var(--navy); background: var(--mist); color: var(--navy); }
.job .ic { flex: none; width: 24px; height: 24px; color: var(--aqua-deep); }
.job.hot .ic { color: var(--red); }
@media (min-width: 980px) {
  .hero { padding: 64px 0 52px; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 26px 56px;
                grid-template-areas: "head ask" "prom ask"; grid-template-rows: auto 1fr; }
  .triage { padding: 30px 28px; margin-top: 8px; }
}

/* how it works: a pipe with three collars */
.how { padding: 54px 0 46px; }
.how h2 { margin-bottom: 26px; }
.steps { list-style: none; padding: 0 0 0 34px; margin: 0; position: relative; display: grid; gap: 26px; }
.steps::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 8px; background: var(--navy); border-radius: 4px; }
.steps li { position: relative; }
.steps li::before { content: ''; position: absolute; left: -36px; top: 2px; width: 24px; height: 16px; border-radius: 3px; background: var(--aqua); }
.steps li:last-child::before { background: var(--red); }
.steps .n { font: 800 .9rem/1 'Golos', Arial, sans-serif; color: var(--slate); display: block; margin-bottom: 6px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; max-width: 30em; }
@media (min-width: 900px) {
  .how { padding: 80px 0 70px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 40px 0 0; gap: 40px; }
  .steps::before { left: 0; right: 0; top: 4px; bottom: auto; width: auto; height: 8px; }
  .steps li::before { left: 0; top: -40px; width: 16px; height: 24px; }
}

/* the Victorian hot water rule */
.rule { background: var(--mist); padding: 50px 0; }
.rule-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.date { font: 900 clamp(3.4rem, 13vw, 7.6rem)/.86 'Golos', Arial, sans-serif; color: var(--red); letter-spacing: -0.04em; }
.date small { display: block; font-size: .2em; letter-spacing: 0; color: var(--navy); font-weight: 800; margin-top: 14px; }
.rule h2 { margin-bottom: 14px; }
.rule .btn { margin-top: 6px; }
@media (min-width: 900px) { .rule { padding: 84px 0; } .rule-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; } }

/* hot side and cold side */
.sides { padding: 56px 0; }
.sides h2 { margin-bottom: 8px; }
.sides > .wrap > p { max-width: 36em; }
.side-grid { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); margin-top: 26px; }
.side h3 { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; padding-bottom: 12px; border-bottom: 3px solid var(--navy); }
.side h3::before { content: ''; width: 16px; height: 24px; border-radius: 3px; background: var(--aqua); }
.side.hot h3::before { background: var(--red); }
.side ul { list-style: none; padding: 0; margin: 0; }
.side li a { display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 12px; align-items: start; padding: 16px 0;
             border-bottom: 1px solid var(--line); text-decoration: none; color: var(--body); }
.side li a:hover b { color: var(--aqua-deep); }
.side.hot li a:hover b { color: var(--red); }
.side li .ic { color: var(--aqua-deep); width: 26px; height: 26px; }
.side.hot li .ic { color: var(--red); }
.side li b { display: block; font: 700 1.08rem/1.25 'Golos', Arial, sans-serif; color: var(--navy); margin-bottom: 2px; transition: color 160ms var(--ease); }
.side li span { font-size: .96rem; color: var(--slate); }
.side li .go { width: 20px; height: 20px; color: var(--navy); margin-top: 3px; }
@media (min-width: 900px) { .sides { padding: 90px 0; } .side-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; } }

/* licence check */
.check { padding: 10px 0 60px; }
.check-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.ticks .ic { color: var(--aqua-deep); width: 24px; height: 24px; }
.reg-card { border: 1.5px solid var(--line, #D5DDE3); border-radius: 16px; padding: 20px; background: #fff; }
.reg-card h3 { margin-bottom: 6px; }
.reg-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 16px; }
.reg-card a { display: block; padding: 9px 0; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--mist); }
@media (min-width: 900px) { .reg-card { padding: 28px; } }
@media (min-width: 900px) { .check { padding: 20px 0 96px; } .check-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; } }

/* one plumber band */
.band { background: var(--navy); color: #DCE5EC; padding: 0 0 56px; }
.band .pipe { margin-bottom: 40px; }
.band h2 { color: #fff; max-width: 15em; margin-bottom: 16px; }
.band p { max-width: 36em; font-size: 1.1rem; }
.band .btn { margin-top: 10px; }
@media (min-width: 900px) { .band { padding-bottom: 90px; } .band .pipe { margin-bottom: 64px; } }

/* emergency first steps */
.first { padding: 56px 0; }
.first-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
.first-item { border-top: 3px solid var(--navy); padding-top: 16px; }
.first-item h3 { margin-bottom: 8px; }
.first-item ol { margin: 0; padding-left: 1.2em; }
.first-item li { margin-bottom: 6px; }
@media (min-width: 900px) { .first { padding: 90px 0; } .first-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }

/* FAQ */
.faq { padding: 0 0 60px; }
.faq h2 { margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 700 1.1rem/1.3 'Golos', Arial, sans-serif; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--aqua-deep); transition: transform 160ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 42em; padding-bottom: 6px; }
@media (min-width: 900px) { .faq { padding-bottom: 96px; } .faq .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }

/* for plumbers */
.trade { background: var(--aqua); color: var(--navy); padding: 46px 0; }
.trade-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.trade h2 { color: var(--navy); }
.trade p { margin: 0; font-size: 1.08rem; max-width: 34em; }
@media (min-width: 900px) { .trade { padding: 64px 0; } .trade-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; } }

/* footer */
.site-foot { background: var(--navy); color: #C9D4DD; padding: 48px 0 100px; font-size: .95rem; }
.site-foot img { height: 30px; width: auto; display: block; margin-bottom: 18px; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 30px; padding-top: 18px; font-size: .86rem; }
@media (min-width: 900px) { .site-foot { padding-bottom: 48px; } .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr)); gap: 40px; } }

/* phone bar: below the header (60) and the phone menu (100) */
.phone-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line);
             padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; }
.phone-bar .btn { padding: 13px 10px; font-size: .98rem; }
@media (min-width: 900px) { .phone-bar { display: none; } }

/* quote flow */
.quote { padding: 26px 0 60px; }
.quote-grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.quote h1 { font-size: clamp(2rem, 5.4vw, 3.2rem); margin-bottom: 8px; }
.form-card { border: 2px solid var(--navy); border-radius: 18px; padding: 20px 16px; background: #fff; }
.progress { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.progress::before { content: ''; position: absolute; left: 6px; right: 6px; top: 9px; height: 6px; background: var(--line); border-radius: 3px; }
.progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .74rem; color: var(--slate); text-align: center; }
.progress li::before { content: ''; width: 14px; height: 24px; border-radius: 3px; background: #fff; border: 2px solid var(--line); position: relative; }
.progress li.done::before { background: var(--aqua); border-color: var(--aqua); }
.progress li.now::before { background: var(--navy); border-color: var(--navy); }
.progress li.now { color: var(--navy); font-weight: 700; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step[hidden] { display: none; }
.step legend { font: 800 1.4rem/1.2 'Golos', Arial, sans-serif; color: var(--navy); padding: 0; margin-bottom: 6px; }
.step .hint { color: var(--slate); margin: 0 0 16px; }
.choices { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin-bottom: 18px; }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 12px;
               font-weight: 700; color: var(--navy); line-height: 1.2; transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.choice span .ic { width: 22px; height: 22px; color: var(--aqua-deep); flex: none; }
.choice input:checked + span { border-color: var(--navy); background: var(--mist); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; color: var(--navy); }
.field input, .field textarea { font: 400 16px/1.4 'Onest', Arial, sans-serif; padding: 13px 12px; border: 1.5px solid #B9C3CC; border-radius: 10px; color: var(--navy); width: 100%; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(34, 181, 214, .45); outline-offset: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.field .optional { font-weight: 400; color: var(--slate); }
.field .hint { font-size: .88rem; color: var(--slate); }
.ferr { display: block; color: var(--red); font-size: .88rem; font-weight: 700; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }  /* honeypot: people never see it */
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; background: var(--mist); border-radius: 12px; padding: 14px; margin: 6px 0 16px; font-size: .95rem; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; }
.consent .ferr { grid-column: 1 / -1; }
.field.captcha { margin: 0 0 16px; min-height: 78px; }
@media (max-width: 370px) { .captcha .g-recaptcha { transform: scale(.88); transform-origin: 0 0; height: 69px; } .field.captcha { min-height: 69px; } }
.notice { font-size: .86rem; color: var(--slate); margin: 0 0 16px; }
.urgent-note { background: #FDECEA; border-radius: 12px; padding: 14px; margin: 0 0 16px; color: var(--navy); }
.urgent-note[hidden] { display: none; }
.err { color: var(--red); font-weight: 700; font-size: .95rem; margin: -6px 0 14px; }
.err[hidden] { display: none; }
.nav-row { display: flex; gap: 10px; justify-content: space-between; }
.nav-row .btn { flex: 1; }
.side-card { background: var(--mist); border-radius: 18px; padding: 22px 20px; }
.side-card h2 { font-size: 1.4rem; margin-bottom: 12px; }
.side-card ol { margin: 0 0 18px; padding-left: 1.2em; }
.side-card li { margin-bottom: 8px; }
@media (min-width: 900px) {
  .quote { padding: 48px 0 96px; }
  .quote-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; }
  .form-card { padding: 30px 30px; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progress li { font-size: .8rem; }
}

/* thank you + brand */
.plain { padding: 50px 0 80px; }
.plain h1 { margin-bottom: 18px; }
.plain .lede { margin-bottom: 26px; }
.brand-sec { padding: 40px 0; border-top: 1px solid var(--line); }
.brand-sec h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin-bottom: 18px; }
.tiles { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.tile { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tile .art { height: 150px; display: grid; place-items: center; padding: 22px; }
.tile .art img { max-height: 100%; max-width: 100%; }
.tile .cap { padding: 12px 14px; font-size: .9rem; border-top: 1px solid var(--line); }
.tile .cap b { display: block; color: var(--navy); }
.swatches { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sw { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.sw i { display: block; height: 90px; }
.sw div { padding: 10px 12px; font-size: .86rem; }
.sw b { display: block; color: var(--navy); font-size: .95rem; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.src { margin: 16px 0 0; }
.side li a > div { min-width: 0; }
.plain .steps { margin-top: 8px; }
.brand-sec ol { padding-left: 1.2em; max-width: 40em; }
.brand-sec ol li { margin-bottom: 6px; }

/* the last ask, after the FAQ (a roofing CRO lesson: one more easy start before the page ends) */
.last-ask { background: var(--mist); padding: 50px 0; }
.last-ask h2 { margin-bottom: 20px; max-width: 16em; }
.last-ask .jobs { max-width: 760px; }
.last-ask .small { margin: 16px 0 0; }
@media (min-width: 760px) { .last-ask .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .last-ask { padding: 76px 0; } }

/* the specialist said back after the job pick */
.match-line { display: flex; gap: 10px; align-items: baseline; font-weight: 700; color: var(--navy); background: var(--mist); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.match-line::before { content: ''; flex: none; width: 10px; height: 14px; border-radius: 2px; background: var(--aqua); transform: translateY(2px); }
.match-line[hidden] { display: none; }
.plain .match-line { font-size: 1.1rem; max-width: 34em; }

/* ================================================================ content pages (pages.py) */
.crumbs { border-bottom: 1px solid var(--line); background: #fff; }
.crumbs ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .88rem; color: var(--slate); }
.crumbs li + li::before { content: '/'; margin: 0 8px; color: #A9B3BC; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }

.jhero { padding: 30px 0 26px; }
.jhero-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.jhero h1, .phead h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
.jhero h1 .second, .phead h1 .second { display: block; color: var(--red); }
.jhero .lede, .phead .lede { margin: 16px 0 0; }
.ask-card { background: #fff; border: 2px solid var(--navy); border-radius: 18px; padding: 20px 18px; }
.ask-card .q { font: 800 1.2rem/1.25 'Golos', Arial, sans-serif; color: var(--navy); margin: 0 0 14px; }
.ask-card .btn { width: 100%; }
.urgent-link { display: block; margin: 12px 0 4px; font-weight: 700; color: var(--red); }
.urgent-link:hover { color: var(--red-press); }
.mini-ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: .92rem; color: var(--navy); }
.mini-ticks li { display: flex; gap: 8px; align-items: center; }
.mini-ticks .ic { width: 18px; height: 18px; color: var(--aqua-deep); flex: none; }
/* photos: stock stand-ins for now, real job photos as they arrive (_build/photos.py). Never in the hero or the form. */
.ph { margin: 0; }
.ph img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 16px; background: var(--mist); }
.ph figcaption { font-size: .88rem; color: var(--slate); margin-top: 8px; }
.ph-hero img, .ph-art img, .ph-side img { aspect-ratio: 16 / 9; }
.ph-art { margin: 0 0 30px; }
.ph-band { margin-top: 24px; }
.ph-band img, .ph-strip img { aspect-ratio: 4 / 3; }
.ph-side { margin: 0 0 18px; }
.ph-faq { display: none; }
.ph-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 900px) {
  .jhero-grid { grid-template-areas: 'text ask' 'photo ask'; }
  .jhero-text { grid-area: text; }
  .jhero-grid > .ask-card { grid-area: ask; }
  .ph-hero { grid-area: photo; }
  .faq .ph-faq { display: block; margin-top: 28px; }
  .ph-faq img { aspect-ratio: 4 / 3; }
}
@media (min-width: 900px) {
  .jhero { padding: 52px 0 40px; }
  .jhero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; }
  .ask-card { padding: 26px 24px; position: sticky; top: 100px; }
}
.phead { padding: 30px 0 18px; }
@media (min-width: 900px) { .phead { padding: 52px 0 26px; } }

/* the article */
.art { max-width: 46rem; padding: 10px 0 40px; }
.art .b { margin: 0 0 34px; }
.art h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); margin: 0 0 12px; scroll-margin-top: 100px; }
.art h3 { margin: 0 0 6px; }
.art p { margin: 0 0 14px; }
.art ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.art li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.art li .ic { width: 22px; height: 22px; margin-top: 2px; }
.b-check .ic { color: var(--aqua-deep); }
.b-flags .ic { color: var(--red); }
.b-ask .ic { color: var(--navy); }
.art .steps { margin-top: 18px; }
.art .steps li { display: block; }
.b-warn { background: #FDECEA; border-radius: 14px; padding: 18px 18px 6px; }
.b-warn h2 { font-size: 1.25rem; color: var(--navy); }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--mist); color: var(--navy); font-family: 'Golos', Arial, sans-serif; }
.tbl tbody th { color: var(--navy); }
.diy-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.diy-grid > div { border-radius: 14px; padding: 16px 18px; }
.diy-you { background: var(--mist); }
.diy-pro { border: 2px solid var(--navy); }
.diy-grid ul { list-style: disc; padding-left: 1.2em; display: block; }
.diy-grid li { display: list-item; margin-bottom: 6px; }
@media (min-width: 700px) { .diy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.b-advice { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; background: var(--navy); color: #DCE5EC; border-radius: 18px; padding: 22px 20px 10px; }
.b-advice h2 { color: #fff; }
.b-advice .adv-mark { background: #fff; border-radius: 12px; width: 46px; height: 52px; display: grid; place-items: center; }
.b-advice .adv-mark img { width: 30px; height: auto; }
.b-advice a { color: var(--aqua); }
.loc-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.loc { border-top: 3px solid var(--navy); padding-top: 12px; }
.loc h3::before { content: ''; display: inline-block; width: 10px; height: 14px; border-radius: 2px; background: var(--aqua); margin-right: 8px; transform: translateY(1px); }
@media (min-width: 700px) { .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.b-tool .tool { background: var(--mist); border-radius: 14px; padding: 18px; }
.mid-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border: 2px solid var(--navy); border-radius: 16px; padding: 16px 18px; margin: -10px 0 34px; }
.mid-ask p { margin: 0; font: 700 1.08rem/1.3 'Golos', Arial, sans-serif; color: var(--navy); max-width: 26em; }

/* reading layout: article + sticky side ask and contents */
.read-grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.rail { display: grid; gap: 18px; align-content: start; padding-bottom: 30px; }
.rail-ask { background: var(--mist); border-radius: 16px; padding: 18px; }
.rail-ask p { font: 700 1.05rem/1.3 'Golos', Arial, sans-serif; color: var(--navy); margin: 0 0 12px; }
.rail-ask .btn { width: 100%; }
.toc h2 { font-size: 1rem; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .94rem; }
.toc li { margin-bottom: 6px; }
@media (min-width: 980px) {
  .read-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
  .rail { position: sticky; top: 100px; padding-top: 10px; }
}

/* related pages, child pages: designed cards, suburbs as chips (never a wall of links) */
.cards { padding: 36px 0; border-top: 1px solid var(--line); }
.cards h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); margin-bottom: 16px; }
.cards ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.cards li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 16px;
              text-decoration: none; color: var(--navy); font: 700 1.04rem/1.25 'Golos', Arial, sans-serif; transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.cards li a:hover { border-color: var(--navy); background: var(--mist); }
.cards li .ic { width: 20px; height: 20px; flex: none; color: var(--aqua-deep); }
.cards.chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.cards.chips li a { padding: 9px 12px; border-radius: 999px; font: 600 .95rem/1.2 'Onest', Arial, sans-serif; }
.cards.chips li .ic { display: none; }
@media (min-width: 700px) { .cards ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.page-faq { padding-top: 40px; border-top: 1px solid var(--line); }
.sources { padding: 26px 0 30px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--slate); }
.sources h2 { font-size: 1.05rem; margin-bottom: 8px; }
.sources ol { margin: 0; padding-left: 1.2em; }
.sources li { margin-bottom: 4px; }
.last-ask .row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.last-ask p { max-width: 38em; }

/* steps inside an article always run down a vertical pipe (any number of steps) */
.art .steps, .plain .steps { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 34px; gap: 22px; }
.art .steps::before, .plain .steps::before { left: 8px; right: auto; top: 6px; bottom: 6px; width: 8px; height: auto; }
.art .steps li::before, .plain .steps li::before { left: -36px; top: 2px; width: 24px; height: 16px; }
