/* Loamist vertical template (/geospatial, /evals, /services).
   Ported from design_handoff_loamist_site/Loamist Vertical.dc.html (README sections 6 and 7.5 to 7.11).
   Tokens and shared classes come from site.css. */

.v-page canvas[data-fig] { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.v-note { letter-spacing: .06em; }
.v-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.v-r { text-align: right; }
.v-m { color: var(--muted); }
.v-k { color: var(--ink-2); }

/* Small legend keys */
.v-key { display: inline-block; flex: none; border-radius: 50%; box-sizing: border-box; }
.v-key--gold { width: 10px; height: 10px; background: var(--gold); }
.v-key--ring { width: 9px; height: 9px; border: 1.5px solid var(--ink); }
.v-key--sq { width: 9px; height: 9px; background: var(--ink); border-radius: 0; }
.v-key--s1 { width: 3px; height: 3px; background: #cfc8bd; }
.v-key--s2 { width: 6px; height: 6px; background: #9a9086; }
.v-key--s3 { width: 10px; height: 10px; background: #3a352f; }
.v-key--ex { width: 8px; height: 8px; border: 1.2px solid #b9b2a7; }

/* Hero */
.v-hero { min-height: calc(88vh - var(--header-h)); padding: 40px var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.v-hero__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.v-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 32px clamp(40px, 5vw, 80px); align-items: end; }
.v-hero__h1 { margin: 0; font: 600 clamp(48px, 8vw, 124px)/0.94 var(--font-display); letter-spacing: -0.045em; }
.v-hero__side { display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.v-hero__side .lead { max-width: 560px; }
.v-proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px 32px; } /* gold card: .surface-gold--card (CO-1); labels are ink there */
.v-proof__item { display: flex; flex-direction: column; gap: 6px; }
.v-proof__v { font: 600 28px/1 var(--font-display); }

/* Figure sections */
.v-fig { display: flex; flex-direction: column; gap: 28px; }
.v-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.v-head__titles { display: flex; flex-direction: column; gap: 16px; }
.v-head__h { max-width: 900px; }
.v-fig__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (min-width: 960px) { .v-fig__grid--side { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.v-panel { position: relative; height: clamp(380px, 40vw, 560px); border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.v-side { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; }

/* Geospatial Fig. 01 */
.v-geo-legend { position: absolute; left: 18px; bottom: 16px; display: flex; gap: 18px; flex-wrap: wrap; letter-spacing: .06em; pointer-events: none; }
.v-geo-legend > span, .v-legend > span { display: flex; gap: 8px; align-items: center; }
.v-geo-side { gap: 22px; }
.v-side__title { font: 600 15px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.v-geo-table { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px 12px; font: 400 15px var(--font-mono); color: var(--ink); }
.v-geo-table [data-geo] { font-variant-numeric: tabular-nums; }
.v-geo-table .v-r:not(.v-m) { white-space: nowrap; }
@media (max-width: 479.98px) { .v-geo-table { font-size: 13.5px; gap: 14px 8px; } .v-geo-table--sm { font-size: 13px; } }
.v-saved { background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 10px; padding: 16px 18px; font: 500 16px/1.45 var(--font-sans); color: var(--green); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.v-saved.is-pending { opacity: 0; transform: translateY(8px); }
.v-side__foot { margin: auto 0 0; font: 15px/1.55 var(--font-sans); color: var(--ink-2); }

/* Evals Fig. 01 */
.v-ev-mean { position: absolute; left: 20px; top: 18px; display: flex; align-items: baseline; gap: 12px; pointer-events: none; }
.v-ev-mean__v { font: 700 clamp(40px, 4vw, 56px)/1 var(--font-display); color: var(--gold); letter-spacing: -0.02em; }
.v-ev-mean__s { letter-spacing: .06em; }
.v-ev-side { gap: 14px; }
.v-ev-side__title { font-size: 11.5px; letter-spacing: .06em; }
.v-depth { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 12px; cursor: pointer; padding: 14px 16px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; transition: all .3s; }
.v-depth:hover { border-color: var(--ink); }
.v-depth.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.v-depth__n { font: 500 12px var(--font-mono); opacity: .7; }
.v-depth__l { display: flex; flex-direction: column; gap: 2px; }
.v-depth__t { font: 600 16px/1.25 var(--font-sans); }
.v-depth__s { font: 500 11px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.v-depth__v { font: 500 13px var(--font-mono); }

/* Services Fig. 01 */
.v-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.v-phase { display: flex; flex-direction: column; gap: 8px; border-top: 1.5px solid var(--line); padding-top: 12px; transition: border-color .4s; }
.v-phase .mono-sm { letter-spacing: .06em; }
.v-phase__t { font: 600 clamp(15px, 1.4vw, 19px)/1.2 var(--font-display); color: var(--muted); transition: color .4s; }
.v-phase.is-on { border-top-color: var(--ink); }
.v-phase.is-on .v-phase__t { color: var(--ink); }

/* Geospatial Fig. 02: multicriteria */
.v-panel--mca { height: clamp(480px, 46vw, 680px); }
@media (max-width: 759.98px) { .v-panel--mca { height: clamp(420px, 110vw, 560px); } }
.v-weights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px 32px; }
.v-weight { display: flex; flex-direction: column; gap: 8px; border-top: 1.5px solid var(--ink); padding-top: 14px; }
.v-weight__head { display: flex; justify-content: space-between; gap: 12px; font: 500 15px var(--font-sans); color: var(--ink); }
.v-weight__v { font: 500 13px var(--font-mono); }
.v-weight input { accent-color: #AD7F00; width: 100%; margin: 0; }
.v-weight__hint { font: 500 11px var(--font-mono); color: var(--muted); }
.v-legend { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; letter-spacing: .06em; }

/* Geospatial case study */
.v-case { background: var(--card); display: flex; flex-direction: column; gap: clamp(48px, 5vw, 80px); }
.v-fire { position: relative; height: clamp(400px, 38vw, 580px); margin: calc(-1 * var(--section-pad)) calc(-1 * var(--gutter)) 0; border-bottom: 1px solid var(--line); background: var(--bone); overflow: hidden; }
@media (max-width: 759.98px) { .v-fire { height: clamp(560px, 150vw, 760px); } }
.v-fire__panes { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); pointer-events: none; }
.v-fire__panes.is-stack { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.v-fire__pane { position: relative; border: 0 solid var(--line); }
.v-fire__pane + .v-fire__pane { border-left-width: 1px; }
.v-fire__panes.is-stack .v-fire__pane + .v-fire__pane { border-left-width: 0; border-top-width: 1px; }
.v-fire__tag { position: absolute; left: var(--gutter); top: 20px; display: flex; flex-direction: column; gap: 6px; background: rgba(250, 249, 247, .92); padding: 8px 12px; border-radius: 8px; }
.v-fire__t { font: 500 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.v-fire__s { font: 500 11px var(--font-mono); color: var(--muted); }
.v-case__data { display: flex; flex-direction: column; gap: 20px; }
.v-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 32px; border-top: 1.5px solid var(--ink); padding-top: 20px; }
.v-stat { display: flex; flex-direction: column; gap: 8px; }
.v-stat__v { font: 600 clamp(36px, 3.6vw, 52px)/1 var(--font-display); letter-spacing: -0.03em; }
.v-stat__k { font: 15px/1.45 var(--font-sans); color: var(--ink-2); }
.v-source { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.v-source__k { padding-top: 2px; }
.v-source__body { display: flex; flex-direction: column; gap: 8px; }
.v-source__cite { font: 14.5px/1.6 var(--font-sans); color: var(--ink-2); text-wrap: pretty; }
.v-source__cite a { color: var(--gold); }
.v-source__note { font: 500 11px/1.6 var(--font-mono); color: var(--muted); }
.v-case__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.v-case__copy { display: flex; flex-direction: column; gap: 28px; }
.v-case__h { margin: 0; font: 600 clamp(40px, 5.4vw, 80px)/0.98 var(--font-display); letter-spacing: -0.035em; }
.v-callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; border: 1.5px solid var(--ink); border-radius: 14px; padding: 18px 22px; background: var(--bone); font: 600 clamp(18px, 1.6vw, 22px)/1.35 var(--font-display); letter-spacing: -0.01em; }
.v-qrows { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.v-qrow { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: 8px 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.v-qrow--first { border-top: 1.5px solid var(--ink); }
.v-qrow__k { padding-top: 4px; }
.v-qrow__v { font: 17px/1.55 var(--font-sans); color: var(--ink); }
/* Phones: label above the answer, so the answer keeps the full width. */
@media (max-width: 559px) { .v-qrow, .v-source { grid-template-columns: minmax(0, 1fr); } }
.v-savedcard { border: 1px solid var(--line); border-radius: 14px; background: var(--bone); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.v-savedcard__k { font-size: 11.5px; letter-spacing: .06em; }
.v-savedcard__big { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.v-savedcard__big > div { display: flex; flex-direction: column; gap: 8px; }
.v-savedcard__v { font: 700 clamp(48px, 5vw, 72px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--green); }
.v-savedcard__l { font: 15px var(--font-sans); color: var(--ink-2); }
.v-geo-table--sm { gap: 12px; font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 20px; }
.v-savedcard__note { font: 500 11px/1.6 var(--font-mono); color: var(--muted); }
.v-uses { display: flex; flex-direction: column; gap: 32px; }
.v-uses__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.v-uses__h { margin: 0; font: 600 clamp(30px, 3.4vw, 48px)/1.05 var(--font-display); letter-spacing: -0.025em; max-width: 820px; }
.v-uses__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.v-use { border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.v-use--lead { border-color: var(--ink); }
.v-use__n { letter-spacing: .06em; }
.v-use__t { font: 600 24px/1.15 var(--font-display); letter-spacing: -0.015em; }
.v-use__d { font: 15.5px/1.55 var(--font-sans); color: var(--ink-2); }
.v-use__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.v-chip { font: 500 11.5px var(--font-mono); padding: 4px 8px; border-radius: 5px; background: var(--bone-2); color: var(--ink-2); }

/* § 01 numbered points */
.v-pts, .v-usfs, .v-acq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.v-pts__head, .v-acq__head { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1000px) { .v-pts__head { position: sticky; top: 116px; } }
.v-pts__list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.v-pt { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px 16px; padding: 26px 0; border-top: 1.5px solid var(--ink); }
.v-pt__n { font: 500 12px var(--font-mono); color: var(--muted); padding-top: 6px; }
.v-pt__body { display: flex; flex-direction: column; gap: 8px; }
.v-pt__t { margin: 0; font: 600 clamp(22px, 2vw, 28px)/1.15 var(--font-display); letter-spacing: -0.01em; text-wrap: initial; }
.v-pt__d { margin: 0; font: 17px/1.55 var(--font-sans); color: var(--ink-2); }

/* Services: USFS */
.v-usfs__copy { display: flex; flex-direction: column; gap: 24px; }
.v-usfs__lead { max-width: 540px; line-height: 1.55; }
.v-usfs__side { display: flex; flex-direction: column; gap: 20px; }
.v-audit { background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 14px; padding: clamp(22px, 2.6vw, 32px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.v-audit__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green); display: flex; align-items: center; justify-content: center; }
.v-audit__body { display: flex; flex-direction: column; gap: 4px; }
.v-audit__t { font: 600 clamp(24px, 2.4vw, 32px)/1.1 var(--font-display); letter-spacing: -0.015em; color: var(--green); }
.v-audit__d { font: 15px var(--font-sans); color: var(--ink-2); }
.v-nrows, .v-areas { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.v-nrow { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.v-nrow--first, .v-area--first { border-top: 1.5px solid var(--ink); }
.v-nrow__n { font: 500 12px var(--font-mono); color: var(--muted); padding-top: 5px; }
.v-nrow__body { display: flex; flex-direction: column; gap: 6px; }
.v-nrow__t { font: 600 22px/1.2 var(--font-display); }
.v-nrow__d { font: 16.5px/1.55 var(--font-sans); color: var(--ink-2); }
.v-usfs__fig { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; }
.v-panel--fund { height: clamp(380px, 34vw, 480px); }
@media (max-width: 699.98px) { .v-panel--fund { height: clamp(520px, 140vw, 640px); } }
.v-fund { position: absolute; left: clamp(18px, 2.4vw, 28px); top: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 6px; background: rgba(255, 255, 255, .92); padding: 8px 12px 10px; border-radius: 10px; pointer-events: none; }
.v-fund__amt { font: 700 clamp(36px, 4vw, 56px)/1 var(--font-display); letter-spacing: -0.025em; color: var(--ink); }
.v-fund__ok { display: flex; align-items: center; gap: 8px; font: 500 12px var(--font-mono); color: var(--green); }

/* Services: acquisitions */
.v-acq { background: var(--card); }
.v-acq__body { display: flex; flex-direction: column; gap: 28px; }
.v-acq__lead { max-width: none; line-height: 1.55; }
.v-areas__k { padding-bottom: 12px; }
.v-area { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.v-area__t { font: 600 clamp(20px, 1.8vw, 24px)/1.2 var(--font-display); }
.v-acq__ask { display: flex; flex-direction: column; gap: 16px; }
.v-acq__q { font: 600 clamp(20px, 1.8vw, 26px)/1.25 var(--font-display); letter-spacing: -0.01em; }
.v-acq__conf { font: 500 11.5px var(--font-mono); color: var(--muted); }
