/* References overview (page-references.php) + detail (single-reference.php).
   Shared .b5 base (.wrap, .sec, .h2, .pill, .tl, .faq, .rc, .win …) lives in b5.css.
   Nav/chrome (.sp-top, .crumb) lives in chrome.css except the small photo-hero bits below,
   which the solution-page templates also use but aren't in the shared files yet. */

/* ---- photo hero: headline + wide photo with a data pin (shared shape with solution pages) ---- */
.b5 .sp-h2{padding-top:150px}
.b5 .sp-h2 .top{display:grid;grid-template-columns:1.25fr .75fr;gap:64px;align-items:end}
.b5 .sp-h2 h1{font-size:clamp(44px,5.4vw,80px);font-weight:500;letter-spacing:-.04em;line-height:1;margin-top:20px;text-wrap:balance}
.b5 .sp-h2 h1 span{color:#8a8d90}
.b5 .sp-h2 h1.one{font-size:clamp(38px,4.3vw,62px);line-height:1.04} /* translated one-sentence reference H1, no accent (nd_one_class, 11.11) */
.b5 .sp-h2 .sub{font-size:18px;line-height:1.55;color:var(--body)}
.b5 .sp-h2 .acts{display:flex;align-items:center;gap:28px;margin-top:28px;flex-wrap:wrap}
.b5 .sp-pic{position:relative;margin:56px 24px 0;border-radius:30px;overflow:hidden;aspect-ratio:1392/640;background:#ddd}
.b5 .sp-pic>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.b5 .pin{position:absolute;display:flex;align-items:center;transform:translate(-6px,-50%)}
.b5 .pin .d{width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.35)}
.b5 .pin .l{width:64px;height:1px;background:rgba(255,255,255,.9)}
.b5 .chip{display:flex;align-items:center;gap:10px;background:#fff;color:#111;border-radius:99px;padding:9px 16px;font-size:14px;font-weight:600;white-space:nowrap}
.b5 .chip b{font-weight:600;color:#111}
.b5 .chip span+span{font-weight:500;color:#5d6064}
/* hero pin chips without the status: muted "Battery ·", black size figure (11.11) */
.b5 .pin .chip{font-weight:500;color:#5d6064}
.b5 .faq .side:after{display:none}
/* Breadcrumb links (single-reference.php): larger invisible tap area, same pattern as the shared .tl/.go fix. */
.b5 .crumb a{position:relative}
.b5 .crumb a::after{content:"";position:absolute;left:-6px;right:-6px;top:-14px;bottom:-14px}
@media (max-width:1060px){
	.b5 .sp-h2{padding-top:110px}.b5 .sp-h2 .top{grid-template-columns:1fr;gap:24px}.b5 .sp-pic{margin:36px 16px 0;aspect-ratio:16/9}
	.b5 .pin .l,.b5 .pin .d{display:none}.b5 .pin{left:16px!important;top:auto!important;bottom:16px;transform:none}.b5 .chip{white-space:normal}
}

/* ---- client quote: one large centred statement (used on reference detail) ---- */
.b5 .quote{max-width:980px;margin:0 auto;text-align:center}
.b5 .quote blockquote{margin:28px 0 0}
.b5 .quote blockquote p{font-size:clamp(28px,3.4vw,48px);font-weight:500;letter-spacing:-.03em;line-height:1.15;color:#6b6e72;text-wrap:balance}
.b5 .quote.real blockquote p{color:#111}
.b5 .quote figcaption{display:inline-flex;align-items:center;gap:14px;margin-top:34px;text-align:left}
.b5 .quote .av{width:52px;height:52px;border-radius:50%;flex:none;display:grid;place-items:center;background:#111;color:#fff;font-weight:600;font-size:16px}
.b5 .quote .av.ph{background:none;object-fit:cover}
.b5 .quote b{display:block;font-size:16px;font-weight:600}
.b5 .quote figcaption>span>span{display:block;font-size:14px;color:var(--mut);margin-top:2px}
@media (max-width:640px){.b5 .quote blockquote p{font-size:26px}}

/* ---- references overview ---- */
/* Filter chips sit in their own labelled row directly above the grid they control (not the featured
   card above, which is an editorial pick and stays visible regardless of the filter) — see page-references.php. */
.b5 .filthead{margin:0 0 28px;padding-top:32px;border-top:1px dashed var(--dash)}
.b5 .filthead .rf-label{font-size:14px;font-weight:600;color:var(--mut);margin-bottom:16px}
.b5 .filthead .row{display:flex;justify-content:space-between;align-items:center;gap:16px 24px;flex-wrap:wrap}
.b5 .rf-count{font-size:13.5px;color:var(--mut);white-space:nowrap}
.b5 .filt{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.b5 .filt button{appearance:none;border:1px solid var(--line);background:#fff;border-radius:99px;padding:10px 18px;font:600 14.5px Raleway,sans-serif;color:#111;cursor:pointer}
.b5 .filt button[aria-pressed=true]{background:#111;color:#fff;border-color:#111}
@media (max-width:640px){
	.b5 .filthead{padding-top:24px}
	.b5 .filt{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;padding-bottom:2px;margin:0 -16px;padding-left:16px;padding-right:16px;mask-image:linear-gradient(to right,#000 90%,transparent);scrollbar-width:none}
	.b5 .filt::-webkit-scrollbar{display:none}
	.b5 .filt button{flex:none;scroll-snap-align:start;white-space:nowrap}
	.b5 .rf-count{width:100%;order:3}
}
.b5 .rgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px 20px}
.b5 .rgrid .rc[hidden]{display:none}
.b5 .featured{display:grid;grid-template-columns:1.1fr .9fr;background:#111;color:var(--paper);border-radius:30px;overflow:hidden;margin-bottom:72px}
.b5 .featured figure{position:relative;min-height:520px}.b5 .featured figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 70%}
.b5 .featured .tx{padding:52px;display:flex;flex-direction:column;justify-content:center}
.b5 .featured .k{font-size:14px;color:var(--mute-d);font-weight:600}
.b5 .featured h2{font-size:clamp(32px,3.4vw,50px);font-weight:500;letter-spacing:-.035em;line-height:1.04;margin-top:14px;text-wrap:balance}
.b5 .featured h2 span{color:#a8a8a8}
.b5 .featured dl{display:grid;grid-template-columns:repeat(3,1fr);margin-top:36px;border-top:1px dashed var(--line-d)}
.b5 .featured dl div{padding-top:16px}.b5 .featured dt{font-size:13.5px;color:var(--mute-d);font-weight:600}.b5 .featured dd{font-size:22px;margin-top:4px;letter-spacing:-.02em}
.b5 .featured .go{display:inline-flex;gap:10px;margin-top:34px;align-self:flex-start;font-weight:600;border-bottom:1px solid rgba(248,248,248,.5);padding-bottom:4px}
.b5 .ctapill{margin-top:28px}
@media (max-width:1060px){.b5 .rgrid{grid-template-columns:1fr 1fr}.b5 .featured{grid-template-columns:1fr}.b5 .featured figure{min-height:0;aspect-ratio:4/3}}
@media (max-width:640px){.b5 .featured .tx{padding:28px 22px}.b5 .featured dl{grid-template-columns:1fr}.b5 .featured{border-radius:20px}.b5 .rgrid{gap:22px 12px}}

/* ---- references v2: map hero, result-first cards, spec sheet, prev/next (build_refs.py V2_CSS) ---- */
.b5 .rf2{padding-top:140px;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.b5 .rf2 h1{font-size:clamp(42px,5vw,76px);font-weight:500;letter-spacing:-.045em;line-height:.98;margin-top:18px}
.b5 .rf2 h1 span{color:#8a8d90}
.b5 .rf2 h1.one{font-size:clamp(38px,4.3vw,62px);line-height:1.04;text-wrap:balance} /* translated one-sentence H1 (nd_one_class, 11.11) */
.b5 .rf2 .sub{font-size:19px;line-height:1.5;color:var(--body);max-width:520px;margin-top:22px}
.b5 .tot{display:grid;grid-template-columns:repeat(3,1fr);margin-top:40px;border-top:1px dashed var(--dash)}
.b5 .tot div{padding:20px 16px 0 0}
.b5 .tot b{white-space:nowrap;display:block;font-size:clamp(30px,3vw,46px);font-weight:500;letter-spacing:-.04em;line-height:1}
.b5 .tot span{display:block;font-size:14px;color:var(--mut);margin-top:8px}
.b5 .tot-n{display:block;font-size:13px;color:var(--mut);margin-top:14px}
.b5 .map2{position:relative;background:#fff;border:1px solid var(--line);border-radius:30px;padding:28px 28px 22px}
.b5 .map2 .mp{position:relative;max-width:420px;margin:0 auto}
.b5 .map2 .mp img{display:block;width:100%;height:auto}
.b5 .mpin{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px;white-space:nowrap}
.b5 .mpin i{width:16px;height:16px;border-radius:50%;background:#22a55a;box-shadow:0 0 0 4px #fff,0 0 0 5px #111;flex:none}
.b5 .mpin span{font-size:13px;font-weight:600;background:#111;color:#fff;border-radius:99px;padding:4px 10px}
.b5 .mpin{transform:translate(-8px,-50%)}
.b5 .mpin.l{flex-direction:row-reverse;transform:translate(calc(-100% + 8px),-50%)}
.b5 .map2 .ml{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px dashed var(--dash);font-size:13px;color:var(--mut)}
.b5 .map2 .ml b{color:#111}
.b5 .rc2 figure{aspect-ratio:1/1}
.b5 .rc2 .kr{display:block;font-size:22px;font-weight:500;letter-spacing:-.025em;line-height:1.15;margin-top:16px}
.b5 .rc2 h3{font-size:15.5px;font-weight:600;margin-top:8px;color:#111;text-wrap:balance}
.b5 .rc2 .meta{display:block;font-size:13.5px;color:var(--mut);margin-top:4px}
.b5 .rc2 .tg{display:inline-block;margin-top:10px;font-size:13px;font-weight:600;border:1px solid var(--line);border-radius:99px;padding:3px 10px;background:#fff}
.b5 .slim{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin-top:40px;font-size:13.5px;color:var(--mut);padding-top:16px;border-top:1px dashed var(--dash)}
/* detail */
.b5 .keyr{margin-top:6px}
.b5 .keyr b{display:block;font-size:clamp(40px,4.4vw,66px);font-weight:500;letter-spacing:-.045em;line-height:1}
.b5 .keyr span{display:block;font-size:15px;color:var(--mut);margin-top:8px}
.b5 .glance{display:grid;grid-template-columns:1.4fr .6fr;gap:16px}
.b5 .spec{background:#fff;border:1px solid var(--line);border-radius:30px;padding:12px 36px}
.b5 .spec div{display:grid;grid-template-columns:200px 1fr;gap:16px;padding:16px 0;border-bottom:1px dashed var(--dash);align-items:baseline}
.b5 .spec div:last-child{border-bottom:0}
.b5 .spec dt{font-size:14.5px;color:var(--mut);font-weight:600}
.b5 .spec dd{font-size:19px;font-weight:500;letter-spacing:-.01em}
.b5 .spec dd small{font-size:13px;color:var(--mut);margin-left:6px}
.b5 .glance .map2{display:flex;flex-direction:column;justify-content:center}
.b5 .glance .map2 .mp{max-width:260px}
.b5 .glance.solo{grid-template-columns:minmax(0,880px)}
.b5 .pn{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center}
.b5 .pn a{display:grid;grid-template-columns:120px 1fr;gap:20px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:12px;transition:border-color .2s}
.b5 .pn a:hover{border-color:#111}
.b5 .pn img{width:120px;height:96px;object-fit:cover;border-radius:16px}
.b5 .pn small{display:block;font-size:13px;color:var(--mut);font-weight:600}
.b5 .pn b{display:block;font-size:18px;font-weight:600;margin-top:4px;letter-spacing:-.01em}
.b5 .pn a.nx{grid-template-columns:1fr 120px;text-align:right}.b5 .pn a.nx img{order:2}
/* "3 of 8" position between the previous/next cards. */
.b5 .pnc{font-size:13.5px;font-weight:600;color:var(--mut);white-space:nowrap;padding:0 4px}
@media (max-width:1060px){.b5 .rf2,.b5 .glance{grid-template-columns:1fr}.b5 .rf2{padding-top:110px;gap:36px}}
@media (max-width:640px){
	.b5 .spec{padding:6px 20px;border-radius:20px}.b5 .spec div{grid-template-columns:1fr;gap:4px}
	.b5 .pn{grid-template-columns:1fr;gap:10px}.b5 .pn a,.b5 .pn a.nx{grid-template-columns:84px 1fr;text-align:left}.b5 .pn a.nx img{order:0}.b5 .pn img{width:84px;height:72px}
	.b5 .pnc{text-align:center;padding:2px 0}
	.b5 .rc2 .kr{font-size:18px}.b5 .tot b{font-size:26px}
	/* Baltic map card: was a full-width dot map for one pin — now a small inline thumbnail (dot kept,
	   its text-pill label dropped since it has no room to stay legible at this size; the location name
	   is already given in the spec list / legend text next to it). Desktop keeps the full map unchanged. */
	.b5 .map2{border-radius:18px;padding:14px 16px;display:flex;align-items:center;gap:14px}
	.b5 .glance .map2{flex-direction:row;justify-content:flex-start}
	.b5 .map2 .mp{max-width:92px;margin:0;flex:none}
	.b5 .glance .map2 .mp{max-width:76px}
	.b5 .map2 .ml{flex:1;margin:0;padding:0;border-top:0;display:block}
	.b5 .glance .map2:not(:has(.ml)){width:fit-content}
	.b5 .mpin span{display:none}
}

/* ---- detail: at-a-glance summary paragraph (the old refs_detail.py .story cards were removed 11.11, Story 4) ---- */
.b5 .summary{font-size:clamp(20px,1.8vw,26px);line-height:1.45;letter-spacing:-.01em;max-width:980px;margin:-12px 0 40px;color:#111}
@media (max-width:640px){.b5 .summary{font-size:18px}}
/* UX final pass: photo pin chip on phones/tablets - one wrapping text line inside the photo instead of
   three squeezed flex columns (ET) or a chip running past the photo edge (EN) */
@media (max-width:1060px){.b5 .pin{right:16px;max-width:calc(100% - 32px)}.b5 .chip{display:block;width:fit-content;max-width:100%;border-radius:16px;line-height:1.4;padding:8px 14px;font-size:13.5px}.b5 .chip span+span{display:inline}}

/* Round E 11.11 (review D20): on phones the "At a glance" map shrank to a 76px thumbnail with its pin label
   hidden - an empty-looking square next to the spec list. The spec's Location row already names the region,
   so the map is hidden on phones (kept at tablet/desktop width). */
@media (max-width:640px){.b5 .glance .map2{display:none}.b5 .glance{grid-template-columns:1fr}}
/* === Mobile recheck 11.11 === filter pills were 39px tall: ≥44px tap target */
.b5 .filt button{min-height:44px}

/* ===== Story 4 (11.11, Kevin: photo-led story block): replaces Story 3 (one white card, 3 columns, big kW/kWh figures).
   Desktop: large photo of the same project at the left (sticky while the timeline scrolls) with the hero-style
   "Battery · size" chip ("Running" removed 11.11); at the right a vertical 01 Challenge → 02 Solution → 03 Results timeline,
   numbered DM Mono badges on a dashed rail (03 filled black), results as check rows (thin check on a pale green disc).
   ≤900px: photo first (4/3, not sticky), then the timeline. ===== */
.b5 .st4-sec .h2 span{color:#8a8d90}
.b5 .st4{display:grid;grid-template-columns:minmax(0,47fr) minmax(0,53fr);gap:clamp(40px,5.5vw,88px);align-items:start}
.b5 .st4.solo{grid-template-columns:minmax(0,1fr);max-width:760px}
.b5 .st4-pic{position:sticky;top:112px;margin:0;border-radius:28px;overflow:hidden;aspect-ratio:4/5;max-height:calc(100vh - 140px);min-height:420px;background:#ddd}
.b5 .st4-pic>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.b5 .st4-pic .st4-pin{left:24px;bottom:24px;top:auto;right:24px;transform:none;display:block;pointer-events:none}
.b5 .st4-pin .chip{width:fit-content;max-width:100%;white-space:normal;flex-wrap:wrap;row-gap:2px;box-shadow:0 6px 24px rgba(0,0,0,.12)}
/* timeline */
.b5 .st4-tl{list-style:none;margin:0;padding:6px 0 0}
.b5 .st4-tl>li{position:relative;min-width:0;padding-left:68px;padding-bottom:48px}
.b5 .st4-tl>li:last-child{padding-bottom:0}
.b5 .st4-tl>li:not(:last-child)::before{content:"";position:absolute;left:22px;top:52px;bottom:8px;border-left:1px dashed #a9a9a9}
.b5 .st4-hd{display:flex;align-items:center;gap:20px;margin:0 0 18px -68px}
.b5 .st4-n{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--ink);background:var(--paper);font:500 14px "DM Mono",ui-monospace,monospace;letter-spacing:.02em;color:var(--ink)}
.b5 .st4-r .st4-n{background:var(--ink);color:#fff}
.b5 .st4-k{margin:0;font:500 12.5px "DM Mono",ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--mut)}
.b5 .st4-bd{min-width:0}
.b5 .st4-bd p{font-size:16px;line-height:1.6;color:var(--body);margin:12px 0 0;max-width:60ch;overflow-wrap:break-word}
.b5 .st4-bd>:first-child{margin-top:0}
.b5 .st4-bd .st4-lead{font-size:clamp(19px,1.55vw,22px);font-weight:600;letter-spacing:-.015em;line-height:1.35;color:var(--ink);max-width:34ch;margin:0 0 4px;text-wrap:pretty;overflow-wrap:break-word}
.b5 .st4-bd p+p.st4-lead,.b5 .st4-bd h3.st4-lead+p{margin-top:12px}
/* results: check rows on dashed separators */
.b5 .st4-r ul{list-style:none;margin:0;padding:0;border-top:1px dashed var(--dash)}
.b5 .st4-r ul li{display:flex;gap:14px;align-items:flex-start;padding:16px 0 17px;border-bottom:1px dashed var(--dash);font-size:clamp(17px,1.4vw,19px);font-weight:600;line-height:1.35;letter-spacing:-.012em;color:var(--ink);overflow-wrap:break-word}
.b5 .st4-r ul li>span:last-child{min-width:0}
/* 11.11 (Kevin: "better the green emoji"): calm editorial marker - thin 1.75px dark-green check on a pale
   green disc, centred on the first text line (1.35em line box) instead of the filled green tick */
.b5 .st4 .ck{flex:none;width:28px;height:28px;margin-top:calc((1.35em - 28px) / 2);border-radius:50%;background:#e8f3ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.25 8.4l2.4 2.4 5.1-5.3' fill='none' stroke='%231f6b43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;box-shadow:inset 0 0 0 1px rgba(31,107,67,.14)}
.b5 .st4-sec:is(:lang(et),:lang(lv),:lang(lt)) .st4-bd{hyphens:auto;-webkit-hyphens:auto}
/* tablet (901–1060): keep two columns, slightly tighter */
@media (max-width:1060px){
 .b5 .st4{gap:40px}
 .b5 .st4-pic{top:96px;min-height:360px}
 .b5 .st4-pic .st4-pin{left:16px;right:16px;bottom:16px}
}
/* ≤900px: photo first (4/3, full width within the gutter, not sticky), then the timeline */
@media (max-width:900px){
 .b5 .st4{grid-template-columns:minmax(0,1fr);gap:36px}
 .b5 .st4-pic{position:relative;top:auto;aspect-ratio:4/3;max-height:none;min-height:0;border-radius:24px}
 /* same 4/3 shape as the phone hero: when the featured image is reused, zoom in so the two don't look duplicated */
 .b5 .st4-pic.recrop>img{transform:scale(1.35)}
}
@media (max-width:640px){
 .b5 .st4{gap:30px}
 .b5 .st4-pic{border-radius:20px}
 .b5 .st4-pic .st4-pin{left:12px;right:12px;bottom:12px}
 .b5 .st4-tl>li{padding-left:50px;padding-bottom:36px}
 .b5 .st4-hd{margin-left:-50px;gap:14px;margin-bottom:14px}
 .b5 .st4-n{width:36px;height:36px;font-size:13px}
 .b5 .st4-tl>li:not(:last-child)::before{left:18px;top:44px}
 .b5 .st4-bd p{font-size:15.5px}
 .b5 .st4-bd .st4-lead{font-size:18px}
 .b5 .st4-r ul li{font-size:16.5px;padding:14px 0 15px;gap:12px}
 .b5 .st4 .ck{width:26px;height:26px;margin-top:calc((1.35em - 26px) / 2);background-size:13px}
}

/* ===== Photo hero crop + battery pin (11.11, Kevin: "it is straight cutting, not repositioning"). Desktop 1392/640,
   ≤1060px 16/9, ≤640px 4/5. The <img> carries object-position = the battery focal point (% of the photo), so every
   crop keeps the battery in view. site.js maps the pin (data-ix/iy, % of the photo) through the cover crop and adds
   .anc: dot + line on the battery at every width >640px (.flip = chip to the left when there is no room on the
   right). Without .anc (no JS, phones, or the point outside the crop) the old bottom chip is used. ===== */
@media (max-width:640px){.b5 .sp-pic{aspect-ratio:4/5}}
.b5 .sp-pic .pin.anc{left:var(--px)!important;top:var(--py)!important;right:auto;bottom:auto;max-width:none;transform:translate(-6px,-50%);display:flex}
.b5 .sp-pic .pin.anc .d,.b5 .sp-pic .pin.anc .l{display:block;flex:none}
.b5 .sp-pic .pin.anc .chip{flex:none;white-space:nowrap}
.b5 .sp-pic .pin.anc.flip{flex-direction:row-reverse;transform:translate(calc(-100% + 6px),-50%)}

/* Key result on phones/tablets (11.11): one calm line under the H1 ("New market income and lower costs")
   instead of a 40px second headline with a 15px tail */
@media (max-width:900px){
 .b5 .keyr{margin-top:0;padding-top:16px;border-top:1px dashed var(--dash);max-width:34ch}
 .b5 .keyr b,.b5 .keyr span{display:inline;font-size:20px;line-height:1.35;letter-spacing:-.01em;margin:0}
 .b5 .keyr b{font-weight:600;color:#111}
 .b5 .keyr span{font-weight:500;color:var(--mut)}
 .b5 .keyr span::before{content:" "}
}

/* ===== Mobile critical 11.11 (≤640px only) =====
   Client quote: a 4-6 line centred quote at 26px is hard to read on a phone (ragged both edges, eye
   has to find each line start). Left-align it, slightly smaller, with the person line under it. */
@media (max-width:640px){
 .b5 .quote{text-align:left}
 .b5 .quote blockquote p{font-size:23px;line-height:1.22}
 .b5 .quote figcaption{margin-top:24px}
}
/* Reference H1 on phones: reference headlines are full sentences ("Wind and battery hybrid on
   Saaremaa: 2 MW / 4 MWh beside 6 MW of wind.") and ran to 5 lines at 44px - the whole first screen
   was headline. 34px keeps them to 3-4 lines and in scale with the solution pages' two-part H1s. */
@media (max-width:640px){
 .single-reference .b5 .sp-h2 h1,.single-reference .b5 .sp-h2 h1.one{font-size:34px;line-height:1.06}
}

/* Key result = short benefit sentence (11.11): "Less curtailment, more income" — one line, sentence size, all widths */
.b5 .keyr{max-width:none;text-wrap:balance}
.b5 .keyr b,.b5 .keyr span{display:inline;font-size:clamp(26px,2.6vw,36px);line-height:1.2;letter-spacing:-.02em;margin:0}
.b5 .keyr b{font-weight:500;color:#111}
.b5 .keyr span{font-weight:500;color:var(--mut)}
.b5 .keyr span::before{content:", "}
@media (max-width:900px){
 .b5 .keyr{max-width:none}
 .b5 .keyr b,.b5 .keyr span{font-size:20px;line-height:1.35;letter-spacing:-.01em}
 .b5 .keyr b{font-weight:600}
}

/* Reference hero without the key-result text (11.11): one column - H1 across, actions directly under it */
.single-reference .b5 .sp-h2 .top{grid-template-columns:1fr;gap:36px;align-items:start}
.single-reference .b5 .sp-h2 .top h1{max-width:20ch}
.single-reference .b5 .sp-h2 .acts{justify-content:flex-start;margin-top:0}
@media (max-width:900px){.single-reference .b5 .sp-h2 .top{gap:24px}.single-reference .b5 .sp-h2 .top h1{max-width:none}}

/* 2026-11-13 new references: simplified connection diagram (nd_ref_diagram_html, Tapa Mill). Scrolls sideways on
   phones instead of shrinking the labels below a readable size. */
.b5 .rd-dia-fig{margin:0;padding:clamp(18px,3vw,36px);border:1px solid var(--line,#e2e2e2);border-radius:28px;background:#fff}
.b5 .rd-dia-sc{overflow-x:auto;-webkit-overflow-scrolling:touch}
.b5 .rd-dia-sc svg{display:block;width:100%;min-width:640px;height:auto}
.b5 .rd-dia-sc text{font-family:Raleway,system-ui,sans-serif;font-size:19px;fill:#111}
.b5 .rd-dia-sc text.lb{font-weight:600}
.b5 .rd-dia-sc text.dl{fill:#f8f8f8;font-weight:600;font-size:22px}
.b5 .rd-dia-sc text.dm{fill:#f8f8f8;font-family:'DM Mono',ui-monospace,monospace;font-size:15px;opacity:.75}
.b5 .rd-dia-sc text.sm{font-size:15px;font-family:'DM Mono',ui-monospace,monospace}
.b5 .rd-dia-sc text.mu{fill:#6b6e71;font-family:Raleway,system-ui,sans-serif}
.b5 .rd-dia-sc text.cap{font-size:15px;font-weight:600;fill:#6b6e71}
.b5 .rd-dia-fig .note{display:block;margin-top:12px;font-size:13.5px;color:var(--mut,#6b6e71)}
.b5 .rd-dia-sc svg.v{display:none}
@media (max-width:640px){.b5 .rd-dia-sc svg.h{display:none}.b5 .rd-dia-sc svg.v{display:block;min-width:0;max-width:420px;margin:0 auto}.b5 .rd-dia-sc svg.v text.lb{font-size:17px}.b5 .rd-dia-fig{padding:16px}}

/* References overview: facts block + table of all references (GEO pass 2026-11-13) */
.b5 .rfx{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:start}
.b5 .rfx-lead{font-size:20px;line-height:1.45;color:var(--ink);font-weight:500;letter-spacing:-.01em}
.b5 .rfx-l ul{margin:22px 0 0;padding:0;list-style:none}
.b5 .rfx-l li{padding:12px 0;border-top:1px dashed var(--dash);font-size:15.5px;line-height:1.5;color:var(--body)}
.b5 .rfx-l a,.b5 .rtab a{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.b5 .rfx-l .note{margin-top:14px;font-size:13px;color:var(--mut)}
.b5 .rfx-t{background:#fff;border:1px solid var(--line);border-radius:30px;padding:12px 28px;overflow-x:auto}
.b5 .rtab{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.4}
.b5 .rtab caption{text-align:left;font-size:13px;color:var(--mut);padding:12px 0 6px}
.b5 .rtab th,.b5 .rtab td{text-align:left;padding:11px 10px 11px 0;border-bottom:1px dashed var(--dash);vertical-align:top}
.b5 .rtab thead th{font-size:13px;font-weight:600;color:var(--mut)}
.b5 .rtab tbody th{font-weight:600}
.b5 .rtab tbody tr:last-child th,.b5 .rtab tbody tr:last-child td{border-bottom:0}
.b5 .rtab td{color:var(--body);white-space:nowrap}
.b5 .rtab td:nth-child(3){white-space:normal}
.b5 .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:1060px){.b5 .rfx{grid-template-columns:1fr;gap:32px}}
@media (max-width:640px){
	.b5 .rfx-lead{font-size:18px}
	.b5 .rfx-t{border-radius:20px;padding:6px 18px}
	.b5 .rtab thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
	.b5 .rtab,.b5 .rtab tbody,.b5 .rtab tr,.b5 .rtab th,.b5 .rtab td{display:block;width:auto}
	.b5 .rtab tr{padding:14px 0;border-bottom:1px dashed var(--dash)}
	.b5 .rtab tbody tr:last-child{border-bottom:0}
	.b5 .rtab th,.b5 .rtab td{padding:2px 0;border-bottom:0;white-space:normal}
	.b5 .rtab tbody th{font-size:15.5px;margin-bottom:4px}
	.b5 .rtab td::before{content:attr(data-l) ": ";color:var(--mut)}
}

/* 16.11 Kevin: references overview - no pinned map card on phones (desktop unchanged) */
@media (max-width:640px){.b5 .rf2 .map2{display:none}}
