/* Pronix service pages. Loaded after home.css, which holds the shared tokens, header, footer, buttons and closing section. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .35s ease both px-out; }
::view-transition-new(root) { animation: .6s cubic-bezier(.2, .7, .2, 1) both px-in; }
@keyframes px-out { to { opacity: 0; } }
@keyframes px-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

.nav a[aria-current="page"] { color: var(--champ); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.head-logo img { opacity: 1; }

/* Cinematic page header */
.p-hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; padding: 140px 0 64px; }
.p-hero-img { position: absolute; inset: 0; }
.p-hero-img img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 11, .5) 0%, rgba(13, 13, 11, .2) 28%, rgba(13, 13, 11, .55) 62%, var(--onyx) 100%), linear-gradient(90deg, rgba(13, 13, 11, .88) 0%, rgba(13, 13, 11, .6) 42%, rgba(13, 13, 11, .1) 80%); }
.p-hero-in { position: relative; z-index: 1; display: grid; gap: 22px; width: 100%; }
.p-title { font-size: clamp(1.8rem, min(3.4vw, 6svh), 3.2rem); line-height: 1.15; letter-spacing: .04em; max-width: 22ch; }
.p-lead { max-width: 58ch; color: var(--stone); font-size: 1.05rem; }
.p-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.p-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 22px; }
.p-facts li { display: grid; gap: 2px; padding: 0 34px 0 0; margin-right: 34px; border-right: 1px solid var(--line); }
.p-facts li:last-child { border-right: 0; margin-right: 0; }
.p-facts strong { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--champ); letter-spacing: .03em; }
.p-facts span { font-size: .85rem; color: var(--mute); }
@media (max-width: 700px) { .p-facts li { border: 0; padding: 0 0 12px; margin: 0; width: 100%; } }

/* Sections */
.p-sec { position: relative; padding: clamp(64px, 7.5vw, 112px) 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.split-txt { display: grid; gap: 22px; align-content: start; }
.split-txt > p:not(.eyebrow) { color: var(--stone); max-width: 52ch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ticks { display: grid; gap: 0; margin-top: 6px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 12px; height: 6px; border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(-45deg); }

/* Example folder: a cream document card */
.folder { margin: 0; background: linear-gradient(180deg, #F8F4EA, #EFE7D6); color: #24231F; padding: 30px 32px 24px; box-shadow: inset 0 0 0 1px rgba(190, 154, 74, .55), inset 0 0 0 6px #F6F1E7, inset 0 0 0 7px rgba(190, 154, 74, .3), 0 30px 60px rgba(0, 0, 0, .45); transform: rotate(-1.2deg); }
@media (max-width: 700px) { .folder { transform: none; padding: 24px 22px 20px; } }
.folder figcaption { font-family: var(--display); font-size: 1.15rem; letter-spacing: .03em; padding-bottom: 14px; border-bottom: 1px solid rgba(140, 106, 42, .35); }
.folder figcaption small { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: #7A5E1C; margin-bottom: 4px; }
.folder li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid rgba(140, 106, 42, .18); font-size: .92rem; }
.folder li span { font-weight: 500; }
.folder li em { color: #5E5A50; text-align: right; }
.folder-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #7A5E1C; }

/* Packages: cream "private estimate" cards on dark green */
.p-packs { background: linear-gradient(180deg, var(--onyx) 0%, var(--green-deep) 30%, var(--green-deep) 70%, var(--onyx) 100%); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr; max-width: 560px; } }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 38px 32px 32px; background: linear-gradient(180deg, #F8F4EA, #EFE7D6); color: #24231F; box-shadow: inset 0 0 0 1px rgba(190, 154, 74, .55), inset 0 0 0 6px #F6F1E7, inset 0 0 0 7px rgba(190, 154, 74, .3), 0 24px 50px rgba(0, 0, 0, .35); transition: transform .5s var(--ease), box-shadow .5s; }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(190, 154, 74, .8), inset 0 0 0 6px #F6F1E7, inset 0 0 0 7px rgba(190, 154, 74, .5), 0 34px 70px rgba(0, 0, 0, .45); }
.card-k { font-family: var(--display); color: #7A5E1C; font-size: 1rem; }
.card h3 { color: #0D0D0B; font-size: 1.45rem; letter-spacing: .03em; line-height: 1.2; }
.card-d { font-size: .95rem; color: #4A473F; min-height: 3.1em; }
.price { display: flex; align-items: baseline; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(140, 106, 42, .35); }
.price strong { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: #0D0D0B; }
.price span { font-size: .85rem; color: #5E5A50; }
.was { font-size: .8rem; color: #6A665C; margin-top: -6px; }
.incl { display: grid; gap: 8px; padding: 14px 0 6px; border-top: 1px solid rgba(140, 106, 42, .2); font-size: .92rem; flex: 1; }
.incl li { position: relative; padding-left: 22px; }
.incl li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 9px; height: 5px; border-left: 1.5px solid #8C6A2A; border-bottom: 1.5px solid #8C6A2A; transform: rotate(-45deg); }
.btn-ink { color: var(--ivory); background: #0D0D0B; border: 1px solid #0D0D0B; margin-top: 8px; }
.btn-ink:hover { background: var(--green); border-color: var(--green); }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 26px; }
.extras small { display: block; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.extras p { color: var(--stone); font-size: .95rem; }
.extras b { color: var(--champ); font-weight: 600; }
@media (max-width: 860px) { .extras { grid-template-columns: 1fr; } }
.terms { margin-top: 22px; font-size: .82rem; color: var(--mute); }

/* Tool band (planner) */
.p-tool { background: linear-gradient(180deg, var(--onyx) 0%, var(--green) 40%, var(--green) 60%, var(--onyx) 100%); }
.field { display: grid; gap: 8px; max-width: 320px; }
.field span { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--champ); }
.field input { font: inherit; color: var(--ivory); background: rgba(7, 7, 6, .35); border: 1px solid var(--gold); padding: 14px 16px; min-height: 52px; color-scheme: dark; }
.field input:focus { outline: 2px solid var(--champ); outline-offset: 2px; }
.timeline { position: relative; display: grid; gap: 0; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(var(--gold), rgba(190, 154, 74, .2)); }
.timeline li { position: relative; display: grid; gap: 2px; padding: 14px 0; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 22px; width: 13px; height: 13px; border-radius: 50%; background: var(--onyx); border: 1px solid var(--gold); }
.timeline li.key::before { background: var(--metal); border-color: var(--champ); box-shadow: 0 0 0 6px rgba(190, 154, 74, .15); }
.timeline time { font-family: var(--display); font-size: 1.3rem; color: var(--ivory); letter-spacing: .03em; }
.timeline li.key time { color: var(--champ); }
.timeline span { font-size: .92rem; color: var(--stone); }

/* Who we work with */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.trio > div { display: grid; gap: 12px; align-content: start; padding: 34px 32px 34px 0; }
.trio > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.trio h3 { font-size: 1.3rem; letter-spacing: .03em; line-height: 1.25; }
.trio p { color: var(--stone); font-size: .96rem; }
.trio small { font-size: .78rem; letter-spacing: .08em; color: var(--gold); }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } .trio > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.trade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 24px 48px; align-items: center; margin-top: 56px; padding: 36px 40px; border: 1px solid var(--gold); background: linear-gradient(120deg, rgba(190, 154, 74, .12), rgba(190, 154, 74, 0) 60%); }
.trade h3 { font-size: 1.5rem; letter-spacing: .03em; margin-top: 8px; }
.trade ul { display: grid; gap: 6px; color: var(--stone); }
.trade li::before { content: "·"; color: var(--gold); margin-right: 10px; }
@media (max-width: 900px) { .trade { grid-template-columns: 1fr; padding: 28px; } }

/* Questions */
.p-faq .split { align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; min-height: 44px; font-family: var(--display); font-size: 1.1rem; letter-spacing: .03em; color: var(--ivory); transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg) translateY(-3px); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--champ); }
.faq details p { padding: 0 40px 24px 0; color: var(--stone); max-width: 62ch; }

.areas { margin-top: 18px; max-width: 70ch; font-size: .85rem; color: var(--mute); }

/* Motion start states (removed if scripts fail) */
.motion .p-hero-in > * { opacity: 0; }

/* ---------- Shared additions for the full set of service pages ---------- */
.note { font-size: .85rem; color: var(--mute); max-width: 60ch; }
.important { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--mute); max-width: 90ch; }
.important strong { color: var(--stone); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* On-page jump links */
.jump { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.jump-in { display: flex; gap: 6px 30px; overflow-x: auto; scrollbar-width: none; }
.jump a { flex: none; padding: 16px 0; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); transition: color .25s; }
.jump a:hover { color: var(--champ); }

/* Prices */
.price .from { font-size: .8rem; color: #5E5A50; margin-right: -2px; }
.price s { font-family: var(--display); font-size: 1.15rem; color: #7d786c; }
.card-solo { max-width: 460px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .card-solo { justify-self: start; } }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
@media (max-width: 760px) { .cards-2 { grid-template-columns: 1fr; } }
.ptable-wrap { margin-top: 40px; overflow-x: auto; }
.ptable { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.ptable caption { text-align: left; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); padding-bottom: 14px; }
.ptable th, .ptable td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ptable tbody th { font-weight: 500; color: var(--ivory); }
.ptable td { color: var(--stone); font-variant-numeric: tabular-nums; }
.ptable.vs td:last-child { color: var(--champ); }
.whole { margin-top: 26px; color: var(--stone); }
.whole strong { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--champ); margin-left: 8px; }
.bundle { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; margin-top: 28px; padding: 26px 30px; border: 1px solid var(--gold); background: linear-gradient(120deg, rgba(190, 154, 74, .12), rgba(190, 154, 74, 0) 60%); }
.bundle small { display: block; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.bundle p { color: var(--stone); }
.bundle-p { display: flex; align-items: baseline; gap: 12px; }
.bundle-p strong { font-family: var(--display); font-weight: 400; font-size: 2.4rem; color: var(--champ); line-height: 1; }
.bundle-p s, .plan-prices s { font-family: var(--display); color: var(--mute); }

/* Launch offer: switched off automatically after it ends */
.reg-only { display: none; }
.offer-ended .offer-only { display: none !important; }
.offer-ended .reg-only { display: inline; }

/* Features list */
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); margin: 6px 0 0; }
.feat > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.feat dt { font-family: var(--display); color: var(--ivory); letter-spacing: .03em; }
.feat dd { margin: 4px 0 0; font-size: .92rem; color: var(--stone); }
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; } }

/* Calculators and tools */
.calc { display: grid; gap: 22px; padding: 34px; border: 1px solid rgba(232, 214, 168, .28); background: linear-gradient(160deg, rgba(15, 59, 46, .55), rgba(7, 7, 6, .4)); }
.range { display: grid; gap: 12px; }
.range > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.range output { font-family: var(--display); font-size: 1.3rem; letter-spacing: .02em; text-transform: none; color: var(--ivory); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--gold), rgba(232, 214, 168, .3)); }
input[type="range"]::-moz-range-track { height: 1px; background: rgba(232, 214, 168, .3); }
input[type="range"]::-moz-range-progress { height: 1px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--metal); border: 1px solid var(--champ); box-shadow: 0 0 0 6px rgba(190, 154, 74, .14); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #BE9A4A; border: 1px solid var(--champ); }
input[type="range"]:focus-visible { outline: 2px solid var(--champ); outline-offset: 4px; }
.calc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.calc-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .calc-3 { grid-template-columns: 1fr; } }
.calc-row small { display: block; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.calc-row strong { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.05; color: var(--ivory); }
.calc-row em { display: block; color: var(--mute); font-size: .9rem; }
.calc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input[type="number"] { width: 100%; }
.room-out { display: grid; gap: 8px; }
.room-out .area { font-family: var(--display); font-size: 1.8rem; color: var(--ivory); }
.room-out li { display: flex; gap: 12px; align-items: baseline; font-size: .92rem; color: var(--mute); }
.room-out li b { flex: none; width: 70px; font-weight: 500; font-variant-numeric: tabular-nums; }
.room-out li.ok { color: var(--ivory); }
.room-out li.ok::before { content: ""; flex: none; width: 10px; height: 5px; border-left: 1.5px solid var(--champ); border-bottom: 1.5px solid var(--champ); transform: rotate(-45deg) translateY(-3px); }
.room-out li:not(.ok)::before { content: ""; flex: none; width: 10px; height: 1px; background: var(--dim); transform: translateY(-4px); }

/* Compliance quiz */
.quiz { display: grid; gap: 4px; }
.quiz fieldset { margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.quiz legend { float: left; max-width: 30ch; color: var(--ivory); font-size: .98rem; padding: 0; }
.quiz fieldset > label { cursor: pointer; }
.quiz fieldset > label:first-of-type { margin-left: auto; }
.quiz input { position: absolute; opacity: 0; }
.quiz input + span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(232, 214, 168, .3); font-size: .78rem; letter-spacing: .1em; color: var(--stone); transition: background .25s, color .25s, border-color .25s; }
.quiz input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--onyx); }
.quiz input:focus-visible + span { outline: 2px solid var(--champ); outline-offset: 2px; }
.quiz-out { padding-top: 20px; color: var(--stone); }
.quiz-out strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--ivory); margin-bottom: 8px; }
.quiz-out ul { display: grid; gap: 6px; margin: 10px 0 16px; }
.quiz-out li::before { content: "·"; color: var(--gold); margin-right: 10px; }

/* EPC 2030 band */
.band-2030 { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: center; padding: 44px; border: 1px solid var(--line); background: radial-gradient(ellipse 80% 120% at 100% 50%, rgba(15, 59, 46, .7), rgba(13, 13, 11, 0) 70%); }
.band-2030 > div:first-child { display: grid; gap: 16px; justify-items: start; }
.band-2030 p { color: var(--stone); max-width: 58ch; }
.count { display: flex; gap: 14px; }
.count > div { display: grid; justify-items: center; min-width: 92px; padding: 18px 10px; border: 1px solid rgba(232, 214, 168, .3); }
.count strong { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--champ); font-variant-numeric: tabular-nums; }
.count span { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
@media (max-width: 860px) { .band-2030 { grid-template-columns: 1fr; padding: 30px 24px; } .count > div { min-width: 0; flex: 1; } }

/* Inventory compare */
.cmp { display: grid; gap: 14px; }
.cmp-stage { position: relative; overflow: hidden; background: linear-gradient(180deg, #F8F4EA, #EFE7D6); box-shadow: inset 0 0 0 1px rgba(190, 154, 74, .55), 0 30px 60px rgba(0, 0, 0, .45); }
.cmp-doc { padding: 26px 28px; color: #24231F; font-size: .86rem; }
.cmp-top { position: absolute; inset: 0; background: linear-gradient(180deg, #FBF8F1, #F3ECDE); clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.cmp-h { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(140, 106, 42, .35); }
.cmp-h span { font-family: var(--display); font-size: 1.1rem; }
.cmp-h em { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: #7A5E1C; align-self: center; }
.cmp-doc table { width: 100%; border-collapse: collapse; }
.cmp-doc th { text-align: left; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #6A665C; font-weight: 500; padding: 10px 8px 8px 0; }
.cmp-doc td { padding: 9px 8px 9px 0; border-top: 1px solid rgba(140, 106, 42, .16); vertical-align: top; }
.cmp-doc td:last-child { color: #7A5E1C; white-space: nowrap; }
.cmp-doc mark { background: rgba(190, 154, 74, .28); color: inherit; padding: 0 2px; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: var(--metal); box-shadow: 0 0 0 1px rgba(13, 13, 11, .15); pointer-events: none; }
.cmp-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--metal); border: 1px solid #F8F4EA; }

/* Related links */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pair-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pair-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .pair-3, .pair-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pair, .pair-3, .pair-4 { grid-template-columns: 1fr; } }
.pair-i { position: relative; display: grid; gap: 8px; align-content: start; padding: 30px; border: 1px solid var(--line); background: rgba(7, 7, 6, .25); transition: border-color .4s, transform .5s var(--ease), background .4s; }
.pair-i:hover { border-color: var(--gold); transform: translateY(-4px); background: rgba(15, 59, 46, .35); }
.pair-i small { font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.pair-i strong { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: .02em; color: var(--ivory); }
.pair-i span { color: var(--stone); font-size: .93rem; }

/* Five sources */
.steps5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps5 li { display: grid; gap: 12px; align-content: start; padding: 30px 22px 30px 0; }
.steps5 li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps5 h3 { font-size: 1.1rem; letter-spacing: .03em; line-height: 1.3; }
.steps5 p { font-size: .92rem; color: var(--stone); }
@media (max-width: 1080px) { .steps5 { grid-template-columns: 1fr 1fr; } .steps5 li, .steps5 li + li { padding: 26px 22px 26px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .steps5 { grid-template-columns: 1fr; } }
.quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .quad { grid-template-columns: 1fr 1fr; } .quad > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 600px) { .quad { grid-template-columns: 1fr; } }
.who-head { margin-top: clamp(64px, 8vw, 110px); }

/* Example valuation report */
.report .rep-k { padding-top: 16px; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: #7A5E1C; }
.report .rep-v { font-family: var(--display); font-size: 2.6rem; line-height: 1.1; color: #0D0D0B; }
.report .rep-r { font-size: .88rem; color: #5E5A50; }
.rep-bar { position: relative; height: 8px; margin: 16px 0 18px; background: rgba(140, 106, 42, .15); }
.rep-bar i { position: absolute; left: 22%; right: 26%; top: 0; bottom: 0; background: linear-gradient(90deg, #E8D6A8, #BE9A4A, #E8D6A8); }
.rep-bar b { position: absolute; left: 47%; top: -5px; width: 3px; height: 18px; background: #0D0D0B; }
.report table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.report th { text-align: left; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #6A665C; font-weight: 500; padding: 8px 6px 8px 0; border-bottom: 1px solid rgba(140, 106, 42, .3); }
.report td { padding: 9px 6px 9px 0; border-bottom: 1px solid rgba(140, 106, 42, .16); font-variant-numeric: tabular-nums; }
.plan-prices { display: grid; gap: 0; border-top: 1px solid var(--line); }
.plan-prices li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.plan-prices strong { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--champ); }
.plan-prices li > span:last-child { flex-basis: 100%; color: var(--stone); font-size: .92rem; }

/* EPC rating chart */
.epc-chart { margin: 0; padding: 30px; background: linear-gradient(180deg, #F8F4EA, #EFE7D6); color: #24231F; box-shadow: inset 0 0 0 1px rgba(190, 154, 74, .55), inset 0 0 0 6px #F6F1E7, inset 0 0 0 7px rgba(190, 154, 74, .3), 0 30px 60px rgba(0, 0, 0, .45); }
.epc-chart figcaption { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(140, 106, 42, .35); }
.epc-chart figcaption span { font-family: var(--display); font-size: 1.15rem; }
.epc-chart figcaption em { font-size: .8rem; color: #5E5A50; align-self: center; }
.bands { display: grid; gap: 5px; }
.b { position: relative; display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 12px; color: #fff; font-size: .74rem; font-weight: 600; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.b i { font-style: normal; font-family: var(--display); font-size: 1rem; }
.b-a { width: 40%; background: #00845A; } .b-b { width: 50%; background: #19B459; color: #0d2a19; } .b-c { width: 60%; background: #8DCE46; color: #1e2a12; }
.b-d { width: 70%; background: #FFD500; color: #3a3000; } .b-e { width: 80%; background: #FCAA65; color: #3a2000; } .b-f { width: 90%; background: #EF8023; color: #2e1600; } .b-g { width: 100%; background: #E9153B; }
.bands .row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 64px; gap: 8px; align-items: center; }
.pc { display: grid; place-items: center; height: 30px; border-left: 1px solid rgba(140, 106, 42, .2); }
.pin { display: grid; place-items: center; width: 52px; height: 26px; font-size: .76rem; font-weight: 600; color: #3a3000; background: #FFD500; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); padding-left: 6px; }
.pin-p { background: #8DCE46; color: #1e2a12; }
.chart-key { display: grid; grid-template-columns: 64px 64px; justify-content: end; gap: 8px; text-align: center; padding-top: 12px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #6A665C; }

/* Flow and roadmap */
.flow { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.flow li::before { content: counter(f, upper-roman); grid-row: span 3; font-family: var(--display); color: var(--gold); }
.flow small { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.flow strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .03em; color: var(--ivory); }
.flow span { font-size: .93rem; color: var(--stone); }
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 26px; position: relative; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 42px; height: 1px; background: linear-gradient(90deg, rgba(190, 154, 74, .3), var(--gold)); }
.road li { position: relative; display: grid; gap: 8px; padding: 0 24px 0 0; }
.road small { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--champ); }
.road strong { justify-self: start; display: grid; place-items: center; min-width: 54px; height: 54px; padding: 0 12px; font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: var(--onyx); background: var(--metal); }
.road span { color: var(--stone); font-size: .93rem; max-width: 34ch; }
@media (max-width: 760px) { .road { grid-template-columns: 1fr; gap: 22px; } .road::before { display: none; } }

/* Credentials card */
.cred { display: grid; gap: 10px; padding: 36px; border: 1px solid var(--gold); background: linear-gradient(140deg, rgba(190, 154, 74, .1), rgba(190, 154, 74, 0) 60%); }
.cred-n { font-family: var(--display); font-size: 1.8rem; letter-spacing: .03em; color: var(--ivory); margin-top: 6px; }
.cred-r { color: var(--stone); }
.cred dl { display: grid; margin: 12px 0 0; border-top: 1px solid var(--line); }
.cred dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cred dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cred dd { margin: 0; color: var(--ivory); text-align: right; }

/* Areas, chips, services grid */
.areas-list { display: grid; gap: 24px; }
.areas-list small, .chips-wrap small { display: block; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.areas-list p { color: var(--stone); line-height: 1.8; }
.chips-wrap { display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips li { padding: 9px 16px; border: 1px solid rgba(232, 214, 168, .32); font-size: .88rem; color: var(--ivory); }
.chips-q li { color: var(--stone); border-color: var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.svc-grid li { display: flex; align-items: baseline; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.25rem; letter-spacing: .03em; color: var(--ivory); }
.svc-grid .num { width: 44px; flex: none; font-size: .95rem; }
@media (max-width: 700px) { .svc-grid { grid-template-columns: 1fr; } }
.trio small + h3, .trio .num + small { margin-top: -4px; }
.calc, .split > * { min-width: 0; }
.calc-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field input { min-width: 0; width: 100%; box-sizing: border-box; }
@media (max-width: 560px) { .calc { padding: 24px 20px; } .quiz legend { max-width: none; width: 100%; } .quiz fieldset > label:first-of-type { margin-left: 0; } }
.price strong span, .plan-prices strong span, .bundle-p strong span { font-size: inherit; color: inherit; }

/* Management stages and promises */
.mgmt-head { margin-top: clamp(64px, 8vw, 110px); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.stages > div { display: grid; gap: 12px; align-content: start; padding: 30px 24px 30px 0; }
.stages > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stages h3 { font-size: 1.15rem; letter-spacing: .03em; }
.stages ul { display: grid; gap: 8px; font-size: .92rem; color: var(--stone); }
.stages li { position: relative; padding-left: 18px; }
.stages li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--gold); }
@media (max-width: 1080px) { .stages { grid-template-columns: 1fr 1fr; } .stages > div:nth-child(3) { padding-left: 0; border-left: 0; } .stages > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .stages { grid-template-columns: 1fr; } .stages > div, .stages > div + div { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); } }
.promises { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); gap: 32px 48px; margin-top: 56px; padding: 40px; border: 1px solid var(--gold); background: linear-gradient(120deg, rgba(190, 154, 74, .12), rgba(190, 154, 74, 0) 60%); }
.promises h3 { font-size: 1.5rem; letter-spacing: .03em; margin-top: 8px; line-height: 1.25; }
.promises ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; }
.promises li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid rgba(232, 214, 168, .3); }
.promises strong { font-family: var(--display); font-weight: 400; font-size: 1.45rem; color: var(--champ); letter-spacing: .02em; }
.promises span { font-size: .88rem; color: var(--stone); }
@media (max-width: 980px) { .promises { grid-template-columns: 1fr; padding: 28px; } .promises ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promises ul { grid-template-columns: 1fr; } }
.feat-1 { grid-template-columns: 1fr; }

/* EPC: what we check */
.p-check { background: linear-gradient(180deg, var(--onyx), var(--green-deep) 50%, var(--onyx)); }
.check-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.house-wrap { position: sticky; top: 110px; margin: 0; padding: 26px; border: 1px solid rgba(232, 214, 168, .22); background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(15, 59, 46, .6), rgba(7, 7, 6, .2)); }
.house { width: 100%; height: auto; }
.house path, .house rect, .house circle { fill: none; stroke: rgba(232, 214, 168, .32); stroke-width: 1.4; transition: stroke .5s, fill .5s; vector-effect: non-scaling-stroke; }
.house .ground, .house .floor { stroke: rgba(232, 214, 168, .18); }
.house text { fill: rgba(232, 214, 168, .35); font: 11px var(--sans); letter-spacing: .08em; transition: fill .5s; }
.house g.on path, .house g.on rect, .house g.on circle { stroke: #E8D6A8; fill: rgba(190, 154, 74, .22); filter: drop-shadow(0 0 6px rgba(232, 214, 168, .45)); }
.house g.on .hatch { fill: none; }
.house g.on text { fill: #E8D6A8; }
.checks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 6px; width: 100%; padding: 20px 0 20px 22px; border-bottom: 1px solid var(--line); position: relative; }
.checks button::before { content: ""; position: absolute; left: 0; top: 26px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); transition: background .3s; }
.checks b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .03em; color: var(--mute); transition: color .3s; }
.checks span { font-size: .93rem; color: var(--stone); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.checks button[aria-pressed="true"] b { color: var(--ivory); }
.checks button[aria-pressed="true"] span { max-height: 8em; opacity: 1; }
.checks button[aria-pressed="true"]::before { background: var(--metal); }
.checks button:focus-visible { outline: 2px solid var(--champ); outline-offset: 2px; }
@media (max-width: 900px) { .check-grid { grid-template-columns: 1fr; } .house-wrap { position: sticky; top: 72px; z-index: 2; padding: 14px; background: rgba(10, 42, 33, .96); } .house { max-height: 30vh; } }
@media (prefers-reduced-motion: reduce) { .checks span { max-height: none; opacity: 1; } }
.link-gold { color: var(--champ); text-decoration: underline; text-underline-offset: 3px; }

/* EPC: your assessor */
.assessor { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.portrait { margin: 0; position: relative; max-width: 460px; }
.portrait img { width: 100%; height: auto; display: block; filter: saturate(.9); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.portrait::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); z-index: -1; }
.cred-list { display: grid; margin: 6px 0 0; border-top: 1px solid var(--line); }
.cred-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cred-list dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.cred-list dd { margin: 0; color: var(--ivory); }
@media (max-width: 900px) { .assessor { grid-template-columns: 1fr; } .portrait { max-width: 340px; } }

/* Legal pages */
.l-hero { position: relative; overflow: hidden; padding: 160px 0 56px; }
.l-hero .hero-glow { background: radial-gradient(ellipse 70% 90% at 30% 0%, var(--green) 0%, var(--green-deep) 40%, var(--onyx) 80%); }
.l-hero-in { position: relative; display: grid; gap: 18px; }
.l-body { padding-top: 40px; }
.l-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.l-toc { position: sticky; top: 110px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.l-toc a { padding: 7px 0 7px 16px; font-size: .82rem; color: var(--mute); transition: color .25s; }
.l-toc a:hover { color: var(--champ); }
@media (max-width: 900px) { .l-grid { grid-template-columns: 1fr; } .l-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; border: 0; } .l-toc a { padding: 6px 0; } }
.prose { max-width: 74ch; color: var(--stone); }
.prose h2 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); margin: 48px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; letter-spacing: .03em; margin: 26px 0 8px; color: var(--champ); }
.prose p { margin: 0 0 14px; }
.prose ul { display: grid; gap: 8px; margin: 0 0 16px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--gold); }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose a { color: var(--champ); text-decoration: underline; text-underline-offset: 3px; }
.l-table { overflow-x: auto; margin: 6px 0 18px; }
.l-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; }
.l-table th { text-align: left; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.l-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.l-table td:first-child { color: var(--ivory); width: 55%; }

/* Quote builder */
.q-hero { padding-bottom: 36px; }
.q-body { padding-top: 24px; }
.q-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
@media (max-width: 1000px) { .q-grid { grid-template-columns: 1fr; } }
.q-step { display: grid; gap: 18px; margin-bottom: 48px; }
.q-n { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--display); letter-spacing: 0; font-size: .7rem; color: var(--champ); }
.q-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.q-tile { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; gap: 4px; padding: 18px 40px 18px 18px; min-height: 76px; border: 1px solid var(--line); background: rgba(7, 7, 6, .3); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.q-tile:hover { border-color: var(--gold); background: rgba(15, 59, 46, .4); transform: translateY(-2px); }
.q-tile:focus-visible { outline: 2px solid var(--champ); outline-offset: 2px; }
.q-tile strong { font-family: var(--display); font-weight: 400; font-size: 1rem; letter-spacing: .02em; color: var(--ivory); }
.q-tile span { font-size: .8rem; color: var(--gold); }
.q-tile i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 1.4rem; color: var(--champ); }
.q-empty { color: var(--mute); font-size: .95rem; }
.q-items { display: grid; gap: 14px; }
.q-item { border: 1px solid rgba(232, 214, 168, .28); background: linear-gradient(160deg, rgba(15, 59, 46, .45), rgba(7, 7, 6, .35)); animation: qin .5s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateY(10px); } }
.q-item header { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.q-item h3 { font-size: 1.1rem; letter-spacing: .03em; flex: 1; }
.q-sub { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--champ); }
.q-x { all: unset; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; font-size: 1.3rem; color: var(--mute); border: 1px solid transparent; }
.q-x:hover { color: var(--ivory); border-color: var(--line); }
.q-x:focus-visible { outline: 2px solid var(--champ); }
.q-ctrl { display: grid; gap: 18px; padding: 20px; }
.q-opt { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.q-opt legend, .q-lab { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); padding: 0; margin-bottom: 8px; }
.q-seg, .q-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.q-seg label, .q-chips label { cursor: pointer; }
.q-seg input, .q-chips input, .q-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-seg span, .q-chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid rgba(232, 214, 168, .3); font-size: .86rem; color: var(--stone); transition: background .2s, color .2s, border-color .2s; }
.q-seg input:checked + span, .q-chips input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--onyx); }
.q-seg input:focus-visible + span, .q-chips input:focus-visible + span, .q-check input:focus-visible + span { outline: 2px solid var(--champ); outline-offset: 2px; }
.q-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 18px; }
.q-check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; font-size: .92rem; color: var(--stone); }
.q-check span { position: relative; padding-left: 32px; }
.q-check span::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1px solid rgba(232, 214, 168, .45); transition: background .2s, border-color .2s; }
.q-check span::after { content: ""; position: absolute; left: 6px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 1.5px solid var(--onyx); border-bottom: 1.5px solid var(--onyx); transform: rotate(-45deg) scale(0); transition: transform .2s; }
.q-check input:checked + span { color: var(--ivory); }
.q-check input:checked + span::before { background: var(--gold); border-color: var(--gold); }
.q-check input:checked + span::after { transform: rotate(-45deg) scale(1); }
.q-check em { margin-left: auto; color: var(--gold); font-size: .82rem; }
.q-step-n { display: inline-flex; align-items: stretch; border: 1px solid rgba(232, 214, 168, .35); width: max-content; }
.q-step-n button { all: unset; cursor: pointer; width: 44px; display: grid; place-items: center; font-size: 1.2rem; color: var(--champ); }
.q-step-n button:hover { background: rgba(190, 154, 74, .15); }
.q-step-n button:focus-visible { outline: 2px solid var(--champ); }
.q-step-n input { width: 110px; min-height: 44px; text-align: center; font: inherit; color: var(--ivory); background: transparent; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); -moz-appearance: textfield; }
.q-step-n input::-webkit-outer-spin-button, .q-step-n input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.q-note { font-size: .85rem; color: var(--mute); }
.q-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q-wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .q-fields { grid-template-columns: 1fr; } }
.q-f { display: grid; gap: 8px; }
.q-f span { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--champ); }
.q-f em { letter-spacing: .05em; text-transform: none; color: var(--mute); font-style: normal; }
.q-f input, .q-f textarea { font: inherit; font-size: 1rem; color: var(--ivory); background: rgba(7, 7, 6, .35); border: 1px solid rgba(232, 214, 168, .3); padding: 13px 14px; min-height: 50px; width: 100%; box-sizing: border-box; transition: border-color .2s; }
.q-f input:focus, .q-f textarea:focus { outline: none; border-color: var(--champ); box-shadow: 0 0 0 1px var(--champ); }
.q-f input::placeholder, .q-f textarea::placeholder { color: #7d786c; }
.q-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--stone); cursor: pointer; }
.q-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: #BE9A4A; flex: none; }
.q-consent a { color: var(--champ); text-decoration: underline; text-underline-offset: 3px; }
.q-err { color: #F2B8A8; border-left: 2px solid #E07A5F; padding: 8px 12px; background: rgba(224, 122, 95, .08); }
.q-send { justify-self: start; min-width: 260px; }
.q-send[disabled] { opacity: .6; cursor: wait; }
.q-sum { position: sticky; top: 104px; display: grid; gap: 14px; padding: 28px; border: 1px solid var(--gold); background: linear-gradient(170deg, var(--green) 0%, var(--green-deep) 60%, #081f19 100%); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.q-lines { display: grid; gap: 0; max-height: 46vh; overflow: auto; }
.q-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(232, 214, 168, .2); font-size: .92rem; color: var(--ivory); }
.q-lines small { display: block; color: var(--stone); font-size: .78rem; margin-top: 2px; }
.q-lines b { font-weight: 500; color: var(--champ); white-space: nowrap; }
.q-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.q-total span { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--champ); }
.q-total strong { font-family: var(--display); font-weight: 400; font-size: 2.4rem; color: var(--ivory); }
.q-total strong.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); color: var(--champ); } }
.q-go { justify-content: center; }
@media (max-width: 1000px) { .q-sum { position: sticky; bottom: 0; top: auto; z-index: 5; padding: 16px 20px; gap: 8px; } .q-sum .eyebrow, .q-lines, .q-sum .note { display: none; } .q-total strong { font-size: 1.8rem; } }
.q-done { display: grid; gap: 18px; padding: 36px; border: 1px solid var(--gold); background: linear-gradient(140deg, rgba(190, 154, 74, .12), rgba(190, 154, 74, 0) 60%); }
.q-done:focus { outline: none; }
.q-done h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.q-done p { color: var(--stone); }
.q-ref strong { font-family: var(--display); color: var(--champ); letter-spacing: .06em; }
.l-grid > *, .q-grid > * { min-width: 0; }

.l-box{border:1px solid var(--line, rgba(190,154,74,.35));padding:18px 20px;margin:14px 0 18px;font-size:.95em}
.l-box p{margin:0 0 8px}

/* Quote: postcode travel check and parking note */
.q-travel { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid rgba(232, 214, 168, .28); background: rgba(15, 59, 46, .22); }
.q-travel .q-lab { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--champ); }
.q-travel input { font: inherit; font-size: 1rem; color: var(--ivory); background: rgba(7, 7, 6, .35); border: 1px solid rgba(232, 214, 168, .3); padding: 12px 14px; min-height: 48px; max-width: 260px; text-transform: uppercase; }
.q-travel input:focus { outline: none; border-color: var(--champ); box-shadow: 0 0 0 1px var(--champ); }
.q-pc { font-size: .9rem; color: var(--mute); margin: 0; }
.q-pc.ok { color: #B9D8C4; }
.q-pc.warn { color: #E8C99A; }
.q-park { margin-top: 6px; }

/* 404 */
.nf-hero { min-height: 78svh; display: flex; align-items: center; }
.nf-links { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 24px; max-width: 620px; }
.nf-links a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid rgba(232, 214, 168, .18); color: var(--ivory); text-decoration: none; }
.nf-links a:hover { color: var(--champ); }

/* ======================================================================
   Phones: use the whole screen. Related items sit side by side, groups of
   cards slide sideways, text stays at a comfortable reading size, and
   everything that can be tapped is at least about 44px tall.
   ====================================================================== */
@media (max-width: 640px) {
  .p-sec { padding: 44px 0; }
  .p-hero { min-height: 0; padding: 112px 0 30px; }
  .p-hero-in { gap: 16px; }
  .l-hero { padding: 116px 0 32px; }
  .note { font-size: .86rem; }

  /* Hero facts: three across */
  .p-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 16px; margin-top: 8px; }
  .p-facts li, .p-facts li:last-child { width: auto; border: 0; margin: 0; padding: 0; }
  .p-facts strong { font-size: .98rem; line-height: 1.2; }
  .p-facts span { font-size: .78rem; line-height: 1.35; }

  /* Swipe rows: packages, steps, stages and trios slide sideways with the next one peeking in */
  .cards, .cards-2, .steps5, .stages, .trio, .flow-swipe {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; max-width: none;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gl)) calc(-1 * var(--gr)); padding: 4px var(--gr) 14px var(--gl); scroll-padding-inline: var(--gl);
  }
  .cards::-webkit-scrollbar, .cards-2::-webkit-scrollbar, .steps5::-webkit-scrollbar, .stages::-webkit-scrollbar, .trio::-webkit-scrollbar { display: none; }
  .cards > *, .cards-2 > *, .steps5 > *, .stages > *, .trio > * { scroll-snap-align: start; }
  .card { padding: 26px 22px 22px; gap: 10px; }
  .card-d { min-height: 0; }
  .steps5 { grid-auto-columns: 72%; border-top: 0; }
  .steps5 li, .steps5 li + li, .stages > div, .stages > div + div, .trio > div, .trio > div + div {
    padding: 20px 18px; border: 1px solid var(--line); background: rgba(7, 7, 6, .22);
  }
  .stages, .trio { border-top: 0; }
  .swipe-hint { display: flex; }

  /* Short lists: two columns */
  .ticks { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .ticks li { padding: 11px 0 11px 22px; font-size: .9rem; line-height: 1.4; }
  .ticks li::before { left: 0; top: 18px; width: 10px; height: 5px; }
  .extras { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; padding-top: 18px; }
  .extras small { font-size: .7rem; letter-spacing: .14em; }
  .extras p { font-size: .88rem; line-height: 1.4; }
  .promises { padding: 22px 18px; margin-top: 32px; gap: 16px; }
  .promises ul { grid-template-columns: 1fr 1fr; gap: 14px; }
  .promises strong { font-size: 1.2rem; }
  .feat { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .feat > div { padding: 12px 0; }
  .feat dd { font-size: .86rem; }
  .pair, .pair-3, .pair-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pair-i { padding: 18px 16px; }
  .pair-i small { font-size: .7rem; letter-spacing: .16em; }
  .pair-i strong { font-size: 1.15rem; }
  .pair-i span { font-size: .86rem; }
  .road { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .road strong { min-width: 44px; height: 44px; font-size: 1.1rem; }
  .road small { font-size: .7rem; letter-spacing: .12em; }
  .road span { font-size: .84rem; }
  .flow li { padding: 14px 0; grid-template-columns: 30px 1fr; }
  .flow small { font-size: .7rem; letter-spacing: .16em; }
  .timeline li { padding: 10px 0; }

  /* EPC: what we check, items two across under the drawing */
  .checks { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .checks button { padding: 14px 0 14px 18px; min-height: 48px; }
  .checks button::before { top: 20px; }
  .checks b { font-size: .98rem; }
  .checks span { font-size: .86rem; }

  /* Assessor: smaller portrait */
  .assessor { gap: 24px; }
  .portrait { max-width: 200px; }

  /* Tables, questions and labels */
  .ptable-wrap { margin-top: 24px; }
  .ptable { font-size: .9rem; min-width: 0; }
  .ptable th, .ptable td { padding: 11px 10px 11px 0; }
  .ptable caption, .ptable thead th { font-size: .72rem; letter-spacing: .12em; }
  .faq summary { padding: 15px 0; font-size: 1.02rem; }
  .faq details p { padding-right: 0; }
  .quiz input + span { min-height: 44px; }
  .q-consent a { padding: 6px 0; }
  .q-consent input { width: 24px; height: 24px; }
  .calc { padding: 22px 18px; }
}
/* A small "swipe" cue under sideways rows (hidden on larger screens) */
.swipe-hint { display: none; align-items: center; gap: 10px; margin-top: 2px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.swipe-hint::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
@media (max-width: 640px) {
  .q-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
  .q-seg span { width: 100%; min-height: 46px; padding: 6px 8px; justify-content: center; text-align: center; line-height: 1.25; }
}
@media (max-width: 1000px) { html:has(.q-sum) { scroll-padding-bottom: 170px; } }
/* Phones: nothing a visitor needs to read below 12px */
@media (max-width: 640px) {
  .l-toc a { display: inline-flex; align-items: center; min-height: 44px; }
  input[type="range"] { min-height: 44px; }
}
@media (max-width: 640px) { .jump a { font-size: 12px; letter-spacing: .16em; padding: 14px 0; } .jump-in { gap: 6px 22px; } }
@media (max-width: 640px) {
  /* EPC "how it works": three steps slide sideways */
  .flow { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; border-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gl)) calc(-1 * var(--gr)); padding: 4px var(--gr) 14px var(--gl); scroll-padding-inline: var(--gl); }
  .flow::-webkit-scrollbar { display: none; }
  .flow li { scroll-snap-align: start; border: 1px solid var(--line); padding: 18px 16px; background: rgba(7, 7, 6, .22); }
  .epc-chart { padding: 20px; max-width: 330px; }
  .quiz fieldset { padding: 10px 0; }
}
