/* HOLVEM · /services/spray-foam-insulation · SVC-1 R3 page rules (22 Oct 2026).
   Loaded after the page stylesheet (hv-r3-78611c13b6.css) and the gx components. Everything here is scoped to the
   R3 sections; tokens come from :root in the page stylesheet. Order on the page:
   hero (estimator beside the headline, hero-bld) → 01 hook (buildings, then roof or surface; real footage tiles)
   → 02 system media slot (cutaway placeholder; video or 3D viewer drop in) → material module (site standard, dark,
   textured) → 03 recent projects (record cards) → 04 straight answers → guides → decision. */

/* ============================================================ FONT FALLBACK: a metric-matched stand-in while Geist loads ===== */
/* Geist sets about 3% wider than Arial / Liberation Sans for the hero copy (measured with fontTools, 22 Oct). The fallback is
   size-adjusted and its vertical metrics overridden to Geist's, so the swap re-wraps nothing and the hero does not shift. */
@font-face{font-family:"Geist Fallback";src:local("Arial"),local("Liberation Sans"),local("Helvetica Neue");size-adjust:103.1%;ascent-override:97.5%;descent-override:28.6%;line-gap-override:0%}
:root{--font:"Geist","Geist Fallback",Inter,"Helvetica Neue",Arial,system-ui,sans-serif}

/* ============================================================ HERO: the estimator beside a short headline ===== */
.hero-holvem.hero-bld .hh-grid{display:grid;gap:22px}
.hero-holvem.hero-bld .hh-inner{max-width:none;gap:14px}
.hero-holvem.hero-bld .crumbs{margin-bottom:0}
.hero-holvem.hero-bld .hh-eyebrow{margin:0}
.hero-holvem.hero-bld h1{font-size:clamp(31px,3.5vw,48px);letter-spacing:-1.1px;line-height:1.06}
.hero-holvem.hero-bld .hh-lede{font-size:17px;max-width:54ch}
.hero-holvem.hero-bld .hh-proof{margin-top:2px}
.hero-holvem.hero-bld .hh-proof li{font-weight:500;color:var(--heading)}
.hero-holvem.hero-bld .hh-callline{font-size:15px;line-height:1.5;color:var(--body);max-width:60ch;text-wrap:balance}
.hero-holvem.hero-bld .hh-callline a{color:var(--heading);font-weight:600;text-decoration:underline;text-underline-offset:3px;font-variant-numeric:tabular-nums;white-space:nowrap}
.hero-holvem.hero-bld .hh-callline a:hover{color:var(--accent-text)}
.hero-holvem.hero-bld .hh-callline a:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px;border-radius:2px}
.hero-holvem.hero-bld .est-wrap{margin-top:6px}
.hero-holvem.hero-bld .est{scroll-margin-top:24px}
.hero-holvem.hero-bld .est-head .kicker{color:var(--verdict-verified)}
/* the SVC estimator has six building tiles: three across in the 520px column */
.hero-holvem.hero-bld .est .choices{grid-template-columns:1fr 1fr;gap:8px}
@media (min-width:480px){.hero-holvem.hero-bld .est .choices{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* phone: a short image band, the copy, then the estimator straight after it on its own paper band */
.hero-holvem.hero-bld .hh-media{aspect-ratio:16/9}
@media (max-width:899px){
  .hero-holvem.hero-bld .hh-media{aspect-ratio:2/1}
  .hero-holvem.hero-bld .hh-copy{padding-top:18px;padding-bottom:0}
  .hero-holvem.hero-bld .hh-inner{gap:10px;padding-bottom:22px}
  .hero-holvem.hero-bld .crumbs{font-size:12.5px}
  .hero-holvem.hero-bld .hh-eyebrow{font-size:11px}
  .hero-holvem.hero-bld h1{font-size:clamp(29px,8.2vw,36px)}
  .hero-holvem.hero-bld .hh-lede{font-size:16px}
  .hero-holvem.hero-bld .hh-proof{gap:6px 16px;font-size:13px}
  .hero-holvem.hero-bld .hh-callline{font-size:14px}
  .hero-holvem.hero-bld .hh-est{margin:0 calc(-1 * var(--gutter));padding:22px var(--gutter) 30px;background:var(--surface);border-top:1px solid var(--border-hairline)}
  .hero-holvem.hero-bld .hh-est .est-wrap{margin-top:0}
  .hero-holvem.hero-bld .est{padding:18px 16px 20px}
  .hero-holvem.hero-bld .est-prog{margin-top:10px}
  .hero-holvem.hero-bld .est-panel{margin-top:14px}
}
@media (max-width:359px){.hero-holvem.hero-bld h1{font-size:27px}}
@media (min-width:900px){
  .hero-holvem.hero-bld{min-height:0}
  .hero-holvem.hero-bld .hh-copy{display:block;padding-top:40px;padding-bottom:56px}
  .hero-holvem.hero-bld .hh-grid{grid-template-columns:minmax(0,1fr) minmax(400px,.92fr);gap:40px;align-items:start}
  .hero-holvem.hero-bld .hh-inner{max-width:none;padding-top:8px}
  .hero-holvem.hero-bld .est-wrap{margin-top:0}
  .hero-holvem.hero-bld .hh-field{background:linear-gradient(90deg, rgba(251,250,248,.97) 0%, rgba(251,250,248,.95) 30%, rgba(251,250,248,.92) 42%, rgba(251,250,248,.6) 52%, rgba(251,250,248,.16) 62%, rgba(251,250,248,0) 72%)}
}
@media (min-width:1260px){.hero-holvem.hero-bld .hh-grid{grid-template-columns:minmax(0,1fr) 520px;gap:56px}}
@media (min-width:1600px){.hero-holvem.hero-bld .hh-inner{max-width:none}}

/* ============================================================ 01 THE HOOK: buildings, then roof or surface ===== */
.hook{padding:64px 0 68px;border-top:1px solid var(--border-hairline)}
@media (min-width:900px){.hook{padding:72px 0 76px}}
.hook .hk-panel{margin-top:30px}
.hook .hk-panel + .hk-panel{margin-top:40px;padding-top:34px;border-top:1px solid var(--border-hairline)}
.hook .hk-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin-bottom:16px}
.hook .hk-head h3{font-size:20px;line-height:1.2;letter-spacing:-.3px;font-weight:600;color:var(--heading)}
.hook .hk-head .hk-n{font-family:var(--mono);font-size:11px;letter-spacing:.1em;font-weight:600;color:var(--muted);margin-left:10px;vertical-align:2px}
.hook .hk-head .tlink{font-size:14px}
/* the tiles: raised paper, a 16:10 media window with real footage over a real poster, the record plate, one line, two routes */
.vtiles{display:grid;gap:14px}
.vt{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--surface-raised);border:1.5px solid var(--border-hairline);border-radius:var(--r);overflow:hidden;transition:transform var(--dur) var(--ease),border-color var(--dur)}
.vt::after{content:"";position:absolute;top:0;right:0;width:var(--ch-x);height:var(--ch-y);background:var(--accent);clip-path:polygon(100% 0,100% 100%,0 0);transform:scale(0);transform-origin:100% 0;transition:transform .32s var(--ease);z-index:2;pointer-events:none}
.vt:hover,.vt:focus-within{transform:translateY(-3px);border-color:var(--accent)}
.vt:hover::after,.vt:focus-within::after{transform:scale(1)}
.vt-media{position:relative;display:block;aspect-ratio:16/10;background:var(--surface-sunken);overflow:hidden;flex:none;text-decoration:none}
.vt-media img,.vt-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.vt-media video{opacity:0;transition:opacity .6s ease}
.vt.is-playing .vt-media video{opacity:1}
.vt-media .fig-label{position:absolute;left:0;bottom:0;display:flex;align-items:stretch;z-index:1;max-width:100%;flex-wrap:wrap}
.vt-media .fig-tag{display:flex;align-items:center;white-space:nowrap;padding:8px 12px;background:var(--amb-violet-anchor);color:var(--surface-raised);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.vt-media .fig-name{display:flex;align-items:center;padding:8px 24px 8px 12px;background:var(--surface-raised);color:var(--heading);font-size:13.5px;font-weight:600;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 100%,0 100%)}
.vt-play{all:unset;box-sizing:border-box;position:absolute;top:10px;right:10px;z-index:2;width:34px;height:34px;border-radius:50%;background:rgba(251,250,248,.92);color:var(--heading);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 3px rgba(20,24,27,.25)}
.vt-play svg{width:12px;height:12px;display:block}
.vt-play .pause{display:none}
.vt.is-playing .vt-play .play{display:none}
.vt.is-playing .vt-play .pause{display:block}
.vt-play:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.vt.no-video .vt-play{display:none}
.vt-body{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px;flex:1}
.vt-t{display:block;font-size:17px;line-height:1.25;letter-spacing:-.3px;font-weight:600;color:var(--heading);text-decoration:none}
.vt-t::before{content:"";position:absolute;inset:0;z-index:1}
.vt-t:focus-visible{outline:none}
.vt:focus-within{box-shadow:0 0 0 2px var(--focus-ring)}
.vt-s{font-size:14px;line-height:1.45;color:var(--body)}
.vt-go{margin-top:auto;padding-top:8px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.vt-go .tlink{font-size:14px;position:relative;z-index:2}
.vt-est{position:relative;z-index:2;display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--action);text-decoration:none;white-space:nowrap}
.vt-est svg{width:14px;height:14px;transition:transform var(--dur) var(--ease)}
.vt-est:hover svg{transform:translateX(3px)}
.vt-est:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px;border-radius:2px}
/* the hub tile: the way to every building / every application */
.vt-hub{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:18px 18px 18px;background:var(--accent-soft);border-color:var(--accent-soft);color:var(--heading);text-decoration:none;min-height:180px}
.vt-hub .vt-t{position:static}
.vt-hub .vt-t::before{content:none}
.vt-hub .vt-s{color:var(--body)}
.vt-hub .tile-go{margin-top:6px;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--accent-text)}
.vt-hub .tile-go svg{width:16px;height:16px;transition:transform var(--dur) var(--ease)}
.vt-hub:hover .tile-go svg,.vt-hub:focus-visible .tile-go svg{transform:translateX(4px)}
.vt-hub:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.vt-hub .vt-hubtext{display:grid;gap:8px}
.vt-hub .vt-hk{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--accent-text)}
@media (min-width:720px){.vtiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media (min-width:1000px){.vtiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.vtiles.cols-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.vtiles.cols-4 .vt-t{font-size:16px}.vtiles.cols-4 .vt-body{padding:13px 14px 15px}}
/* the hub bar: the route to every application, under the four tiles */
.hk-bar{margin-top:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;padding:16px 18px;background:var(--accent-soft);border:1.5px solid var(--accent-soft);border-radius:var(--r);color:var(--heading);text-decoration:none;transition:border-color var(--dur)}
.hk-bar:hover,.hk-bar:focus-visible{border-color:var(--accent)}
.hk-bar:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.hk-bar .hk-bar-t{font-size:15px;line-height:1.45;color:var(--body);max-width:70ch}
.hk-bar .hk-bar-t b{color:var(--heading);font-weight:600;margin-right:6px}
.hk-bar .tile-go{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--accent-text);white-space:nowrap}
.hk-bar .tile-go svg{width:16px;height:16px;transition:transform var(--dur) var(--ease)}
.hk-bar:hover .tile-go svg,.hk-bar:focus-visible .tile-go svg{transform:translateX(4px)}
/* phones: one row you swipe, the hub tile at the end; the tile in view plays */
@media (max-width:719px){
  .vtiles{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;margin:0 calc(-1 * var(--gutter));padding:4px var(--gutter) 12px;scrollbar-width:none}
  .vtiles::-webkit-scrollbar{display:none}
  .vt{flex:0 0 min(78vw,320px);scroll-snap-align:start}
  .vt-hub{flex:0 0 min(70vw,280px);min-height:0;justify-content:center}
  .vt-body{padding:12px 14px 14px}
  .vt-t{font-size:16px}
  .hook .hk-swipe{display:flex;align-items:center;gap:8px;margin-top:2px;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
  .hook .hk-swipe i{display:block;width:26px;height:1px;background:var(--border-strong)}
}
@media (min-width:720px){.hook .hk-swipe{display:none}}
@media (prefers-reduced-motion:reduce){.vt,.vt::after,.vt-media video,.vt-est svg,.vt-hub .tile-go svg{transition:none}.vt:hover,.vt:focus-within{transform:none}}

/* ============================================================ 02 THE SYSTEM: one media slot, three ways to fill it ===== */
.applied .sysmedia{margin-top:34px}
.applied .sm-slot[hidden]{display:none}
/* video drop-in: 16:9 on a wide screen, 4:5 on a phone; poster first; reduced motion keeps the poster */
.applied .sm-video{position:relative;border-radius:var(--r);overflow:hidden;background:var(--surface-sunken);border:1px solid var(--border-hairline)}
.applied .sm-video .sm-frame{position:relative;aspect-ratio:16/9;background:var(--surface-sunken)}
.applied .sm-video video,.applied .sm-video img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.applied .sm-video .sm-key{position:absolute;left:0;top:0;z-index:1;padding:9px 14px;font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;font-weight:500;color:var(--muted);background:rgba(251,250,248,.9)}
@media (max-width:719px){.applied .sm-video .sm-frame{aspect-ratio:4/5}}
/* 3D viewer drop-in: the same frame; the viewer fills it */
.applied .sm-model{position:relative;aspect-ratio:16/9;border-radius:var(--r);overflow:hidden;background:var(--surface);border:1px solid var(--border-hairline)}
.applied .sm-model > *{position:absolute;inset:0;width:100%;height:100%}
@media (max-width:719px){.applied .sm-model{aspect-ratio:4/5}}
/* the placeholder cutaway keeps its R2 rules (below); the five facts and the depth control sit under whichever media is live */
.applied .cut3d{padding:16px 18px 16px}
.applied .cut3d .c3-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:12px}
.applied .cut3d .c3-key{font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;font-weight:500;color:var(--muted)}
.applied .cut3d .c3-key-s{display:none}
.applied .cut3d .c3-hintx{font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:var(--muted);white-space:nowrap;opacity:0;transition:opacity .4s}
.applied .cut3d.is-gl .c3-hintx{opacity:1}
.applied .cut3d .c3-view{position:relative;aspect-ratio:1062/470;border-radius:6px;overflow:hidden;background:var(--surface);touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none;outline:none}
.applied .cut3d.is-dragging .c3-view{cursor:grabbing}
.applied .cut3d .c3-view:focus-visible{box-shadow:0 0 0 2px var(--focus-ring)}
.applied .cut3d .c3-poster{position:absolute;inset:0;width:100%;height:100%;display:block;transition:opacity .55s ease}
.applied .cut3d .c3-pm{display:none}
.applied .cut3d.is-gl .c3-poster{opacity:0}
.applied .cut3d .c3-gl{position:absolute;inset:0;width:100%!important;height:100%!important;display:block;opacity:0;transition:opacity .55s ease}
.applied .cut3d.is-gl .c3-gl{opacity:1}
.applied .cut3d .c3-hot{all:unset;box-sizing:border-box;position:absolute;left:var(--dx);top:var(--dy);transform:translate(-50%,-50%);width:26px;height:26px;border-radius:50%;background:var(--surface-raised);border:1.5px solid var(--heading);color:var(--heading);font-family:var(--mono);font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;box-shadow:0 1px 3px rgba(20,24,27,.18);transition:background-color .2s,color .2s,opacity .3s}
.applied .cut3d .c3-hot:hover,.applied .cut3d .c3-hot.is-open{background:var(--phosphor);border-color:var(--phosphor);color:#FFF}
.applied .cut3d .c3-hot:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.applied .cut3d .c3-hot.is-behind{opacity:0;visibility:hidden;pointer-events:none}
.applied .cut3d .c3-hot .c3-tip{display:none}
.applied .cut3d .c3-lead{position:absolute;left:50%;top:50%;height:1.5px;width:0;background:var(--heading);opacity:0;transform-origin:0 50%;pointer-events:none;transition:opacity .2s}
.applied .cut3d .c3-hot.is-open .c3-lead{background:var(--phosphor)}
.applied .cut3d .c3-cap{margin-top:12px;min-height:42px;font-size:14px;line-height:1.5;color:var(--body);max-width:72ch}
.applied .cut3d .c3-cap b{color:var(--heading);font-weight:600;margin-right:6px}
.applied .cut3d .c3-cap .c3-cap-idle{color:var(--muted)}
.applied .cut3d .c3-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 18px;margin-top:10px}
.applied .cut3d .c3-depth{display:inline-flex;align-items:center}
.applied .cut3d .c3-dk{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--muted);margin-right:12px}
.applied .cut3d .c3-depth button{all:unset;box-sizing:border-box;cursor:pointer;padding:8px 13px;font-family:var(--mono);font-size:12.5px;font-weight:600;letter-spacing:.04em;color:var(--body);background:var(--surface-raised);border:1px solid var(--border);margin-left:-1px;font-variant-numeric:tabular-nums;transition:background-color .2s,color .2s}
.applied .cut3d .c3-depth button:first-of-type{margin-left:0;border-radius:var(--r-field) 0 0 var(--r-field)}
.applied .cut3d .c3-depth button:last-of-type{border-radius:0 var(--r-field) var(--r-field) 0}
.applied .cut3d .c3-depth button:hover{color:var(--heading)}
.applied .cut3d .c3-depth button[aria-checked="true"]{background:var(--phosphor);border-color:var(--phosphor);color:#FFF;position:relative;z-index:1}
.applied .cut3d .c3-depth button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px;z-index:2}
.applied .cut3d .fignote{margin-top:0}
.applied .c3-modelkey{margin-top:10px;font-size:13.5px;line-height:1.5;color:var(--muted);max-width:80ch}
@media (max-width:719px){
  .applied .cut3d{padding:14px 14px 14px}
  .applied .cut3d .c3-key{font-size:10.5px;letter-spacing:.1em}
  .applied .cut3d .c3-key-l{display:none}.applied .cut3d .c3-key-s{display:inline}
  .applied .cut3d .c3-view{aspect-ratio:4/3}
  .applied .cut3d .c3-pd{display:none}.applied .cut3d .c3-pm{display:block}
  .applied .cut3d .c3-hot{left:var(--mx);top:var(--my);width:36px;height:36px;font-size:13px}
  .applied .cut3d .c3-cap{min-height:63px;font-size:13.5px}
}
/* the five facts as a row of plates under the media, so they survive whichever media is live */
.applied .sm-facts{margin-top:18px;display:grid;gap:10px}
.applied .sm-facts > div{padding:12px 14px 13px;background:var(--surface);border:1px solid var(--border-hairline);border-radius:var(--r);display:grid;gap:4px;align-content:start}
.applied .sm-facts .n{font-family:var(--mono);font-size:11px;letter-spacing:.1em;font-weight:600;color:var(--phosphor)}
.applied .sm-facts b{font-size:14.5px;line-height:1.3;color:var(--heading);font-weight:600}
.applied .sm-facts p{font-size:13.5px;line-height:1.45;color:var(--body)}
@media (min-width:600px){.applied .sm-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:599px){.applied .sm-facts{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;margin:18px calc(-1 * var(--gutter)) 0;padding:0 var(--gutter) 8px;scrollbar-width:none}.applied .sm-facts::-webkit-scrollbar{display:none}.applied .sm-facts > div{flex:0 0 min(72vw,300px);scroll-snap-align:start}}
@media (min-width:1000px){.applied .sm-facts{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}}
.applied .sm-links{margin-top:22px}
@media (prefers-reduced-motion:reduce){.applied .cut3d .c3-poster,.applied .cut3d .c3-gl,.applied .cut3d .c3-hot,.applied .cut3d .c3-hintx{transition:none}}

/* ============================================================ THE MATERIAL: the site-standard dark module ===== */
/* the texture and glows are the building-page module's (holvem-material-v1, warehouse page, 7 Oct 2026), carried verbatim */
.material{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse 55% 70% at 78% 62%,rgba(106,63,150,.30),rgba(106,63,150,0) 70%),radial-gradient(ellipse 45% 60% at 8% 105%,rgba(116,178,168,.16),rgba(116,178,168,0) 70%),#121518}
.material>.frame{position:relative;z-index:1}
.material::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:url('https://cdn.prod.website-files.com/6a2a7f469939a7c6fec6c023/6acf72bebddf0499b64b6715_hv-tex-closed-cell.svg') center/cover no-repeat;-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.55) 40%,#000 75%);mask-image:linear-gradient(90deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.55) 40%,#000 75%)}
.material::after{content:'';position:absolute;left:0;right:0;top:0;height:1px;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(157,123,196,0),rgba(157,123,196,.7),rgba(116,178,168,.6),rgba(116,178,168,0))}
@media (max-width:767px){.material{background:radial-gradient(ellipse 90% 45% at 70% 78%,rgba(106,63,150,.32),rgba(106,63,150,0) 70%),radial-gradient(ellipse 80% 40% at 0% 100%,rgba(116,178,168,.14),rgba(116,178,168,0) 70%),#121518}.material::before{background-size:auto 100%;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,.6) 45%,#000 85%);mask-image:linear-gradient(180deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,.6) 45%,#000 85%)}}
/* contrast: every text run on the panel is on-panel-body or brighter (the R2 caption sat on on-panel-muted and read as invisible) */
.material .mat-fig .cap{color:var(--on-panel-body)}
.material .kicker{color:var(--on-panel-body)}
.material .kicker b::after{background:var(--panel-border)}
.material .mat-stats .k{color:#D7D4CC}
.material .mat-links{margin-top:22px;display:flex;flex-wrap:wrap;gap:10px 22px}
.material .mat-links a{color:var(--accent-on-panel);font-size:14.5px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.material .mat-links a:hover{color:var(--on-panel-heading)}
.material .mat-links a:focus-visible{outline:2px solid var(--phosphor-on-dark);outline-offset:3px;border-radius:2px}

/* ============================================================ 03 RECENT PROJECTS: record cards, like the guides hub ===== */
.projects .sg-grid{margin-top:30px;display:grid;gap:16px}
@media (min-width:640px){.projects .sg-grid{grid-template-columns:1fr 1fr}}
@media (max-width:639px){.projects .sg-grid,.gnav .gn-grid{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;margin-left:calc(-1 * var(--gutter));margin-right:calc(-1 * var(--gutter));padding:4px var(--gutter) 12px;scrollbar-width:none}.projects .sg-grid::-webkit-scrollbar,.gnav .gn-grid::-webkit-scrollbar{display:none}.projects .sg-grid > .gcard,.gnav .gn-grid > .gcard{flex:0 0 min(80vw,330px);scroll-snap-align:start}.projects .sg-grid .gp,.gnav .gn-grid .gp{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}}
@media (min-width:1000px){.projects .sg-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}}
.gcard{position:relative;display:flex;flex-direction:column;background:var(--surface-raised);border:1.5px solid var(--border-hairline);border-radius:var(--r);overflow:hidden;text-decoration:none;color:var(--heading);transition:transform var(--dur) var(--ease),border-color var(--dur)}
.gcard::after{content:"";position:absolute;top:0;right:0;width:var(--ch-x);height:var(--ch-y);background:var(--accent);clip-path:polygon(100% 0,100% 100%,0 0);transform:scale(0);transform-origin:100% 0;transition:transform .32s var(--ease)}
.gcard:hover,.gcard:focus-visible{transform:translateY(-4px);border-color:var(--accent)}
.gcard:hover::after,.gcard:focus-visible::after{transform:scale(1)}
.gcard:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.gmedia{position:relative;aspect-ratio:16/9;background:var(--surface-sunken);overflow:hidden;flex:none}
.gmedia img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s var(--ease)}
.gcard:hover .gmedia img,.gcard:focus-visible .gmedia img{transform:scale(1.035)}
.gmedia .fig-label{position:absolute;left:0;bottom:0;display:flex;align-items:stretch;z-index:1}
.gmedia .fig-tag{display:flex;align-items:center;white-space:nowrap;padding:8px 12px;background:var(--amb-violet-anchor);color:var(--surface-raised);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.gbody{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.gk{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--muted)}
.gt{font-size:20px;line-height:1.2;letter-spacing:-.4px;font-weight:600;color:var(--heading);text-wrap:balance}
.gp{font-size:14.5px;line-height:1.5;color:var(--body)}
.gfacts{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.gfacts li{font-family:var(--mono);font-size:11.5px;letter-spacing:.04em;font-weight:500;color:var(--heading);padding:4px 9px;border:1px solid var(--border-hairline);border-radius:999px;background:var(--surface);font-variant-numeric:tabular-nums;white-space:nowrap}
.gcue{margin-top:auto;padding-top:8px;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--accent-text)}
.gcue svg{width:16px;height:16px;transition:transform var(--dur) var(--ease)}
.gcard:hover .gcue svg,.gcard:focus-visible .gcue svg{transform:translateX(4px)}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.gnav .chip{font-family:var(--font);font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--body);padding:3px 9px;border:1px solid var(--border-hairline);border-radius:999px;background:var(--surface)}
.projects .sg-foot{margin-top:22px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.projects .sg-foot p{font-size:14.5px;line-height:1.5;color:var(--body);max-width:62ch}
@media (prefers-reduced-motion:reduce){.gcard,.gcard::after,.gmedia img,.gcue svg{transition:none}.gcard:hover,.gcard:focus-visible{transform:none}}

/* ============================================================ 04 STRAIGHT ANSWERS (R2 rules kept) ===== */
.answers .qa7{margin-top:30px;max-width:860px}
.answers .qa7 .a p + p{margin-top:10px}
.answers .qa7 .a a{color:var(--accent-text);text-decoration:underline;text-underline-offset:3px}
.answers .qa7 .a .src{font-size:13.5px;color:var(--muted)}

/* ============================================================ GUIDES: the hub's cards, near the end ===== */
.gnav{padding:64px 0 68px;border-top:1px solid var(--border-hairline);background:var(--surface)}
@media (min-width:900px){.gnav{padding:72px 0 76px}}
.gnav .gn-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
.gnav .gn-head .tlink{font-size:14px}
.gnav .gn-grid{margin-top:22px;display:grid;gap:16px}
@media (min-width:640px){.gnav .gn-grid{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.gnav .gn-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.gnav .gt{font-size:18px}}
.decision .why{margin-top:12px;font-size:15px;line-height:1.55;max-width:62ch}
