/* SITE-RULER-1 (site 89, 2026-11-14): the whole-site look pass. One shared sheet, loaded last by the five pages (/, /websites/, /work/, /real-estate/, /about/).
   Rules: R-COL R-EDGE R-TYPE R-SPACE (F1 phone paddings) F3 type, DL7 one heading-to-row gap, F4 static How it works, F5 three cards, F7, F8 one closing band, F9 tap targets and line length. */
:root{--g:clamp(16px,4vw,48px);--col:1180px;--colw:calc(100vw - 2 * var(--edge));
--T1:clamp(36px,4.4vw,80px);--T2:clamp(28px,2.6vw,48px);--T3:clamp(21px,1.2vw,24px);--T4:clamp(18px,1.1vw,21px);
--PM:clamp(48px,7vw,104px);--PS:clamp(28px,4vw,56px);--PL:clamp(64px,9vw,144px);
--edge:calc((100vw - min(100vw, var(--col) + 2 * var(--g)))/2 + var(--g));--hgap:40px}
/* DL3/M8 (builder 3): --edge is the x of the logo in .hn-nav__bar (shell.css: max-width maxw+2*gutter, centred, padding gutter) at every width; the column is maxw wide */

/* F3 R-TYPE: one T1 (two lines at most at 1440 and 2000), T2 headings in sentence case in the display face, never T2 size on spaced capitals */
h1,h1.fs__h,h1.ws-hero__h,h1.ab-hero__h,h1.lm-h1,h1.re-hero__h{font-size:var(--T1)!important;line-height:1.05!important}
@media (min-width:900px){h1,h1.fs__h,h1.ws-hero__h,h1.ab-hero__h,h1.lm-h1,h1.re-hero__h{max-width:min(60%,calc(var(--colw) * .6))}}
#home-hero .v5-hero{left:var(--edge)!important}
@media (min-width:900px){#home-hero .v5-hero{right:auto;width:calc(var(--colw) * .8);max-width:none}}
#home-hero h1.fs__h{max-width:none}
main h2.nb-h2,main h2.wk-h2,main h2.rw-close__h,main h2.ws-terms__h,main h2.re-qh__h,.rband__h{font-size:var(--T2)!important;line-height:1.1!important}
main h2.v5-k,main h2.wp-k,main h2.ab-k,main h2.ss__k{font-family:var(--f-display)!important;font-weight:500!important;font-size:var(--T2)!important;line-height:1.1!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 var(--hgap)!important;color:inherit}
main h2.ab-k{color:var(--text)!important}
.nb-eyebrow,.wk-eyebrow{font-size:13px!important;letter-spacing:.08em!important}
.sc__name,.site-row__name{font-size:var(--T3)!important;line-height:1.2!important}
.sc__line,.site-row__what{font-size:16px!important}
.v5-hero__line,.ws-hero__line,.ab-hero__lead,.ws-lead,.wk-ph__lede{font-size:var(--T4)!important;line-height:1.45!important}

/* F9 line length: running text never over 68 characters (selectors carry enough weight to beat the page sheets) */
main p.nb-body,main p.re-lp__p,main p.ws-lead,main p.ws-lead--full,main p.ws-v45__lead,main p.wk-ph__lede,main p.ab-hero__lead,main .ws-v45 p,main .ws-add p,main .ws-terms p{max-width:68ch!important}

/* F1 R-SPACE: P-M default, P-S carried-on block, P-L closing band (phone values from F1) */
main>section:not(#home-hero):not(.lm-sec):not(.re-hero):not(.ws-hero):not(.ab-hero):not(.rband):not(.ab-cta):not(.ab-sec){padding-top:var(--PM)!important;padding-bottom:var(--PM)!important}
main>section#what-i-do,main>section#sites-built,main>section#sites,main>section#samples,main>section#monthly,main>section#quoted,main>section#leave,main>section.ab-sec{padding-top:var(--PS)!important}
main>section.ab-sec{padding-bottom:var(--PS)!important}
.ab-hero{padding-top:var(--PS)!important;padding-bottom:0!important}
.rband{padding-top:var(--PL);padding-bottom:var(--PL)}
.ab-cta{padding-top:var(--PS)!important;padding-bottom:var(--PL)!important}

/* DL7: ONE section-heading-to-card-row gap = 40px (var(--hgap)) on /, /websites/ and /work/ */
#sites-built .v5-head,#work .v5-head{margin-bottom:var(--hgap)!important}
#live h2#live-h,.wk-sites h2#sites-h,.wk-samples h2#samples-h,.wk-ph h2#ph-h{margin-bottom:var(--hgap)!important}
#live .sc-row,.wk-sites .sc-row,.wk-samples .sc-row{margin-top:0}

/* R-COL / R-EDGE: one column; edge = column's left edge */
@media (min-width:900px){
  .nb-wrap,footer .hn-wrap{box-sizing:border-box!important;width:100%!important;max-width:calc(var(--col) + 2 * var(--g))!important;margin-left:auto!important;margin-right:auto!important;padding-left:var(--g)!important;padding-right:var(--g)!important}
  .wk-ph__head,.wk-strip,.lm-bar{padding-left:var(--edge)!important;padding-right:var(--edge)!important;box-sizing:border-box}
}

/* F9 tap targets at 390 */
@media (max-width:899px){
  .sc__go,.v5-all,.wk-go__a,.site-row__url,.ab-sites a,.about-row__link,.nb-btn,.ab-cta__num,.hn-foot a,.hn-foot__mark,a.hn-foot__mark,.montage-hero__play,.lm-thread,.skip,.rband__num,.rband__btn,.sc-foot__cta a,.ws-v45 a,.ws-terms a{min-height:44px;min-width:44px;display:inline-flex;align-items:center}
}

/* F4 HOW IT WORKS static (SITE-PUT-BACK-1: only while not held; the >= 1024 hold is back): no pin, no runway, steps left and the chat right from 900, stacked under 900 */
.ss:not(.ss-hold) .ss__stage{position:static!important}
.ss:not(.ss-hold) .ss__run{display:none!important}
.ss:not(.ss-hold) .ss__w{height:auto!important}
@media (min-width:900px){
  .ss:not(.ss-hold) .ss__grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start;zoom:1!important}
  .ss:not(.ss-hold) .ss__right{margin-top:0!important;min-width:0!important;max-width:none!important;flex:none!important}
  .ss:not(.ss-hold) .ss__list{gap:24px}
}
@media (min-width:900px){main>section.ss:not(.ss-hold){padding-top:var(--PS)!important;padding-bottom:var(--PS)!important}}

/* F5 WHAT I DO: three cards across in the column, the site card shape (picture on top, name T3, one line, link) */
@media (min-width:900px){
  #what-i-do .v5-do{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;border-top:0!important}
  #what-i-do .v5-do>li{min-width:0;border-bottom:0!important}
  #what-i-do .v5-do a{flex-direction:column!important;gap:0!important;padding:0!important;height:100%}
  #what-i-do .v5-do__s{flex:none!important;width:100%!important;max-width:none!important;margin:0 0 20px!important}
  #what-i-do .v5-do__s img{width:100%!important;height:auto!important;aspect-ratio:16/9!important}
  #what-i-do .v5-do__s--dev{height:auto!important;aspect-ratio:16/9;padding:0!important}
  #what-i-do .v5-do__txt{flex:1 1 auto}
  #what-i-do .v5-do__t{font-size:var(--T3)!important;line-height:1.2!important}
  #what-i-do .v5-do__d{font-size:16px!important;max-width:none!important;margin-top:6px!important}
  #what-i-do .v5-do__g{margin-top:10px!important}
}
@media (max-width:899px){#what-i-do .v5-do a{padding:24px 0!important}}

/* F2 /about/: portrait column as wide as the portrait, text 48px after it, What I make inside the first screen */
@media (min-width:900px){
  .ab-hero__in{grid-template-columns:360px minmax(0,1fr)!important;column-gap:48px!important}
  .ab-hero__img{width:360px!important}
  .ab-hero__lead{max-width:34ch!important}
  .ab-list{gap:0 32px}
}

/* F7 /real-estate/: five cards = 3 + 2 centred row (no real sixth piece of work to add); /work/ title on the column edge */
@media (min-width:900px){
  .rw-grid{display:flex!important;flex-wrap:wrap;justify-content:center;gap:48px 32px}
  .rw-grid>li{flex:0 0 calc((100% - 64px)/3);min-width:0}
}
@media (min-width:900px){
  /* F7/DL3 /work/: the bar is watch/watch.css .lm.is-mosaic .lm-bar (lines 77/257/266, padding 64px, specificity 0,3,0) so it is named with the same weight; the h1 sits in .lm-title with no padding of its own */
  .lm.is-mosaic .lm-bar,.lm.is-mosaic:not(.is-play) .lm-bar{padding-left:var(--edge)!important;padding-right:var(--edge)!important;box-sizing:border-box}
  .lm .lm-title{padding:0!important;margin:0!important}
  .lm .lm-h1{margin-left:0!important;text-indent:0}
}

/* F8 ONE closing band: portrait, "Hi, I'm Victor.", one line, Text me button and the number. /about/ keeps button + number only (.ab-cta). */
.rband{background:var(--ink1,#0b0b0d);border-top:1px solid var(--line,rgba(236,232,223,.14))}
.rband__in{box-sizing:border-box;width:100%;max-width:calc(var(--col) + 2 * var(--g));margin:0 auto;padding:0 var(--g);display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.rband__img{display:block;flex:none;width:96px;height:96px;border-radius:50%;overflow:hidden}
.rband__img img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.rband__h{margin:0;font-family:var(--f-display);font-weight:500;color:var(--text)}
.rband__p{margin:8px 0 0;font-size:var(--T4);line-height:1.45;color:var(--text);max-width:40ch}
.rband__act{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
.rband__btn{min-height:48px}
.rband__num{font-family:var(--f-display);font-size:24px;color:var(--text);min-height:44px;display:inline-flex;align-items:center}
@media (min-width:900px){
  .rband__in{flex-direction:row;align-items:center;gap:32px}
  .rband__txt{flex:1 1 auto;min-width:0}
}

/* F6 /websites/: add-ons two columns from 900, terms + leaving ONE section of two columns, panels and hero on the column edge */
@media (min-width:900px){
  #addons .ws-add{max-width:none!important;margin:0!important}
  #addons .ws-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px}
  #terms>.nb-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;align-items:start}
  #terms .ws-add{max-width:none!important;margin:0!important}
  .ws-terms__more--phone{display:none}
  .ws-hero__in{box-sizing:border-box;width:var(--colw)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
  .ws-hero .fd{right:var(--edge)!important}
}
.ws-mo{padding-left:0!important;padding-right:0!important}
@media (max-width:899px){
  .ws-hero{display:flex;flex-direction:column;align-items:stretch;padding-top:var(--PS)!important;min-height:0!important}
  .ws-hero .fd{position:relative;order:-1;left:auto;top:auto;bottom:auto;width:100px;margin:0 auto 16px}
}

/* F2 /real-estate/: a picture fills its split column to the 48px gap; nothing floats centred in a wider cell (MEASURES a.9) */
@media (min-width:1024px){
  .re-lp__in{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:48px!important;align-items:center}
  .re-lp__pair{max-width:none!important;width:100%!important}
  .re-quote__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:48px!important}
  .re-quote__grid .re-ql,.re-quote__grid .re-qr{min-width:0;justify-self:stretch;text-align:left}
  .re-quote__grid .re-form,.re-paper .re-form{max-width:none!important;width:100%}
}

/* F9 the 21px "1xevmedia.com/pay" link in #terms (Paying row): its own 44px tap box under 900, the line height of the row unchanged */
@media (max-width:899px){
  #terms .ws-terms__rows dd a[href="/pay/"]{display:inline-block;min-height:44px;min-width:44px;line-height:44px;margin-block:-12px;vertical-align:baseline}
}

/* builder 3 M3: /websites/ hero, #price and #how and the /about/ hero on the padding scale (P-M / P-S / P-L) */
main .wp>section.wp-sec{padding-top:var(--PM)!important;padding-bottom:var(--PM)!important}
main section.ws-hero{padding-bottom:var(--PS)!important}
main section.ab-hero{padding-bottom:var(--PS)!important}
@media (min-width:900px){main section.ws-hero{padding-top:var(--PL)!important}}

/* builder 3 F9 at 390: inline links get a 44px tap box, line height of the row unchanged */
@media (max-width:899px){
  .ab-films .nb-gold-under,.re-num .nb-gold-under,.hn-consent a{display:inline-block;min-height:44px;min-width:44px;line-height:44px;margin-block:-12px;vertical-align:baseline}
}

/* builder 3 M1: running text never over 68 characters (/websites/ closing quote and the add-on row lines) */
main p.sc-foot__q,main p.ws-row__d,main .ws-rows p,main .ws-group{max-width:54ch!important}

/* builder 3 M7 /about/ from 900: What I make and Sites I built side by side (two half columns on the shared edge), so the page is no taller than before; hero and closing row span both */
@media (min-width:900px){
  body:has(.ab-hero) main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  body:has(.ab-hero) main>.ab-hero,body:has(.ab-hero) main>.ab-cta{grid-column:1/-1}
  body:has(.ab-hero) main>.ab-sec>.nb-wrap{max-width:none!important;margin:0!important}
  body:has(.ab-hero) main>.ab-sec:not(.ab-sec--proof)>.nb-wrap{padding-left:var(--edge)!important;padding-right:24px!important}
  body:has(.ab-hero) main>.ab-sec--proof>.nb-wrap{padding-left:24px!important;padding-right:var(--edge)!important}
  .ab-list{grid-template-columns:minmax(0,1fr)}
  .ab-cta{padding-bottom:var(--PS)!important}
}

/* builder 3 M7 / M4 D1 at 390: the stacked How it works and the long row sections on the phone scale (padding and gaps only, no copy removed) */
.ab-cta{padding-bottom:var(--PS)!important}
@media (max-width:899px){
  .ss .ss__list{gap:28px}
  .ss .ss__right{margin-top:24px!important}
  .ss .ss__g{padding-top:8px;padding-bottom:8px}
  .ws-page .ws-row,.ws-row{padding-top:14px;padding-bottom:14px}
  .ws-rows{margin-top:20px}
  #addons .ws-add,#terms .ws-add{margin-top:0}
  #terms .ws-terms__rows>div{padding-top:10px;padding-bottom:10px}
  .re-quote__grid{row-gap:24px}
}

/* builder 4 M7 /about/: the two ab-sec blocks were losing to the P-M rule (48/48 and 101/104 instead of P-S); with that fixed the phone page is tightened to the old height with the scale kept (carried-on blocks share one P-S gap) */
@media (max-width:899px){
  main h2.ab-k{margin-bottom:12px!important}
  main>section.ab-sec,main>section.ab-cta{margin-top:calc(-1 * var(--PS))}
  .ab-hero__lead{margin-top:12px!important}
  .ab-hero__facts{margin-top:6px}
  .ab-list a{padding:8px 0!important}
  .ab-films{margin-top:8px}
}

/* builder 4 DL3 at 390: the content column edge equals the logo x (16) on every page; --gutter is 20 on phones in new.css and four sheets write a literal 20px */
@media (max-width:899px){
  :root{--gutter:16px}
  .ws-hero{padding-left:16px!important;padding-right:16px!important}
  .wk-ph__head,.wk-ph .wk-strip{padding-left:16px!important;padding-right:16px!important}
  .wk-lb__bar{padding-left:16px!important;padding-right:16px!important}
  .wk-sites>.nb-wrap,.wk-samples>.nb-wrap{padding-left:16px!important;padding-right:16px!important}
  .wk-lb__grid{padding-left:16px!important;padding-right:16px!important}
  .wk-ph .wk-strip{scroll-padding:0 16px!important}
  .lm .lm-title{padding-left:16px!important;padding-right:16px!important}
  .lm .lm-threads{padding-left:16px!important;padding-right:16px!important}
  .lm .lm-tiles{padding-left:16px!important;padding-right:16px!important}
}

/* builder 4 M7 /real-estate/ and M1 rband at 390: the closing band keeps the portrait beside the heading and line (one row), the action row under them; text may shrink inside the viewport */
@media (max-width:899px){
  .rband__in{flex-direction:row;flex-wrap:wrap;align-items:center;gap:16px}
  .rband__img{width:72px;height:72px}
  .rband__txt{flex:1 1 0;min-width:0}
  .rband__h,.rband__p{max-width:100%;overflow-wrap:anywhere}
  .rband__act{flex:1 1 100%}
}

/* R2 D4 /websites/: a group with an odd item count ends on one short wide row, no orphan cell in the 2-column grid */
@media (min-width:900px){
  #addons .ws-rows>li:last-child:nth-child(odd){grid-column:1/-1}
}

/* R2 M1 /websites/: the plain paragraphs in the add-on, monthly, quoted and terms sections keep the running-text cap (54ch, at most 68 characters a line) */
main section.ws-v45 p:not([class]){max-width:54ch!important}

/* R2 M7 /websites/ from 900: the short Monthly and Quoted bands sit on the small step of the padding scale (P-S), so the page is shorter than before at 1440 and 2000 */
@media (min-width:900px){
  main section#monthly:not(#home-hero),main section#quoted:not(#home-hero){padding-top:var(--PS)!important;padding-bottom:var(--PS)!important}
}

/* SR1-FF F1 /work/: the Websites link sits on the 'The sites.' heading row at the right end of the column (the home 'All work' pattern); no link alone under a row */
.wk-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 var(--hgap)}
.wk-head h2#sites-h{margin:0!important}
.wk-all{display:inline-flex;align-items:center;min-height:44px;font:600 15px/1 var(--f-body);color:var(--text);text-decoration:none;white-space:nowrap;background:linear-gradient(var(--gold),var(--gold)) left calc(50% + 12px)/100% 1px no-repeat}
@media (max-width:899px){.wk-all{min-width:44px}}

/* SR1-FF F4 /websites/ #addons at 390: name, price and the first sentence show; the rest opens on a tap of the row (native details). From 900 the row reads as before (one paragraph, always open) */
.ws-row__dt>summary{list-style:none;cursor:pointer;display:block}
.ws-row__dt>summary::-webkit-details-marker{display:none}
@media (max-width:899px){
  #addons .ws-row__dt>summary{position:relative;padding-right:32px;min-height:44px}
  #addons .ws-row__dt>summary::after{content:"";position:absolute;right:8px;top:8px;width:8px;height:8px;border-right:1.5px solid var(--text);border-bottom:1.5px solid var(--text);transform:rotate(45deg);opacity:.75;transition:transform .2s}
  #addons .ws-row__dt[open]>summary::after{transform:rotate(-135deg);top:12px}
  #addons .ws-row__dt>summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:2px}
  #addons .ws-row__d2{margin-top:6px!important}
  #addons .ws-row{gap:12px;padding-top:7px;padding-bottom:7px}
  #addons .ws-row:first-child{padding-top:0}
  #addons .ws-ico{width:22px;height:22px;margin-top:2px}
  #addons .ws-row__top{flex-direction:row;align-items:baseline;justify-content:space-between;gap:12px;padding-right:30px}
  #addons .ws-row__t{font-size:17px}
  #addons .ws-row__dt>summary::after{top:7px}
  #addons .ws-row__dt[open]>summary::after{top:11px}
  #addons .ws-rows{margin-top:12px}
  #addons .ws-add>.ws-group{padding-left:34px}
}
@media (min-width:900px){
  #addons .ws-row__dt,#addons .ws-row__dt>summary{display:contents}
  #addons .ws-row__b:has(>.ws-row__dt){font-size:15px;line-height:1.5}
  #addons .ws-row__dt .ws-row__top{margin-bottom:8px}
  #addons .ws-row__dt .ws-row__d{display:inline;margin:0!important}
  #addons .ws-row__d2::before{content:" "}
  #addons .ws-row__dt .ws-row__s{display:block}
}

/* SR1-FF F6 /websites/ from 900: the hidden #leave anchor span was taking the second grid cell and pushed 'If you ever leave' under 'Terms, short.'; out of flow it sits in the cell beside it */
@media (min-width:900px){
  #terms>.nb-wrap>.alias{position:absolute}
  #terms>.nb-wrap{position:relative}
}
/* SR1-FF F7: the heading-to-lede gap of 'If you ever leave' = 'Add what you need.' (14px); sibling heads in /real-estate/ #quote share one style (T3, display face, 500) */
#terms .ws-terms>.ws-terms__h+p{margin:14px 0 0!important}
main .re-ar__t,main .re-fig__n{font-family:var(--f-display)!important;font-weight:500!important;font-size:var(--T3)!important;line-height:1.2!important;letter-spacing:0!important}

/* SR1-FF F2/F3 at 390: the home chat keeps three bubbles (lockbox line dropped); /real-estate/ #route shows two beats, Mon 9:14 AM and Thu 8:10 AM. 900 and wider unchanged */
@media (max-width:899px){
  #how-it-works .ss__g[data-l="0"] .ss__m:nth-child(3),#route .ss__g[data-l="0"] .ss__m:nth-child(3){display:none}
  #route .ss__g[data-l="1"],#route .ss__g[data-l="2"],#route .ss__g[data-l="3"] .ss__m:nth-child(3){display:none}
}
/* SR1-FF F2 home #how-it-works under 1024: the four steps first, then the chat (home.css H7 put it right under step 1); step spacing on the phone ruler gap, 900 and wider keep the two columns */
@media (max-width:1023px){
  #how-it-works.ss:not(.ss-hold) .ss__li,#how-it-works.ss:not(.ss-hold) .ss__li[data-step="0"]{order:1!important}
  #how-it-works.ss:not(.ss-hold) .ss__right{order:2!important}
  #how-it-works.ss:not(.ss-hold) .ss__grid{row-gap:20px}
  /* SITE-PUT-BACK-1 N2: heading to first step = one ruler value (40px = --hgap) on / like /websites/ and /real-estate/: the grid row-gap already adds 20 */
  #how-it-works.ss:not(.ss-hold) h2.ss__k{margin-bottom:calc(var(--hgap) - 20px)!important}
}
@media (max-width:899px){#how-it-works .ss__hd{padding:10px 16px}}

/* SR1-FF F1 /work/: the sites row to SAMPLES and the SAMPLES row to the closing band are the same section gap (2 x P-M: 96 / 201.6 / 208 at 390 / 1440 / 2000) */
main>section#samples{padding-bottom:calc(2 * var(--PM))!important}
main>section#samples#samples:not(#home-hero){padding-bottom:calc(2 * var(--PM))!important}

/* SITE-PUT-BACK-1b: About Victor links (band, home #victor), home #victor on the plain dark band, N1 add-on measure */
.rband__about,#victor .vc-about{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;font-size:15px;color:var(--text);text-decoration:underline;text-decoration-color:rgba(184,151,90,.7);text-underline-offset:3px}
.rband__about:focus-visible,#victor .vc-about:focus-visible,.hn-foot__links a:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:2px}
#victor{background:var(--ink1,#0b0b0d);border-top:1px solid var(--line,rgba(236,232,223,.14))}
#victor .vc-about{grid-column:1;justify-self:start}
@media (max-width:899px){#addons .ws-row__b>.ws-row__d{padding-right:32px}}
