/* assets/v5.css - v5 COMMIT 2 (Fable 120 FINAL, ~2:33 AM 10-30; mock agent-reports/mocks/v5-offer/offer-v5-sheet.png):
   (B) the SITE CARD, ONE component for /websites/ #live and the home SITES I BUILT row;
   (A) THE OFFER on /websites/ #price (no box, no bullets, no glow);
   (D) the GOLD-LINE marks: one stroke weight, 1.5 px, nothing filled but the live stop.
   Loads after shell.css + new.css + nav5.css on home and /websites/. The wordmark + footer mark live in shell.css (every page). */

/* ---------- (D) gold-line language ---------- */
.gl{fill:none;stroke:var(--gold);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}
.gl *{vector-effect:non-scaling-stroke}

/* ---------- (B) SITE CARD ---------- */
ul.sc-row[role]{list-style:none;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter) 6px;display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 var(--gutter);scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom}
.sc-row::-webkit-scrollbar{display:none}
.sc{flex:0 0 min(calc(100vw - var(--gutter) - 38px),340px);scroll-snap-align:start;min-width:0}
ul.sc-row>li[hidden]{display:none}
.sc__name,.sc__line{overflow-wrap:anywhere}
.sc__go{white-space:normal}
@media (min-width:900px){
  ul.sc-row[role]{margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;overflow:visible;touch-action:auto}
  /* two cards while the preview cards are hidden (index.html ul has sc-row--two; remove with data-flag="preview-cards") */
  ul.sc-row.sc-row--two[role]{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* R1c c6: exactly three cards fill the row (was 4 columns, empty right quarter) */
  ul.sc-row[role]:has(>.sc:nth-child(3)):not(:has(>.sc:nth-child(4))){grid-template-columns:repeat(3,minmax(0,1fr))}
  .sc{flex:none}
  .sc__go{white-space:nowrap}
  /* FINAL SOFAR-SITES-1 line 1: equal card bodies, the link pinned to the bottom so every Visit site / Preview sits on ONE baseline even when a title wraps */
  .sc{display:flex;flex-direction:column}
  .sc__go{margin-top:auto;align-self:flex-start}
}
.shot{position:relative;display:block;aspect-ratio:100/84}
.shot img{position:absolute;display:block;height:auto;object-fit:cover;object-position:top center;border-radius:8px;background:#111;outline:1px solid rgba(236,232,223,.1);outline-offset:-1px}
.shot__desk{left:0;top:0;width:90%;aspect-ratio:16/10;box-shadow:0 14px 34px rgba(0,0,0,.6)}
.shot__phone{right:0;bottom:0;width:38%;aspect-ratio:9/16;box-shadow:0 16px 38px rgba(0,0,0,.75)}
/* B5 line (Fable 126): a card's phone mock ends right after a whole paragraph (never through a button or a word) with a fade into the card; --pe = the fade as % of the crop, capped at 24 px */
.sc .shot__phone{--pe:3%;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - min(24px,var(--pe))),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - min(24px,var(--pe))),transparent)}
.sc .shot__phone[src*="jc-phone"]{aspect-ratio:780/1316;--pe:3%}
.sc .shot__phone[src*="msm-phone"]{aspect-ratio:780/1200;--pe:5%}
.sc .shot__phone[src*="pnw-phone"]{aspect-ratio:780/950;--pe:5.3%}
.sc__name{margin:16px 0 0;font:500 21px/1.2 var(--f-display);color:var(--text)}
.sc__line{margin:4px 0 0;font:400 15px/1.45 var(--f-body);color:rgba(236,232,223,.72)}
.sc__go{display:inline-flex;align-items:center;min-height:44px;font:600 15px/1 var(--f-body);color:var(--text);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:5px;text-decoration-thickness:1.5px;white-space:nowrap}
.sc-foot{margin-top:20px}
.sc-foot__q{margin:0;font:400 15px/1.5 var(--f-body);color:rgba(236,232,223,.72)}
.sc-foot__q q{font:italic 500 18px/1.4 var(--f-display);color:var(--text)}
.sc-foot__cta{margin:6px 0 0;font:600 15px/1.4 var(--f-body)}
.sc-foot__cta a{display:inline-flex;align-items:center;min-height:44px;color:var(--text);text-decoration:none;white-space:nowrap}
.sc-foot__cta .ar{color:var(--gold);margin-left:6px}
@media (min-width:900px){
  .sc-foot{display:flex;align-items:baseline;gap:40px;margin-top:36px}
  .sc-foot__q{margin-right:auto}.sc-foot__cta{margin:0}
}

/* ---------- (A) THE OFFER: full-width on the page black ---------- */
#price.of{border-top:1px solid var(--line)}
.of__top{display:grid;gap:40px}
.of__h{margin:0;font:500 clamp(48px,8vw,96px)/1 var(--f-display);letter-spacing:0;color:var(--text)}
.of__p{margin:18px 0 0;font:400 19px/1.45 var(--f-body);color:var(--text);max-width:30ch}
.of__p2{margin:8px 0 0;font:400 16px/1.5 var(--f-body);color:rgba(236,232,223,.72);max-width:34ch;text-wrap:balance}
.of__pair .shot__desk,.of__pair .shot__phone{box-shadow:0 24px 48px rgba(0,0,0,.6)}
/* B5 (10-30): the JC phone crop ends on a clean row (after the Free estimate button, before the or-text line), 24 px fade out */
.of__pair .shot__phone{aspect-ratio:780/1460;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent)}
.of__get{margin-top:48px}
.of__k{margin:0 0 20px;font:600 11px/1.4 var(--f-body);letter-spacing:.16em;text-transform:uppercase;color:var(--text)}
.of__rows{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.of__rows li{border-left:1.5px solid var(--gold);padding:3px 0 3px 18px;font:400 17px/1.5 var(--f-body);color:rgba(236,232,223,.88)}
.of__rows .fw{font:500 19px/1 var(--f-display);color:var(--text)}
@media (min-width:900px){
  .of__top{grid-template-columns:5fr 7fr;gap:72px;align-items:center}
  .of__p{font-size:22px}.of__p2{font-size:17px}
  .of__get{margin-top:64px}
  .of__rows{grid-template-columns:1fr 1fr;gap:26px 64px}
  .of__rows li{font-size:18px;padding:4px 0 4px 22px}
  .of__rows .fw{font-size:21px}
}

/* ---------- /websites/ hero devices (Fable 125 FINAL, mock final-hero-devices-v2): laptop + phone as an absolute overlay on the hero ---------- */
.ws-hero{overflow:hidden}
.fd{position:absolute;pointer-events:none}
.fd-lap{position:absolute;right:0;top:0;width:540px}
.fd-lap__scr{border:9px solid #1b1b1f;border-radius:10px 10px 2px 2px;background:#000;aspect-ratio:1440/830;overflow:hidden;box-shadow:0 24px 48px rgba(0,0,0,.45)}
.fd-lap__scr picture,.fd-ph__scr picture{display:block;width:100%;height:100%}
.fd-lap__scr img,.fd-ph__scr img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.fd-lap__base{height:7px;margin:0 -8px;background:#1b1b1f;border-radius:0 0 8px 8px}
.fd-ph{position:absolute;left:0;top:49px;width:150px}
.fd-ph__scr{border:6px solid #1b1b1f;border-radius:22px;background:#000;aspect-ratio:390/844;overflow:hidden;box-shadow:0 24px 48px rgba(0,0,0,.45)}
@media (min-width:900px){
  .fd{right:max(var(--gutter),calc((100% - 1180px)/2));top:68px;width:600px;height:360px}
  .fd-ph{left:-70px;top:56px}
  /* the text block (about 205 px) is centred on the device pair (y 144-518 at 1440: centre 331), not bottom-anchored */
  .ws-hero{align-items:flex-start;padding-top:152px}
}
@media (max-width:899px){
  .fd-lap{display:none}
  .ws-hero{min-height:535.8px;padding-bottom:0}
  .fd{left:50%;width:148px;margin-left:-74px;bottom:auto;top:16px}
  .fd-ph{position:relative;left:0;top:0;width:100%}
}
/* SITES-DEVICES-1 (site 40): laptop + phone site cards, shared by home #sites-built and /websites/ #live; island = ruler Fable thinking 155. Frames are CSS recipe; captures are the real site stills clipped to the screen. */
.sc .shot{aspect-ratio:100/84}
.sc .dev-lap,.sc .dev-lap__lid,.sc .dev-ph{display:block}
.sc .dev-lap{position:absolute;left:0;top:0;width:90%}             /* lip outer width = the 90% the capture had; never overhangs (FINAL ask 2) */
.sc .dev-lap__lid{position:relative;box-sizing:border-box;width:calc(100% / 1.16);margin:0 auto;padding:10px;background:#111;border:1px solid #2a2a2a;border-radius:14px 14px 0 0;box-shadow:0 24px 48px rgba(0,0,0,.5)}
.sc .dev-lap__scr{display:block;aspect-ratio:16/10;border-radius:8px;overflow:hidden;background:#000}
.sc .dev-lap__lip{position:relative;z-index:1;display:block;box-sizing:border-box;height:14px;background:#1a1a1a;border-top:2px solid #333;border-radius:0 0 10px 10px;box-shadow:0 24px 48px rgba(0,0,0,.5)}
.sc .dev-lap__lip::after{content:"";position:absolute;left:50%;top:0;width:96px;height:4px;max-width:60%;transform:translateX(-50%);background:#2a2a2a;border-radius:0 0 4px 4px}
.sc .dev-ph{position:absolute;z-index:2;right:0;bottom:0;width:38%;box-sizing:border-box;padding:8px;background:#111;border:1px solid #2a2a2a;border-radius:44px;box-shadow:0 24px 48px rgba(0,0,0,.5)}
.sc .dev-ph__scr{position:relative;display:block;aspect-ratio:9/19.5;border-radius:36px;overflow:hidden;background:#000}
.sc .dev-ph__isl{position:absolute;left:50%;top:8px;width:min(80px,36%);height:auto;aspect-ratio:80/22;transform:translateX(-50%);background:#111;border-radius:11px}
.sc .dev-lap__scr picture,.sc .dev-ph__scr picture{display:block;width:100%;height:100%}
.sc .shot .dev-cap{position:static;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:top center;border-radius:0;outline:0;box-shadow:none;background:#111;-webkit-mask-image:none;mask-image:none}
/* WORK-SITES-1 (mock, ruler Fable thinking 159): /work/ #samples, six sample-site cards (r2: own band under TWO SITES); the SITES-DEVICES-1 laptop alone (no phone), stacked < 600 on the site gutter, 2-up from 600, 3x2 from 900 */
ul.sc-row.sc-row--six[role]{margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:40px 32px;overflow:visible;touch-action:auto}
.sc-row--six .sc{flex:none;display:flex;flex-direction:column}
.sc-row--six .sc__go{margin-top:auto;align-self:flex-start}
.sc--lap .shot{aspect-ratio:auto}
.sc--lap .dev-lap{position:relative;margin:0 auto}            /* G3: centred, same 90% */
@media (min-width:600px){ul.sc-row.sc-row--six[role]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:900px){ul.sc-row.sc-row--six[role]{grid-template-columns:repeat(3,minmax(0,1fr))}}
.wk-samples{padding-top:120px}
@media (max-width:899px){.wk-samples{padding-top:72px}}

/* PICKS-1 (R48-3, site 47): home hero montage loop over the poster (opacity 0 until playing, 400 ms fade) + shade behind the words */
#home-hero .montage-hero__video{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .4s ease;pointer-events:none}
#home-hero .montage-hero__video.is-on{opacity:1}
#home-hero .montage-hero__shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.62) 0%,rgba(0,0,0,.5) 45%,rgba(0,0,0,.18) 72%,rgba(0,0,0,0) 100%)}

/* AESTHETICS-1 (site 88, 2026-11-14; spec SPEC-AESTHETICS-1-row-design153 S1-S9 + LOOK RULING L1-L5).
   Shared sites row (/, /websites/ #live, /work/ #sites) and the /work/ #samples grid.
   S1/S9 one content column: col = max(1084px, min(62vw, 1320px)) (1084 up to 1748 wide, 1190 at 1920, 1240 at 2000, 1320 from 2130), centred; the wrap adds its 2 x 48 px gutter. */
@media (min-width:900px){
  .nb-wrap:has(>ul.sc-row[role]){max-width:calc(max(1084px,min(62vw,1320px)) + 96px)}
  /* S5 section rhythm on /work/ #sites + #samples (home .v5-sec value); heading to list 40 */
  #sites.wk-sites,#samples.wk-samples{padding-top:clamp(72px,7vw,104px);padding-bottom:clamp(72px,7vw,104px)}
  #sites.wk-sites .wk-h2{margin-bottom:40px}
  /* S7 #samples: 3 across in the same column, 48 row gap / 32 column gap */
  ul.sc-row.sc-row--six[role]{gap:48px 32px}
  /* S4/S9 caption scale */
  ul.sc-row .sc__name{font-size:clamp(21px,1.2vw,24px)}
  ul.sc-row .sc__line{font-size:16px}
}
/* S4/L1 caption rhythm on the device-pair cards: box to name 20, name to line 6, line to link 10; the link is pinned to the card bottom (L3) */
ul.sc-row.dv-row .dv{margin-bottom:0}
ul.sc-row.dv-row .sc__name{margin-top:20px}
ul.sc-row.dv-row .sc__line{margin-top:6px}
ul.sc-row.dv-row .sc__go{box-sizing:border-box;min-height:44px;align-items:flex-start;padding-top:10px;margin-top:auto}
/* S8 + L3: 600-899 stays a one-line side scroller; card = (window - 2 gutters - 28) / 2.3 so two cards show whole and the third peeks 90 px or more; cards one height, link on the card bottom */
@media (min-width:600px) and (max-width:899px){
  ul.sc-row[role]:not(.sc-row--six){gap:14px}
  ul.sc-row:not(.sc-row--six)>.sc{flex:0 0 calc((100vw - 2 * var(--gutter) - 28px) / 2.3);display:flex;flex-direction:column}
  ul.sc-row:not(.sc-row--six) .sc__go{margin-top:auto;align-self:flex-start}
}
