/* Plugging Index. Design language: paper background, ink and steel type, 1px rules,
   4-8px radii, almost no elevation). Colour: petroleum teal is the accent and marks high confidence, a muted blue-grey
   marks moderate confidence, and the state map uses a warm sequential scale. See reports/design_notes.md. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/a/fonts/bricolage-grotesque-700.4c373ce3c1.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/a/fonts/bricolage-grotesque-800.3e1b5f0a56.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/a/fonts/dm-sans-400.4ab51eb2cd.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/a/fonts/dm-sans-500.19bf198495.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/a/fonts/dm-sans-700.35c5efa0e5.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/a/fonts/ibm-plex-mono-400.08949f728d.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/a/fonts/ibm-plex-mono-500.01d2854474.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* paper, ink and steel */
  --bg: #FBF3E4; --surface: #FFFFFF; --surface-2: #F5EBD6; --surface-3: #CDBFA5; --line: #EADFCB; --line-soft: #F1E8D6;
  --graphite: #0B1F24; --graphite-2: #12303A; --ink: #0B1F24; --ink-2: #454A52; --ink-3: #5B5F66; --gold: #F2A93B;
  /* petroleum teal: links, buttons, chart marks, grade badges */
  --accent: #0B5563; --accent-600: #094651; --accent-700: #073A44; --accent-soft: #6FA7B1; --accent-wash: #E1EEF0;
  --accent-line: #A9C9CF; --accent-ring: rgba(11, 85, 99, .30); --on-accent: #FFFFFF; --accent-on-dark: #8FD3CE;
  --warn: #8A4F00; --warn-wash: #FBF1DF; --warn-line: #E3BE7A; --neg: #A8331F; --ok: #1F6B4A;
  /* muted blue-grey: moderate confidence (badges, chart marks); amber: third stat card */
  --mod: #4F6D82; --mod-700: #34505F; --mod-wash: #E9EFF3; --mod-line: #B9C9D4; --amber: #A8630A;
  --map-none: #F4F4F0; --map-thin: #DDDDD6;
  --radius: 8px; --radius-sm: 5px; --radius-xs: 3px; --maxw: 1180px; --gut: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(17, 24, 32, .05);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Bricolage Grotesque", "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--accent); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-700); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* header */
header.site { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.12rem/1 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo:hover { color: var(--ink); }
nav.main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-left: auto; font-size: .875rem; }
nav.main a { color: var(--ink-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; font-weight: 500; }
nav.main a:hover { color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
nav.main a.btn { color: var(--on-accent); padding: .5rem .9rem; border: 0; font-weight: 600; white-space: nowrap; }
.preview-banner { background: var(--warn-wash); color: var(--warn); font-size: .8rem; padding: 6px 0; border-bottom: 1px solid var(--warn-line); }

/* type */
main { padding: 0 0 4rem; }
main > .wrap { padding-top: 2.4rem; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(1.85rem, 1.35rem + 1.7vw, 2.6rem); letter-spacing: -.024em; font-weight: 720; margin-bottom: .6rem; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); letter-spacing: -.02em; font-weight: 700; margin: 3rem 0 .8rem; }
h3 { font-size: 1.06rem; font-weight: 650; margin: 1.6rem 0 .4rem; }
main h4 { font: 650 .95rem/1.3 var(--sans); color: var(--ink); margin: 1.3rem 0 .35rem; }
[id] { scroll-margin-top: 84px; }
.toc { font-size: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem .9rem; max-width: none; }
p { margin: 0 0 .8rem; max-width: 72ch; overflow-wrap: break-word; }
main p a, main li a { overflow-wrap: anywhere; }
ul { max-width: 76ch; padding-left: 1.2rem; }
li { margin-bottom: .35rem; }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 66ch; }
.meta { font-size: .82rem; color: var(--ink-3); }
.eyebrow { font-size: .74rem; font-weight: 670; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .5rem; }
.eyebrow::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 8px; }

/* cards, grids, stats */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.35rem; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
.grid.k3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid.k2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.stat .label { font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.stat .value { font: 500 1.75rem/1.2 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); margin: 6px 0 4px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.stat .sub { font-size: .82rem; color: var(--ink-3); }

/* confidence: plain name with a small A/B badge. A (high) solid accent, B (moderate) muted blue-grey, insufficient neutral */
.conf { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; white-space: nowrap; color: var(--accent-700); }
.conf.B { color: var(--mod-700); }
abbr.def { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.grade { display: inline-block; min-width: 24px; text-align: center; font: 700 .72rem/20px var(--sans); letter-spacing: .04em; border-radius: var(--radius-xs); padding: 0 6px; vertical-align: 1px; border: 1px solid transparent; }
.grade.A { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.grade.B { background: var(--mod-wash); color: var(--mod-700); border-color: var(--mod-line); }
.insufficient { display: inline-block; font: 600 .72rem/20px var(--sans); color: var(--ink-3); background: var(--surface-2); border: 1px solid var(--surface-3); border-radius: var(--radius-xs); padding: 0 7px; white-space: nowrap; }

/* tables */
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .875rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); font-weight: 650; white-space: nowrap; background: var(--surface-2); border-bottom: 1px solid var(--line); }
td.num, th.num { text-align: right; white-space: nowrap; }
td.num { font-family: var(--mono); font-size: .84rem; color: var(--ink); }
tbody tr:hover { background: var(--accent-wash); }
td a { font-weight: 550; }

.note { background: var(--warn-wash); color: var(--warn); border: 1px solid var(--warn-line); border-left-width: 3px; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .875rem; margin: 14px 0; max-width: 78ch; }
.note a { color: inherit; }

/* charts */
figure { margin: 16px 0; }
figure .chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px 8px; position: relative; overflow-x: auto; }
figcaption { font-size: .8rem; color: var(--ink-3); margin-top: 6px; max-width: 80ch; }
svg.chart-svg { display: block; width: 100%; min-width: 560px; height: auto; font: 12px var(--sans); }
svg .axis { stroke: var(--surface-3); stroke-width: 1; }
svg .gridline { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
svg text { fill: var(--ink-3); }
svg text.lbl { fill: var(--ink-2); }
svg text.val { fill: var(--ink); font-weight: 600; font-family: var(--mono); }
svg .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
svg .dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
svg .dot.b { fill: var(--mod); }
svg .bar { fill: var(--accent); }
svg .range { fill: var(--accent-line); }
svg .iqr { fill: var(--accent); }
svg .range.gB { fill: var(--mod-line); }
svg .iqr.gB { fill: var(--mod); }
svg .median { stroke: var(--ink); stroke-width: 2; }
svg .hit { fill: transparent; cursor: default; }
svg .bridge { fill: none; stroke: #8A949C; stroke-width: 1.5; stroke-dasharray: 4 4; }
svg .hit-line { fill: none; stroke: transparent; stroke-width: 26; pointer-events: stroke; cursor: default; }
.tip { position: absolute; pointer-events: none; background: var(--graphite); color: #fff; font-size: .75rem; line-height: 1.4; padding: 6px 8px; border-radius: var(--radius-xs); white-space: pre-line; z-index: 5; max-width: 240px; display: none; }

/* forms and buttons */
form .row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 12px; }
label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
label .opt { font-weight: 400; color: var(--ink-3); }
input, select, textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--surface); border: 1px solid var(--surface-3); border-radius: var(--radius-sm); padding: .6rem .7rem; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
textarea { min-height: 96px; resize: vertical; }
button, .btn { display: inline-flex; align-items: center; gap: .45rem; font: 600 .92rem/1.2 var(--sans); background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); border-radius: var(--radius-sm); padding: .68rem 1.1rem; cursor: pointer; text-decoration: none; }
button:hover, .btn:hover { background: var(--accent-600); border-color: var(--accent-600); color: var(--on-accent); }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--surface-3); }
.btn.secondary:hover { background: var(--surface-2); color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.result { margin-top: 18px; }
.result .range { font: 500 1.9rem/1.2 var(--mono); color: var(--ink); letter-spacing: -.02em; }
.result dl { display: grid; grid-template-columns: max-content 1fr; gap: 5px 18px; font-size: .875rem; margin: 12px 0 0; }
.result dt { color: var(--ink-3); }
.result dd { margin: 0; color: var(--ink); }
.formmsg { margin-top: 12px; font-size: .875rem; font-weight: 550; }
.formmsg.ok { color: var(--ok); }
.formmsg.err { color: var(--neg); }

/* home: hero with the estimator inline (light, on a wash of the accent) */
.hero { background: linear-gradient(180deg, var(--accent-wash) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); padding: clamp(2rem, 4.5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem); max-width: 22ch; margin-bottom: .7rem; }
.hero .lede { font-size: 1.12rem; max-width: 52ch; margin-bottom: 1.4rem; }
.est { border-top: 3px solid var(--accent); }
.est .row { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.est-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.res.gA { border-top: 3px solid var(--accent); }
.res.gB { border-top: 3px solid var(--mod); }

/* home: three stat cards, one colour each */
.statcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.statcard { display: block; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.15rem; box-shadow: var(--shadow); text-decoration: none; color: var(--ink-2); }
.statcard:hover { border-color: var(--accent-line); border-top-color: var(--accent); color: var(--ink-2); }
.statcard.c2, .statcard.c2:hover { border-top-color: var(--mod); }
.statcard.c3, .statcard.c3:hover { border-top-color: var(--amber); }
.statcard.c4, .statcard.c4:hover { border-top-color: var(--graphite); }
.statcard span { display: block; }
.statcard .k { font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.statcard .v { font: 500 clamp(2rem, 1.3rem + 2vw, 2.9rem)/1.1 var(--mono); letter-spacing: -.03em; color: var(--ink); margin: 4px 0 2px; }
.statcard .s { font-size: .95rem; }

/* home: bands and sections */
.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 3.2rem; padding-bottom: 3.2rem; }
.section.tight { padding-top: 1.8rem; padding-bottom: 2.2rem; }
.section > h2:first-child, .section > .eyebrow + h2 { margin-top: 0; }
.covband { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-bottom: 1rem; }
.covband figure { margin: 0; }

/* state map: sequential colour by median cost; states without a published estimate stay neutral */
.usmap svg { display: block; width: 100%; height: auto; }
.usmap path { stroke: #FFFFFF; stroke-width: .8; }
.usmap .m-cost { stroke: #5C3A1E; stroke-width: .6; }
.usmap a:hover path, .usmap a:focus path { stroke: var(--ink); stroke-width: 1.6; }
.usmap .m-thin { fill: var(--map-thin); } .usmap .m-none { fill: var(--map-none); stroke: var(--surface-3); }
.scale { display: flex; align-items: center; gap: 10px; margin-top: 12px; font: 500 .8rem var(--mono); color: var(--ink); }
.scale i { flex: 1; height: 12px; border-radius: 3px; border: 1px solid rgba(17, 24, 32, .12); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 8px 0 0; font-size: .82rem; color: var(--ink-2); max-width: none; }
.legend li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; border: 1px solid rgba(17, 24, 32, .12); }

/* home: trust strip and sign-up band */
.trust { background: var(--accent-wash); border-top: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line); padding: 1.5rem 0; }
.trust ul { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.trust li { margin: 0; padding-left: 28px; position: relative; font-size: .95rem; color: var(--ink-2); }
.trust li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.trust li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.trust strong { color: var(--ink); }
.signup-band { background: var(--accent-700); color: #C4E3E0; padding: 2.6rem 0; }
.signup-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.signup-band h2 { color: #fff; margin: 0 0 .4rem; }
.signup-band p { margin: 0; }
.signup-band label { color: #fff; }
.signup-band button { background: #fff; color: var(--accent-700); border-color: #fff; }
.signup-band button:hover { background: var(--accent-wash); color: var(--accent-700); border-color: var(--accent-wash); }
.signup-band .formmsg.ok { color: #fff; } .signup-band .formmsg.err { color: #FFD9CF; }
.signup .row { margin-bottom: 12px; }
.formmsg .btn.dl { margin-top: 10px; }

/* report section on the Cost Index page */
.reportbox { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 2rem 0 0; box-shadow: var(--shadow); }
.reportbox h2 { margin: 0 0 .8rem; font-size: 1.3rem; }
.reportbox h3 { margin-top: 0; }
.reportbox ul { font-size: .92rem; }
.reportbox .card { box-shadow: none; background: var(--surface-2); }
.reportbox .signup .row { grid-template-columns: 1fr; }

.props { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.prop { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
a.prop { color: var(--ink-2); display: block; }
a.prop:hover { border-color: var(--accent-line); color: var(--ink-2); }
.prop h3 { margin: 0 0 .4rem; }
.prop p { margin: 0; font-size: .92rem; }
.prop .who { font: 500 .74rem var(--mono); color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }

/* paid tier: Pro prompt, pricing, account, portfolio */
.protag { display: inline-block; font: 700 .68rem/20px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--amber); border-radius: var(--radius-xs); padding: 0 8px; vertical-align: 2px; }
.prolock { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 2rem 0 0; box-shadow: var(--shadow); }
.prohead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prohead h2 { margin: 0; font-size: 1.25rem; }
.lockgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 28px; margin: .6rem 0 1rem; }
.lockcol h3 { margin: .8rem 0 .3rem; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); font-family: var(--sans); font-weight: 650; }
.lockcol ul { list-style: none; padding: 0; margin: 0; }
.lockcol li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line-soft); margin: 0; font-size: .9rem; }
.lockcol li.more { color: var(--ink-3); border-bottom: 0; }
.mask { font-family: var(--mono); color: var(--ink-3); background: var(--surface-2); border-radius: 3px; padding: 0 6px; user-select: none; filter: blur(1.5px); }
.proask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: .4rem 0 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 1.4rem 0 2rem; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border-top-color: var(--accent); border-color: var(--accent-line); }
.plan:nth-child(3) { border-top-color: var(--mod); }
.plan:nth-child(4) { border-top-color: var(--amber); }
.plan h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.plan .protag { position: absolute; top: 14px; right: 14px; background: var(--accent); }
.plan .price { font: 500 1.9rem/1.1 var(--mono); color: var(--ink); letter-spacing: -.03em; margin: .2rem 0 .8rem; }
.plan .price span { font: 400 .85rem var(--sans); color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.plan ul { padding-left: 1.1rem; font-size: .9rem; flex: 1; }
.plan p:last-of-type { margin: .6rem 0 0; }
.plan button.btn { width: 100%; justify-content: center; }
.acct h2 { margin: 0 0 .8rem; font-size: 1.15rem; }
.acct .row { grid-template-columns: 1fr; }
[hidden] { display: none !important; }
.bigfig { font: 500 2.2rem/1.15 var(--mono); color: var(--ink); letter-spacing: -.03em; }
.pf-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 12px 0; }
.pf-sum .card { padding: 1rem 1.1rem; }
.estlock { border-left: 4px solid var(--amber); }

/* photography: bright daytime hero. The text sits on the left over a plain light ground; the photo fills the right 72%, mirrored so the
   pumpjack stands on the right, and fades into the light ground along its left edge (a mask, so no overlay covers the subject). */
.hero.photo { position: relative; isolation: isolate; background: linear-gradient(90deg, #FFFFFF 0%, #F4F7F9 32%, #E6EDF1 100%); border-bottom: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 3.2rem) 0 clamp(1.6rem, 3vw, 2.4rem); --hero-x: 50%; --hero-y: 50%; --hero-x-m: 50%; --hero-y-m: 55%; min-height: clamp(420px, 34vw, 600px); }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media picture { position: absolute; top: 0; right: 0; bottom: 0; width: 72%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.hero-media picture, .hero-media img { display: block; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-x) var(--hero-y); }
.hero.photo h1 { color: var(--ink); }
.hero.photo .lede { color: var(--ink); }
.hero.photo .eyebrow { color: var(--ink-2); }
.hero.photo .est { max-width: 920px; border-top: 3px solid var(--accent); }
.hero.photo .result > .meta { color: var(--ink-2); }
/* estimator: one compact row (four fields and the button), small labels above each field */
.est { padding: .7rem 1rem .8rem; }
.est-row { display: grid; grid-template-columns: 1.15fr 1.15fr 1.15fr .8fr auto; gap: 10px 12px; align-items: end; }
.est label { font-size: .74rem; margin-bottom: 3px; }
.est select, .est input { height: 42px; padding: .3rem .65rem; font-size: .92rem; }
.est .est-btn button { height: 42px; padding: 0 1.25rem; white-space: nowrap; justify-content: center; }
#e-county-note { margin-top: 6px; font-size: .78rem; }
#e-county-note:empty { display: none; }
main.flush { padding-bottom: 0; }
main.endgap { padding-bottom: 32px; }   /* pages that used to end with the notice: about 32 px (24 px on a phone) above the footer */
main.endgap > .wrap > :last-child { margin-bottom: 0; }   /* a page that ends with a full-width band meets the footer directly */
.photocards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.photocard { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--graphite-2); color: #fff; text-decoration: none; }
.photocard:hover { border-color: var(--accent-line); color: #fff; }
.photocard picture, .photocard img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.photocard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 11, .94) 0%, rgba(8, 9, 11, .82) 42%, rgba(8, 9, 11, 0) 84%); }
.pc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 3px; padding: 16px 18px; }
.pc-body .who { font: 500 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-on-dark); }
.pc-body strong { font: 650 1.08rem/1.2 var(--display); }
.pc-body .line { font-size: .86rem; line-height: 1.4; color: #E3E8EC; }
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1.4rem; }
.beforeafter figure { margin: 0; }
.beforeafter img, .guide-photo { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.beforeafter figcaption { font-size: .84rem; color: var(--ink-2); margin-top: 6px; }
.guide-hero { margin: 0 0 1.2rem; }

.contribute { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 2rem 0 0; box-shadow: var(--shadow); }
.contribute h2 { margin: 0 0 .5rem; font-size: 1.3rem; }
.contribute p:last-child { margin-bottom: 0; }
.note.coverage { background: var(--accent-wash); color: var(--ink-2); border-color: var(--accent-line); border-left-color: var(--accent); }
.coverage-card { border-left: 4px solid var(--amber); margin-bottom: 12px; }
ul.plain-list { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .9rem; }

/* About: methodology sections, each collapsed with a one-line summary */
details.msec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: .55rem 0; box-shadow: var(--shadow); }
details.msec > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: .7rem 2.4rem .7rem 1rem; cursor: pointer; list-style: none; position: relative; }
details.msec > summary::-webkit-details-marker { display: none; }
details.msec > summary::after { content: "+"; position: absolute; right: 1rem; top: .55rem; font: 500 1.2rem/1.2 var(--mono); color: var(--accent); }
details.msec[open] > summary::after { content: "−"; }
details.msec[open] > summary { border-bottom: 1px solid var(--line); }
details.msec .mt { font: 650 1rem var(--display); color: var(--ink); }
details.msec .ms { font-size: .88rem; color: var(--ink-2); }
details.msec .mbody { padding: .8rem 1rem 1rem; }
details.msec .mbody > :first-child { margin-top: 0; }
details.msec .mbody > :last-child { margin-bottom: 0; }

/* footer */
footer.site { background: var(--graphite); color: #9AA5AE; padding: 40px 0 36px; font-size: .86rem; margin-top: 0; }
footer.site a { color: #D5DBE0; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot-brand { font: 700 1.05rem var(--display); color: #fff; letter-spacing: -.02em; }
.foot-grid h4 { margin: 0 0 .6rem; font: 650 .72rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #C9D1D8; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 0 0 .35rem; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 26px; padding-top: 16px; font-size: .8rem; max-width: none; }
ul.plain { list-style: none; padding: 0; margin: 0; columns: 3 180px; }
ul.plain li { padding: 3px 0; break-inside: avoid; }

@media (max-width: 900px) {
  .covband, .signup-band .wrap, .reportbox { grid-template-columns: minmax(0, 1fr); }
  .photocards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* phone and tablet: the photo becomes a full-width banner above the text, centred on the pumpjack; the text sits on plain light ground */
  .hero.photo { background: var(--bg); padding-top: 0; min-height: 0; }
  .hero-media { position: relative; z-index: 0; height: clamp(210px, 36vw, 330px); margin-bottom: 1.1rem; }
  .hero-media picture { position: static; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-media img { object-position: var(--hero-x-m) var(--hero-y-m); }
  .est-row { grid-template-columns: 1fr 1fr; }
  .est .est-btn { grid-column: 1 / -1; }
  .est .est-btn button { width: 100%; }
  .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-grid > div:first-child p { margin: .3rem 0 0; }
}
@media (max-width: 600px) {
  header.site { position: static; }
  nav.main { margin-left: 0; gap: 2px 16px; }
  .props, .statcards, .trust ul, .plans, .photocards, .beforeafter, .est-row { grid-template-columns: 1fr; }
  main.endgap { padding-bottom: 24px; }
  .reportbox { padding: 1.1rem; }
  [id] { scroll-margin-top: 12px; }
  th, td { padding: 8px 9px; }
  .result .range { font-size: 1.45rem; }
  .stat .value { font-size: 1.45rem; }
}
@media print {
  header.site nav, .navburger, .navdrawer, footer.site .foot-grid, .preview-banner, .noprint { display: none !important; }
  body { background: #fff; font-size: 10.5pt; }
  header.site { position: static; border-bottom: 1px solid #000; }
  footer.site { background: #fff; color: #333; padding: 12px 0; } .foot-legal { border: 0; margin: 0; padding: 0; }
  main > .wrap { padding-top: 1rem; } h2 { break-after: avoid; margin-top: 1.6rem; }
  figure, table, .card { break-inside: avoid; } svg.chart-svg { min-width: 0; }
  a { color: #000; text-decoration: none; }
}

ul.cols { columns: 2 280px; column-gap: 32px; padding-left: 1.2rem; }
ul.cols li { break-inside: avoid; margin: .25rem 0; }

/* consent line above a paid button */
label.agree{display:flex;gap:8px;align-items:flex-start;font-weight:400;margin:10px 0;max-width:62ch;line-height:1.45}
label.agree input{margin-top:4px;flex:none;width:auto}

.hero-cta{margin:14px 0 0}
.btns{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0}

/* revenue features (2026-10-21): paywall panel, buyer pages, opportunities, operators */
.paywall .pw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:12px 0}
.pw-col{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px 14px}
.pw-col h3{font-size:.95rem}
.pw-col .count{font-size:.8rem;color:var(--ink-3);margin:.2rem 0 0}
.pw-sample{margin-top:8px;filter:blur(2.5px);opacity:.8;user-select:none;pointer-events:none}
.pw-row{display:flex;align-items:center;gap:8px;margin:7px 0}
.pw-chip{width:34px;height:10px;border-radius:5px;background:var(--surface-3);flex:none}
.pw-bar{height:10px;border-radius:5px;background:var(--accent-soft);display:block}
.buyers{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:16px 0}
.buyer h2{font-size:1.15rem}
.buyer ul{padding-left:1.1rem;margin:.5rem 0}
.buyer .price{font:600 1.2rem/1.2 var(--mono);color:var(--ink);margin:.4rem 0}
.faq-list details{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:10px 14px;margin:8px 0}
.faq-list summary{cursor:pointer;font-weight:600;color:var(--ink)}

.drivers { margin-top: 12px; }
.drivers h3 { margin: 0 0 .3rem; font-size: 1rem; }
.badge-box { margin-top: .5rem; font-size: .85rem; }
.badge-box textarea { width: 100%; max-width: 26rem; font: .75rem monospace; }

/* Mobile menu (hamburger) */
.navburger { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.navburger:hover { background: var(--accent-wash); border-color: var(--accent-line); color: var(--ink); }
.navburger:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
.navburger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.navburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navdrawer { border-top: 1px solid var(--line); background: var(--surface); }
.navdrawer[hidden] { display: none; }
.navdrawer nav { display: flex; flex-direction: column; padding: 4px var(--gut) 18px; }
.navdrawer nav a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.navdrawer nav a[aria-current="page"] { color: var(--accent); }
.navdrawer nav a.btn { margin-top: 16px; border: 0; justify-content: center; padding: 14px 16px; color: var(--on-accent); }
@media (max-width: 900px) {
  header.site .wrap { flex-wrap: nowrap; }
  header.site nav.main { display: none; }
  .navburger { display: inline-flex; }
}
@media (min-width: 901px) { .navdrawer { display: none !important; } }
html.navopen { overflow: hidden; }
.pw-names{margin:6px 0 0;font-size:.9rem;line-height:1.5;color:var(--ink,#1a2b33)}


/* nav: Who it's for menu (desktop button + list; phone drawer shows the links under a label) */
.navgroup { position: relative; }
.navtrigger { font: inherit; font-weight: 500; color: var(--ink-2); background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 14px 6px 0; cursor: pointer; position: relative; }
.navtrigger::after { content: ""; position: absolute; right: 2px; top: 50%; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.navtrigger:hover, .navgroup.open .navtrigger { color: var(--ink); }
.navtrigger[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.navtrigger:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
.navmenu { display: none; position: absolute; left: -12px; top: 100%; min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(17, 24, 32, .12); padding: 6px; z-index: 30; }
.navgroup.open .navmenu, .navgroup:hover .navmenu { display: block; }
nav.main .navmenu a { display: block; padding: 10px 12px; border-bottom: 0; border-radius: var(--radius-sm); white-space: nowrap; }
nav.main .navmenu a:hover, nav.main .navmenu a:focus-visible { background: var(--accent-wash); color: var(--ink); }
.navdrawer nav .navlabel { padding: 14px 2px 4px; font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 0; }
.navdrawer nav a.sub { padding-left: 16px; font-size: 1rem; }

/* home: secondary CTA beside Show the cost */
.est-btn { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; }
.est-btn .sample { white-space: nowrap; }

/* home: Data from strip */
.datafrom { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-top: 8px; }
.datafrom .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.df-label { margin: 0; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.datafrom ul { list-style: none; margin: 0; padding: 0; flex: 1 1 260px; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: .9rem; color: var(--ink-2); }
.df-more { margin: 0; font-size: .9rem; flex-basis: 100%; }

/* home: alternating text / screenshot sections */
.feature { padding: clamp(28px, 5vw, 56px) 0; }
.feature:nth-of-type(even) { background: var(--surface); }
.feature .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.feature.flip .feat-text { order: 2; }
.feat-text h2 { margin-top: 0; }
.feat-shot { margin: 0; }
.shot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
.feat-shot figcaption, .ex-shot figcaption { font-size: .85rem; color: var(--ink-3); margin-top: 6px; }
.ex-shot { margin: 0 0 1.5rem; max-width: 760px; }

/* home: benefit blocks and report cards */
.benefits, .reportcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reportcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit, .rcard { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink-2); box-shadow: var(--shadow); }
.benefit:hover, .rcard:hover { border-color: var(--accent-line); color: var(--ink-2); }
.benefit strong, .rcard strong { color: var(--ink); font-size: 1.05rem; line-height: 1.3; }
.rtype { font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.benefit .go, .rcard .go { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 600; font-size: .95rem; }

/* home additions: responsive rules (kept after the base rules above so they win) */
@media (max-width: 900px) {
  .statcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature .wrap { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feat-text { order: 0; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reportcards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .statcards, .benefits { grid-template-columns: minmax(0, 1fr); }
}

/* ================================================================ Photo Hero redesign (owner brief 2026-11-05): sister brand of Hubstake.
   Fonts: Bricolage Grotesque 700/800 (headlines, numbers, logo) and DM Sans 400/500/700 (body), self-hosted.
   Colours: primary #0B5563, dark #0B1F24, gold #F2A93B, soft #FBF3E4, body #454A52, muted #5B5F66. */

/* header: transparent over the photo hero or the 280px page strip, white text */
header.site { position: absolute; top: 0; left: 0; right: 0; z-index: 30; background: transparent; border-bottom: 0; }
header.site .wrap { padding-top: 18px; padding-bottom: 18px; max-width: 1200px; }
.logo { color: #fff; font: 800 1.3rem/1 var(--display); letter-spacing: -.02em; gap: 10px; }
.logo:hover { color: #fff; }
.logo svg { width: 26px; height: 26px; }
nav.main { gap: 6px 28px; font-size: .98rem; }
nav.main a { color: #fff; border-bottom: 2px solid transparent; padding: 6px 0; font-weight: 500; }
nav.main a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .6); }
nav.main a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
nav.main a.pill, .navdrawer nav a.pill { background: var(--gold); color: var(--graphite); border: 0; border-radius: 999px; padding: .6rem 1.15rem; font-weight: 700; white-space: nowrap; }
nav.main a.pill:hover { background: #F7BB5C; color: var(--graphite); border-bottom: 0; }
.navburger { border-color: rgba(255, 255, 255, .55); background: rgba(8, 14, 22, .35); color: #fff; }
.navburger:hover { background: rgba(8, 14, 22, .55); color: #fff; border-color: #fff; }
.navdrawer { background: var(--graphite); border-top: 1px solid rgba(255, 255, 255, .15); }
.navdrawer nav a { color: #fff; border-bottom-color: rgba(255, 255, 255, .14); }
.navdrawer nav a[aria-current="page"] { color: var(--gold); }
.navdrawer nav .navlabel { color: #AEB7BC; }
.navdrawer nav a.pill { margin-top: 16px; border-bottom: 0; text-align: center; justify-content: center; padding: 14px 16px; color: var(--graphite); }
.preview-banner { position: relative; z-index: 40; }

/* inner pages: 280px photo strip with the page title */
.ph-strip { position: relative; height: 280px; display: flex; align-items: flex-end; overflow: hidden; background: var(--graphite); }
.ph-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.ph-strip::after { content: ""; position: absolute; inset: 0; background: rgba(8, 14, 22, .55); }
.ph-strip .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 30px; }
.ph-strip h1 { color: #fff; margin: 0; font-weight: 800; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); max-width: 26ch; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
main > .wrap { padding-top: 2.2rem; }

/* type and colour, site-wide */
body { font-family: var(--sans); }
h1 { font-weight: 800; }
h2 { font-weight: 700; }
.eyebrow::before { background: var(--gold); }
.statcard .v, .stat .value, .result .range, td.num { font-family: var(--display); font-weight: 700; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--graphite); }
.btn.gold:hover { background: #F7BB5C; border-color: #F7BB5C; color: var(--graphite); }

/* ---------------- home */
.ph-hero { position: relative; color: #fff; background: var(--graphite); overflow: hidden; }
.ph-hero .ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.ph-hero::after { content: ""; position: absolute; inset: 0; background: rgba(8, 14, 22, .55); }
.ph-hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: 128px; padding-bottom: 84px; max-width: 1200px; }
.ph-hero h1 { color: #fff; font-weight: 800; font-size: clamp(2.5rem, 1rem + 5.6vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; max-width: 12ch; margin: 0 0 22px; text-shadow: 0 2px 28px rgba(0, 0, 0, .3); }
.ph-hero h1 em { font-style: normal; color: var(--gold); }
.ph-sub { font-size: 1.25rem; line-height: 1.5; color: #fff; max-width: 34em; margin: 0 0 30px; }
.ph-hero form.est { background: none; border: 0; box-shadow: none; padding: 0; }
.ph-hero .est-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.ph-hero .est label { color: #fff; font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.ph-hero .est label .opt { color: #DCE3E6; font-weight: 400; }
.ph-hero .est select, .ph-hero .est input { height: 58px; border-radius: 14px; border: 0; background: #fff; color: var(--graphite); font-size: 1rem; padding: 0 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.ph-hero .est select { padding-right: 36px; }
.ph-hero .est-btn { grid-column: 1 / -1; }
.ph-hero .est-btn button { width: 100%; height: 58px; border-radius: 14px; background: var(--accent); border-color: var(--accent); color: #fff; font: 700 1.05rem var(--sans); justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.ph-hero .est-btn button:hover { background: var(--accent-600); border-color: var(--accent-600); }
.ph-hero .meta, .ph-hero #e-county-note { color: #E6ECEE; }
.ph-links { margin: 16px 0 0; font-size: .95rem; color: #fff; }
.ph-links a { color: #fff; font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.ph-links a:hover { color: var(--gold); }
.ph-card { background: #fff; color: var(--ink-2); border-radius: 22px; padding: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.ph-card.running { padding: 14px; }
.ph-card #e-result, .ph-card .result { margin: 0; }
.ph-pillrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.ph-pill { display: inline-block; background: var(--accent-wash); color: var(--accent-700); font: 700 .8rem/1 var(--sans); padding: 8px 12px; border-radius: 999px; }
.ph-pill.gold { background: #FCEBCB; color: #6B4500; }
.ph-card .ph-label { font-size: .9rem; color: var(--ink-3); margin: 0 0 2px; }
.ph-median { font: 800 clamp(2.4rem, 1.6rem + 2.2vw, 3.25rem)/1.05 var(--display); color: var(--accent); letter-spacing: -.03em; white-space: nowrap; margin: 0 0 4px; }
.ph-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 9px 22px; margin: 18px 0 18px; font-size: .95rem; }
.ph-card dt { color: var(--ink-3); }
.ph-card dd { margin: 0; color: var(--graphite); font-weight: 600; text-align: right; }
.ph-card .ph-more { display: inline-block; font-weight: 700; color: var(--accent); }
.ph-card .ph-note { font-size: .78rem; color: var(--ink-3); margin: 10px 0 0; }

.ph-stats { background: var(--accent); color: #fff; }
.ph-stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 44px; padding-bottom: 44px; max-width: 1200px; }
.ph-stats a { color: #fff; text-decoration: none; display: block; }
.ph-stats .n { display: block; font: 800 clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem)/1.05 var(--display); letter-spacing: -.03em; color: #fff; }
.ph-stats .l { display: block; margin-top: 6px; font-size: .95rem; color: #E1F0F2; }

.ph-how { background: var(--bg); padding: clamp(48px, 7vw, 96px) 0; }
.ph-how .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1200px; }
.ph-how img { display: block; width: 100%; height: auto; border-radius: 28px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 20px 50px rgba(11, 31, 36, .18); }
.ph-how .ph-eyebrow, .ph-who .ph-eyebrow { font: 700 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.ph-how h2, .ph-who h2 { font: 800 clamp(1.9rem, 1.2rem + 2.4vw, 3rem)/1.08 var(--display); letter-spacing: -.03em; margin: 0 0 18px; color: var(--graphite); }
.ph-how p { font-size: 1.08rem; max-width: 34em; }
.ph-pillbtn { display: inline-block; background: var(--accent); color: #fff; font: 700 1rem var(--sans); border-radius: 999px; padding: 15px 28px; text-decoration: none; margin-top: 8px; }
.ph-pillbtn:hover { background: var(--accent-600); color: #fff; }
.ph-pillbtn.dark { background: var(--graphite); color: #fff; }
.ph-pillbtn.dark:hover { background: #17323a; color: #fff; }

.ph-who { background: var(--bg); padding: 0 0 clamp(48px, 7vw, 96px); }
.ph-who .wrap { max-width: 1200px; }
.ph-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ph-ucard { display: block; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink-2); box-shadow: 0 8px 28px rgba(11, 31, 36, .10); transition: transform .15s ease, box-shadow .15s ease; }
.ph-ucard:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(11, 31, 36, .16); color: var(--ink-2); }
.ph-ucard img { display: block; width: 100%; height: 170px; object-fit: cover; }
.ph-ucard .bar { display: block; height: 5px; background: var(--accent); }
.ph-ucard.c2 .bar { background: var(--gold); }
.ph-ucard.c3 .bar { background: var(--graphite); }
.ph-ucard.c4 .bar { background: var(--mod); }
.ph-ucard .body { display: block; padding: 18px 20px 22px; }
.ph-ucard strong { display: block; font: 800 1.2rem/1.2 var(--display); color: var(--graphite); letter-spacing: -.02em; margin-bottom: 6px; }
.ph-ucard span.line { display: block; font-size: .95rem; line-height: 1.45; }

.ph-cta { background: var(--bg); padding: 0 0 clamp(48px, 7vw, 96px); }
.ph-cta .wrap { max-width: 1200px; }
.ph-cta .panel { background: var(--gold); border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.ph-cta h2 { font: 800 clamp(1.7rem, 1.1rem + 2.2vw, 2.7rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--graphite); margin: 0; max-width: 20ch; }

/* footer: dark */
footer.site { background: var(--graphite); color: #C9D2D6; border-top: 0; margin-top: 0; }
footer.site .wrap { max-width: 1200px; }
footer.site a { color: #E6ECEE; }
footer.site a:hover { color: var(--gold); }
footer.site .foot-brand { font: 800 1.15rem var(--display); color: #fff; }
footer.site h4 { color: #fff; }
footer.site .foot-legal { color: #AEB9BE; border-top: 1px solid rgba(255, 255, 255, .14); }
.ph-foot-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding: 34px 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .14); margin-bottom: 8px; }
.ph-foot-top .brand { font: 700 1.05rem var(--sans); color: #fff; margin: 0; }
.ph-foot-top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ph-foot-top li { margin: 0; }
.ph-foot-top .photos { color: #AEB9BE; font-size: .88rem; margin: 0; }

@media (max-width: 900px) {
  header.site .wrap { flex-wrap: nowrap; }
  .ph-hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 104px; padding-bottom: 56px; }
  .ph-hero h1 { max-width: 14ch; }
  .ph-stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-how .wrap { grid-template-columns: minmax(0, 1fr); }
  .ph-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  header.site { position: absolute; }
  .ph-hero .est-row { grid-template-columns: minmax(0, 1fr); }
  .ph-sub { font-size: 1.1rem; }
  .ph-stats .wrap { gap: 18px; padding-top: 32px; padding-bottom: 32px; }
  .ph-cards { grid-template-columns: minmax(0, 1fr); }
  .ph-card { padding: 22px; }
  .ph-strip { height: 280px; }
  .ph-cta .panel { border-radius: 24px; }
}

.foot-grid { grid-template-columns: minmax(0, 1.2fr) repeat(5, minmax(0, 1fr)); }
.ph-hero .est-btn .sample { display: none; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

footer.site .foot-brand { display: flex; align-items: center; gap: 10px; }
footer.site .foot-brand svg { width: 26px; height: 26px; flex: none; }

/* ================================================================ Home page, "Estimator" design (owner choice 2026-11-16, mock-up B).
   Light and product-led: white header, the estimator beside a worked result, then stats, tools, state ranges, grading, plans, audiences.
   Only the home page carries body.hb; every other page keeps the Photo Hero shell above. Markup: build_site.home_estimator(); the card also in app.js.
   Colours come from the :root tokens only (no palette of its own), so a palette block later in the file restyles this page with the rest of the site. */
:root { --hb-wash: var(--bg); --hb-line: var(--line); --hb-field: #77797C; }
body.hb { background: var(--surface); }
body.hb header.site { position: static; background: var(--surface); border-bottom: 1px solid var(--hb-line); }
body.hb header.site .wrap { padding-top: 14px; padding-bottom: 14px; }
body.hb .logo, body.hb .logo:hover { color: var(--graphite); }
body.hb nav.main a { color: var(--graphite); }
body.hb nav.main a:hover { color: var(--graphite); border-bottom-color: var(--accent); }
body.hb nav.main a.pill { background: var(--accent); color: var(--on-accent); border-radius: 10px; }
body.hb nav.main a.pill:hover { background: var(--accent-600); color: var(--on-accent); }
body.hb .navburger { border-color: var(--hb-line); background: var(--surface); color: var(--graphite); }
body.hb .navburger:hover { background: var(--accent-wash); border-color: var(--accent-line); color: var(--graphite); }
.hb-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hb-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--accent); text-decoration: none; }
.hb-link::after { content: "\2192"; }
.hb-link:hover { color: var(--accent-700); text-decoration: underline; }
.hb-eyebrow { font: 500 .75rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.hb-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--accent-wash); color: var(--accent-700); font: 500 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.hb-tag.pro { background: var(--graphite); color: #fff; }
.hb-tag.gold { background: var(--gold); color: var(--graphite); }

/* hero: estimator on the left, result card on the right */
.hb-hero { background: var(--hb-wash); border-bottom: 1px solid var(--hb-line); }
.hb-hero > .wrap { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 56px); align-items: center; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(44px, 7vw, 84px); }
.hb-hero-left, .hb-hero-right { min-width: 0; }
.hb-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border-radius: 999px; background: var(--accent-wash); color: var(--accent-700); font: 500 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 22px; }
.hb-hero h1 { font-weight: 800; font-size: clamp(2.4rem, 1.3rem + 3.4vw, 3.85rem); line-height: 1.02; letter-spacing: -.025em; color: var(--graphite); margin: 0 0 22px; overflow-wrap: normal; text-wrap: balance; }
.hb-hero h1 em { font-style: normal; background: linear-gradient(transparent 60%, var(--gold) 60%, var(--gold) 92%, transparent 92%); }
.hb-lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); max-width: 34em; margin: 0 0 26px; }
.hb-hero form.est { background: var(--surface); border: 1px solid var(--hb-line); border-radius: 16px; padding: 24px; box-shadow: 0 12px 32px rgba(14, 15, 16, .08); }
.hb-hero .est-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hb-hero .est label { font-size: .875rem; font-weight: 700; color: var(--graphite); margin-bottom: 8px; }
.hb-hero .est label .opt { font-weight: 400; color: var(--ink-3); }
.hb-hero .est select, .hb-hero .est input { height: 50px; border: 1px solid var(--hb-field); border-radius: 9px; padding: 0 14px; font-size: 1rem; background: var(--surface); color: var(--graphite); }
.hb-hero .est-btn { grid-column: 1 / -1; }
.hb-hero .est-btn button { width: 100%; height: 52px; border-radius: 10px; font: 700 1rem/1 var(--sans); justify-content: center; }
.hb-hero .est-btn .sample { display: none; }
.hb-hero #e-county-note:empty { display: none; }
.hb-formfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 20px; margin: 12px 2px 0; font-size: .875rem; color: var(--ink-2); }
.hb-kicker { font: 500 .75rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.hb-result > .card, .hb-result > p { margin-top: 0; }
.hb-result > .note, .hb-result > .meta { margin: 12px 2px 0; }
.hb-card { background: var(--surface); border: 1px solid var(--hb-line); border-radius: 18px; box-shadow: 0 24px 60px rgba(14, 15, 16, .14); overflow: hidden; }
.hb-card-main { padding: 28px 30px 22px; }
.hb-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 20px; }
.hb-card-title { margin: 0; font: 700 1.35rem/1.2 var(--display); color: var(--graphite); }
.hb-card-title span { font: 400 1rem/1.2 var(--sans); color: var(--ink-3); }
.hb-conf { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 .82rem/1 var(--sans); white-space: nowrap; }
.hb-conf.B { background: var(--mod-wash); color: var(--mod-700); box-shadow: inset 0 0 0 1px var(--mod-line); }
.hb-label { font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.hb-median { font: 800 clamp(2.9rem, 1.7rem + 4.2vw, 5.5rem)/.95 var(--display); letter-spacing: -.035em; color: var(--graphite); margin: 0 0 10px; white-space: nowrap; }
.hb-sub { font-size: .95rem; color: var(--ink-3); margin: 0 0 20px; }
.hb-range { position: relative; height: 18px; border-radius: 5px; background: var(--accent-line); margin: 0 0 12px; }
.hb-range .hb-mid { position: absolute; top: 0; bottom: 0; background: var(--accent-soft); }
.hb-range .hb-tick { position: absolute; top: -6px; bottom: -6px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--graphite); }
.hb-range-ends { display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; color: var(--ink-3); }
.hb-range-ends b { display: block; font: 500 1rem/1.3 var(--mono); color: var(--graphite); }
.hb-range-ends span:last-child { text-align: right; }
.hb-facts { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--hb-line); }
.hb-facts dt { font: 500 .7rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hb-facts dd { margin: 4px 0 0; font: 500 .95rem/1.3 var(--mono); color: var(--graphite); }
.hb-made { font-size: .875rem; color: var(--ink-2); margin: 18px 0 0; }
.hb-made:empty { display: none; }
.hb-fine { font-size: .78rem; color: var(--ink-3); margin: 6px 0 0; }
.hb-card-foot { background: var(--accent-wash); padding: 14px 30px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; font-size: .95rem; color: var(--graphite); }
.hb-card-foot a { font-weight: 700; color: var(--accent-700); text-decoration: none; white-space: nowrap; }
.hb-card-foot a::after { content: " \2192"; }
.hb-card-foot a:hover { text-decoration: underline; }

/* stats strip */
.hb-stats { background: var(--surface); border-bottom: 1px solid var(--hb-line); }
.hb-stats .wrap { max-width: 1200px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; padding-top: 40px; padding-bottom: 40px; }
.hb-stats a { display: block; text-decoration: none; }
.hb-stats .n { display: block; font: 800 clamp(2.1rem, 1.5rem + 1.6vw, 2.75rem)/1 var(--display); letter-spacing: -.02em; color: var(--graphite); }
.hb-stats .l { display: block; margin-top: 6px; font-size: .95rem; color: var(--ink-2); }
.hb-stats a:hover .l { color: var(--accent-700); text-decoration: underline; }

/* sections */
.hb-sec { padding: clamp(56px, 7vw, 88px) 0; background: var(--surface); }
.hb-sec.wash { background: var(--hb-wash); border-top: 1px solid var(--hb-line); border-bottom: 1px solid var(--hb-line); }
.hb-sec > .wrap { max-width: 1200px; }
.hb-sec h2 { font: 800 clamp(1.9rem, 1.2rem + 2.2vw, 2.75rem)/1.06 var(--display); letter-spacing: -.02em; color: var(--graphite); margin: 0 0 14px; max-width: 22ch; }
.hb-lead2 { font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); max-width: 40em; margin: 0; }
.hb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; }
.hb-tools, .hb-plans, .hb-who, .hb-ranges { margin-top: 36px; }
.hb-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hb-tool { background: var(--surface); border: 1px solid var(--hb-line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.hb-tool-top { align-self: stretch; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hb-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--accent-wash); }
.hb-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hb-tool h3 { font: 700 1.5rem/1.15 var(--display); color: var(--graphite); margin: 0 0 10px; }
.hb-tool p { margin: 0 0 10px; flex-grow: 1; }

/* state ranges on one log scale */
.hb-ranges { background: var(--surface); border: 1px solid var(--hb-line); border-radius: 16px; padding: 26px 30px 22px; }
.hb-ranges .table-scroll { background: none; border: 0; border-radius: 0; }
.hb-rgrid { position: relative; min-width: 660px; }
.hb-rrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) 100px 124px; column-gap: 20px; align-items: center; padding: 11px 0; border-top: 1px solid var(--hb-line); }
.hb-rrow.head { border-top: 0; padding: 0 0 12px; font: 500 .7rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hb-rgridlines { position: absolute; top: 28px; bottom: 0; left: 170px; right: 264px; pointer-events: none; }
.hb-rgridlines i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--hb-line); }
.hb-axis { position: relative; height: 16px; }
.hb-axis span { position: absolute; top: 0; transform: translateX(-50%); font: 400 .75rem/16px var(--mono); letter-spacing: 0; color: var(--ink-3); text-transform: none; }
.hb-rname a { font-weight: 700; color: var(--graphite); text-decoration: none; }
.hb-rname a:hover { color: var(--accent-700); text-decoration: underline; }
.hb-rbar { position: relative; height: 16px; }
.hb-rbar i { position: absolute; top: 2px; bottom: 2px; border-radius: 4px; background: var(--accent); }
.hb-rbar i.B { background: var(--mod-line); }
.hb-rbar b { position: absolute; top: -3px; bottom: -3px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 0 1px var(--graphite); }
.hb-rmed { text-align: right; font: 500 1rem/1.3 var(--mono); color: var(--graphite); }
.hb-rrow.head .hb-rmed { font: inherit; color: inherit; }
.hb-note { font-size: .875rem; color: var(--ink-2); margin: 16px 0 0; }

/* how it works */
.hb-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hb-how > img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; }
.hb-conflist { list-style: none; margin: 24px 0 14px; padding: 0; display: grid; gap: 16px; }
.hb-conflist li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.hb-conflist li > span:last-child { min-width: 0; }
.hb-conflist strong { display: block; color: var(--graphite); }
.hb-conflist .grade, .hb-dash { flex: none; min-width: 38px; height: 38px; padding: 0; border-radius: 9px; font: 800 1.25rem/36px var(--display); text-align: center; }
.hb-dash { border: 1px dashed var(--hb-field); color: var(--ink-3); }

/* plans */
.hb-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.hb-plan { background: var(--surface); border: 1px solid var(--hb-line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.hb-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; }
.hb-plan h3 { font: 700 1.35rem/1.2 var(--display); color: var(--graphite); margin: 0; }
.hb-price { font: 800 3.1rem/1 var(--display); letter-spacing: -.02em; color: var(--graphite); margin: 20px 0; min-height: 3.1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.hb-price.words { font-size: 2.1rem; }
.hb-price span { font: 400 1rem/1.3 var(--sans); letter-spacing: 0; color: var(--ink-2); }
.hb-plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; flex-grow: 1; align-content: start; }
.hb-plan li { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--graphite); }
.hb-plan li svg { flex: none; width: 16px; height: 16px; margin-top: 5px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hb-plan-note { font-size: .875rem; color: var(--ink-2); margin: 0 0 16px; }
.hb-plan .btn { width: 100%; justify-content: center; min-height: 52px; border-radius: 10px; font-size: 1rem; font-weight: 700; }
.hb-plan .btn.secondary { border-color: var(--accent); color: var(--accent-700); }
.hb-plan.hot { background: var(--graphite); border-color: var(--graphite); }
.hb-plan.hot h3, .hb-plan.hot .hb-price, .hb-plan.hot li { color: #fff; }
.hb-plan.hot .hb-price span, .hb-plan.hot .hb-plan-note { color: #D9D9D6; }
.hb-plan.hot li svg { stroke: var(--gold); }

/* who it is for */
.hb-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hb-who a { display: flex; gap: 18px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--hb-line); border-radius: 16px; color: var(--ink-2); text-decoration: none; font-size: .95rem; line-height: 1.5; }
.hb-who a:hover { border-color: var(--accent-line); background: var(--hb-wash); }
.hb-who picture { flex: none; display: block; }
.hb-who img { flex: none; display: block; width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.hb-who a > span { min-width: 0; }
.hb-who strong { display: block; font: 700 1.25rem/1.2 var(--display); color: var(--graphite); margin-bottom: 6px; }

/* bond-check band */
.hb-cta { background: var(--gold); }
.hb-cta .wrap { max-width: 1200px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding-top: 60px; padding-bottom: 60px; }
.hb-cta h2 { font: 800 clamp(1.8rem, 1.1rem + 2.2vw, 2.85rem)/1.05 var(--display); letter-spacing: -.02em; color: var(--graphite); margin: 0; max-width: 20ch; }
.hb-cta a { display: inline-flex; align-items: center; min-height: 56px; padding: 0 30px; border-radius: 10px; background: var(--graphite); color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; white-space: nowrap; }
.hb-cta a:hover { background: var(--graphite-2); color: #fff; }

@media (max-width: 900px) {
  .hb-hero > .wrap, .hb-how { grid-template-columns: minmax(0, 1fr); }
  .hb-stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-tools, .hb-plans, .hb-who { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hb-hero .est-row { grid-template-columns: minmax(0, 1fr); }
  .hb-hero form.est { padding: 18px; }
  .hb-card-main { padding: 22px 20px 18px; }
  .hb-card-foot { padding: 14px 20px; }
  .hb-ranges { padding: 20px 16px 16px; }
  .hb-rgrid { min-width: 0; }   /* phones: the chart fits the screen (confidence is still told by the bar tone and the note below) */
  .hb-rrow { grid-template-columns: 96px minmax(0, 1fr) 74px; column-gap: 10px; }
  .hb-rrow > span:last-child { display: none; }
  .hb-rgridlines { left: 106px; right: 84px; }
  .hb-axis span:nth-child(even) { display: none; }
  .hb-rname a { font-size: .9rem; }
  .hb-rmed { font-size: .85rem; }
  .hb-tool, .hb-plan { padding: 22px; }
  .hb-cta .wrap { padding-top: 44px; padding-bottom: 44px; }
}

/* home hero motion (video behind the photo, captions + progress + pause) */
.ph-hero .hero-video { opacity: 0; transition: opacity .6s; }
.ph-hero .hero-video.ready { opacity: 1; }
.hv-ctl { position: absolute; left: 0; right: 0; bottom: 22px; padding: 0 max(24px, calc((100% - 1200px) / 2)); display: none; align-items: flex-end; justify-content: space-between; gap: 32px; z-index: 5; pointer-events: none; }
.hv-ctl.on { display: flex; }
.hv-caps { position: relative; height: 58px; width: min(520px, 60%); }
.hv-cap { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; white-space: nowrap; color: #fff; }
.hv-cap.on { opacity: 1; transform: none; }
.hv-cap span { display: block; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #F6D79B; font-weight: 700; }
.hv-cap b { font-size: 26px; font-weight: 600; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.hv-right { display: flex; align-items: center; gap: 16px; pointer-events: auto; }
.hv-bars { display: flex; gap: 8px; width: 220px; }
.hv-bars i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hv-bars u { display: block; height: 100%; width: 0; background: var(--gold); }
.hv-pause { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(8, 14, 22, .5); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.hv-pause:hover { background: rgba(8, 14, 22, .8); }
.hv-pause:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 767px) { .hv-ctl, .ph-hero .hero-video { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .hv-ctl, .ph-hero .hero-video { display: none !important; } }
@media (max-width: 1080px) { .hv-caps { display: none; } .hv-ctl { justify-content: flex-end; } }

/* Home hero, owner order 2026-11-09: centered like civicfiling.com. No default state card; the result card
   appears under the form only after a visitor runs the estimator. */
.ph-hero .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; max-width: 920px; padding-top: clamp(120px, 16vh, 168px); padding-bottom: clamp(110px, 14vh, 150px); }
.ph-hero .ph-left { width: 100%; display: flex; flex-direction: column; align-items: center; }
.ph-hero h1 { max-width: 15ch; margin-left: auto; margin-right: auto; }
.ph-hero .ph-sub { max-width: 640px; margin-left: auto; margin-right: auto; }
.ph-hero form.est { width: 100%; max-width: 820px; text-align: left; }
.ph-hero .est-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ph-hero .ph-card { width: 100%; max-width: 560px; text-align: left; margin-top: 8px; }
.ph-hero .ph-card:empty { display: none; }
@media (max-width: 900px) { .ph-hero .est-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ph-hero .est-row { grid-template-columns: minmax(0, 1fr); } .ph-hero .wrap { padding-top: 104px; padding-bottom: 56px; } }

/* footer: one short row (owner order 2026-11-09) */
.foot-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
.foot-grid ul.frow { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot-grid ul.frow li { margin: 0; }

/* home: read-more row (keeps hub pages within two clicks now the footer is short) */
.ph-more-links { padding: 28px 0 8px; }
.ph-more-links .ph-morelinks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: .4rem 0 0; }

/* Nov 16 2026 palette "black and gold" (owner picked it from mock-ups of the real homepage): warm white #F7F6F1, black #0E0F10, gold #E3B427.
   Replaces petroleum teal as the accent; blue-grey stays the moderate-confidence colour. Gold is a fill with black text, or text on black or a photo.
   This block has to stay last in the file to take effect. */
:root{--bg:#F7F6F1;--surface-2:#ECEAE2;--surface-3:#BDB9AC;--line:#E0DDD3;--line-soft:#ECEAE2;
--graphite:#0E0F10;--graphite-2:#232527;--ink:#0E0F10;--ink-2:#45474A;--ink-3:#5E6064;--gold:#E3B427;
--accent:#17181A;--accent-600:#2A2C2F;--accent-700:#0E0F10;--accent-soft:#8A8C90;--accent-wash:#ECECEA;--accent-line:#C9CACC;--accent-ring:rgba(23,24,26,.30);--accent-on-dark:#D8D9DB}
svg[viewBox='0 0 32 32'] rect[rx='8']{fill:#E3B427}svg[viewBox='0 0 32 32'] rect[rx='8']~path{fill:#0E0F10}svg[viewBox='0 0 32 32'] rect[rx='8']~rect{fill:#0E0F10}
nav.main a.pill:hover,.btn.gold:hover{background:#ECC44E;border-color:#ECC44E}
.ph-hero::after,.ph-strip::after{background:rgba(8,8,9,.58)}
.hv-cap span{color:#F2DC8E}
.ph-stats{background:#0E0F10;}
.ph-stats .n{color:#E3B427}.ph-stats .l{color:#D9D9D6}
.ph-pill.gold{background:#F8EDC4;color:#0E0F10}
.ph-pillbtn.dark:hover{background:#232527}
.ph-how img{box-shadow:0 20px 50px rgba(14,15,16,.18)}
.ph-ucard{box-shadow:0 8px 28px rgba(14,15,16,.10)}
footer.site{color:#C8C9CB}footer.site a{color:#ECECEA}footer.site .foot-legal,.ph-foot-top .photos{color:#A9AAAD}
.signup-band{color:#D9D9D6}
/* Nov 18 2026, owner pick "A" from three mock-ups: home stats strip only. Black bar, gold numbers, light labels. Nothing else changes. */
.hb-stats{background:#111214;border-top:1px solid #111214;border-bottom:1px solid #111214}
.hb-stats .n{color:#E3B228}
.hb-stats .l{color:#D2D0C9}
.hb-stats a:hover .l{color:#fff;text-decoration:underline}
.hb-stats a:focus-visible{outline:2px solid #E3B228;outline-offset:4px}

/* 15/25 Options Report page: two report-size cards of equal structure and height (radio cards) */
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
label.optplan { cursor: pointer; display: flex; flex-direction: column; position: relative; }
label.optplan input[type="radio"] { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; accent-color: var(--accent); }
label.optplan h3 { margin: 0 0 .3rem; font-size: 1.1rem; padding-right: 28px; }
label.optplan p:last-child { margin: .4rem 0 0; font-size: .9rem; color: var(--ink-3); }
label.optplan:has(input:checked) { border-top-color: var(--accent); border-color: var(--accent-line); outline: 2px solid var(--accent-ring); }
label.optplan:focus-within { outline: 2px solid var(--accent-ring); }
@media (max-width: 640px) { .plans.two { grid-template-columns: 1fr; } }
label.chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
label.chk input { margin-top: 5px; flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
label.optplan .price { font-family: var(--display); letter-spacing: -.02em; }
