/* Plus Jakarta Sans (SIL OFL), served from this plugin: no request to Google Fonts before consent. Variable font, weights 400–600. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #242522;
  --green: #375c39;
  --green-dark: #234728;
  --gold: #dfac2f;
  --gold-dark: #c89013;
  --peach: #fcf6f2;
  --sage: #edf1e8;
  --line: #dedfd9;
  --muted: #6f736d;
  --white: #fff;
  --error: #a73c2d;
  --type-display: clamp(2.125rem, 4.2vw, 3.1875rem);
  --type-title: clamp(1.8125rem, 3.2vw, 2.5rem);
  --type-heading: 1.5rem;
  --type-subheading: 1.125rem;
  --type-body: 0.9375rem;
  --type-ui: 0.875rem;
  --type-small: 0.75rem;
  --max: 1220px;
  --radius: 13px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Plus Jakarta Sans", sans-serif; font-size: var(--type-ui); line-height: 1.55; }
body.analyzing { overflow: hidden; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 600; letter-spacing: normal; }
strong, b { font-weight: 600; }
h1 { max-width: 800px; margin-bottom: 18px; font-size: var(--type-display); }
h2 { font-size: var(--type-title); }
h3 { font-size: var(--type-heading); }
h4 { font-size: var(--type-subheading); }

.skip-link { position: fixed; left: 0.875rem; top: -3.625rem; z-index: 9999; padding: 0.625rem 0.875rem; background: var(--gold); border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 0.875rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header { width: min(var(--max), calc(100% - 48px)); min-height: 98px; margin: auto; display: grid; grid-template-columns: 230px 1fr auto; align-items: center; gap: 36px; }
.brand img { width: 194px; height: auto; }
.site-header nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 44px); }
.site-header nav a { font-size: var(--type-ui); text-decoration: none; white-space: nowrap; }
.site-header nav a:hover { color: var(--gold-dark); }
.social-links { display: flex; gap: 18px; align-items: center; }
.social-links a { font-size: var(--type-subheading); font-weight: 600; text-decoration: none; }
/* Facebook and WhatsApp icons: Font Awesome Free (CC BY 4.0), same as zemesnoma.lv. */
.social-links a { display: grid; place-items: center; min-width: 2.25rem; min-height: 2.25rem; color: var(--atlas-ink, currentColor); }
.social-links svg { width: auto; height: 1.5rem; fill: currentColor; }
.menu-button { display: none; position: relative; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 0.75rem; color: var(--ink); background: transparent; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; cursor: pointer; transition: background .2s ease; }
.menu-button:hover { background: rgba(36, 77, 46, .08); }
/* Three drawn lines (not a text glyph: phones render ☰ in link blue) that turn into a cross when the menu is open. */
.menu-icon, .menu-icon::before, .menu-icon::after { position: absolute; width: 1.375rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, top .25s ease, background .2s ease; }
.menu-icon { top: 50%; left: 50%; margin: -1px 0 0 -0.6875rem; }
.menu-icon::before, .menu-icon::after { content: ""; left: 0; }
.menu-icon::before { top: -0.4375rem; }
.menu-icon::after { top: 0.4375rem; }
.menu-open .menu-icon { background: transparent; }
.menu-open .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-icon::after { top: 0; transform: rotate(-45deg); }

main { overflow: hidden; }
.hero { position: relative; width: min(var(--max), calc(100% - 48px)); min-height: 700px; margin: 14px auto 110px; display: grid; grid-template-columns: minmax(380px, .84fr) minmax(0, 1.16fr); gap: clamp(42px, 5vw, 72px); color: var(--ink); background: var(--white); }
.hero-image { width: 100%; height: 700px; object-fit: cover; border-radius: 18px; }
.hero-shade { display: none; }
.hero-content { position: relative; width: auto; padding: 4px 0 0; }
.hero-content h1 { max-width: 650px; margin-bottom: 23px; font-size: var(--type-display); }
.hero-content > p { max-width: 620px; margin-bottom: 28px; color: #454844; font-size: var(--type-body); }

.analysis-form { max-width: 680px; padding: 24px; color: var(--ink); border: 1px solid #c8d5c5; border-radius: 18px; background: var(--white); box-shadow: 0 14px 34px rgba(35,71,40,.08); }
.analysis-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.analysis-form legend { width: 100%; margin-bottom: 16px; font-size: var(--type-body); font-weight: 600; letter-spacing: normal; }
.intake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 16px; }
.intake-grid label { display: grid; gap: 6px; min-width: 0; color: #4e534d; font-size: var(--type-small); font-weight: 400; }
.intake-grid label span { color: var(--muted); font-weight: 400; }
.intake-grid input, .intake-grid select { width: 100%; min-width: 0; height: 45px; padding: 0 16px; border: 1px solid #aeb2aa; border-radius: 999px; color: var(--ink); background: var(--white); }
.intake-grid input:focus, .intake-grid select:focus { border-color: var(--gold-dark); outline: 2px solid rgba(223,172,47,.24); }
.intake-grid small { color: var(--muted); font-size: var(--type-small); font-weight: 400; }
.field-wide { grid-column: 1 / -1; }
.intake-consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 18px 0 0; color: var(--muted); font-size: var(--type-small); }
.intake-consent + .intake-consent { margin-top: 8px; }
.intake-consent input { margin-top: 3px; accent-color: var(--green); }
.interest-fieldset h3 { margin-bottom: 8px; font-size: var(--type-subheading); }
.interest-fieldset > p { margin-bottom: 16px; color: var(--muted); font-size: var(--type-ui); }
.interest-options { display: grid; gap: 8px; }
.interest-options label { min-height: 64px; padding: 12px 14px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 9px; color: #4e534d; font-size: var(--type-ui); cursor: pointer; }
.interest-options label:has(input:checked) { border-color: var(--green); background: var(--sage); }
.interest-options input { flex: 0 0 auto; accent-color: var(--green); }
.interest-options span { display: grid; gap: 2px; }
.interest-options b { color: var(--ink); }
.interest-options small { color: var(--muted); font-size: var(--type-small); }
.privacy-note { max-width: 620px; margin: 12px 0 0; color: var(--muted); font-size: var(--type-small); font-weight: 400; }
.single-form-footer { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.single-form-footer .button-gold { flex: 0 0 auto; }
.single-form-footer .button-gold b { margin-left: 10px; }
.button-gold, .button-outline, .phone-link { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--gold); font-weight: 600; text-decoration: none; cursor: pointer; }
.button-gold, .phone-link { color: var(--ink); background: var(--gold); }
.button-gold:hover, .phone-link:hover { background: #eabb4a; }
.button-outline { color: var(--ink); background: var(--white); }
.field-error { min-height: 1em; margin: 8px 0 0; color: var(--error); font-size: var(--type-small); font-weight: 600; }

.analysis-state { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 30px; background: rgba(20,42,26,.91); backdrop-filter: blur(9px); }
.analysis-panel { width: min(720px, 100%); overflow: hidden; border-radius: 18px; background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.analysis-copy { padding: 48px 54px 38px; }
.analysis-copy h2 { margin-bottom: 12px; font-size: var(--type-heading); }
.analysis-copy #loading-label { margin-bottom: 23px; color: var(--muted); font-size: var(--type-ui); }
.research-ledger { margin: 0; padding: 0; list-style: none; }
.research-ledger li { position: relative; min-height: 72px; padding: 8px 0 12px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px; opacity: .52; }
.research-ledger li:not(:last-child)::before { content: ""; position: absolute; z-index: 0; left: 5px; top: 50%; width: 2px; height: 100%; background: linear-gradient(var(--green) 0 0) top / 100% 0 no-repeat, #d9ddd6; transition: background-size .55s ease; }
.research-ledger li.done:not(:last-child)::before { background-size: 100% 100%; }
.research-ledger li.active, .research-ledger li.done { opacity: 1; }
.research-ledger i { position: relative; z-index: 1; width: 12px; height: 12px; border: 2px solid #a7aaa3; border-radius: 50%; background: var(--white); }
.research-ledger li.active i { border-color: var(--gold); border-top-color: transparent; animation: spin .8s linear infinite; }
.research-ledger li.done i { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 2px var(--white); }
.research-ledger span { display: grid; }
.research-ledger b { font-size: var(--type-ui); }
.research-ledger small { color: var(--muted); font-size: var(--type-small); }
.research-ledger em { color: var(--muted); font-size: var(--type-small); font-style: normal; font-weight: 600; }
.research-ledger li.active em { color: var(--gold-dark); }
.research-ledger li.done em { color: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }

.trust-strip, .sample-report, .report, .listing-cta, .site-footer { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.report-error { width: min(720px, calc(100% - 48px)); margin: 90px auto 140px; padding: 46px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.report-error h1 { margin-bottom: 14px; font-size: var(--type-heading); }
.report-error p { margin-bottom: 24px; color: var(--muted); font-size: var(--type-body); }
.trust-strip { margin-top: -54px; margin-bottom: 76px; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid #c8d5c5; border-radius: 18px; background: var(--white); box-shadow: 0 14px 34px rgba(35,71,40,.08); }

.sample-report { margin-bottom: 110px; padding: 0; }
.sample-report-heading { margin-bottom: 38px; }
.sample-report-heading h2 { max-width: 680px; margin-bottom: 0; font-size: var(--type-heading); }
.sample-dashboard { overflow: hidden; border: 1px solid var(--gold); border-radius: var(--radius); background: var(--white); }
.sample-dashboard-footer { padding: 24px 30px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--line); background: var(--peach); }
.sample-dashboard-footer p { max-width: 700px; margin: 0; color: var(--muted); font-size: var(--type-small); }
.sample-dashboard-footer .button-gold { flex: 0 0 auto; }

.steps-list { display: grid; grid-template-columns: 1fr 74px 1fr 74px 1fr; align-items: stretch; }
.steps-list article { position: relative; overflow: hidden; padding: 36px 34px; display: flex; flex-direction: column; border: 1px solid #c8d5c5; border-radius: 18px; background: var(--white); }
.steps-list article > span { width: 40px; height: 40px; margin-bottom: 38px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--green-dark); background: var(--white); font-weight: 600; }
.steps-list h3 { margin-bottom: 15px; font-size: var(--type-subheading); }
.steps-list p, .steps-list ul { color: var(--muted); font-size: var(--type-ui); }
.steps-list ul { margin: 18px 0 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.steps-list li { position: relative; padding-left: 29px; }
.steps-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 600; }
.step-cta { width: 100%; margin-top: auto; padding-inline: 18px; }
.step-cta b { margin-left: 10px; }

.report { position: relative; padding-top: 94px; }
.report::before { content: ""; position: absolute; z-index: -1; width: 780px; height: 780px; top: -80px; right: -340px; border-radius: 46% 54% 66% 34% / 48% 36% 64% 52%; background: var(--peach); }
.report-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 28px; }
.report-heading h2 { margin-bottom: 12px; }
.report-meta { margin-bottom: 0; color: var(--muted); font-size: var(--type-ui); }
.status-pill { display: inline-block; margin-right: 12px; padding: 7px 12px; color: var(--green-dark); background: var(--sage); border-radius: 999px; font-weight: 600; }
.report-actions { display: flex; gap: 10px; flex-shrink: 0; }
.source-status { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.source-status span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--white); font-size: var(--type-small); font-weight: 600; }
.source-status span::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #9ba098; }
.source-status span.available { color: var(--green-dark); border-color: #cbd8c6; background: var(--sage); }
.source-status span.available::before { background: var(--green); }
.source-status span.unavailable { color: #825c23; border-color: #ead8af; background: #fffaf0; }
.source-status span.unavailable::before { background: var(--gold); }

.report-v2 { padding-top: 80px; }
.report-v2::before { top: -150px; opacity: .8; }
.result-hero { align-items: center; margin-bottom: 48px; }
.result-hero h1 { max-width: none; margin-bottom: 0; }
.result-hero p { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: var(--type-body); }
.report-block { margin-bottom: 110px; }
.report-block.map-analysis { margin-bottom: 58px; }
.report-block.main-data-block { margin-bottom: 82px; }
.section-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: end; margin-bottom: 34px; }
.section-heading.compact-heading { display: block; }
.section-heading h2 { margin-bottom: 0; font-size: var(--type-heading); }
.section-heading p { max-width: 680px; margin-bottom: 0; color: var(--muted); font-size: var(--type-body); }
.metrics.result-metrics { margin-bottom: 0; }
.result-metrics article:nth-child(2) strong, .result-metrics article:nth-child(4) strong { font-size: var(--type-subheading); line-height: 1.25; }
.result-map-layout { grid-template-columns: minmax(0, 1.35fr) minmax(350px, .85fr); }
.land-summary-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.land-summary-card > h3 { margin-bottom: 24px; }
.land-facts { margin: 0; }
.land-facts > div { padding: 17px 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; border-bottom: 1px solid var(--line); }
.land-facts dt { color: var(--muted); font-size: var(--type-small); }
.land-facts dd { margin: 0; font-size: var(--type-ui); font-weight: 600; text-align: right; }
.land-facts dd#block-output { max-width: 190px; overflow-wrap: anywhere; }
.land-facts small { grid-column: 1 / -1; color: var(--muted); font-size: var(--type-small); }
/* The note wrapper only makes the list valid HTML; the note itself stays the grid item. */
.land-facts dd.fact-note { display: contents; color: inherit; font: inherit; text-align: inherit; }
.pending-fact dd { color: var(--muted); }
.land-use-breakdown { padding-top: 28px; }
.land-use-chart { --used-percent: 0%; width: 100%; height: 14px; overflow: hidden; border-radius: 999px; background: #dfe6d9; }
.land-use-chart span { width: var(--used-percent); height: 100%; display: block; border-radius: inherit; background: var(--gold); }
.land-use-labels { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.land-use-labels p:last-child { text-align: right; }
.land-use-breakdown h4 { margin-bottom: 12px; font-size: var(--type-ui); }
.land-use-breakdown p { margin: 7px 0; color: var(--muted); font-size: var(--type-small); }
.land-use-breakdown p i { width: 10px; height: 10px; margin-right: 8px; display: inline-block; border-radius: 50%; }
.land-use-breakdown p .legend-used { background: var(--gold); }
.land-use-breakdown p .legend-other { background: #dfe6d9; }
.land-use-breakdown small { display: block; margin-top: 12px; color: var(--muted); font-size: var(--type-small); }
.crop-breakdown { margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--line); }
.crop-breakdown > div { padding: 8px 0; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: var(--type-small); }
.crop-breakdown > div + div { border-top: 1px solid var(--line); }
.crop-breakdown b { flex-shrink: 0; color: var(--ink); text-align: right; white-space: nowrap; }
.parcel-details { margin-bottom: 58px; }
.detail-metrics article strong { font-size: var(--type-subheading) !important; line-height: 1.25; overflow-wrap: anywhere; }
.registered-use-layout { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: 28px; }
.registered-facts { margin: 0; padding: 10px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.registered-facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.registered-facts > div:last-child { border-bottom: 0; }
.registered-facts dt { margin-bottom: 5px; color: var(--muted); font-size: var(--type-small); }
.registered-facts dd { margin: 0; font-size: var(--type-subheading); font-weight: 400; line-height: 1.25; overflow-wrap: anywhere; }
.composition-list { padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.composition-list > div + div { margin-top: 16px; }
.composition-list p { margin: 0 0 7px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: var(--type-small); }
.composition-list b { flex-shrink: 0; color: var(--ink); white-space: nowrap; }
.composition-list > div > div { height: 9px; overflow: hidden; border-radius: 999px; background: #dfe6d9; }
.composition-list i { height: 100%; display: block; border-radius: inherit; background: var(--gold); }

.question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.question-grid article { min-height: 220px; padding: 26px; display: grid; align-content: space-between; border: 1px solid var(--green); border-radius: var(--radius); background: var(--white); }
.question-grid article > div { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.question-grid h3 { margin-bottom: 0; font-size: var(--type-subheading); }
.question-grid span { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; color: var(--muted); background: var(--sage); font-size: var(--type-small); font-weight: 600; }
.question-grid span.status-clear { color: #24582f; background: #e3f0df; }
.question-grid span.status-found { color: #7b3d00; background: #fff0cf; }
.question-grid span.status-calculated { color: var(--green); background: var(--sage); }
.question-grid span.status-unavailable { color: #765510; background: #fff4d9; }
.question-grid p { margin: 28px 0; color: var(--muted); font-size: var(--type-ui); }
.question-grid small { color: var(--green); font-size: var(--type-small); font-weight: 600; }
.question-details { display: flex; flex-wrap: wrap; gap: 8px; margin: -14px 0 24px; padding: 0; list-style: none; }
.question-details li { padding: 7px 10px; border-radius: 8px; color: var(--green); background: var(--sage); font-size: var(--type-small); font-weight: 600; }
.pending-checks { margin: 16px 0 0; padding: 16px 20px; border-radius: 12px; color: var(--muted); background: #f3f4f0; font-size: var(--type-small); }
.questions-section { margin-bottom: 34px; }
.report-footer-actions { justify-content: flex-end; margin-bottom: 82px; }
.consultation-cta { margin-top: 0; }
.consultation-note { font-size: var(--type-small); }
.consultation-cta .interest-options { grid-template-columns: 1fr; }
.consultation-cta .listing-form .button-gold { width: 100%; margin-top: 18px; }

.metrics { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.metrics article { min-height: 138px; padding: 25px; display: grid; grid-template-rows: minmax(2.7em, auto) auto 1fr; align-content: start; border-right: 1px solid var(--line); }
.metrics article:last-child { border-right: 0; }
.metrics span, .metrics small { display: block; color: var(--muted); font-size: var(--type-small); }
.metrics strong { display: block; margin: 9px 0 5px; font-size: var(--type-heading); font-weight: 600; }
.metrics article:nth-child(3) strong, .metrics article:nth-child(4) strong { font-size: var(--type-subheading); line-height: 1.25; }

.property-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr); gap: 32px; align-items: stretch; }
.map-card, .property-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.card-heading { min-height: 102px; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.card-heading h3, .property-card h3 { margin-bottom: 0; }
.base-switch { display: flex; padding: 3px; background: #f2f2ef; border-radius: 999px; }
.base-switch button { padding: 8px 15px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.base-switch button.active { color: var(--white); background: var(--green); }
.map-wrap { position: relative; }
#parcel-map { height: 535px; background: #d7ded0; }
.layer-panel { position: absolute; z-index: 500; top: 20px; right: 20px; padding: 11px 15px; background: rgba(255,255,255,.94); box-shadow: 0 5px 20px rgba(0,0,0,.08); }
.layer-panel button { width: 100%; padding: 8px 0; display: flex; align-items: center; gap: 9px; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.layer-panel button.active { color: var(--green-dark); font-weight: 600; }
.layer-panel i { width: 16px; height: 10px; display: inline-block; }
.outline-key { border: 3px solid #ff7618; }
.map-badge { position: absolute; z-index: 500; left: 20px; bottom: 18px; padding: 9px 13px; border-radius: 999px; color: var(--white); background: rgba(28,45,29,.9); font-size: var(--type-small); font-weight: 600; }
.map-footer { min-height: 70px; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.map-footer p { margin-bottom: 0; color: var(--muted); font-size: var(--type-ui); }
.map-footer a { font-size: var(--type-ui); font-weight: 600; }
.map-footer > a:only-child { margin-left: auto; }

.property-card { position: relative; padding: 34px; }
.property-card::before { content: ""; position: absolute; z-index: 0; width: 380px; height: 380px; right: -180px; bottom: -150px; border-radius: 50%; background: var(--peach); }
.property-card > * { position: relative; z-index: 1; }
.property-card dl { margin: 28px 0; }
.property-card dl div { padding: 15px 0; display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; border-bottom: 1px solid var(--line); }
.property-card dt { color: var(--muted); font-size: var(--type-ui); }
.property-card dd { margin: 0; font-size: var(--type-ui); font-weight: 600; text-align: right; }

.insights { padding: 120px 0 100px; }
.insights-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 70px; align-items: end; margin-bottom: 38px; }
.insights-heading h3 { margin-bottom: 0; }
.insights-heading > p { margin-bottom: 0; color: var(--muted); }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.insight-grid article { min-height: 260px; padding: 26px; border-radius: var(--radius); background: var(--peach); }
.insight-grid article:nth-child(even) { background: var(--sage); }
.insight-grid h4 { min-height: 48px; margin-bottom: 28px; font-size: var(--type-subheading); }
.insight-grid p { color: var(--muted); font-size: var(--type-ui); }
.insight-grid small { color: var(--green); font-size: var(--type-small); font-weight: 600; }

.listing-cta { position: relative; margin-top: 90px; margin-bottom: 100px; padding: 66px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; border-radius: var(--radius); overflow: hidden; background: var(--peach); }
.listing-cta::after { content: ""; position: absolute; width: 530px; height: 530px; left: -220px; bottom: -300px; border-radius: 50%; border: 90px solid rgba(223,172,47,.12); }
.cta-copy, .listing-form { position: relative; z-index: 1; }
.cta-copy h2 { margin-bottom: 22px; }
.cta-copy > p { color: var(--muted); }
.contact-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.listing-form { padding: 36px; border-radius: var(--radius); background: var(--white); }
.listing-form h3 { margin-bottom: 14px; }
.listing-form > p { margin-bottom: 24px; color: var(--muted); }
.success-message { margin-top: 15px; padding: 14px; background: var(--sage); }
/* On the green consultation block the confirmation is plain white text, no light box. */
.consultation-cta .success-message { margin-top: 1.25rem; padding: 0; color: #fff; background: transparent; font-size: var(--atlas-body-size); font-weight: 600; line-height: 1.6; }

.site-footer { padding: 55px 0 32px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 45px; border-top: 1px solid var(--line); }
.site-footer img { width: 210px; }
.site-footer > div { display: grid; align-content: start; gap: 7px; font-size: var(--type-ui); }
.site-footer > div a { color: var(--muted); text-decoration: none; }
.site-footer > p { grid-column: 1 / -1; margin: 20px 0 0; color: var(--muted); font-size: var(--type-small); }

@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr); gap: 36px; }
  .hero-content { width: auto; }
  .property-layout { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metrics article:nth-child(3) { border-right: 0; }
  .metrics article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .property-card dl { columns: 2; column-gap: 40px; }
  .property-card dl div { break-inside: avoid; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .result-map-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header, .hero, .trust-strip, .sample-report, .report, .report-error, .listing-cta, .site-footer { width: min(100% - 28px, var(--max)); }
  .site-header { min-height: 78px; grid-template-columns: 1fr auto; }
  .site-header { position: relative; }
  .brand img { width: 170px; }
  .hero { min-height: 0; margin-top: 8px; margin-bottom: 75px; display: block; }
  .hero-image { height: min(78vw, 340px); object-position: center 62%; border-radius: 14px; }
  .hero-content { width: 100%; padding: 34px 0 0; }
  .analysis-form { padding: 24px 20px; }
  .followup-contact { grid-template-columns: 1fr; gap: 11px; }
  .interest-options { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .single-form-footer { align-items: stretch; flex-direction: column; }
  .analysis-state { padding: 12px; }
  .analysis-panel { max-height: calc(100vh - 24px); overflow-y: auto; }
  .analysis-copy { padding: 26px 20px; }
  .research-ledger li { min-height: 52px; }
  .trust-strip { margin-top: -30px; margin-bottom: 80px; grid-template-columns: 1fr; }
  .listing-cta, .insights-heading { grid-template-columns: 1fr; gap: 24px; }
  .steps-list { grid-template-columns: 1fr; align-items: stretch; gap: 0; }
  .steps-list article { min-height: 0; padding: 30px 26px; }
  .steps-list article > span { margin-bottom: 22px; }
  .sample-report { margin-bottom: 80px; padding-top: 0; }
  .sample-dashboard-footer { align-items: stretch; flex-direction: column; }
  .sample-dashboard-footer .button-gold { width: 100%; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics article:nth-child(even) { border-right: 0; }
  .metrics article:not(:last-child) { border-bottom: 1px solid var(--line); }
  .metrics article:nth-child(3) { border-right: 1px solid var(--line); }
  .report { padding-top: 55px; }
  .report-heading { align-items: start; flex-direction: column; }
  .report-footer-actions { width: 100%; margin-bottom: 58px; }
  .report-footer-actions > * { flex: 1; padding-inline: 14px; }
  .report-footer-actions #print-report { display: none; }
  .card-heading { align-items: start; flex-direction: column; }
  #parcel-map { height: 480px; }
  .layer-panel { top: auto; right: 10px; bottom: 16px; }
  .map-badge { top: 12px; bottom: auto; left: 72px; }
  .map-footer { align-items: start; flex-direction: column; }
  .property-card { padding: 26px 22px; }
  .property-card dl { columns: 1; }
  .insights { padding: 80px 0; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-grid article { min-height: 220px; }
  .result-hero { margin-bottom: 24px; }
  .report-v2 { display: flex; flex-direction: column; }
  .report-v2 > * { order: 3; }
  .report-v2 > .report-heading { order: 0; }
  .report-v2 > .map-analysis { order: 1; }
  .report-v2 > .main-data-block { order: 2; }
  .report-block { margin-bottom: 78px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .result-metrics { grid-template-columns: 1fr; }
  .result-metrics article, .result-metrics article:nth-child(3) { min-height: 0; padding: 17px 20px; grid-template-rows: auto auto auto; border-right: 0; }
  .result-metrics strong { margin: 5px 0 3px; }
  .land-summary-card { padding: 26px 22px; }
  .land-use-labels { grid-template-columns: 1fr; gap: 2px; }
  .land-use-labels p:last-child { text-align: left; }
  .registered-use-layout { grid-template-columns: 1fr; }
  .question-grid { grid-template-columns: 1fr; }
  .question-grid article { min-height: 200px; }
  .question-grid article > div { display: grid; }
  .question-grid span { justify-self: start; }
  .listing-cta { padding: 38px 22px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Active Field Atlas presentation */
/* Main visual system shared by the home and report pages. */
html { font-size: 100%; }
:root {
  --atlas-page-width: 1340px;
  --atlas-gutter: 50px;
  --atlas-page-size: min(var(--atlas-page-width), calc(100% - 2 * var(--atlas-gutter)));
  --atlas-ink: #17251b;
  --atlas-ink-soft: #455249;
  --atlas-green: #244d2e;
  --atlas-green-2: #3f7249;
  --atlas-moss: #e8efe4;
  --atlas-mist: #f4f6f1;
  --atlas-sand: #f5efe6;
  --atlas-gold: #e5ad27;
  --atlas-orange: #ff7618;
  --atlas-line: rgba(36, 77, 46, .14);
  --atlas-card-border: #e0e5df;
  /* Clean deep green (no grey/olive tones) for the consultation CTA. */
  --atlas-green-gradient: linear-gradient(160deg, #2e6d3d 0%, #1f4f2c 55%, #163d22 100%);
  --atlas-shadow: 0 0.4375rem 1.5625rem -0.6875rem rgba(25, 49, 30, .14), 0 1px 4px rgba(25, 49, 30, .04);
  --atlas-shadow-float: 0 1.5625rem 4.25rem -2rem rgba(19, 41, 24, .52), inset 0 1px rgba(255, 255, 255, .8);
  --atlas-radius: 1.375rem;
  --atlas-card-radius: 1.375rem;
  --atlas-card-padding: clamp(1.375rem, 2.5vw, 1.9375rem);
  --atlas-section-gap: clamp(5.375rem, 8vw, 7.1875rem);
  --atlas-heading-gap: clamp(1.5625rem, 3vw, 2.25rem);
  --atlas-grid-gap: 1.375rem;
  --atlas-divider-space: clamp(1.8125rem, 3vw, 2.25rem);
  --atlas-divider-space-compact: 1.5625rem;
  --atlas-label-size: 0.9375rem;
  --atlas-meta-size: 0.9375rem;
  --atlas-body-size: 1.0625rem;
  --type-ui: var(--atlas-body-size);
  --type-body: var(--atlas-body-size);
  --type-small: var(--atlas-meta-size);
  --atlas-section-title: clamp(1.6875rem, 2.7vw, 2.125rem);
  --atlas-card-title: 1.375rem;
  --atlas-fact-size: clamp(1.25rem, 1.9vw, 1.4375rem);
  --muted: #4c574f;
}

body[data-design="field-atlas"] {
  color: var(--atlas-ink);
  background: #fff;
  font-feature-settings: "tnum" 1, "ss01" 1;
  font-size: var(--atlas-body-size);
}

body[data-design="field-atlas"] main { overflow: visible; }
body[data-design="field-atlas"] :focus-visible { outline: 3px solid var(--atlas-green); outline-offset: 4px; }
body[data-design="field-atlas"] .consultation-cta :focus-visible { outline-color: #fff; }
body[data-design="field-atlas"] :is(.hero, .form-section, .trust-strip, .report, .listing-cta, .site-footer) {
  width: var(--atlas-page-size);
}
.report::before, .property-card::before { content: none; }

body[data-design="field-atlas"] h1,
body[data-design="field-atlas"] h2,
body[data-design="field-atlas"] h3 {
  color: var(--atlas-ink);
  letter-spacing: normal;
  text-wrap: balance;
}

body[data-design="field-atlas"] h1 { font-weight: 600; }
body[data-design="field-atlas"] h2,
body[data-design="field-atlas"] h3 { font-weight: 600; }

.site-header {
  width: var(--atlas-page-size);
  min-height: 4.8125rem;
  border-bottom: 1px solid rgba(36, 77, 46, .08);
}

.site-header nav a { color: var(--atlas-ink-soft); font-size: var(--atlas-label-size); font-weight: 600; }
.site-header nav a:hover { color: var(--atlas-green); }

.button-gold,
.phone-link {
  position: relative;
  min-height: 3.0625rem;
  padding-inline: 1.6875rem;
  border-color: #d9a01c;
  color: #152219;
  background: var(--atlas-gold);
  box-shadow: 0 0.3125rem 0.875rem -0.5625rem rgba(184, 126, 0, .35);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.button-gold:hover,
.phone-link:hover {
  background: #eabb4a;
  box-shadow: 0 0.4375rem 1.125rem -0.5625rem rgba(184, 126, 0, .4);
  filter: saturate(1.05);
  transform: translateY(-1px);
}

.button-gold:active,
.phone-link:active { transform: translateY(0) scale(.985); }

.button-outline {
  min-height: 2.9375rem;
  border-color: rgba(36, 77, 46, .25);
  color: var(--atlas-green);
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.9);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.button-outline:hover { border-color: var(--atlas-green); background: var(--atlas-moss); transform: translateY(-1px); }

/* Home: a clear promise, a tangible example, then the form. */
.hero, .form-section {
  grid-template-columns: minmax(0, .9fr) minmax(23.625rem, 1.1fr);
  gap: clamp(2.6875rem, 7vw, 4.9375rem);
}
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  min-height: 0;
  margin-top: 3.0625rem;
  margin-bottom: var(--atlas-section-gap);
  align-items: center;
  grid-template-rows: auto;
  border-radius: 1.8125rem;
  background: #4d6b45; /* dark fallback keeps the white hero text readable before the photo loads */
}
.hero-panel {
  position: static;
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: inherit;
  column-gap: inherit;
  min-width: 0;
  isolation: auto;
}

@media (min-width: 951px) {
  .hero-panel {
    position: static;
    grid-column: 1;
    align-self: stretch;
    align-items: center;
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Reading surfaces appear immediately; motion is reserved for disclosures. */

.hero::before { content: none; }
.hero-content { position: static; grid-column: 1; grid-row: 1; padding: clamp(1.75rem, 2.8vw, 2.25rem) clamp(1.5rem, 2.7vw, 2.25rem) clamp(1.75rem, 2.8vw, 2.25rem) calc(1px + max(0rem, calc(clamp(1.75rem, 4vw, 3.125rem) - clamp(1.25rem, 3vw, 2.5rem)))); border: 0; background: transparent; box-shadow: none; }
body[data-design="field-atlas"] .hero-content h1 { color: #fff; }

.hero-content h1 {
  max-width: 31.5rem;
  margin-bottom: 1.375rem;
  font-size: clamp(2.1875rem, 3.8vw, 2.9375rem);
  line-height: 1.12;
  letter-spacing: normal;
}
.hero-content h1 span { display: block; }

.hero-content > p {
  text-wrap: pretty;
  max-width: 32.0625rem;
  margin-bottom: 1.6875rem;
  color: #fff;
  font-size: var(--atlas-body-size);
  line-height: 1.7;
}
/* Keep the whole promise centered as its content changes. */
.hero-benefits { display: grid; gap: .875rem; margin: 0 0 2rem; padding: 0; list-style: none; color: #fff; font-size: var(--atlas-body-size); line-height: 1.6; }
.hero-benefits li { display: flex; align-items: flex-start; gap: .75rem; }
.hero-benefits li::before { content: ""; flex: 0 0 1.125rem; width: 1.125rem; height: 1.6em; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12 5 5L20 6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-content .button-gold b { margin-left: 0.5625rem; }

.form-journey { position: relative; isolation: isolate; width: var(--atlas-page-size); margin: 0 auto var(--atlas-section-gap); padding: 0; background: #fff; border: 1px solid var(--atlas-card-border); border-radius: 1.8125rem; box-shadow: var(--atlas-shadow); overflow: hidden; }
.hero > .form-journey { grid-column: 2; grid-row: 1; width: 100%; margin: 0; padding: clamp(1.75rem, 4vw, 3.125rem); border-radius: var(--atlas-card-radius); }
.hero .form-card-wrap { position: relative; z-index: 1; width: 100%; margin: 0; }
body[data-design="field-atlas"] .form-journey :is(.form-section, .trust-strip) { width: 100%; }
.form-journey .form-section { z-index: 1; margin-bottom: 0; padding: clamp(1.75rem,4vw,3.125rem); gap: clamp(1.8125rem,4vw,3.125rem); }
.form-journey .form-content, .form-journey .form-card-wrap { align-self: start; }
.form-journey .form-card-wrap { width: 100%; margin: 0; }
.form-journey .form-intro { color: var(--atlas-ink); }
.form-journey .analysis-form { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.form-journey .trust-strip { margin-bottom: 0; }
.form-section {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, .9fr) minmax(23.625rem, 1.1fr);
  margin: 0 auto var(--atlas-section-gap);
  padding: 0;
  display: grid;
  align-items: start;
  background: transparent;
  border-radius: var(--atlas-radius);
}
.hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #4d6b45 url("assets/hero-image1.jpg") center bottom / auto 125% no-repeat;
}
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(13, 35, 20, .18); }
.form-section .form-card-wrap { grid-column: 2; grid-row: 1; }
.form-section .form-content { grid-column: 1; grid-row: 1; }
.form-content, .form-card-wrap { min-width: 0; }
.report-block, .result-map-layout > *, .listing-cta > *, .registered-use-layout > *, .result-metrics article, .detail-metrics article { min-width: 0; }
.form-content { align-self: center; padding-block: 0; }
.form-journey .form-intro { text-shadow: none; }
.form-intro { margin-bottom: 0; }
.form-intro h2 { margin-bottom: 1.125rem; }
.form-intro h2 { font-size: var(--atlas-section-title); font-weight: 600; line-height: 1.2; text-wrap: balance; }
.form-intro h2 span { display: block; width: fit-content; background: linear-gradient(transparent 72%, rgba(229,173,39,.38) 72%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sample-dashboard-footer p { font-size: 1.625rem; font-weight: 600; line-height: 1.2; text-wrap: balance; }
body[data-design="field-atlas"] .form-journey .form-intro h2 { color: var(--atlas-ink); }
.form-benefits { width: 85%; list-style: none; padding: 0; margin: 1.8125rem 0 0; display: grid; gap: 1.375rem; }
.form-benefits li { position: relative; padding-left: 1.8125rem; color: var(--atlas-ink-soft); font-size: var(--atlas-body-size); line-height: 1.7; }
.form-benefits li::before { content: "✓"; position: absolute; left: 0; top: -0.125rem; color: var(--atlas-green); font-size: 1.375rem; font-weight: 600; }
.form-intro p { color: var(--atlas-ink-soft); line-height: 1.7; }
.form-intro > p:last-child { margin-bottom: 0; }

.analysis-form {
  max-width: none;
  --input-inset: 0rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.analysis-form legend { padding: 0; margin-bottom: 0.4375rem; font-size: var(--atlas-body-size); font-weight: 600; line-height: 1.5; letter-spacing: normal; }
.analysis-form .intake-grid + .intake-consent { margin-top: 2.25rem; }
.analysis-form .intake-grid small { margin-inline: var(--input-inset); }
.analysis-form .intake-consent { margin-left: var(--input-inset); }
.analysis-form .intake-consent input { width: 1.375rem; height: 1.375rem; margin: 0.125rem 0 0; }
.analysis-form .single-form-footer { padding-left: 0; }
.analysis-form .single-form-footer button { padding-inline: 1.375rem; justify-content: center; width: 100%; }
.analysis-form .privacy-note, .analysis-form .field-error { margin-left: var(--input-inset); }
.intake-grid { gap: 1rem; }
.intake-grid label { color: var(--atlas-ink-soft); font-size: var(--atlas-label-size); letter-spacing: normal; }
.intake-grid label span { color: var(--atlas-ink); }
.intake-grid small a { text-decoration: underline; text-underline-offset: .2em; }
.intake-grid input,
.intake-grid select {
  height: 3.125rem;
  padding-inline: 1.125rem;
  border-color: #a0a6a1;
  border-radius: 0.5625rem;
  background: #fff;
  font-size: var(--atlas-body-size);
  font-weight: 400;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.intake-grid input:hover { border-color: rgba(36,77,46,.46); background: #fff; }
.intake-grid input:focus {
  border-color: var(--atlas-green-2);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(63,114,73,.11);
  outline: 2px solid var(--atlas-green);
  outline-offset: 3px;
}
.intake-grid input::placeholder { color: var(--muted); opacity: 1; }
.intake-consent { margin-top: 1.375rem; padding-block: 0.4375rem; min-height: 2.5rem; align-items: start; font-size: var(--atlas-meta-size); line-height: 1.6; font-weight: 400; cursor: pointer; }
.intake-grid small, .privacy-note { font-size: var(--atlas-meta-size); }
.single-form-footer { margin-top: 2.25rem; flex-wrap: wrap; }
.privacy-note { width: 100%; margin-top: 0.875rem; line-height: 1.6; }

.trust-strip {
  display: block;
  margin-top: 0;
  margin-bottom: var(--atlas-section-gap);
  overflow: visible;
  border: 0;
  gap: var(--atlas-grid-gap);
  background: transparent;
  box-shadow: none;
}
.trust-strip h2 { max-width: 32ch; margin-bottom: var(--atlas-heading-gap); font-size: var(--atlas-section-title); line-height: 1.25; }

/* The example is static markup, styled like the opening of the actual report. */
.sample-report { width: min(var(--atlas-page-size), 48rem); margin: 0 auto var(--atlas-section-gap); padding: 0; }
.sample-report-heading { margin-bottom: var(--atlas-heading-gap); text-align: center; }
.sample-report-heading h2 { max-width: none; margin: 0; font-size: clamp(1.5rem, 2.3vw, 1.8125rem); line-height: 1.2; }
.sample-dashboard {
  min-width: 0;
  border: 1px solid #c8d4c6;
  border-radius: 1.5625rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 .875rem 2.25rem -.6875rem rgba(25, 35, 28, .18);
}
body[data-design="field-atlas"] .sample-dashboard .report { width: 100%; margin: 0; padding: clamp(1.75rem, 2.8vw, 2.25rem) 1.5625rem; background: #fff; }
.sample-dashboard .report-block { margin-bottom: 1.5625rem; }
.sample-dashboard .report-block:last-child { margin-bottom: 0; }
.sample-dashboard .result-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.375rem; }
.sample-dashboard .result-metrics article:nth-child(n) { grid-column: span 1; grid-row: auto; order: initial; min-height: 0; padding: var(--atlas-card-padding); border: 0; border-radius: var(--atlas-card-radius); background: #fff; color: var(--atlas-ink); box-shadow: var(--atlas-shadow); }
.sample-dashboard .result-metrics article.metric-use { background: #fff; }
.sample-dashboard .result-metrics .metric-use :is(span, strong) { color: var(--atlas-ink); }
.sample-dashboard .result-metrics .metric-use small { color: #6c746e; }
.sample-dashboard .result-map-layout { grid-template-columns: 1fr; gap: 1.375rem; padding: 0; border: 0; background: transparent; box-shadow: none; }
.sample-dashboard .result-map-layout > .map-card { grid-template-rows: auto auto auto; }
.sample-dashboard .result-map-layout :is(.card-heading, .map-footer) { height: auto; }
.sample-static-map { min-width: 0; aspect-ratio: 1524 / 802; overflow: hidden; background: #6f7b62; }
.sample-static-map > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sample-static-basemap { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem; border: 1px solid var(--atlas-line); border-radius: 999px; background: #fff; font-size: 0.6875rem; font-weight: 600; }
.sample-static-basemap b { padding: 0.375rem 0.5625rem; border-radius: 999px; color: #fff; background: var(--atlas-green); }
.sample-static-basemap > span { padding: 0.375rem 0.375rem; color: var(--atlas-ink-soft); }
.sample-dashboard .map-footer { gap: 0.6875rem; }
.sample-dashboard .map-footer span:first-child { padding: 0.375rem 0.625rem; border: 1px solid var(--atlas-line); border-radius: 0.375rem; background: #fff; }
.sample-dashboard .map-footer i { display: inline-grid; width: 0.875rem; height: 0.875rem; place-items: center; margin-right: 0.25rem; border-radius: 0.1875rem; color: #fff; background: var(--atlas-green); font-size: 0.625rem; font-style: normal; }
.sample-dashboard .card-heading { padding: 1.125rem; flex-direction: column; justify-content: center; gap: 0.5625rem; }
.sample-dashboard .result-map-layout .card-heading h3 { margin: 0; font-size: 1.125rem; line-height: 1.4; }
.sample-dashboard .map-footer { justify-content: center; padding: 1.125rem; }
.sample-dashboard .report-block.sample-opportunity:last-child { margin-bottom: 3.125rem; }
.sample-dashboard .sample-opportunity .section-heading { margin-bottom: var(--atlas-heading-gap); }
.sample-dashboard .sample-opportunity .section-heading h3 { margin: 0; font-size: clamp(1.5rem, 2.3vw, 1.8125rem); line-height: 1.2; text-align: center; }
.sample-dashboard .sample-opportunity .question-grid article { grid-column: auto; grid-template-columns: 1fr; gap: 0; cursor: default; }
.sample-dashboard .sample-opportunity .question-grid article:hover { box-shadow: var(--atlas-shadow); }
/* A fading row hints at further checks without inventing additional results. */
/* A fading row hints at further checks without inventing additional results. */
.sample-risk-continuation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--atlas-grid-gap); height: 8.5rem; overflow: hidden; margin-top: var(--atlas-grid-gap); mask-image: linear-gradient(to bottom, #000, transparent 90%); }
@media (max-width: 950px) {
  .sample-risk-continuation { grid-template-columns: 1fr; }
  .sample-risk-continuation > :nth-child(n + 2) { display: none; }
}
/* Only the decorative continuation fades; all displayed results remain readable. */
.sample-dashboard .report { display: block; mask-image: linear-gradient(to bottom, #000 calc(100% - 11rem), transparent calc(100% - 1rem)); }
.sample-next-cards { height: 8.5rem; overflow: hidden; margin-top: 2rem; }
.sample-next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--atlas-grid-gap); }
.sample-next-card { min-height: 10rem; padding: var(--atlas-card-padding); border: 1px solid var(--atlas-line); border-radius: var(--atlas-card-radius); box-shadow: var(--atlas-shadow); }
.sample-next-card span { display: block; margin-bottom: 1rem; }
.sample-next-card i { display: block; width: 80%; height: .65rem; margin-top: .8rem; border-radius: 999px; background: var(--atlas-mist); }
.sample-next-card i:last-child { width: 55%; }
@media (max-width: 600px) { .sample-next-grid { grid-template-columns: 1fr; } }
.sample-dashboard-footer { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.125rem; margin-top: -3rem; padding: 0 1.5625rem 1.5625rem; border: 0; border-radius: 0; box-shadow: none; background: #fff; text-align: center; }
.sample-dashboard-footer .button-gold { gap: 0.6875rem; margin-top: 0.875rem; }
.sample-dashboard-footer p { max-width: 100%; margin: 0; color: var(--atlas-ink); }

@media (min-width: 951px) {
  .sample-dashboard .sample-opportunity .question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.steps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--atlas-grid-gap); overflow: visible; align-items: stretch; }
.steps-list article {
  min-height: 0;
  padding: var(--atlas-card-padding);
  overflow: visible;
  border: 0;
  border-radius: var(--atlas-card-radius);
  background: #fff;
  box-shadow: var(--atlas-shadow);
}
.steps-list article:nth-of-type(2) { color: var(--atlas-ink); background: #fff; }
.steps-list article:nth-of-type(n) > span { background: #e7f0df; color: #3f7249; }
.steps-list article h3 { width: fit-content; background: linear-gradient(transparent 72%, rgba(229,173,39,.32) 72%); }
.steps-list article > span { width: 2.125rem; height: 2.125rem; margin-bottom: 1.125rem; border: 0; color: var(--atlas-green); background: var(--atlas-moss); font-size: 0.875rem; line-height: 1; }
.steps-list h3 { font-size: 1.1875rem; line-height: 1.5; }
.steps-list p,
.steps-list ul { font-size: var(--atlas-body-size); font-weight: 400; line-height: 1.65; }
.trust-strip > .step-cta { width: auto; margin-top: 1.8125rem; }
@media (max-width: 900px) { .steps-list { grid-template-columns: 1fr; gap: 1.125rem; } }

/* Loader: one precise instrument panel, no decorative second screen. */
.analysis-state {
  background:
    radial-gradient(circle at 50% 20%, rgba(63,114,73,.24), transparent 30.625rem),
    rgba(13,31,19,.94);
  backdrop-filter: blur(0.8125rem);
}
.analysis-panel {
  position: relative;
  width: min(42.75rem, 100%);
  border: 0;
  border-radius: var(--atlas-card-radius);
  box-shadow: 0 2.125rem 6.1875rem rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.9);
}
.analysis-panel::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(229,173,39,.95), transparent);
  box-shadow: 0 0 1rem rgba(229,173,39,.55);
  animation: atlas-scan 2.4s ease-in-out infinite;
  pointer-events: none;
}
.analysis-copy { position: relative; padding: 2.8125rem 3.125rem 2.375rem; }
.analysis-copy > * { position: relative; z-index: 1; }
.analysis-copy h2 { max-width: 32.0625rem; font-size: clamp(1.5625rem, 3vw, 2rem); line-height: 1.1; }
.research-ledger li { min-height: 4.25rem; }
.research-ledger li.active i { box-shadow: 0 0 0 7px rgba(229,173,39,.12); }
.research-ledger li.done i { box-shadow: inset 0 0 0 2px #fff, 0 0 0 6px rgba(63,114,73,.08); }
@keyframes atlas-scan { 0%,100% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 2px); opacity: 0; } }

/* Report: map-led inspection, then a weighted bento of facts. */
.report-error { width: min(40.5rem, var(--atlas-page-size)); margin: var(--atlas-section-gap) auto; padding: var(--atlas-card-padding); border-radius: var(--atlas-card-radius); }
.report-error h1 { font-size: var(--atlas-card-title); line-height: 1.3; }
.report-v2 { padding-top: 3.625rem; }
.report-v2::before { width: 36.5625rem; height: 36.5625rem; right: -14.625rem; background: rgba(245,239,230,.72); }
.result-hero { margin-bottom: 2.8125rem; }
.result-hero > div { max-width: 50.625rem; }
.result-hero > .report-actions { align-self: center; }
.result-hero .button-outline { white-space: nowrap; }
.result-hero h1 {
  margin: 0.8125rem 0 1rem;
  font-size: clamp(2.3125rem, 4.3vw, 3.0625rem);
  line-height: 1;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
.result-hero p { max-width: 37.125rem; line-height: 1.65; }
.report-block { margin-bottom: var(--atlas-section-gap); }
body[data-page="report"] .report-block { margin-bottom: var(--atlas-section-gap); }
.section-heading { margin-bottom: var(--atlas-heading-gap); }
.section-heading h2 { font-size: var(--atlas-section-title); line-height: 1.2; text-wrap: balance; }
.main-data-block { margin-top: 0; }
.result-metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--atlas-grid-gap);
  overflow: visible;
  border: 0;
  background: transparent;
}
.result-metrics article {
  position: relative;
  min-height: 9.4375rem;
  padding: var(--atlas-card-padding);
  overflow: hidden;
  border: 0;
  border-radius: var(--atlas-card-radius);
  background: #fff;
  box-shadow: var(--atlas-shadow);
}
.result-metrics article:nth-child(1) { grid-column: 1 / 4; grid-row: 1; min-height: 9.875rem; }
.result-metrics article:nth-child(2) { grid-column: 4 / 7; grid-row: 1; min-height: 9.875rem; }
.result-metrics .metric-spotlight {
  padding: var(--atlas-card-padding);
  grid-template-rows: auto auto auto;
  align-content: start;
}
.result-metrics .metric-spotlight > span { font-size: 1rem; }
.result-metrics .metric-spotlight strong {
  align-self: end;
  margin: 0.5625rem 0 0.6875rem;
  font-size: clamp(2rem, 3.4vw, 2.9375rem) !important;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: normal;
  font-variant-numeric: tabular-nums;
}
.result-metrics article:not(.metric-spotlight) {
  grid-template-rows: auto auto 1fr;
  align-content: start;
}
.result-metrics article > span,
.result-metrics article:not(.metric-spotlight) > span {
  color: #171717;
  font-size: var(--atlas-label-size);
  font-weight: 400;
  line-height: 1.4;
}
.result-metrics article:not(.metric-spotlight) > strong {
  align-self: end;
  margin: 0.4375rem 0 0.6875rem;
  font-size: 2rem;
  overflow-wrap: anywhere;
  font-weight: 600;
  line-height: 1.2;
}
.result-metrics article > small { font-size: var(--atlas-meta-size); font-weight: 400; line-height: 1.55; }
.result-metrics .metric-area { background: #fff; }
.result-metrics .metric-use { color: var(--atlas-ink); background: #fff; }
.result-metrics .metric-use span,
.result-metrics .metric-use small { color: #6c746e; }
.result-metrics .metric-use span { color: var(--atlas-ink); }
.result-metrics .metric-use strong { color: var(--atlas-ink); }
.metric-orbit {
  display: none;
  position: absolute;
  width: 8.4375rem;
  height: 8.4375rem;
  right: -3.0625rem;
  bottom: -3.25rem;
  border: 1.4375rem solid rgba(229,173,39,.14);
  border-radius: 50%;
}

.result-map-layout { grid-template-columns: minmax(0, 1.4fr) minmax(21.9375rem, 1fr); gap: 1.5625rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.result-map-layout > .map-card { --map-bar-height: 5.875rem; display: grid; grid-template-rows: var(--map-bar-height) minmax(24.75rem, 1fr) var(--map-bar-height); }
.result-map-layout .card-heading, .result-map-layout .map-footer { min-height: 0; height: var(--map-bar-height); padding: 1.375rem; background: #fff; }
.result-map-layout .card-heading h3 { font-size: var(--atlas-card-title); line-height: 1.3; }
.result-map-layout .map-wrap { min-height: 0; }
.result-map-layout #parcel-map { position: absolute; inset: 0; height: 100%; }
.result-map-layout .map-footer { justify-content: flex-start; }
.result-map-layout .map-footer > a:only-child { margin-left: 0; }
.map-card,
.land-summary-card,
.registered-facts,
.composition-list {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.result-map-layout .land-summary-card { position: relative; border-left: 0; }
.result-map-layout .land-summary-card::before { content: none; }
.map-card { background: #f7f8f5; }
.card-heading { min-height: 5.375rem; padding: 1.375rem 1.5625rem; }
.card-heading h3 { margin: 4px 0 0; font-size: clamp(1.375rem, 2.2vw, 1.8125rem); }
.base-switch {
  padding: 5px;
  border: 0;
  background: rgba(255,255,255,.75);
  box-shadow: inset 0 1px rgba(255,255,255,.9);
  backdrop-filter: blur(0.6875rem);
}
.base-switch button { min-height: 2.625rem; padding: 0.5rem 0.9375rem; font-size: var(--atlas-label-size); font-weight: 600; transition: color .2s ease, background .2s ease; }
.base-switch button.active { background: var(--atlas-green-2); box-shadow: 0 0.4375rem 1rem -0.5625rem rgba(20,58,28,.65); }
#parcel-map { height: 32.0625rem; }
.map-wrap { overflow: hidden; background: #d7ded0; }
.leaflet-control-zoom a { font-weight: 600; }
.layer-panel {
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 56.1875rem;
  background: rgba(248,250,246,.76);
  box-shadow: 0 0.6875rem 1.9375rem -1rem rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.92);
  backdrop-filter: blur(0.8125rem);
}
.map-badge {
  left: 1rem;
  bottom: 1rem;
  padding: 0.5625rem 0.875rem;
  border: 0;
  background: rgba(20,49,29,.82);
  box-shadow: 0 0 0 6px rgba(36,77,46,.12);
  backdrop-filter: blur(0.6875rem);
  letter-spacing: normal;
}
.land-summary-card { padding: var(--atlas-card-padding); background: #fff; }
.land-summary-card > h3 { margin: 0 0 0.4375rem; font-size: var(--atlas-card-title); line-height: 1.3; }
.land-facts > div { padding: var(--atlas-divider-space) 0; grid-template-columns: 1fr; gap: 0.4375rem; }
.land-facts dt,
.land-facts small { color: var(--muted); font-size: var(--atlas-meta-size); font-weight: 400; line-height: 1.55; }
.land-facts dt, .registered-facts dt,
.detail-metrics article > span { color: var(--atlas-ink); font-size: var(--atlas-label-size); line-height: 1.5; }
.land-facts dd { font-size: var(--atlas-fact-size); font-weight: 600; line-height: 1.35; text-align: left; overflow-wrap: anywhere; }
.land-facts dd#block-output { max-width: none; }
.land-facts dd#block-output { white-space: pre-line; }
.land-use-breakdown { padding-top: 1.5625rem; }
.land-use-breakdown h4 { font-weight: 400; }
.crop-breakdown { margin-top: 1.8125rem; padding-top: 0; }
.crop-breakdown > div { padding: var(--atlas-divider-space-compact) 0; color: #171717; }
.crop-breakdown b, .land-facts dd { color: #171717; }
.land-use-chart { height: 1rem; box-shadow: inset 0 1px 3px rgba(36,77,46,.1); }
.land-use-chart span { background: linear-gradient(90deg, var(--atlas-gold), #efc856); box-shadow: 4px 0 0.875rem rgba(229,173,39,.35); transition: width .8s cubic-bezier(.2,.75,.2,1); }
.land-use-labels { grid-template-columns: 1fr; gap: 0; }
.land-use-labels p:last-child { text-align: left; }

.detail-metrics {
  grid-template-columns: repeat(6, 1fr);
  gap: var(--atlas-grid-gap);
  overflow: visible;
  border: 0;
  background: transparent;
}
.detail-metrics article {
  min-height: 8.5625rem;
  padding: var(--atlas-card-padding);
  grid-template-rows: auto auto 1fr;
  border: 0;
  border-radius: var(--atlas-card-radius);
  background: #fff;
  box-shadow: var(--atlas-shadow);
}
.detail-metrics article:nth-child(1),
.detail-metrics article:nth-child(2) { grid-column: span 3; }
.detail-metrics article:nth-child(n+3) { grid-column: span 2; }
.detail-metrics article > span { color: var(--atlas-ink); font-size: var(--atlas-label-size); font-weight: 400; }
.detail-metrics article strong { align-self: start; margin: 0.4375rem 0 0.6875rem; font-size: var(--atlas-fact-size) !important; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.detail-metrics article small { font-size: var(--atlas-meta-size); font-weight: 400; line-height: 1.55; }

.registered-use-layout { gap: 1rem; background: #fff; padding: 0.4375rem; border-radius: var(--atlas-card-radius); box-shadow: var(--atlas-shadow); }
.registered-facts,
.composition-list { background: transparent; border-radius: 0; box-shadow: none; }
.registered-facts { padding: 0 var(--atlas-card-padding); }
.registered-facts > div { padding-block: var(--atlas-divider-space); }
.registered-facts dt { margin-bottom: 0.4375rem; }
.registered-facts dd { font-size: var(--atlas-fact-size); font-weight: 600; line-height: 1.35; }
.registered-facts dd#purpose-output { width: 90%; font-weight: 600; }
.composition-list { padding: var(--atlas-card-padding); }
.composition-list > div + div { margin-top: 1.375rem; }

.land-use-labels p, .crop-breakdown { font-size: var(--atlas-meta-size); line-height: 1.6; }

.question-grid { grid-template-columns: 1fr; gap: var(--atlas-grid-gap); }
.question-grid article {
  grid-column: 1;
  min-height: 0;
  padding: var(--atlas-card-padding);
  align-content: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 1.8125rem;
  align-self: start;
  border: 0;
  border-radius: var(--atlas-card-radius);
  background: #fff;
  box-shadow: var(--atlas-shadow);
}
.question-grid article:nth-child(n) { background: #fff; }
.question-grid article { cursor: pointer; transition: box-shadow .2s ease; }
.question-grid article:hover { box-shadow: 0 0.5625rem 1.625rem -0.5625rem rgba(25,49,30,.24); }
.question-grid article:focus-within { outline: 2px solid var(--atlas-green); outline-offset: 3px; }
.question-grid article > div { width: 90%; display: grid; gap: 0.4375rem; justify-content: start; align-content: start; }
body[data-design="field-atlas"] .question-grid h3 { max-width: none; color: var(--atlas-ink); font-size: var(--atlas-label-size); font-weight: 400; line-height: 1.5; }
.question-grid span,
.question-grid span[class] { justify-self: start; padding: 0; border: 0; border-radius: 0; color: var(--atlas-ink); background: transparent; font-size: var(--atlas-fact-size); font-weight: 600; line-height: 1.35; text-wrap: pretty; overflow-wrap: anywhere; }
.question-grid p { max-width: none; margin: 1.125rem 0 1.375rem; color: var(--atlas-ink-soft); font-size: var(--atlas-body-size); line-height: 1.7; }
.question-grid .unavailable { font-weight: 600; }
.question-grid article > div > span[class] { border-left: 0.1875rem solid var(--atlas-gold); padding-left: 0.75rem; margin-top: 0.3125rem; }
/* Icons mark assessed findings; calculated facts have no warning marker. */
.question-grid article > div > span:is(.status-found, .status-clear) { display: flex; align-items: flex-start; gap: .75rem; border-left: 0; padding-left: 0; }
.question-grid article > div > span:is(.status-found, .status-clear)::before { content: ""; flex: 0 0 1.4em; width: 1.4em; height: 1.35em; mask: var(--status-icon) center / contain no-repeat; background: var(--status-color); }
.question-grid article > div > span.status-found::before { flex-basis: .6em; width: .6em; }
.question-grid article > div > span.status-found { --status-color: #dc2626; --status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8 0 8 24'%3E%3Cpath d='M10 3h4l-.6 13h-2.8z'/%3E%3Ccircle cx='12' cy='20' r='2'/%3E%3C/svg%3E"); }
.question-grid article > div > span.status-clear { --status-color: #16a34a; --status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12 5 5L20 6' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.question-grid article > div > span.status-unavailable { border-left-color: var(--atlas-gold); }
.question-grid article > div > span.status-calculated { border-left: 0; padding-left: 0; }
.question-grid #slope-output.status-calculated { border-left: .25rem solid var(--atlas-gold); padding-left: .75rem; }
.question-grid small { color: var(--muted); font-size: var(--atlas-meta-size); font-weight: 400; line-height: 1.6; }
.question-explanation summary { width: fit-content; min-height: 2.5rem; display: list-item; align-content: center; color: var(--atlas-ink-soft); font-size: var(--atlas-meta-size); cursor: pointer; }
.question-explanation summary:hover { color: var(--atlas-green); }
.question-explanation summary:focus-visible { outline: 2px solid var(--atlas-green); outline-offset: 4px; border-radius: 4px; }
.question-explanation p { margin: 0.6875rem 0 1rem; }
.question-details:empty { display: none; }
.question-details { margin: 0 0 1.375rem; gap: 0.5625rem; }
.question-details li { background: var(--atlas-mist); font-weight: 400; }

.consultation-cta {
  margin-top: 0;
  margin-bottom: var(--atlas-section-gap);
  padding: clamp(2.6875rem, 6vw, 4.375rem);
  gap: clamp(3.0625rem, 7vw, 5.625rem);
  border: 0;
  border-radius: 1.6875rem;
  color: #fff;
  background: var(--atlas-green-gradient);
  box-shadow: none;
}
.consultation-cta .cta-copy h2 { color: #fff; font-size: var(--atlas-section-title); line-height: 1.2; text-wrap: balance; }
.consultation-cta .cta-copy > p { color: #e4ebe5; line-height: 1.7; }
.consultation-cta .listing-form { padding: 0; border: 0; border-radius: 0; color: #fff; background: transparent; box-shadow: none; }
.consultation-cta .listing-form h3 { color: #fff; }
.consultation-cta .interest-options label { color: #fff; font-size: var(--atlas-body-size); }
.consultation-cta .interest-options label:hover { color: #fff; }
.consultation-cta .consultation-note { font-size: var(--atlas-meta-size); }
.consultation-cta .interest-options label + label { border-color: rgba(255,255,255,.3); }
.interest-options { gap: 0; }
.interest-options label {
  min-height: 3.125rem;
  padding: 1.25rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 1.6;
}
.interest-options label + label { border-top: 1px solid var(--atlas-line); }
.interest-options label:hover, .newsletter-topics label:hover { color: var(--atlas-green); }
.interest-options label:has(input:checked) { background: transparent; box-shadow: none; }
.interest-options small { font-size: var(--atlas-meta-size); line-height: 1.6; }
.consultation-cta .listing-form .button-gold { min-height: 3.375rem; }
.consultation-cta::after { content: ""; position: absolute; left: auto; right: -3.625rem; top: 50%; bottom: auto; transform: translateY(-50%); width: 20.6875rem; height: 20.6875rem; border: 0; background: url("assets/brand-symbol.svg") center / contain no-repeat; filter: brightness(0) invert(.6); opacity: .16; pointer-events: none; }
.consultation-cta::after { opacity: .12; }
.consultation-cta::after { width: 31.0625rem; height: 31.0625rem; right: -8.125rem; }
.consultation-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3.625rem,7vw,5.375rem); }
body[data-design="field-atlas"] :is(.button-gold,.button-outline) { padding-block: 1rem; }
.hero-content > p + p { margin-top: -0.875rem; margin-bottom: 2.25rem; }
.listing-form > .button-gold { margin-top: 1.8125rem; }
.consultation-cta > * { position: relative; z-index: 1; }
.listing-cta .listing-form h3 { font-size: 1.125rem; line-height: 1.4; }
.listing-cta .interest-options label { align-items: flex-start; }
.newsletter-topics { display: grid; gap: 0; margin-bottom: 1.125rem; }
.newsletter-topics label { display: flex; align-items: flex-start; gap: 0.8125rem; min-height: 3.125rem; padding: 1.25rem 0; line-height: 1.6; font-weight: 400; cursor: pointer; }
.newsletter-topics label + label { border-top: 1px solid var(--atlas-line); }
.followup-contact { margin-block: 1.125rem; }
.consultation-cta .followup-contact label span { color: #fff; }
.listing-cta input[type="checkbox"] { flex-shrink: 0; width: 1.375rem; height: 1.375rem; margin-top: 3px; accent-color: var(--atlas-green); }
.consultation-cta input[type="checkbox"] { accent-color: var(--atlas-gold); }
.listing-cta input:disabled { cursor: default; }
.hero-content > p span { display: inline-block; text-wrap: balance; }
.report-footer-actions { justify-content: flex-start; gap: 0.8125rem; }
.report-footer-actions .button-outline,
.report-footer-actions .button-gold { min-height: 3.25rem; padding-inline: 1.6875rem; box-shadow: none; }
.report-footer-actions .button-outline { border: 0; background: var(--atlas-moss); }
/* Supporting sources stay secondary to the answer, without becoming faint. */
.result-metrics article > small,
.detail-metrics article small,
.land-facts small,
.question-grid small { color: #6c746e; }

@media (max-width: 1100px) {
  :root { --atlas-gutter: 35px; }
  .hero, .form-section { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.8125rem; }
  .hero-content h1 { font-size: clamp(2.1875rem, 4vw, 2.6875rem); }
  .form-section { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.8125rem; }
  .form-intro { max-width: 34.875rem; }
  .form-card-wrap { width: min(42.75rem, 100%); }
  .result-map-layout { grid-template-columns: minmax(0, 1.2fr) minmax(19.6875rem, 1fr); }
  .result-map-layout .card-heading { flex-wrap: wrap; gap: 0.4375rem; }
  .result-map-layout > .map-card { --map-bar-height: 7.875rem; }
  .land-summary-card { display: block; }
  .detail-metrics { grid-template-columns: repeat(6,1fr); }
}

@media (max-width: 950px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; gap: 2.6875rem; }
  .hero-panel { grid-column: 1; grid-row: 1; grid-template-columns: minmax(0, 1fr); }
  .hero > .form-journey { grid-column: 1; grid-row: 2; justify-self: center; max-width: 38.6875rem; }
  .form-section { grid-template-columns: minmax(0, 1fr); }
  .form-section .form-content, .form-section .form-card-wrap { grid-column: 1; grid-row: auto; }
  .form-card-wrap { width: 100%; }
  .listing-cta { grid-template-columns: minmax(0, 1fr); gap: 1.8125rem; }
}

@media (min-width: 761px) and (max-width: 950px) {
  .result-map-layout { grid-template-columns: 1fr; }
  .result-map-layout .land-summary-card { border: 0; }
  .result-map-layout .land-summary-card::before { top: 0; bottom: auto; left: 1.375rem; right: 1.375rem; width: auto; height: 1px; }
  .result-map-layout > .map-card { --map-bar-height: 5.875rem; grid-template-rows: var(--map-bar-height) 23.375rem var(--map-bar-height); }
  .followup-contact { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --atlas-gutter: 20px; --atlas-card-padding: 1.375rem; --atlas-grid-gap: 0.875rem; --atlas-section-gap: 5.375rem; --atlas-heading-gap: 1.5625rem; --atlas-section-title: 1.6875rem; --atlas-body-size: 1rem; --atlas-meta-size: 0.875rem; --atlas-label-size: 0.875rem; }
  .site-header { min-height: 4.1875rem; }
  body[data-design="field-atlas"] .hero { width: 100%; margin-top: 1.375rem; margin-bottom: var(--atlas-section-gap); padding: 2.25rem var(--atlas-gutter) 3rem; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; gap: 2.25rem; border-radius: 0; }
  .hero > .form-journey { padding: 1.375rem; }
  .hero-panel { position: relative; top: auto; grid-column: 1; grid-template-columns: minmax(0, 1fr); }
  .hero-content { padding: 1.75rem 1.375rem 1.75rem calc(1.375rem + 1px); }
  .hero-content h1 { margin-bottom: 1.375rem; font-size: clamp(1.8125rem, 8.2vw, 2.25rem); line-height: 1.16; text-wrap: balance; }
  .hero-content > p { margin-bottom: 1.8125rem; font-size: var(--atlas-body-size); line-height: 1.65; }
  .hero-content > p span { display: inline; text-wrap: wrap; }
  .hero-content .button-gold { display: none; }
  .hero-benefits { margin-bottom: 0; }
  .form-journey { width: var(--atlas-page-size); padding: 0; border-radius: var(--atlas-card-radius); }
  .form-journey .form-section { padding: 1.375rem; }
  .form-journey .form-card-wrap { width: 100%; margin-right: 0; }
  .form-benefits { width: 100%; }
  .form-section { grid-template-columns: 1fr; margin-bottom: var(--atlas-section-gap); padding: 0; gap: 1.8125rem; }
  .form-section .form-content, .form-section .form-card-wrap { grid-column: 1; grid-row: auto; }
  .form-content { padding: 0; }
  .intake-grid input { font-size: var(--atlas-body-size); }
  .analysis-form { padding: 0; border-radius: 0; }
  .form-intro h2 { font-size: 1.5625rem; line-height: 1.3; }
  .analysis-form legend { font-size: var(--atlas-body-size); line-height: 1.5; }
  .analysis-form .single-form-footer button { width: 100%; justify-content: center; text-align: center; }
  .trust-strip { gap: var(--atlas-grid-gap); margin-top: 0; margin-bottom: var(--atlas-section-gap); }
  .sample-dashboard { border-radius: 1.25rem; }
  body[data-design="field-atlas"] .sample-dashboard .report { padding: 1.75rem 1.125rem; }
  /* Mobile keeps the same complete static example in a compact composition. */
  .sample-dashboard .result-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6875rem; }
  .sample-dashboard .result-metrics article:nth-child(n) { grid-column: span 1; min-height: 0; padding: 0.875rem; }
  .sample-dashboard .result-metrics .metric-spotlight strong { font-size: clamp(1.25rem, 6vw, 1.5rem) !important; white-space: nowrap; }
  .sample-static-basemap { font-size: 0.625rem; }
  .sample-dashboard-footer { padding: 1.375rem 1.125rem; }
  .sample-dashboard-footer p { font-size: 1.25rem; line-height: 1.3; }
  .sample-dashboard-footer .button-gold { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list article { min-height: 0; padding: var(--atlas-card-padding); }
  .trust-strip > .step-cta { width: 100%; justify-content: center; text-align: center; }
  .steps-list article > span { margin-bottom: 1.25rem; }
  .analysis-copy { padding: 1.9375rem 1.25rem 1.5625rem; }
  .analysis-copy h2 { font-size: 1.8125rem; }
  .research-ledger li { min-height: 3.5rem; grid-template-columns: 1.125rem 1fr; }
  .research-ledger em { grid-column: 2; margin-top: -0.5625rem; }

  .report-v2 { padding-top: 2.25rem; }
  .result-hero { margin-bottom: 1.9375rem; }
  .result-hero h1 { margin-top: 0.875rem; font-size: clamp(1.6875rem, 8vw, 2.125rem); line-height: 1.15; overflow-wrap: anywhere; }
  .result-hero p { font-size: var(--atlas-body-size); }
  .result-hero > .report-actions { align-self: flex-start; }
  .report-v2 > .main-data-block { order: 1; }
  .report-v2 > .map-analysis { order: 2; }
  .report-block { margin-bottom: var(--atlas-section-gap); }
  .result-metrics { grid-template-columns: 1fr; gap: var(--atlas-grid-gap); }
  .result-metrics article,
  .result-metrics article:nth-child(n) { grid-column: 1 / -1; grid-row: auto; min-height: 0; padding: var(--atlas-card-padding); }
  .result-metrics .metric-area { order: 1; }
  .result-metrics .metric-use { order: 2; }
  .result-metrics article:nth-child(2) { order: 3; }
  .result-metrics article:nth-child(4) { order: 4; }
  .result-metrics article:nth-child(5) { order: 5; }
  .result-metrics .metric-spotlight strong { font-size: 2.1875rem !important; }
  .result-metrics article:not(.metric-spotlight) > strong { font-size: 1.5625rem; }
  .card-heading { min-height: 0; padding: 1.25rem; }
  .card-heading h3 { font-size: var(--atlas-card-title); }
  .result-map-layout { grid-template-columns: 1fr; padding: 0; border: 0; }
  .result-map-layout .land-summary-card { border: 0; }
  .result-map-layout > .map-card { --map-bar-height: 6.75rem; grid-template-rows: var(--map-bar-height) 18rem var(--map-bar-height); }
  .result-map-layout .card-heading { flex-direction: column; flex-wrap: nowrap; justify-content: center; gap: 0.6875rem; }
  .result-map-layout .map-footer { justify-content: center; }
  .layer-panel { top: auto; right: 0.6875rem; bottom: 0.8125rem; }
  .map-badge { top: 0.8125rem; bottom: auto; left: 3.625rem; font-size: 0.8125rem; max-width: calc(100% - 4.5rem); }
  .map-wrap .leaflet-tooltip { width: max-content; max-width: calc(100vw - 4.5rem); white-space: normal; overflow-wrap: anywhere; text-align: center; }
  .land-summary-card { padding: 1.5625rem 0; display: block; }
  .detail-metrics { grid-template-columns: 1fr; }
  .detail-metrics article:nth-child(n) { grid-column: 1; min-height: 0; }
  .question-grid { grid-template-columns: 1fr; }
  .question-grid article { grid-column: 1; grid-template-columns: 1fr; min-height: 0; padding: var(--atlas-card-padding); gap: 0.4375rem; }
  .question-grid p { max-width: 100%; }
  .report-footer-actions #print-report { display: inline-flex; }
  .consultation-cta { padding: 3.125rem 1.125rem; gap: 1.5625rem; border-radius: 1.375rem; }
  .consultation-cta::after { width: 21.625rem; height: 21.625rem; right: -5.375rem; }
    .consultation-cta .listing-form { padding: 0; }
  .report-footer-actions { flex-direction: column; align-items: stretch; }
  .report-footer-actions a, .report-footer-actions button { justify-content: center; text-align: center; }
}

/* One quiet border per surface; grouped facts share their parent card. */
.steps-list article,
.result-metrics > article,
.detail-metrics > article,
.registered-use-layout,
.question-grid article { border: 1px solid var(--atlas-card-border); }
.result-map-layout { overflow: visible; }
.result-map-layout > .map-card,
.result-map-layout > .land-summary-card { border: 1px solid var(--atlas-card-border); border-radius: var(--atlas-card-radius); background: #fff; box-shadow: var(--atlas-shadow); overflow: hidden; }
.registered-use-layout > * { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.result-metrics > article.metric-group,
.detail-metrics > article.metric-group { grid-column: 1 / -1; grid-row: 2; order: 3; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto; gap: 0; min-height: 0; }
.metric-group > div { display: grid; align-content: start; min-width: 0; padding-inline: 1.375rem; }
.metric-group > div:first-child { padding-left: 0; }
.metric-group > div:last-child { padding-right: 0; }
.metric-group > div + div { border-left: 1px solid var(--atlas-line); }
.metric-group > div > span { color: var(--atlas-ink); font-size: var(--atlas-label-size); font-weight: 400; line-height: 1.5; }
.metric-group > div > strong { margin: 0.4375rem 0 0.6875rem; font-size: var(--atlas-fact-size) !important; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.metric-group > div > small { color: #6c746e; font-size: var(--atlas-meta-size); line-height: 1.55; }
.result-metrics .metric-spotlight strong { width: fit-content; background: linear-gradient(transparent 72%, rgba(229,173,39,.32) 72%); }
.sample-dashboard .result-metrics > article:nth-child(n) { border: 1px solid var(--atlas-card-border); }
.sample-dashboard .result-map-layout { padding: 0; border: 0; border-radius: 0; }
.detail-metrics > article.metric-group { grid-row: 1; order: 0; }
.detail-metrics > article.lad-reference { align-self: stretch; align-content: start; grid-template-rows: auto auto auto; }
.detail-metrics #block-output { white-space: pre-line; }
@media(min-width:761px) {
  .detail-metrics > article.lad-reference { grid-column: span 3; grid-row: 2; }
}
@media(max-width:760px) {
  body[data-design="field-atlas"] .form-journey .form-intro :is(h2,p) { color: var(--atlas-ink); text-shadow: none; }
  .form-journey .form-intro { text-shadow: none; }
  .result-metrics > article.metric-group, .detail-metrics > article.metric-group { grid-row: auto; grid-template-columns: 1fr; }
  .metric-group > div { padding: var(--atlas-divider-space-compact) 0; }
  .metric-group > div:first-child { padding-top: 0; }
  .metric-group > div:last-child { padding-bottom: 0; }
  .metric-group > div + div { border-left: 0; border-top: 1px solid var(--atlas-line); }
  .result-map-layout > .land-summary-card { padding: 1.375rem; }
}

/* One card inset shared by the actual report and its responsive homepage preview. */
.report { --atlas-card-padding: clamp(1.6875rem, 3vw, 2.375rem); }
body[data-page="report"] .report :is(.result-metrics article,.detail-metrics article,.question-grid article) { padding: var(--atlas-card-padding); }
body[data-page="report"] .registered-use-layout { padding: var(--atlas-card-padding); }
body[data-page="report"] :is(.registered-facts,.composition-list) { padding: 0; }
body[data-page="report"] .registered-facts > div:first-child { padding-top: 0; }
body[data-page="report"] .registered-facts > div:last-child { padding-bottom: 0; }
body[data-page="report"] .result-map-layout > .land-summary-card { padding: var(--atlas-card-padding); }
body[data-page="report"] .map-card .card-heading { padding-inline: var(--atlas-card-padding); }
@media (min-width: 761px) {
  body[data-page="report"] .metric-group > div { padding-inline: 1.8125rem; }
  body[data-page="report"] .metric-group > div:first-child { padding-left: 0; }
  body[data-page="report"] .metric-group > div:last-child { padding-right: 0; }
}

@media (max-width: 359px) {
  .sample-dashboard .result-metrics { grid-template-columns: 1fr; }
  .sample-dashboard-footer .button-gold { padding-inline: 0.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .analysis-panel::before { animation: none; }
  .button-gold, .button-outline, .land-use-chart span { transition: none; }
  .button-gold:hover, .button-gold:active, .button-outline:hover { transform: none; }
}

@page { size: A4; margin: 12mm; }

@media print {
  .site-header, .hero, .intro-section, .sample-report, .report-actions,
  #list-land, .site-footer, .skip-link,
  .base-switch, .layer-panel, .leaflet-control-container { display: none !important; }

  html { font-size: 10pt; }
  body[data-page="report"] { color: #17251b; background: #fff; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body[data-page="report"] main { overflow: visible; }
  body[data-page="report"] .report { width: 100%; max-width: none; margin: 0; padding: 0; box-shadow: none; }
  body[data-page="report"] .report-block { margin-bottom: 10mm; }
  body[data-page="report"] :is(.result-metrics article, .detail-metrics article, .question-grid article, .result-map-layout > *, .registered-use-layout) {
    box-shadow: none;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  body[data-page="report"] .question-explanation summary { display: none; }
  /* One column and a fixed map height: the two-column screen layout does not fit an A4 page. */
  body[data-page="report"] .result-map-layout { grid-template-columns: minmax(0, 1fr); }
  body[data-page="report"] .result-map-layout > .map-card { grid-template-rows: auto 100mm auto; }
  body[data-page="report"] :is(.map-card, .map-wrap, #parcel-map) { max-width: 100%; }
}

/* The same layout on screen while the map is being prepared for printing (see the print button in app.js). */
body.print-prep[data-page="report"] .report { width: 186mm; max-width: 100%; margin-inline: auto; }
body.print-prep[data-page="report"] .result-map-layout { grid-template-columns: minmax(0, 1fr); }
body.print-prep[data-page="report"] .result-map-layout > .map-card { grid-template-rows: auto 100mm auto; }

.parcel-details > .registered-use-layout { margin-bottom: var(--atlas-grid-gap); }

/* Honeypot field: invisible to people and assistive tech, attractive to form-filling bots. */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-0.5rem); } }
@media (prefers-reduced-motion: reduce) { .menu-open .site-header nav, .menu-icon, .menu-icon::before, .menu-icon::after { animation: none; transition: none; } }

/* A note under one field must not push its row-mate down. */
.intake-grid label { align-content: start; }

/* Six links plus social icons no longer fit below 1100px, so the burger menu starts there. */
@media (max-width: 1100px) {
  .site-header { position: relative; grid-template-columns: 1fr auto; }
  .site-header nav, .social-links { display: none; }
  .menu-button { display: block; }
  .menu-open .site-header nav { position: absolute; z-index: 1000; top: calc(100% + 0.5rem); left: 0; right: 0; display: grid; justify-content: stretch; gap: 0.125rem; padding: 0.5rem; border: 1px solid var(--atlas-line); border-radius: 1.125rem; background: #fff; box-shadow: 0 1rem 2.5rem -0.75rem rgba(25, 49, 30, .28); animation: menu-in .22s ease-out; }
  .menu-open .site-header nav a { display: block; padding: 0.9375rem 1rem; border-radius: 0.75rem; color: var(--atlas-ink); font-size: 1.0625rem; }
  .menu-open .site-header nav a:hover, .menu-open .site-header nav a:active { background: #eef4ec; color: var(--atlas-green); }
}

/* Field with an info button: the "?" opens a short explanation under the field. */
.intake-grid .info-field { display: grid; gap: 6px; align-content: start; min-width: 0; color: var(--atlas-ink-soft); font-size: var(--atlas-label-size); }
.info-field .label-row { display: flex; align-items: center; gap: 0.5rem; }
.info-field .label-row label { display: block; }
.info-button { display: inline-grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; margin-left: -0.25rem; padding: 0; border: 0; border-radius: 50%; color: #8a918b; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; transition: color .15s ease; }
.info-button svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.info-button:hover, .info-button[aria-expanded="true"] { color: var(--atlas-green); }
.info-note { margin: 0.125rem 0 0.25rem; padding: 0.75rem 0.875rem; border-radius: 0.75rem; color: var(--atlas-ink-soft); background: #eef4ec; font-size: var(--atlas-meta-size); line-height: 1.55; animation: note-in .2s ease-out; }
.info-note[hidden] { display: none; }
@keyframes note-in { from { opacity: 0; transform: translateY(-0.25rem); } }
@media (prefers-reduced-motion: reduce) { .info-note { animation: none; } }

/* Score explanation behind the "?" in the quality card (real report only). */
/* Same spacing as the phone field's icon (the card's own span rules are more specific, hence the longer selector). */
.result-metrics .metric-spotlight > .metric-label { display: inline-flex; align-items: center; gap: 0.5rem; }
.metric-label .info-button { margin-left: -0.25rem; }
.info-note.quality-scale { margin: 0.875rem 0 0; padding: 0.875rem 0 0; border-top: 1px solid var(--atlas-line); border-radius: 0; background: transparent; }
.quality-scale p { margin: 0 0 0.75rem; }
.quality-scale ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.quality-scale li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.quality-scale li span { color: var(--atlas-ink-soft); font-variant-numeric: tabular-nums; }
.quality-scale b { padding: 0.1875rem 0.75rem; border-radius: 999px; font-weight: 600; }
.scale-none { color: #565d57; background: #e9ece8; }
.scale-poor { color: #a12a1f; background: #fbe1de; }
.scale-fair { color: #7a5600; background: #fcefc2; }
.scale-good { color: #1f5a2c; background: #dcefd8; }
.scale-best { color: #fff; background: #2a7d42; }
@media print { .info-button, .info-note { display: none !important; } }

/* A thin ring that hugs the small icon instead of the global 3px ring with a large offset. */
.info-button:focus-visible { outline: 2px solid var(--atlas-green-2); outline-offset: 0; }

/* Footer: copyright on the left, social icons on the right (Font Awesome Free, CC BY 4.0). */
.site-footer > p.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; }
.footer-social { display: inline-flex; gap: 0.25rem; }
.footer-social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: var(--atlas-ink-soft); transition: color .15s ease, background .15s ease; }
.footer-social a:hover { color: var(--atlas-green); background: rgba(36, 77, 46, .08); }
.footer-social svg { width: auto; height: 1.25rem; fill: currentColor; }

/* ---- Home page redesign (2026-10-05) ------------------------------------------------------------
   12-column grid, gap 1.5625rem. Hero: text 7 columns, form 5. Example report: 6 columns, centered. */
:root { --grid-gap: 1.5625rem; }
@media (min-width: 951px) {
  .hero { grid-template-columns: minmax(0, 7fr) minmax(22rem, 5fr); }
  .hero > .form-journey { padding: clamp(1.5rem, 2.6vw, 2.25rem); }
}
/* On mid-size screens the form gets half the hero so its two-column fields keep room. */
@media (min-width: 951px) and (max-width: 1250px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(24rem, 1fr); }
}
.hero-content h1 { max-width: 40rem; text-wrap: balance; }
.hero-content > p, .hero-benefits { max-width: 36rem; }
@media (min-width: 951px) { .hero-content > p, .hero-benefits { max-width: min(90%, 32.4rem); } }

.sample-report { width: var(--atlas-page-size); }
.sample-dashboard { width: min(100%, max(calc((100% - 11 * var(--grid-gap)) * 8 / 12 + 7 * var(--grid-gap)), 44rem)); margin-inline: auto; }
/* Map and land use share one card; the land facts sit directly under the map. */
.sample-dashboard .sample-map-land .result-map-layout { gap: 0; overflow: hidden; border: 1px solid var(--atlas-card-border); border-radius: var(--atlas-card-radius); background: #fff; box-shadow: var(--atlas-shadow); }
.sample-dashboard .sample-map-land .result-map-layout > :is(.map-card, .land-summary-card) { border: 0; border-radius: 0; box-shadow: none; }
.sample-dashboard .sample-map-land .result-map-layout > .land-summary-card { border-top: 1px solid var(--atlas-line); }
.sample-map-land .land-facts > div:first-child { padding-top: 0; }
@media (min-width: 601px) {
  .sample-map-land .land-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--atlas-card-padding); }
  .sample-map-land .land-facts > div { padding-top: 0; }
}
.sample-report-heading p { margin: 0.75rem 0 0; color: var(--atlas-ink-soft); font-size: var(--atlas-body-size); line-height: 1.65; text-wrap: pretty; }
.sample-dashboard-footer { padding-top: 0.5rem; }

.trust-strip .trust-lead { max-width: 46rem; margin: calc(0.75rem - var(--atlas-heading-gap)) 0 var(--atlas-heading-gap); color: var(--atlas-ink-soft); font-size: var(--atlas-body-size); line-height: 1.65; text-wrap: pretty; }

/* The phone explanation is a full-width row of the form grid, not squeezed into one column. */
.intake-grid > .info-note { margin: -0.25rem 0 0; }

/* "Papildus iespējas": two calm cards, same rows in both (offer, choice, contact, button, note); one column on narrow screens.
   Fewer lines and boxes: plain choices, placeholders instead of field labels, small checkboxes in the card's own colours. */
.extras { width: var(--atlas-page-size); margin: 0 auto var(--atlas-section-gap); }
.extras > h2 { margin: 0 0 var(--atlas-heading-gap); font-size: var(--atlas-section-title); line-height: 1.25; }
.extras-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); align-items: stretch; }
body[data-design="field-atlas"] .extras .listing-cta { width: auto; margin: 0; display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(1.75rem, 3.2vw, 2.75rem); border: 0; border-radius: var(--atlas-card-radius); }
.extras .listing-cta::after { display: none; }
.extras .listing-form { display: flex; flex-direction: column; gap: 1.5rem; flex: 1; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.extras .cta-copy h3 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 2.2vw, 1.75rem); line-height: 1.2; }
.extras .cta-copy p { margin: 0; line-height: 1.6; }
.extras .followup-contact { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
/* Fields side by side while there is room, otherwise onto the next row; never wider than 60% of the card. */
.extras .followup-contact label { flex: 1 1 10rem; max-width: 60%; }
.extras .followup-contact label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.extras .followup-contact input::placeholder { color: #6c746e; opacity: 1; }
.extras .listing-form .button-gold { width: fit-content; align-self: flex-start; justify-self: start; min-height: 3.375rem; margin: 0; padding-inline: 2rem; }
.extras .cta-foot > * { margin: 0; }
.extras .cta-foot .success-message { margin-top: 0.875rem; }
.extras .cta-foot .newsletter-note { font-size: 0.875rem; line-height: 1.55; text-align: left; }

/* Yellow newsletter card: a quiet, slightly desaturated cream-yellow. */
body[data-design="field-atlas"] .extras .extra-news { color: var(--atlas-ink); background: linear-gradient(160deg, #f9f2dc 0%, #f3e8c6 100%); border: 0; }
.extra-news { --box: #a0a6a1; --box-on: var(--atlas-gold); }
.extra-news .cta-copy h3 { color: var(--atlas-ink); }
.extra-news .cta-copy p, .extra-news .newsletter-note { color: var(--atlas-ink-soft); }
/* Green consultation card: the deep green with white text, gold when chosen. */
.extras .consultation-cta { --box: #a0a6a1; --box-on: var(--atlas-gold); }
.extras .consultation-cta .cta-copy h3 { color: #fff; }
.extras .consultation-cta .cta-copy p { color: #e4ebe5; }
body[data-design="field-atlas"] .extras .consultation-cta :is(.newsletter-topics, .interest-options) label { color: #fff; }

/* Choices: plain lines with a small checkbox, no boxes or rules. */
body[data-design="field-atlas"] .extras :is(.newsletter-topics, .interest-options) { display: grid; gap: 0.25rem; margin: 0; border: 0; }
body[data-design="field-atlas"] .extras :is(.newsletter-topics, .interest-options) label,
body[data-design="field-atlas"] .extras :is(.newsletter-topics, .interest-options) label + label { display: flex; align-items: center; gap: 0.75rem; min-height: 0; padding: 0.5rem 0; border: 0; border-radius: 0; color: var(--atlas-ink); background: transparent; box-shadow: none; line-height: 1.45; }
.extras :is(.newsletter-topics, .interest-options) input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; width: 1.25rem; height: 1.25rem; margin: 0; border: 1.5px solid var(--box); border-radius: 0.375rem; background: #fff center / 0.8125rem no-repeat; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.extras :is(.newsletter-topics, .interest-options) input[type="checkbox"]:checked { border-color: var(--box-on); background-color: var(--box-on); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%2317251b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (min-width: 951px) {
  /* Subgrid keeps the choice, contact and button rows level across both cards. */
  .extras-grid { grid-template-rows: repeat(5, auto); row-gap: 1.5rem; }
  body[data-design="field-atlas"] .extras .listing-cta { display: grid; grid-row: span 5; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; }
  .extras .listing-form { display: contents; }
}
@media (max-width: 950px) {
  .extras-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Testimonials: an endless carousel (arrows and swipe, both directions); the track is cloned in app.js. */
.testimonials { width: var(--atlas-page-size); margin: 0 auto var(--atlas-section-gap); }
.testimonials-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: var(--atlas-heading-gap); }
.testimonials-head h2 { margin: 0; font-size: var(--atlas-section-title); line-height: 1.25; }
.carousel-controls { display: flex; gap: 0.625rem; flex: none; }
.carousel-controls button { display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 1px solid var(--atlas-card-border); border-radius: 50%; color: var(--atlas-green); background: #fff; box-shadow: var(--atlas-shadow); cursor: pointer; transition: background .15s ease, border-color .15s ease; -webkit-tap-highlight-color: transparent; }
.carousel-controls button:hover { border-color: var(--atlas-green-2); background: var(--atlas-moss); }
.carousel-controls svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.carousel { --per: 1; overflow: hidden; margin: -1rem; padding: 1rem; touch-action: pan-y; }
.carousel-track { display: flex; gap: var(--grid-gap); transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.carousel-track.no-motion { transition: none; }
.quote { flex: 0 0 calc((100% - (var(--per) - 1) * var(--grid-gap)) / var(--per)); display: flex; flex-direction: column; min-width: 0; margin: 0; padding: var(--atlas-card-padding); border: 1px solid var(--atlas-card-border); border-radius: var(--atlas-card-radius); background: #fff; box-shadow: var(--atlas-shadow); }
.quote blockquote { margin: 0 0 1.5rem; }
.stars { display: block; width: 7.5rem; height: 1.5rem; margin-bottom: 1rem; background: var(--atlas-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.6l1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0 / 1.5rem 1.5rem repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.6l1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0 / 1.5rem 1.5rem repeat-x; }
.quote p { margin: 0; font-size: var(--atlas-body-size); line-height: 1.7; }
.quote figcaption { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--atlas-line); font-weight: 600; }
@media (min-width: 700px) { .carousel { --per: 2; } }
@media (min-width: 1100px) { .carousel { --per: 3; } }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }
