/* fx: hero layer (from fx-hero.css) */
/* fx-hero.css · lane 1: hero, brick system, page headers, page transitions (2026-11-14 round 2)
   "Course by course": a running-bond wall lays itself behind the hero and every page header.
   Only transform, opacity and clip-path animate here. Curves come from the Motion 2026-11-14 block in site.css. */

/* --- Brick field: the canvas fx-hero.js inserts (always decorative, never takes a click) --- */
.fxh-host{isolation:isolate}
.fxh-pos{position:relative}
.fxh-cv{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;display:block}

/* --- Header: the mark lays its bricks once on first load (bottom course first, 60ms per course, 300ms in all);
   on hover it re-stacks once. Solid header hairline and the amber scroll bar share one 1px row --- */
@keyframes fxh-brick{from{opacity:0;transform:translateY(-4px)}}
.top .brand svg rect{transform-box:fill-box;animation:fxh-brick 160ms var(--ease-out) backwards}
.top .brand svg g rect:nth-child(5){animation-delay:0ms}.top .brand svg g rect:nth-child(6){animation-delay:20ms}
.top .brand svg g rect:nth-child(3){animation-delay:60ms}.top .brand svg>rect{animation-delay:80ms}.top .brand svg g rect:nth-child(4){animation-delay:100ms}
.top .brand svg g rect:nth-child(1){animation-delay:120ms}.top .brand svg g rect:nth-child(2){animation-delay:140ms}
.fxh-lg .top .brand svg rect{animation-name:none}
@media(hover:hover) and (pointer:fine){.fxh-lg .top .brand:hover svg rect{animation-name:fxh-brick}}
.top{border-bottom:0;box-shadow:inset 0 -1px 0 transparent;transition:background-color 200ms var(--ease-out),box-shadow 200ms var(--ease-out)}
.top.sc,.top.solid{box-shadow:inset 0 -1px 0 var(--rule)}
.prog{bottom:0;height:1px}

/* --- Home hero (density pass 2026-11-14): back to the round 1 look. The photo slideshow sits behind the headline
   with its dark overlay and the 01-09 ticker is thin lines with numbers, all as site.css styles them --- */

/* --- Inner page headers: a band of wall behind the title, re-laid on every page entry (this is the page transition).
   The h1 rises word by word through masks, line by line (fx-hero.js); lede and actions follow it --- */
.fxh-bh{position:relative;isolation:isolate}
.fxh-band{position:absolute;z-index:-1;pointer-events:none}
.fxw{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.06em;margin-bottom:-.06em}
.fxw>span{display:inline-block}
.phd .lede.fu,.abh .lede.fu,.svm-h .fu:not(h1){animation-delay:200ms}
.phd .row.fu{animation-delay:260ms}.phd figure.fu{animation-delay:140ms}

/* fx: home layer (from fx-home.css) */
/* fx-home.css · lane 2: home page sections (2026-11-14 round 2) */
/* "Course by course". Every hide-then-reveal state below sits under html.fxm (added by fx-home.js after it has
   prepared the section, never under reduced motion), so without JS everything shows as plain content.
   Only transform, opacity and clip-path animate (plus the FAQ height via WAAPI and the project pan). */

/* ===== 1. The course entrance, any .sec on any page =====
   rule draws 0-600 (ease-io) · amber tick sets at 450 · eyebrow 180 · heading lines 280 + 70ms each · content 520 + 60ms */

/* the heading's word masks (inserted by fx-home.js); the padding keeps caps and accents clear of the mask */
.fx-m{display:inline-block;overflow:hidden;vertical-align:baseline;padding:.1em .04em;margin:-.1em -.04em}
.fx-w{display:inline-block}

/* rule: the seam hairline draws left to right, then its amber tick sets */
.fxm .fx-c.bt::before{transform:scaleX(0);transform-origin:0 0}
.fxm .fx-c.bt::after{opacity:0;transform:scaleX(.4);transform-origin:0 0}
.fxm .fx-c.fx-in.bt::before{transform:none;transition:transform 600ms var(--ease-io)}
.fxm .fx-c.fx-in.bt::after{opacity:.85;transform:none;transition:opacity 200ms var(--ease-out) 450ms,transform 250ms var(--ease-out) 450ms}

/* the .rv box that holds the eyebrow/heading stays put; its parts animate on their own */
.fxm .fx-c .rv.fx-h{opacity:1;transform:none;transition:none}

/* eyebrow: number and label set, its short amber stroke draws */
.fxm .fx-c .fx-e{opacity:0;transform:translateY(6px)}
.fxm .fx-c .fx-e::before{transform:scaleX(0);transform-origin:0 0}
.fxm .fx-c.fx-in .fx-e{opacity:1;transform:none;transition:opacity 300ms var(--ease-out) var(--fx-e),transform 300ms var(--ease-out) var(--fx-e)}
.fxm .fx-c.fx-in .fx-e::before{transform:none;transition:transform 300ms var(--ease-out) var(--fx-e)}

/* display heading: each rendered line lifts through its mask */
.fxm .fx-c .fx-hd .fx-w{transform:translateY(105%)}
.fxm .fx-c.fx-in .fx-hd .fx-w{transform:none;transition:transform 700ms var(--ease-out) calc(var(--fx-h0) + var(--fx-l,0) * 70ms)}

/* content: settles in up to three groups. --fx-d is set per element when the section enters
   (inline transition-delay values from site.js are overridden so the course keeps one rhythm) */
.fxm .fx-c .fx-k,.fxm .fx-c .rv:not(.fx-h){opacity:0;transform:translateY(8px);transition:none}
.fxm .fx-c.fx-in .fx-k,.fxm .fx-c.fx-in .rv.in:not(.fx-h){opacity:1;transform:none;transition:opacity 450ms var(--ease-out),transform 450ms var(--ease-out);transition-delay:var(--fx-d,0ms)!important}

/* ===== 2. Home composition: one spacing scale, one edge, heading one step up ===== */
.fx-hm .sec .h2{font-size:clamp(25px,2.4vw,34px)}
.fx-hm .sh{margin-bottom:var(--sp4)}
.fx-hm .sh>.rv:only-child{grid-column:1/-1}
.fx-hm #what .sh h2{max-width:30ch}
.fx-hm #what .con{margin-top:var(--sp5)}
.fx-hm #what .cust{margin-top:var(--sp5);padding-top:var(--sp5)}
.fx-hm #questions .fql+p{margin-top:var(--sp3)}
@media(max-width:700px){.fx-hm .sh{margin-bottom:var(--sp3)}.fx-hm #what .con{margin-top:var(--sp4)}.fx-hm #what .cust{margin-top:var(--sp5);padding-top:var(--sp4)}}

/* ===== 3. "01 What I do": running-bond stage, icons draw on, top edge draws on hover ===== */
/* brick courses 14px tall, bricks 56px long, joints offset half a brick each course; same alpha as --rule */
.fx-hm .v3 .stg{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Cg stroke='%23ECE7DE' stroke-opacity='.09' stroke-width='1' fill='none' shape-rendering='crispEdges'%3E%3Cpath d='M0 .5h56M0 14.5h56M.5 0v14M28.5 14v14'/%3E%3C/g%3E%3C/svg%3E") 50% 50%/56px 28px}
.fx-hm .v3 .fc-f{border-color:var(--rule2)}
.fx-hm .v3 .fc-f::before{content:"";position:absolute;left:-1px;right:-1px;top:-1px;height:1px;background:var(--am);transform:scaleX(0);transform-origin:0 0;transition:transform 200ms var(--ease-out);z-index:1}
.fx-hm .v3 .stg .ai{transition:transform 200ms var(--ease-out)}
@media(hover:hover){
.fx-hm .v3 .fc-f:hover{border-color:var(--rule2);background:var(--bg)}
.fx-hm .v3 .fc-f:hover::before{transform:none}
.fx-hm .v3 .fc-f:hover .stg .ai{transform:translateY(-2px)}
.fx-hm .v3 .fc-f:hover .stg{background-color:rgba(217,160,91,.035)}
}
/* icon strokes draw on with the cards' entrance, 90ms apart per card */
.fxm .fx-c .fc .fx-p{stroke-dasharray:1;stroke-dashoffset:1}
.fxm .fx-c .fc .ai .f{fill-opacity:0}
.fxm .fx-c.fx-in .fcw.in .fc .fx-p{stroke-dashoffset:0;transition:stroke-dashoffset 700ms var(--ease-io) calc(var(--fx-d,0ms) + 200ms + var(--fx-i,0) * 90ms)}
.fxm .fx-c.fx-in .fcw.in .fc .ai .f{fill-opacity:.2;transition:fill-opacity 300ms var(--ease-out) calc(var(--fx-d,0ms) + 700ms + var(--fx-i,0) * 90ms)}

/* ===== 4. Services widget: rows share the column, image wipes in from the left ===== */
@media(min-width:861px){
.fx-hm .con .tabs{display:flex;flex-direction:column}
.fx-hm .con .tab{flex:1 1 0;align-items:center;padding-block:10px}
}
.fx-hm .tab.on .n{color:var(--am)}
.fx-hm .det .im img{clip-path:inset(0 0 0 0);transition:clip-path 500ms var(--ease-io),transform 500ms var(--ease-io)}
.fx-hm .det .im img.out{opacity:1;clip-path:inset(0 100% 0 0);transform:scale(1.04)}
/* phones: the nine rows become a snapping row of numbered bricks above the image */
@media(max-width:860px){
.fx-hm .con .tabs{scroll-snap-type:x mandatory;scroll-padding-inline:0;gap:0}
.fx-hm .con .tab{scroll-snap-align:start;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 16px;min-width:120px;white-space:normal}
.fx-hm .con .tab b{font-size:14px;white-space:nowrap}
}

/* ===== 5. "Built for your business": hairline frame, three-mark top bar, reveal from the bottom, scroll pan ===== */
.fx-hm .cust-im{aspect-ratio:auto;padding-top:calc(28px + 30%);height:0;box-sizing:content-box}
.fx-hm .cust-im::before{content:"";position:absolute;left:0;right:0;top:0;height:28px;z-index:1;border-bottom:1px solid var(--rule2);box-sizing:border-box;background:var(--s1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cg fill='none' stroke='%23ECE7DE' stroke-opacity='.34' shape-rendering='crispEdges'%3E%3Crect x='.5' y='.5' width='7' height='7'/%3E%3Crect x='18.5' y='.5' width='7' height='7'/%3E%3Crect x='36.5' y='.5' width='7' height='7'/%3E%3C/g%3E%3C/svg%3E") no-repeat 14px 50%/44px 8px}
.fx-hm .cust-im img{inset:28px 0 auto 0;height:auto;object-fit:fill;transition:none;will-change:transform}
.fx-hm .cust-im:hover img{transform:none}
.fxm .fx-hm .fx-c .cust.rv{opacity:1;transform:none}
.fxm .fx-hm .fx-c .cust-im{clip-path:inset(100% 0 0 0)}
.fxm .fx-hm .fx-c .cust .body{opacity:0;transform:translateY(12px)}
.fxm .fx-hm .fx-c.fx-in .cust.in .cust-im{clip-path:inset(0);transition:clip-path 800ms var(--ease-io) var(--fx-d,0ms)}
.fxm .fx-hm .fx-c.fx-in .cust.in .body{opacity:1;transform:none;transition:opacity 450ms var(--ease-out),transform 450ms var(--ease-out);transition-delay:calc(var(--fx-d,0ms) + 260ms)}

/* ===== 6. "02 Who I am": quieter backdrop, portrait reveals from the bottom, caption sets after ===== */
.fx-hm .who .ph-img img{filter:saturate(.55) contrast(1.05) brightness(.96)}
.fx-hm .who .ph-img::after{content:"";position:absolute;inset:0;background:#6b4a26;mix-blend-mode:multiply;opacity:.22;pointer-events:none}
.fxm .fx-hm .fx-c .who figure.rv{opacity:1;transform:none}
.fxm .fx-hm .fx-c .who .ph-img{clip-path:inset(100% 0 0 0)}
.fxm .fx-hm .fx-c .who .ph-img img{transform:scale(1.06)}
.fxm .fx-hm .fx-c .who figcaption{opacity:0;transform:translateY(6px)}
.fxm .fx-hm .fx-c.fx-in .who figure.in .ph-img{clip-path:inset(0);transition:clip-path 700ms var(--ease-io) var(--fx-d,0ms)}
.fxm .fx-hm .fx-c.fx-in .who figure.in .ph-img img{transform:none;transition:transform 900ms var(--ease-out) var(--fx-d,0ms)}
.fxm .fx-hm .fx-c.fx-in .who figure.in figcaption{opacity:1;transform:none;transition:opacity 300ms var(--ease-out),transform 300ms var(--ease-out);transition-delay:calc(var(--fx-d,0ms) + 600ms)}

/* ===== 7. "03 Projects": three equal frames, captions and links on shared lines, slow pan on hover ===== */
.fx-hm .pj3{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.fx-hm .pj3 .shot{aspect-ratio:16/9}
.fx-hm .pj3 .shot img{object-fit:cover;object-position:50% 0;transform:none;transition:object-position 400ms var(--ease-out)}
@media(min-width:901px){
.fx-hm .pj3{grid-template-rows:auto auto auto;row-gap:0}
.fx-hm .pj3 .pjc{grid-row:span 3;display:grid;grid-template-rows:subgrid;row-gap:14px}
.fx-hm .pj3 .pjc .lnk{align-self:start}
}
@media(max-width:900px){.fx-hm .pj3{grid-template-columns:1fr}}
/* phones: each project is one compact row, frame on the left, title and link beside it */
@media(max-width:560px){.fx-hm .pj3{gap:16px}.fx-hm .pj3 .pjc{display:grid;grid-template-columns:128px minmax(0,1fr);column-gap:16px;row-gap:0;align-items:start}.fx-hm .pj3 .shot{grid-row:1/span 2;aspect-ratio:4/3}.fx-hm .pj3 .pjc h3{font-size:16px}}
@media(hover:hover){
.fx-hm .pjc:hover .shot img{transform:none;object-position:50% 100%;transition:object-position 4s linear}
}
/* touch: the frames open with a staggered clip instead of a fade */
@media(hover:none){
.fxm .fx-hm .fx-c .pjc.rv{transform:none}
.fxm .fx-hm .fx-c .pjc .shot{clip-path:inset(0 0 100% 0)}
.fxm .fx-hm .fx-c.fx-in .pjc.rv.in .shot{clip-path:inset(0);transition:clip-path 650ms var(--ease-io) var(--fx-d,0ms)}
}

/* ===== 8. "04 Common questions": one amber hairline marks the open row; plus turns into a cross ===== */
.fx-q details.meth{position:relative}
.fx-q details.meth::before{content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;width:1px;background:var(--am);transform:scaleY(0);transform-origin:0 0;transition:transform 160ms var(--ease-in);z-index:1;pointer-events:none}
.fx-q details.meth[open]:not(.fx-x)::before{transform:none;transition:transform 240ms var(--ease-out)}
.fx-q details.meth summary i{transition:transform 160ms var(--ease-in)}
.fx-q details.meth[open]:not(.fx-x) summary i{transform:rotate(45deg);transition:transform 240ms var(--ease-out)}
.fx-q details.meth.fx-x summary i{transform:none}

/* fx: pages layer (from fx-pages.css) */
/* fx-pages.css · lane 3: inner pages (2026-11-14 round 2) */
/* "Course by course": every inner page lays itself one course at a time. Hairlines draw, frames open from the
   left like a course being laid, lists set item by item. Nothing floats, glows, tilts or bounces.
   Scoping: page components are matched by their own class names (none of them appear on the home page);
   shared pieces (.meth accordions) are limited to main:not(:has(#hero)), which is every page but home and
   /services (both carry the hero). The closing band (.ready) and the footer (.foot) are global on purpose.
   Hide-then-reveal states only apply under html.fxp (added by fx-pages.js, never under reduced motion) and only
   on nodes the script tagged with [data-fxp] / [data-fxl], so with no JS or slow JS everything is visible. */

/* ===== 1. Closing band (.ready, every page) ===== */
/* density pass 2026-11-14: the original look again. Background photo, solid amber "when you are.", plain hairline rows */

/* flow pass: the closing block enters as one group (message, contact and note together), never piece by piece */
.fxp .ready[data-fxp] .rv{opacity:1;transform:none;transition:none}
.fxp .ready[data-fxp]:not(.fxp-in) .ready-g{opacity:0;transform:translateY(8px)}
.fxp .ready.fxp-in .ready-g{transition:opacity 450ms var(--ease-out),transform 450ms var(--ease-out)}

/* ===== 2. Footer: one strict grid on the 8px rhythm ===== */
.ft>.ft-col{gap:8px}
.foot .fth{margin:0 0 8px}
.foot .ft-nl{margin-top:clamp(40px,4vw,56px);padding-top:0}
.ft-nl:not([hidden])+.lg2,.lg2{margin-top:32px}
.lg2{align-items:baseline;padding-top:16px}
/* link hover: colour change plus a 1px underline that draws from the left */
.ft a:not(.brand):not(.btn),.lg2 a{position:relative}
.ft a:not(.brand):not(.btn)::after,.lg2 a::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform 200ms var(--ease-out);pointer-events:none}
.ft a.fi::after{left:25px}
@media(hover:hover){.ft a:not(.brand):not(.btn):hover::after,.lg2 a:hover::after{transform:scaleX(1)}}
.lg2 a{transition:color 150ms ease}.lg2 a:hover{color:var(--tx)}
/* newsletter: field and Join on one line at every width, round 1 field tokens */
.foot .nlf{flex-direction:row;gap:8px}
.foot .nlf input{flex:1;min-width:0;min-height:var(--field-h);border-radius:0;background:var(--field);border:1px solid var(--rule2);transition:border-color 150ms ease}
.foot .nlf input:hover{border-color:var(--field-hov)}
.foot .nlf input:focus{border-color:var(--am)}
.foot .nlf .btn{flex:none;min-height:var(--field-h);width:auto}
@media(max-width:700px){.ft .ft-col a:not(.btn)::after,.lg2 a::after{bottom:10px}.ft>.ft-col{gap:0 20px}.foot .fth{margin-bottom:4px}}

/* ===== 3. Service pages (/services/<slug>) ===== */
/* the service photo: hairline frame, opens from the left like a course being laid, settles from 1.04 */
.svm-ph{outline:1px solid var(--rule2);outline-offset:-1px}
.fxp .svm-ph[data-fxp].rv{opacity:1;transform:none}
.fxp .svm-ph[data-fxp]{clip-path:inset(0 100% 0 0);transition:clip-path 600ms var(--ease-io)}
.fxp .svm-ph[data-fxp] img{transform:scale(1.04);transition:transform 900ms var(--ease-out)}
.fxp .svm-ph.fxp-in{clip-path:inset(0)}
.fxp .svm-ph.fxp-in img{transform:none}
/* lists set item by item: 40ms steps, eight steps at most, the rest arrive with the eighth */
.fxp [data-fxl] .rv{transition-delay:calc(var(--fxi,0) * 40ms)!important}
/* getting started: the list's top rule draws as the steps enter */
.svs-go .uc{border-top-color:transparent;position:relative}
.svs-go .uc::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--rule2);transform-origin:left;transition:transform 700ms var(--ease-io)}
.fxp .svs-go .uc[data-fxl]:not(.fxp-in)::before{transform:scaleX(0)}
/* previous / next: two wide bricks that fill amber from the left on hover */
.pn a{position:relative;isolation:isolate;overflow:hidden;min-height:80px;justify-content:flex-end;padding:20px 24px}
.pn a::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--am);transform:scaleX(0);transform-origin:left;transition:transform 200ms var(--ease-out)}
.pn a .k,.pn a b{transition:color 200ms ease}
@media(hover:hover){.pn a:hover{background:var(--bg)}.pn a:hover::before{transform:scaleX(1)}.pn a:hover .k,.pn a:hover b{color:var(--bg)}}
@media(max-width:560px){.pn a{min-height:88px;padding:16px}}

/* ===== 4. Projects ===== */
.pj-m .shot{outline:1px solid var(--rule2);outline-offset:-1px;overflow:hidden}
.pj-m .shot img{object-position:50% 0}
/* frames open from the left once; the text beside them follows on the existing reveal */
.fxp .pj-m[data-fxp].rv{opacity:1;transform:none}
.fxp .pj-m[data-fxp] .shot{clip-path:inset(0 100% 0 0);transition:clip-path 600ms var(--ease-io)}
.fxp .pj-m.fxp-in .shot{clip-path:inset(0)}
/* hover: the screenshot pans slowly top to bottom inside its frame and returns in 400ms */
@media(hover:hover) and (pointer:fine){
.pj-m .shot img{transition:object-position 400ms var(--ease-out),transform 300ms var(--ease-out)}
.pj-m .shot:hover img{object-position:50% 100%;transition:object-position 4s linear}
}
/* captions: tag, title and chips on one rhythm */
.pj-t{gap:10px}.pj-t>.k{line-height:1}
.chips span{line-height:1.2}

/* ===== 5. About ===== */
/* portrait quieted: the bright studio blue reads as slate, skin stays natural; opens from the left once */
.abh-ph .ph-img{outline:1px solid var(--rule2);outline-offset:-1px}
.abh-ph .ph-img img{filter:saturate(.55) contrast(1.05)}
.abh-ph .ph-img::after{content:"";position:absolute;inset:0;background:rgba(217,160,91,.08);mix-blend-mode:multiply;pointer-events:none}
.fxp .abh-ph[data-fxp] .ph-img{clip-path:inset(0 100% 0 0);transition:clip-path 600ms var(--ease-io)}
.fxp .abh-ph[data-fxp] .ph-img img{transform:scale(1.04);transition:transform 900ms var(--ease-out)}
.fxp .abh-ph.fxp-in .ph-img{clip-path:inset(0)}
.fxp .abh-ph.fxp-in .ph-img img{transform:none}
/* the pull quote's amber rule draws top to bottom */
.abh blockquote{position:relative;border-left-color:transparent}
.abh blockquote::before{content:"";position:absolute;left:-2px;top:0;bottom:0;width:2px;background:var(--am);transform-origin:top;transition:transform 600ms var(--ease-io) 120ms}
.fxp .abh blockquote[data-fxp]:not(.fxp-in)::before{transform:scaleY(0)}
/* credentials: two cards become one course with a shared hairline, like the experience row */
.cr2{gap:1px;background:var(--rule2);border:1px solid var(--rule2)}
.cr2>div{border:0}
/* why / now: one strict two-column course; the month's list sits between hairlines */
#why>.wrap,#now>.wrap{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(24px,5vw,72px);align-items:start}
#now ul{gap:0;padding-left:0;border-top:1px solid var(--rule2)}
#now li{list-style:none;padding:12px 0;border-bottom:1px solid var(--rule)}
@media(max-width:860px){#why>.wrap,#now>.wrap{grid-template-columns:1fr}}

/* ===== 6. Contact (and the referral forms, same component) ===== */
/* the focused field's bottom edge draws an amber rule left to right */
.frm label:not(.nlo){position:relative}
.frm label:not(.nlo)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--am);transform:scaleX(0);transform-origin:left;transition:transform 140ms var(--ease-in);pointer-events:none}
.frm label:not(.nlo):focus-within::after{transform:scaleX(1);transition:transform 180ms var(--ease-out)}
.frm textarea{display:block}
/* the brighter frame plus the drawn 2px amber bottom rule is the focus indicator for these fields (replaces the offset ring here only) */
.frm input:not([type=checkbox]):focus,.frm select:focus,.frm textarea:focus{outline:none;border-color:rgba(236,231,222,.42)}
/* submit: pressed (site-wide .97) and sending states from what exists (the button's own "Sending…" label) */
.frm .btn{position:relative;overflow:hidden}
.frm .btn[disabled]{cursor:progress;opacity:.72;transform:none}
.frm .btn[disabled]::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background:var(--bg);transform-origin:left;animation:fxp-send 1.1s var(--ease-io) infinite}
@keyframes fxp-send{0%{transform:scaleX(0);opacity:1}60%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}
/* tabs: one indicator slides between them */
.ctt{position:relative}
.ctt button.on::after{display:none}
.ctt::after{content:"";position:absolute;left:0;bottom:-1px;width:50%;height:2px;background:var(--am);transition:transform 220ms var(--ease-io);pointer-events:none}
.ctt:has(button:nth-child(2).on)::after{transform:translateX(100%)}
/* what happens next: its rule draws, then the steps set in order */
.nxt{position:relative;border-top-color:transparent}
.nxt::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--rule2);transform-origin:left;transition:transform 600ms var(--ease-io)}
.nxt li{transition:opacity 300ms var(--ease-out),transform 300ms var(--ease-out);transition-delay:calc(200ms + var(--fxi,0) * 90ms)}
.fxp .nxt[data-fxp]:not(.fxp-in)::before{transform:scaleX(0)}
.fxp .nxt[data-fxp]:not(.fxp-in) li{opacity:0;transform:translateY(8px)}

/* ===== 7. Free tools ===== */
/* index: the two tool cards become one course across the full width */
.tl-ix{gap:0;border:1px solid var(--rule2)}
.tl-c{position:relative;border:0}
.tl-c+.tl-c{border-left:1px solid var(--rule2)}
.tl-c::before,.bgd-c::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--am);transform:scaleX(0);transform-origin:left;transition:transform 200ms var(--ease-out);pointer-events:none}
@media(hover:hover){.tl-c:hover::before,.bgd-c:hover::before{transform:scaleX(1)}.tl-c:hover .ar{transform:translateY(4px)}}
@media(max-width:860px){.tl-c+.tl-c{border-left:0;border-top:1px solid var(--rule2)}}
/* website agent: heading on the left, the form on the right, results across the full width below */
@media(min-width:1000px){
#website-agent>.wrap{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);column-gap:clamp(40px,6vw,96px);row-gap:28px;align-items:end}
#website-agent>.wrap>*{grid-column:1/-1}
#website-agent>.wrap>.tl-sh{grid-column:1;grid-row:1;margin-bottom:0}
#website-agent #site-check{display:contents}
#website-agent #site-check>*{grid-column:1/-1;min-width:0}
#website-agent #site-check>.bbc-intro,#website-agent #site-check>.ck-ph{grid-column:2;grid-row:1}
#website-agent .ck-ph{max-width:none}
}
/* calculator as an instrument: hairline scale ticks behind the bars, tabular numbers, a sliding tab indicator */
.tb,.bd .br{background-image:repeating-linear-gradient(90deg,rgba(236,231,222,.14) 0 1px,transparent 1px 10%);background-color:transparent}
.tb{box-shadow:inset 0 -1px 0 var(--rule2)}
.tr b,.bd em,.big,.rec b,.fld output,.tf output{font-variant-numeric:tabular-nums}
.ctab{position:relative}
.ctab button[aria-selected=true]{box-shadow:none}
.ctab::after{content:"";position:absolute;left:0;bottom:0;width:50%;height:2px;background:var(--am);transition:transform 220ms var(--ease-io);pointer-events:none}
.ctab:has([data-ctab="f"][aria-selected=true])::after{transform:translateX(100%)}

/* ===== 8. Blog and FAQ ===== */
.pc .ph-img{outline:1px solid var(--rule);outline-offset:-1px}
.pc .ph-img::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--am);transform:scaleX(0);transform-origin:left;transition:transform 200ms var(--ease-out);z-index:1;pointer-events:none}
@media(hover:hover){.pc:hover .ph-img::after{transform:scaleX(1)}.pc:hover .ar,.bgd-c:hover .ar{transform:translateX(6px)}}
.pm{align-items:baseline;gap:8px 16px}
.pm .k{line-height:1.3}
.bgd-c{position:relative}
/* accordions (inner pages only): the open row carries one amber hairline; height animates in fx-pages.js */
main:not(:has(#hero)) details.meth[open]:not(.fxp-closing){box-shadow:inset 2px 0 0 var(--am)}
main:not(:has(#hero)) details.meth.fxp-closing summary i{transform:none}
/* FAQ categories: the category label sticks under the header while its questions scroll */
@media(min-width:861px){.fqs>div:first-child{position:sticky;top:calc(var(--hh) + 32px)}}

/* ===== 9. Sources, legal pages, referrals, 404 ===== */
/* sources and legal: an index column on the left that stays in view, the reading column on the right */
@media(min-width:1100px){
.src-w{display:grid;grid-template-columns:240px minmax(0,1fr);column-gap:clamp(48px,6vw,96px);row-gap:clamp(32px,4vw,56px);max-width:none}
.src-w>*{grid-column:2;max-width:880px}
.src-w>.src-ix{grid-column:1;grid-row:1/span 5;align-self:start;position:sticky;top:calc(var(--hh) + 32px);flex-direction:column;flex-wrap:nowrap;gap:0;border-top:1px solid var(--rule2)}
.src-ix a{border:0;border-bottom:1px solid var(--rule);padding:12px 0;transition:color 150ms ease}
.src-ix a:hover{color:var(--am);border-color:var(--rule)}
.lgl{display:grid;grid-template-columns:240px minmax(0,1fr);column-gap:clamp(48px,6vw,96px);row-gap:0;max-width:none}
.lgl>*{grid-column:2;max-width:72ch}
.lgl>*+*{margin-top:14px}
.lgl>h2{margin-top:32px}
.lgl>.lgl-toc{grid-column:1;grid-row:1/span 99;align-self:start;position:sticky;top:calc(var(--hh) + 32px);margin-top:0;display:flex;flex-direction:column;border-top:1px solid var(--rule2)}
.lgl-toc a{padding:10px 0;border-bottom:1px solid var(--rule);color:var(--tx2);font-size:14px}
.lgl-toc a:hover{color:var(--am)}
}
.ptn{max-width:none}
/* 404 (static page, CSS only): a quiet course of hairline bricks under the message, so it reads finished */
body[data-static] main>.phd.solo:only-child{position:relative;min-height:min(64vh,600px);display:flex;flex-direction:column;justify-content:center}
body[data-static] main>.phd.solo:only-child>.wrap{width:100%}
body[data-static] main>.phd.solo:only-child{padding-bottom:calc(clamp(40px,5vw,72px) + 96px)}
/* one course of bricks laid along the bottom edge: the brand mark at page scale, not a background grid */
body[data-static] main>.phd.solo:only-child::after{content:"";position:absolute;left:var(--pad);right:var(--pad);bottom:clamp(40px,5vw,72px);height:40px;pointer-events:none;border-block:1px solid var(--rule2);
background:linear-gradient(90deg,var(--rule2) 1px,transparent 1px) 0 0/160px 100% repeat-x}
body[data-static] main>.phd.solo:only-child::before{content:"";position:absolute;left:calc(var(--pad) + 480px);bottom:clamp(40px,5vw,72px);width:159px;height:40px;background:var(--am);opacity:.9;pointer-events:none}

/* ===== Reduced motion: no hidden states exist (html.fxp is never added); nothing loops ===== */
@media(max-width:700px){body[data-static] main>.phd.solo:only-child::before{left:calc(var(--pad) + 160px)}}
@media(prefers-reduced-motion:reduce){.frm .btn[disabled]::after{animation:none}}
/* the agent's wrapper becomes layout-only on desktop; its reveal box no longer exists there, so it never waits to show */
@media(min-width:1000px){#website-agent #site-check.rv{opacity:1;transform:none}}



/* ===== Density pass 2026-11-14 (round 3): the home page reads as one calm column, not a stack of boxes ===== */
/* outcome cards: no box and no brick tile; a hairline on top, a small icon inline beside the number, the title below */
.fx-hm .v3{gap:24px}
/* resting height fits the front; a flipped card grows to fit its back text (240ms) and the row below moves down */
.fx-hm .v3 .fc{min-height:0}
.fx-hm .v3 .fc-i{min-height:104px;transition:transform 300ms var(--ease-io),min-height 240ms var(--ease-out)}
.fx-hm .v3 .fc.on .fc-i{min-height:172px}

.fx-hm .v3 .fc-f{padding:22px 0;border:0;border-top:1px solid var(--rule2);background:none}
.fx-hm .v3 .fc-b{padding:22px 0 0;border:0;border-top:1px solid var(--am-line);background:var(--bg)}
.fx-hm .v3 .fc-r{top:16px;right:0}
.fx-hm .v3 .stg{position:absolute;left:0;top:22px;width:24px;height:24px;border:0;background:none!important;display:grid;place-items:center}
.fx-hm .v3 .stg .ic{width:24px;height:24px;stroke-width:1.5}
.fx-hm .v3 .ft3{flex:none;align-items:flex-end;padding:0}
.fx-hm .v3 .ft3>span:first-child{justify-content:flex-start}
.fx-hm .v3 .ft3 .n{padding-left:36px;line-height:24px;font-size:13px}
.fx-hm .v3 .fc-x{align-self:flex-end}
@media(hover:hover){.fx-hm .v3 .fc-f:hover .stg .ai{transform:none}}
/* services widget: hairlines above and below instead of a framed panel */
.fx-hm .con{border:0;border-block:1px solid var(--rule2);background:none}
/* FAQ: plain hairline rows on the column edge, no container; the plus turning into a cross marks the open row */
.fx-hm .fql details.meth{border-width:1px 0 0}.fx-hm .fql details.meth:first-child{border-top-width:0}
.fx-hm .fql details.meth summary,.fx-hm .fql .meth-b{padding-left:0;padding-right:0}
.fx-q details.meth::before{display:none}
/* free tools: one slim line between the section rule above and the closing band's rule below */
.fx-hm .sec:has(>.wrap>.tl-svc){padding-block:24px}
.fx-hm .tl-svc{margin-top:0;border-block:0;padding:0}
.fx-hm .tl-svc p{display:none}
/* one action per section: duplicate secondary links are hidden (markup kept) */
.fx-hm .pj3 .pjc .lnk{display:none}           /* "View project" x3: each card is already the link, "See my work" stays */
.fx-hm #questions .fql+p{display:none}        /* "Free guides with worksheets and checklists": "All questions" stays */
.fx-hm #what .cust .row{display:none}         /* "Custom CRMs and dashboards", "Custom AI agents and tools": both are tabs in the widget above */
@media(min-width:901px){.fx-hm .pj3{grid-template-rows:auto auto}.fx-hm .pj3 .pjc{grid-row:span 2}}
/* phones: the card keeps room for its back text; the front groups number, icon and title at the top */
@media(max-width:760px){.fx-hm .v3{gap:16px}.fx-hm .v3 .fc.on .fc-i{min-height:212px}}
/* the Mission Control frame and its text start on the same line */
.fx-hm #what .cust{align-items:start}

/* ===== Facelift 2 (2026-11-15), lane: home ===== */
/* Facelift 2 (2026-11-15), lane: home. Loaded after fx.css. */
/* Refines what site.css and fx.css already do; never adds a second animation to an element they animate.
   Home rules sit under main.fx-hm (or #hero, which only the home page carries); header rules under .top.
   Only transform and opacity move. Hidden states exist only under html.fxm (added by fx.js, never under reduced motion). */

/* ===== Header (every page): the nav underline leaves the way it came in; controls answer the press ===== */
/* hover draws the line from the left, leaving retracts it to the right (the current page keeps its line) */
.top .nl a::after{transform-origin:100% 0}
.top .nl a:hover::after,.top .nl a.cur::after{transform-origin:0 0}
.top .nl a:focus-visible{outline-offset:6px}
.top .mb{transition:border-color 150ms ease,transform 120ms var(--ease-out)}
.top .mb:active{transform:scale(.97)}
@media(hover:hover){.top .mb:hover{border-color:var(--tx2)}}
/* the scrolled header carries a touch more weight so it separates from photos without a heavier line */
.top.sc{background-color:rgba(8,8,10,.92)}

/* ===== Hero slideshow: a slower cross-fade and a camera that settles instead of drifting ===== */
@media(prefers-reduced-motion:no-preference){
/* each new photo fades in over 900ms (site.js removes the old one at 1100ms, so the fade always finishes) */
#hero .slides img{transition:opacity 900ms cubic-bezier(.4,0,.2,1)}
/* settle: 1.05 to 1 on a decelerating curve; most of the move happens while the photo fades in */
#hero .slides img{animation:fx2-settle 7s var(--ease-out) both}
@media(max-width:860px),(hover:none){#hero .slides img{animation:fx2-settle-s 2.4s var(--ease-out) both}}
}
@keyframes fx2-settle{from{transform:scale(1.05)}to{transform:none}}
@keyframes fx2-settle-s{from{transform:scale(1.03)}to{transform:none}}

/* ===== Hero indicators: a hairline track with a 2px amber run; bigger hit area; hover previews ===== */
/* the run's own 6s animation (site.css) still drives the slide change, untouched */
#hero .sg>i{height:1px;overflow:visible;background:var(--rule2);transition:background-color 150ms ease}
#hero .sg>i::after{inset:0 0 auto 0;height:2px}
#hero .sg.done>i::after{opacity:.45}
/* 44px tall tap target without moving anything: an invisible strip above the line */
#hero .sg::before{content:"";position:absolute;left:0;right:0;top:-13px;bottom:0}
#hero .sg .k{transition:color 150ms ease}
#hero .sg:focus-visible{outline-offset:4px}
@media(hover:hover){
#hero .sg:not(.on):hover>i{background:rgba(236,231,222,.42)}
#hero .sg:not(.on):hover .k{color:var(--tx2)}
}

/* ===== Section numbers ("01" to "04") roll up digit by digit just after the eyebrow sets ===== */
/* fx2-home.js wraps each digit; without JS or under reduced motion the number is plain text */
.fx-hm .fx2-d{display:inline-block;overflow:hidden;white-space:nowrap}
.fx-hm .fx2-d>span{display:inline-block}
.fxm .fx-hm .fx-c:not(.fx-in) .fx2-d>span{transform:translateY(105%)}
.fxm .fx-hm .fx-c.fx-in .fx2-d>span{transform:none;transition:transform 520ms var(--ease-out) calc(var(--fx-e,180ms) + 60ms + var(--fx2-i,0) * 70ms)}

/* ===== Services widget: rows answer the pointer quietly; the moving amber marker stays site.css's ===== */
.fx-hm .con .tab{transition:background-color 150ms ease}
.fx-hm .con .tab b,.fx-hm .con .tab .n{transition:color 150ms ease}
@media(hover:hover){
.fx-hm .con .tab:not(.on):hover{background:rgba(236,231,222,.03)}
.fx-hm .con .tab:not(.on):hover .n{color:var(--tx2)}
}
.fx-hm .con .tab:focus-visible{outline-offset:-2px}

/* ===== Projects: the frame's hairline warms while the screenshot pans (colour only) ===== */
.fx-hm .pj3 .shot{transition:border-color 200ms ease}
@media(hover:hover){.fx-hm .pjc:hover .shot{border-color:var(--am-line)}}

/* ===== Facelift 2 (2026-11-15), lane: pages ===== */
/* Facelift 2 (2026-11-15), lane: pages. Loaded after fx.css. */
/* Theme: hairlines, not boxes. The inner pages' framed grids open into one course between two rules,
   the previous / next pair flows instead of sitting in a box, and every state change (open, hover, send,
   success) is told by one amber hairline that draws. Transform and opacity only; no hidden states without JS.
   Scope: main:not(:has(#hero)) is every page except home and /services (home lane), same as fx.css. */

/* ===== 1. Service pages: previous / next as one open course ===== */
/* replaces fx.css's boxed amber-fill bricks: two rules (top, bottom), one hairline between the halves */
.pn{gap:0;background:none;border:0;border-block:1px solid var(--rule2)}
.pn a{background:none;overflow:visible;min-height:0;padding:22px 24px 22px 0;justify-content:flex-start;gap:10px}
.pn a+a{padding:22px 0 22px 24px;border-left:1px solid var(--rule)}
/* hover: an amber hairline draws along the top rule from the side the arrow points to; the label warms to amber */
.pn a::before{inset:-1px 0 auto 0;height:1px;z-index:0;transform:scaleX(0);transform-origin:right;transition:transform 220ms var(--ease-out)}
.pn a+a::before{transform-origin:left}
.pn a b{transition:scale 120ms var(--ease-out)}
.pn a .k{transition:color 150ms ease}
@media(hover:hover) and (pointer:fine){
.pn a:hover{background:none}
.pn a:hover::before{transform:scaleX(1)}
.pn a:hover .k{color:var(--am)}
.pn a:hover b{color:var(--tx)}
}
.pn a:active{transform:none}
.pn a:active b{scale:.985}
@media(max-width:560px){.pn a{min-height:0;padding:16px 12px 16px 0}.pn a+a{padding:16px 0 16px 12px}}

/* ===== 2. Framed grids open into hairline courses (service outcomes, about cards, tools grid) ===== */
/* cells sit on the page ground; a left hairline separates columns and a bottom hairline separates rows.
   The grid clips the lines that fall outside it, so no column math is needed for the lines at any width */
main:not(:has(#hero)) :is(.ben,.ex3,.cr2,.tg8){gap:0;background:none;border:0;border-block:1px solid var(--rule2);overflow:hidden}
main:not(:has(#hero)) :is(.ben,.ex3,.cr2,.tg8)>div{background:none;border:0;box-shadow:-1px 0 0 var(--rule),0 1px 0 var(--rule);margin-bottom:-1px}
/* first column on the content edge, the rest inset from their hairline */
main:not(:has(#hero)) :is(.ben,.ex3)>div:nth-child(3n+1),
main:not(:has(#hero)) .cr2>div:nth-child(2n+1),
main:not(:has(#hero)) .tg8>div:nth-child(4n+1){padding-left:0}
/* tools grid: the hovered cell takes one amber hairline on its top edge instead of a filled box */
main:not(:has(#hero)) .tg8>div{position:relative}
main:not(:has(#hero)) .tg8>div::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--am);transform:scaleX(0);transform-origin:left;transition:transform 200ms var(--ease-out);pointer-events:none}
@media(hover:hover) and (pointer:fine){main:not(:has(#hero)) .tg8>div:hover{background:none}main:not(:has(#hero)) .tg8>div:hover::before{transform:scaleX(1)}}
/* outcome / experience cards: icon row and title start on one line across the course */
main:not(:has(#hero)) :is(.ben,.ex3,.cr2).ex3i>div{align-content:start}
@media(max-width:960px){main:not(:has(#hero)) .tg8>div:nth-child(4n+1){padding-left:20px}main:not(:has(#hero)) .tg8>div:nth-child(2n+1){padding-left:0}}
@media(max-width:860px){main:not(:has(#hero)) :is(.ben,.ex3,.cr2)>div{padding-left:0;padding-right:0}}
@media(max-width:520px){main:not(:has(#hero)) .tg8>div{padding-left:0!important;padding-right:0}}
/* honest note (about) and the referral block (contact): a hairline course, not a filled box */
main:not(:has(#hero)) .honest{background:none;border:0;border-block:1px solid var(--rule2);padding:16px 0}
main:not(:has(#hero)) .duo-c{background:none;border:0;padding:0}

/* projects "not locked" note, referrals "who's in it" note: the same open course */
main:not(:has(#hero)) :is(.lock,.rnet){background:none;border:0;border-block:1px solid var(--rule2);padding-inline:0}
/* referral partner card (a link): open course; on hover its top rule draws amber instead of the whole frame turning amber */
main:not(:has(#hero)) .ptn{position:relative;background:none;border:0;border-block:1px solid var(--rule2);padding-inline:0}
main:not(:has(#hero)) .ptn::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--am);transform:scaleX(0);transform-origin:left;transition:transform 220ms var(--ease-out);pointer-events:none}
main:not(:has(#hero)) .ptn:is(:hover,:focus-visible)::before{transform:scaleX(1)}
main:not(:has(#hero)) .ptn img{transition:scale 300ms var(--ease-out)}
@media(hover:hover) and (pointer:fine){main:not(:has(#hero)) .ptn:hover img{scale:1.04}}

/* ===== 3. Accordions on inner pages: open rows between hairlines; the open row's top rule draws amber ===== */
main:not(:has(#hero)) details.meth{position:relative;border-inline:0}
main:not(:has(#hero)) details.meth summary{padding-inline:0}
main:not(:has(#hero)) .meth-b{padding-inline:0}
main:not(:has(#hero)) details.meth[open]:not(.fxp-closing){box-shadow:none}
main:not(:has(#hero)) details.meth::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--am);transform:scaleX(0);transform-origin:left;transition:transform 160ms var(--ease-out);pointer-events:none;z-index:1}
main:not(:has(#hero)) details.meth[open]:not(.fxp-closing)::before{transform:scaleX(1);transition-duration:320ms}
main:not(:has(#hero)) details.meth summary{transition:color 150ms ease}
@media(hover:hover) and (pointer:fine){main:not(:has(#hero)) details.meth summary:hover{color:var(--am)}}

/* ===== 4. Projects: screenshots open from the left and settle from 1.04 at the same time ===== */
.fxp .pj-m[data-fxp] .shot img{scale:1.04;transition:scale 900ms var(--ease-out),object-position 400ms var(--ease-out)}
.fxp .pj-m.fxp-in .shot img{scale:1}
@media(hover:hover) and (pointer:fine){.fxp .pj-m.fxp-in .shot:hover img{transition:scale 900ms var(--ease-out),object-position 4s linear}}

/* ===== 5. Contact and referral forms ===== */
/* a field the visitor has left wrong (the browser's own required / email checks) shows a red frame, never before */
:is([data-fxpg=contact],[data-fxpg=referrals]) .frm :is(input,select,textarea):user-invalid{border-color:#E5484D}
:is([data-fxpg=contact],[data-fxpg=referrals]) .frm label:not(.nlo):has(:user-invalid)::after{background:#E5484D}
/* the thank-you note and the error note arrive calmly: they rise 8px and fade, the amber rule draws top to bottom */
:is([data-fxpg=contact],[data-fxpg=referrals]) main .ok{position:relative;border-left-color:transparent;transition:opacity 400ms var(--ease-out),translate 400ms var(--ease-out)}
:is([data-fxpg=contact],[data-fxpg=referrals]) main .ok::before{content:"";position:absolute;left:-2px;top:0;bottom:0;width:2px;background:var(--am);transform-origin:top;transition:transform 500ms var(--ease-io) 120ms}
:is([data-fxpg=contact],[data-fxpg=referrals]) main .ok.err::before{background:#E5484D}
@starting-style{
:is([data-fxpg=contact],[data-fxpg=referrals]) main .ok{opacity:0;translate:0 8px}
:is([data-fxpg=contact],[data-fxpg=referrals]) main .ok::before{transform:scaleY(0)}
}

/* ===== Reduced motion: nothing above hides content; the drawn lines simply appear ===== */
@media(prefers-reduced-motion:reduce){
.pn a::before,.pn a b,main:not(:has(#hero)) details.meth::before,main:not(:has(#hero)) :is(.tg8>div,.ptn)::before,main:not(:has(#hero)) .ptn img{transition:none}
:is([data-fxpg=contact],[data-fxpg=referrals]) main .ok,:is([data-fxpg=contact],[data-fxpg=referrals]) main .ok::before{transition:none}
}

/* ===== Facelift 2 (2026-11-15), lane: tools ===== */
/* Facelift 2 (2026-11-15), lane: tools. Loaded after fx.css. */
/* Scope: the revenue calculator on /tools (#calculator) and the booking modal frame (.md, not the exit popup).
   The website check widget's own styles live in check.css. Motion: transform/opacity only, ease-out, runs once. */

/* ===== 1. Sliders: crisp thumb with hover, press and a designed focus ring; the number it drives turns amber while it moves ===== */
/* 44px hit area for thumbs and phones, same visual footprint (negative margin keeps the layout where it was) */
#calculator input[type=range]{outline:none;height:44px;margin:-8px 0}
#calculator input[type=range]::-webkit-slider-thumb{transition:transform 150ms var(--ease-out),box-shadow 150ms var(--ease-out)}
#calculator input[type=range]::-moz-range-thumb{transition:transform 150ms var(--ease-out),box-shadow 150ms var(--ease-out)}
@media(hover:hover) and (pointer:fine){
#calculator input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.08)}
#calculator input[type=range]:hover::-moz-range-thumb{transform:scale(1.08)}
}
#calculator input[type=range]:active::-webkit-slider-thumb{transform:scale(1.15)}
#calculator input[type=range]:active::-moz-range-thumb{transform:scale(1.15)}
#calculator input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px var(--s1),0 0 0 5px var(--am)}
#calculator input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px var(--s1),0 0 0 5px var(--am)}
#calculator .tf output,#calculator .tf output span{transition:color 150ms ease}
#calculator .tf:has(input[type=range]:active) output,#calculator .tf:has(input[type=range]:focus-visible) output{color:var(--am)}

/* ===== 2. Fields: a focus line along the bottom edge, a clear error once the visitor has typed ===== */
#calculator .qk select:focus,#calculator .qk-d input:focus,#calculator .frm input:not([type=checkbox]):focus{box-shadow:inset 0 -2px 0 var(--am)}
#calculator .qk-d input:user-invalid,#calculator .frm input:user-invalid{border-color:#E5484D;box-shadow:inset 0 -2px 0 #E5484D}

/* ===== 3. Quick / Full: the panel cross-fades in each time it is shown (the underline already slides, fx.css) ===== */
#calculator [role=tabpanel]:not([hidden])>*{animation:fx2t-fade 220ms var(--ease-out) backwards}

/* ===== 4. The unlock moment: the dimmed preview lifts, breakdown rows settle in order, their bars draw ===== */
#calculator .flk.open>.flk-c{animation:fx2t-fade 360ms var(--ease-out) backwards}
#calculator .qk-more:not([hidden]){animation:fx2t-rise 320ms var(--ease-out) backwards}
#calculator .tc.open .bd li{animation:fx2t-rise 320ms var(--ease-out) backwards}
#calculator .tc.open .bd li:nth-child(2){animation-delay:60ms}
#calculator .tc.open .bd li:nth-child(3){animation-delay:110ms}
#calculator .tc.open .bd .br i{animation:fx2t-bar 600ms var(--ease-out) 140ms backwards}
#calculator .tc.open .bd li:nth-child(2) .br i{animation-delay:200ms}
#calculator .tc.open .bd li:nth-child(3) .br i{animation-delay:250ms}
#calculator .tc.open .rec,#calculator .tc.open .tc-start,#calculator .tc.open .plan{animation:fx2t-rise 320ms var(--ease-out) 160ms backwards}
#calculator [data-cgate] .ok{animation:fx2t-rise 320ms var(--ease-out) backwards}

/* ===== 5. Booking modal: an amber hairline draws across the top as the panel settles ===== */
.md:not(.xp) .md-b::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;z-index:2;background:var(--am);transform:scaleX(0);transform-origin:left;transition:transform 0s linear 160ms;pointer-events:none}
.md.on:not(.xp) .md-b::before{transform:scaleX(1);transition:transform 420ms var(--ease-out) 100ms}
.md-h button{transition:color 150ms ease,border-color 150ms ease,background-color 150ms ease,transform 120ms var(--ease-out)}
@media(hover:hover){.md-h button:hover{background-color:rgba(217,160,91,.06)}}

@keyframes fx2t-fade{from{opacity:0}}
@keyframes fx2t-rise{from{opacity:0;transform:translateY(6px)}}
@keyframes fx2t-bar{from{transform:scaleX(0)}}

/* ===== Reduced motion: nothing moves, nothing waits hidden ===== */
@media(prefers-reduced-motion:reduce){
#calculator [role=tabpanel]>*,#calculator .flk>.flk-c,#calculator .qk-more,#calculator .tc .bd li,#calculator .tc .bd .br i,#calculator .tc .rec,#calculator .tc .tc-start,#calculator .tc .plan,#calculator [data-cgate] .ok{animation:none!important}
#calculator input[type=range]::-webkit-slider-thumb{transition:none}
.md:not(.xp) .md-b::before{transition:none!important}
}

/* ===== Facelift 3 (2026-11-16), lane: nav ===== */
/* Facelift 3 (2026-11-16), lane: nav. Loaded after fx.css. */
/* Scope: the site header (.top), its Services dropdown (.dd), the phone menu sheet (.mm), the skip link and the
   phone bottom bar (.mcta). Composition first, motion last: only opacity, transform and colour move. */

/* ===== 1. Header surface: one layer that fades in, so the change at 24px of scroll never jumps =====
   Background, blur and bottom hairline live on ::before and fade together (200ms); the header box itself stays
   transparent, so the backdrop blur no longer switches on in a single frame. Inner pages (.solid) show it from the start. */
.top,.top.sc,.top.solid{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:0;box-shadow:none;transition:none}
.top::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:rgba(8,8,10,.9);-webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1);box-shadow:inset 0 -1px 0 var(--rule2);opacity:0;transition:opacity 200ms var(--ease-out)}
.top.sc::before,.top.solid::before{opacity:1}
/* at the top of the home photo: a short dark wash behind the bar only (no line), so links keep 4.5:1 on the brightest slide */
.top::after{content:"";position:absolute;inset:0 0 -28px;z-index:-2;pointer-events:none;background:linear-gradient(rgba(8,8,10,.84),rgba(8,8,10,.62) 62%,rgba(8,8,10,0));transition:opacity 200ms var(--ease-out)}
.top.sc::after,.top.solid::after{opacity:0}
.top .wrap{position:relative;gap:0}
/* the scroll progress line rides on the hairline, never a second line */
.top .prog{bottom:0;height:1px;z-index:1}

/* ===== 2. Logo lockup: mark and wordmark on one centre line, crisp mark ===== */
.top .brand{gap:11px;font-size:16.5px;line-height:1}
.top .brand svg{width:24px;height:24px;shape-rendering:crispEdges}
.top .brand span{padding-top:1px}

/* ===== 3. Desktop links: one type style, even optical gaps, quiet hover, clear current page ===== */
.top .nl{gap:4px;margin-left:auto;margin-right:20px;align-items:center}
.top .nl>a,.top .nl .nd-b{display:inline-flex;align-items:center;height:40px;padding:0 12px;color:var(--tx2);font:500 14px/1 Archivo;letter-spacing:.005em;transition:color 150ms ease}
.top .nl .nd-b{gap:6px;padding-right:10px}
@media(hover:hover) and (pointer:fine){.top .nl>a:hover,.top .nl .nd-b:hover{color:var(--tx)}}
.top .nd.open .nd-b{color:var(--tx)}
/* current page: full-strength text and a short amber rule; hover only brightens, so the two never look alike */
.top .nl>a::after{left:12px;right:12px;bottom:6px;height:1px;transform:scaleX(0);transition:none}
.top .nl>a:hover::after{transform:scaleX(0)}
.top .nl>a.cur{color:var(--tx)}
.top .nl>a.cur::after{transform:none}
.top .nl>a:focus-visible,.top .nl .nd-b:focus-visible{outline:var(--ring);outline-offset:-2px}
/* chevron: optically centred on the x-height, turns only while the panel is open */
.top .chev{width:9px;height:6px;margin-top:1px;opacity:.8;transition:transform 160ms var(--ease-out)}
.top .nd:hover .chev,.top .nd:focus-within .chev{transform:none}
.top .nd.open .chev{transform:rotate(180deg)}

/* ===== 4. "Work with me": smaller and lighter, an outlined amber action that fills on hover =====
   Outlined reads as the action over the photo and on plain pages without out-shouting the page's own solid button. */
.top .btn{--bh:36px;min-height:36px;padding:0 15px;background:transparent;color:var(--am);border-color:var(--am-line);font:700 12px/1 Archivo;letter-spacing:.05em;transition:background-color 150ms ease,color 150ms ease,border-color 150ms ease,transform 120ms var(--ease-out)}
@media(hover:hover) and (pointer:fine){.top .btn:hover{background:var(--am);border-color:var(--am);color:#160f06}}
.top .btn:active{transform:scale(.97)}
.top .btn:focus-visible{outline:var(--ring);outline-offset:3px}

/* ===== 5. Services panel: hangs from the header's bottom line, right edge on the column, a 3 x 3 grid =====
   Drops 4px into place in 160ms, leaves in 120ms. Keyboard opens skip the motion (site.js adds .kb). */
.top .nd{position:static}
.top .dd{left:auto;right:var(--pad);top:calc(100% - 1px);padding-top:0;width:min(808px,calc(100% - 2 * var(--pad)));transform-origin:var(--dd-x,50%) 0;transform:translateY(-4px);transition:opacity 120ms var(--ease-out),transform 120ms var(--ease-out),visibility 0s linear 120ms}
.top .nd.open .dd{transform:none;transition:opacity 160ms var(--ease-out),transform 160ms var(--ease-out),visibility 0s}
.top .nd.kb .dd{transition:none}
/* an invisible bridge from the link down to the panel, so the pointer never crosses a gap */
.top .dd::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:18px}
.top .dd-in{width:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:10px;background:var(--s1);border:1px solid var(--rule2);box-shadow:0 24px 48px -16px rgba(0,0,0,.6)}
.top .nl .dd a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;white-space:nowrap;border:0;color:var(--tx2);font:500 14px/1.3 Archivo;transition:background-color 120ms ease,color 120ms ease}
.top .nl .dd a span{flex:none;width:18px;font:500 11px/1 "JetBrains Mono",monospace;color:var(--mute);transition:color 120ms ease}
@media(hover:hover) and (pointer:fine){.top .nl .dd a:hover{background:var(--s2);color:var(--tx)}.top .nl .dd a:hover span{color:var(--am)}}
.top .nl .dd a:focus-visible{background:var(--s2);color:var(--tx);outline-offset:-2px}
/* the Tools row: set apart by a hairline, not a box inside the box */
.top .nl .dd a.dd-tl{grid-column:1/-1;margin:8px 0 0;padding:0 12px;border:0;background:none;box-shadow:inset 0 1px 0 var(--rule);min-height:48px;color:var(--tx)}
@media(hover:hover) and (pointer:fine){.top .nl .dd a.dd-tl:hover{background:var(--s2)}}
.top .nl .dd a.dd-tl span{color:var(--am)}
.top .dd-tl em{font-weight:600}
.top .dd-tl i{padding:0;background:none;color:var(--am);font-size:11px}

/* ===== 6. Menu button (phones, tablets): the word MENU plus two drawn lines that turn into a cross =====
   No box; the whole 44px area is the target. site.js swaps the word to Close and sets aria-expanded. */
.top .mb{position:relative;min-height:44px;margin-right:-10px;padding:0 36px 0 12px;border:0;color:var(--tx);font:500 12px/1 "JetBrains Mono",monospace;letter-spacing:var(--ls-label);transition:color 150ms ease,transform 120ms var(--ease-out)}
.top .mb::before,.top .mb::after{content:"";position:absolute;right:10px;top:50%;width:16px;height:1.5px;margin-top:-.75px;background:currentColor;transition:transform 200ms var(--ease-out)}
.top .mb::before{transform:translateY(-3.5px)}
.top .mb::after{transform:translateY(3.5px)}
.top .mb[aria-expanded=true]::before{transform:rotate(45deg)}
.top .mb[aria-expanded=true]::after{transform:rotate(-45deg)}
.top .mb:focus-visible{outline:var(--ring);outline-offset:-2px}
@media(hover:hover){.top .mb:hover{border-color:transparent;color:var(--am)}}
@media(min-width:561px) and (max-width:1020px){.top .mb{margin-right:14px}}

/* ===== 7. Menu sheet: full height on --bg, 56px rows on hairlines, the action pinned to the bottom ===== */
.mm{padding:calc(var(--hh) + 8px) var(--pad) calc(24px + env(safe-area-inset-bottom,0px));transform:translateY(-8px);transition:opacity 140ms var(--ease-in),transform 140ms var(--ease-in),visibility 0s linear 140ms}
.mm.on{transform:none;transition:opacity 220ms var(--ease-out),transform 220ms var(--ease-out),visibility 0s}
.mm>a:not(.btn),.mm .mm-lb{display:flex;align-items:center;min-height:56px;padding:0;font-size:26px;line-height:1}
.mm>a:not(.btn){border-bottom:1px solid var(--rule)}
.mm>a.cur{color:var(--am)}
.mm .mm-r{border-bottom:1px solid var(--rule)}
.mm-t{width:44px;height:44px;margin-right:-10px;border:0;color:var(--tx2);font:400 24px/1 "JetBrains Mono",monospace}
.mm-t[aria-expanded=true]{color:var(--am)}
.mm .mm-s{padding:4px 0 12px;border-bottom:1px solid var(--rule)}
.mm .mm-s a{display:flex;align-items:center;min-height:44px;padding:0;font-size:16px}
.mm .mm-s a.mm-tl{margin-top:0;gap:12px}
.mm .mm-tl i{padding:0;background:none;color:var(--am);font-size:11px}
.mm .btn{margin-top:auto;flex:none}
/* phones: the bottom bar is the menu's action; it rises with the sheet and sits above it */
@media(max-width:700px){
  html:has(.mm.on) .mcta{z-index:56;transform:none;visibility:visible}
  .mm{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
}

/* ===== 8. Phone bottom bar: docked, equal halves, hairline top, safe-area padding ===== */
@media(max-width:700px){
  .mcta{left:0;right:0;bottom:0;grid-template-columns:1fr 1fr;gap:8px;padding:8px var(--pad) calc(8px + env(safe-area-inset-bottom,0px));background:rgba(8,8,10,.94);border:0;box-shadow:inset 0 1px 0 var(--rule2);transform:translateY(100%)}
  .mcta .btn{--bh:44px;min-height:44px}
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
}

/* ===== 9. Skip link: hidden until focused, then on the column's left edge above the header ===== */
.skip{left:calc(max(0px,(100% - var(--max)) / 2) + var(--pad));top:12px;padding:0 16px;min-height:40px;display:inline-flex;align-items:center;font:600 14px/1 Archivo;transform:translateY(-200%);opacity:0;transition:none}
.skip:focus{top:12px;transform:none;opacity:1;outline:2px solid var(--tx);outline-offset:2px}

@media(prefers-reduced-motion:reduce){.mm,.mm.on{transform:none}}
/* while the skip link is showing, the logo steps back so the two never overlap */
.top .brand{transition:opacity 120ms ease}
body:has(.skip:focus) .top .brand{opacity:0}

/* ===== Facelift 3 (2026-11-16), lane: tools ===== */
/* Facelift 3 (2026-11-16), lane: tools. Loaded after fx.css.
   Composition first: hairlines instead of boxes, one column grid per tool, one type set.
   Type set inside the tools: eyebrow = .k (mono 12px), label = Archivo 500 15px --tx2,
   helper = Archivo 14px --mute, body = 15.5px. Fields and buttons 44px. */

/* ===== 1. Jump index under the page title: a slim strip between two hairlines, not a box ===== */
.tl-ix-s{padding:0}
.tl-ix{border:0;gap:0}
.tl-c{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:4px 24px;padding:18px 0 20px;background:none;border:0}
.tl-c+.tl-c{border-left:1px solid var(--rule);padding-left:clamp(24px,3vw,40px)}
.tl-c:hover{background:none;border-color:var(--rule)}
.tl-c>.k{grid-column:1;margin-bottom:4px}
.tl-c b{grid-column:1;font:600 16px/1.35 Archivo}
.tl-c p{grid-column:1;font-size:14px;line-height:1.45;color:var(--tx2)}
.tl-c .lnk{grid-column:2;grid-row:1/span 3;align-self:center;margin:0;min-height:44px;font-size:14px;padding-right:clamp(0px,1.5vw,24px)}
@media(max-width:860px){
  .tl-ix{grid-template-columns:1fr}
  .tl-c,.tl-c+.tl-c{padding:14px 0 16px;border-left:0}
  .tl-c+.tl-c{border-top:1px solid var(--rule)}
  .tl-c .lnk{padding-right:0}
}

/* ===== 2. Section heads: eyebrow, heading, one line, then "How this works" as a quiet link under it ===== */
.tl-sh{gap:12px}
.tl-dx{font-size:var(--t-body);line-height:1.55}
.tl-sh .tl-hw{margin-top:4px;font-size:14px}
.tl-sh .tl-hw a{display:inline-flex;align-items:center;gap:6px;min-height:24px}

/* website agent: both columns start on the same line (eyebrow beside eyebrow); fx.css had them bottom-aligned */
@media(min-width:1000px){
  #website-agent>.wrap{align-items:start;row-gap:clamp(32px,3vw,48px)}
  #website-agent>.wrap>.tl-sh,#website-agent #site-check>.bbc-intro{align-self:start}
}

/* ===== 3. Quick / Full: a compact segmented control, left-aligned, never sticky ===== */
#calculator .ctab{display:inline-grid;grid-template-columns:1fr 1fr;position:relative;top:auto;margin:0 0 clamp(24px,2.4vw,32px);border:1px solid var(--rule2);background:none}
#calculator .ctab button{flex-direction:row;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 20px;background:none;border-right:1px solid var(--rule2)}
#calculator .ctab button:last-child{border-right:0}
#calculator .ctab button b{font:600 15px/1 Archivo}
#calculator .ctab button span{font:500 var(--t-label)/1 "JetBrains Mono",monospace;letter-spacing:var(--ls-label)}
#calculator .ctab button[aria-selected=true]{background:var(--s2)}
@media(hover:hover){#calculator .ctab button[aria-selected=false]:hover{background:rgba(236,231,222,.04)}}

/* ===== 4. One grid for the calculator: inputs left, the readout right, one vertical hairline through both rows ===== */
#calculator .qk,#calculator .tc{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:0;border:0;border-top:1px solid var(--rule2);background:none}
#calculator .qk-in,#calculator .tc-in{padding:32px clamp(24px,3.4vw,48px) 36px 0;border:0;gap:24px}
#calculator .qk-out,#calculator .tc-out{padding:32px 0 36px clamp(24px,3.4vw,48px);border-left:1px solid var(--rule);background:none}
#calculator .qk-out{justify-content:center;gap:8px}
#calculator .qk-out .big,#calculator .tc-out .big{font-size:clamp(44px,4.4vw,60px);margin:2px 0}
#calculator .tc-why{font-size:var(--t-body);max-width:52ch}

/* the unlock block: its own row under both columns, heading and note left, the form right */
#calculator .qk>.gate{grid-column:1/-1;margin:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:0;row-gap:10px;padding:0;border:0;border-top:1px solid var(--rule2);background:none}
#calculator .qk>.gate>.k,#calculator .qk>.gate>b,#calculator .qk>.gate>.gate-n{grid-column:1;padding-right:clamp(24px,3.4vw,48px)}
#calculator .qk>.gate>.k{grid-row:1;padding-top:32px}
#calculator .qk>.gate>b{grid-row:2;max-width:34ch}
#calculator .qk>.gate>.gate-n{grid-row:3;max-width:46ch;margin:0}
#calculator .qk>.gate>form{grid-column:2;grid-row:1/span 3;padding:32px 0 36px clamp(24px,3.4vw,48px);border-left:1px solid var(--rule)}
#calculator .qk>.ok{grid-column:1/-1;margin:0}

/* the gate itself (Quick row and the Full tab overlay): calm, no amber frame */
#calculator .gate b{font:600 17px/1.35 Archivo;color:var(--tx)}
#calculator .gate-n{font-size:14px;line-height:1.5;color:var(--mute)}
#calculator .flk-g .gate{gap:10px;padding:clamp(22px,2.4vw,32px);border:1px solid var(--rule2);background:var(--s1)}
#calculator .flk-g .gate>form{margin-top:8px}
#calculator .gate .tl-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
#calculator .gate .tl-form>label:not(.nlo){grid-column:auto}
#calculator .gate .tl-form .sub{justify-content:flex-start;flex-wrap:nowrap;gap:12px;padding-top:4px}

/* ===== 5. One label, one helper, one field ===== */
#calculator .tf-l,#calculator .frm label:not(.nlo){font:500 15px/1.4 Archivo;letter-spacing:0;text-transform:none;color:var(--tx2);gap:8px}
#calculator .qk-h,#calculator .frm label.nlo{font-size:14px;line-height:1.45;color:var(--mute)}
#calculator .frm label.nlo{color:var(--tx2)}
#calculator .qk-f{gap:8px}
#calculator .qk select,#calculator .qk-d input,#calculator .frm input:not([type=checkbox]){min-height:44px;height:44px;font:400 16px Archivo;background-color:var(--field);border:1px solid var(--rule2)}
#calculator .tf output{font-size:18px}
#calculator .tc-g{gap:18px}
#calculator .tc-g legend{padding-bottom:10px}

/* Full tab: the reply-speed choices sit in an even 2 by 2 grid instead of 3 + 1 */
#calculator .tf-seg{display:grid;grid-template-columns:1fr 1fr}
#calculator .tf-seg button{min-height:44px;font-size:13px}

/* breakdown: hairlines only, the "Where I'd start" note loses its amber bar and tint */
#calculator .tc-start{padding:0;border:0;background:none}
#calculator .rec{border-top:0}
#calculator .bd p{font-size:14px}
#calculator .plan li{font-size:15px}
#calculator .tc .ok,#calculator .qk>.ok{padding:16px 0 0;border:0;border-top:1px solid var(--am-line);background:none;color:var(--tx)}

/* ===== 6. Narrow screens: one column, the hairline moves from the side to the top ===== */
@media(max-width:900px){
  #calculator .qk,#calculator .tc,#calculator .qk>.gate{grid-template-columns:1fr}
  #calculator .qk-in,#calculator .tc-in{padding:24px 0 28px}
  #calculator .qk-out,#calculator .tc-out{padding:24px 0 28px;border-left:0;border-top:1px solid var(--rule)}
  #calculator .qk>.gate>.k,#calculator .qk>.gate>b,#calculator .qk>.gate>.gate-n{padding-right:0}
  #calculator .qk>.gate>.k{padding-top:24px}
  #calculator .qk>.gate>form{grid-column:1;grid-row:4;padding:12px 0 8px;border-left:0}
}
@media(max-width:640px){
  #calculator .ctab{display:grid;width:100%}
  #calculator .ctab button{flex-direction:column;gap:4px;min-height:56px;padding:8px 12px}
  #calculator .gate .tl-form{grid-template-columns:1fr}
  #calculator .gate .tl-form .sub{flex-direction:column;align-items:stretch}
  #calculator .gate .tl-form .sub .btn{width:100%}
  #calculator .tf-t{flex-direction:row;align-items:baseline}
}

/* ===== Facelift 3 (2026-11-16), lane: site (seam ticks only; the rest is parked, see business/qa/facelift-2026-11-16/site/) ===== */
/* --- 1. Seam ticks: the short amber stroke on each section's top hairline read as a rendering glitch
   (two pieces where its background mask met a banded section). The plain hairline stays. --- */
.bt::after,.svs+.svs::after,.fqs+.fqs::after,.svs+.svcta::after{display:none}

/* Facelift 4 (2026-11-17), lane: nav */
/* Loaded after fx.css. The header, menus, footer and reading pages as one precise instrument:
   one amber line that slides between nav links, a header that never moves between pages, a services panel
   with a moving hairline, a phone menu that wipes open, a reading line on the content column, one focus ring.
   Only transform, opacity, clip-path (and one grid-rows height) animate. Ease-out cubic-bezier(.23,1,.32,1). */
:root{--fx4-e:cubic-bezier(.23,1,.32,1)}

/* ===== S1. Sliding nav indicator: one 1px amber line under the current link, glides to the hovered/focused link =====
   fx4-nav.js adds .fx4-on and the <i class="fx4-ind">; without JS the old static underline stays. */
.top .nl.fx4-on>a::after{display:none}
.top .nl .fx4-ind{position:absolute;left:0;top:0;width:1px;height:1px;background:var(--am);transform-origin:0 0;opacity:0;pointer-events:none;transition:transform 160ms var(--fx4-e),opacity 160ms var(--fx4-e)}
.top .nl .fx4-ind.fx4-snap{transition:opacity 160ms var(--fx4-e)}
.top .nl .fx4-ind.fx4-show{opacity:1}

/* ===== S2. Page-to-page: the header holds still, the page cross-fades with a 6px rise (180ms) ===== */
@media(prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  /* the page's own load fade would play a second time inside the transition */
  @supports selector(:active-view-transition){main{animation:none}}
}
.top{view-transition-name:fx4-hdr}
.mcta{view-transition-name:fx4-bar}
::view-transition-group(fx4-hdr),::view-transition-group(fx4-bar),::view-transition-new(fx4-hdr),::view-transition-new(fx4-bar){animation:none}
::view-transition-old(fx4-hdr),::view-transition-old(fx4-bar){display:none}
::view-transition-old(root){animation:fx4-vt-out 180ms var(--fx4-e) both}
::view-transition-new(root){animation:fx4-vt-in 180ms var(--fx4-e) both}
@keyframes fx4-vt-out{to{opacity:0}}
@keyframes fx4-vt-in{from{opacity:0;transform:translateY(6px)}}

/* ===== S3. Services panel: nine rows on one grid (number, icon, name on one line), a hairline that moves between rows ===== */
.top .dd{transform-origin:50% 0;transform:translateY(-4px);transition:opacity 120ms var(--fx4-e),transform 120ms var(--fx4-e),visibility 0s linear 120ms}
.top .nd.open .dd{transform:none;transition:opacity 180ms var(--fx4-e),transform 180ms var(--fx4-e),visibility 0s}
.top .nd.kb .dd{transition:none}
.top .dd{width:min(904px,calc(100% - 2 * var(--pad)))}
.top .dd-in{position:relative;gap:0;padding:8px}
.top .nl .dd a{position:relative;z-index:1;gap:12px;padding:0 14px;background:none;transition:opacity 120ms ease,color 120ms ease}
.top .nl .dd a .ic{width:22px;height:22px;flex:none;color:var(--mute);transition:color 120ms ease}
.top .nl .dd a span{width:20px}
/* the moving hairline frame (placed by fx4-nav.js); it starts invisible and only fades, never jumps in */
.top .dd .fx4-hl{position:absolute;left:0;top:0;z-index:0;background:var(--s2);box-shadow:inset 0 0 0 1px var(--rule2);opacity:0;pointer-events:none;transition:transform 160ms var(--fx4-e),opacity 120ms ease}
.top .dd .fx4-hl.fx4-snap{transition:opacity 120ms ease}
.top .dd .fx4-hl.fx4-show{opacity:1}
.top .nl .dd a.fx4-act{color:var(--tx)}
.top .nl .dd a.fx4-act span,.top .nl .dd a.fx4-act .ic{color:var(--am)}
/* the others step back to 60% while one row is chosen */
.top .dd-in.fx4-has a:not(.fx4-act){opacity:.6}
@media(hover:hover) and (pointer:fine){.top .nl .dd a:hover{background:none}.top .nl .dd a.dd-tl:hover{background:none}}
.top .nl .dd a:focus-visible{background:none}
/* rows arrive 30ms apart on open only (six steps, then the rest together); keyboard opens stay instant */
@keyframes fx4-row{from{opacity:0;transform:translateY(4px)}}
.top .nd.open:not(.kb) .dd-in>a{animation:fx4-row 180ms var(--fx4-e) backwards}
.top .nd.open .dd-in>a:nth-of-type(2){animation-delay:30ms}.top .nd.open .dd-in>a:nth-of-type(3){animation-delay:60ms}
.top .nd.open .dd-in>a:nth-of-type(4){animation-delay:90ms}.top .nd.open .dd-in>a:nth-of-type(5){animation-delay:120ms}
.top .nd.open .dd-in>a:nth-of-type(n+6){animation-delay:150ms}

/* ===== S4. Phone menu: wipes down from the header in 240ms, rows rise 40ms apart, 48px rows on hairlines ===== */
.mm{opacity:1;visibility:hidden;transform:none;clip-path:inset(0 0 100% 0);transition:clip-path 160ms var(--fx4-e),visibility 0s linear 160ms}
.mm.on{visibility:visible;clip-path:inset(0);transition:clip-path 240ms var(--fx4-e),visibility 0s}
.mm>a:not(.btn),.mm .mm-lb{min-height:48px}
.mm.on>*{animation-duration:240ms}
.mm.on>:nth-child(1){animation-delay:40ms}.mm.on>:nth-child(2){animation-delay:80ms}.mm.on>:nth-child(3){animation-delay:120ms}
.mm.on>:nth-child(4){animation-delay:160ms}.mm.on>:nth-child(5){animation-delay:200ms}.mm.on>:nth-child(n+6){animation-delay:240ms}

/* ===== S5. Header on scroll + reading line =====
   Home: clear over the hero photo (dark wash only) until the hero has passed under the bar, then the solid
   surface and hairline fade in together (200ms, fx.css). fx4-nav.js sets .fx4-home / .fx4-past. */
.top.fx4-home:not(.fx4-past)::before{opacity:0}
.top.fx4-home:not(.fx4-past)::after{opacity:1}
.top.fx4-home.fx4-past::after{opacity:0}
/* the reading line sits on the header hairline, inside the content column, and only on long reads (.fx4-read) */
.top .prog{display:none;left:calc(max(0px,(100% - var(--max)) / 2) + var(--pad));right:calc(max(0px,(100% - var(--max)) / 2) + var(--pad));width:auto}
.fx4-read .top .prog,html:has(main .prose) .top .prog{display:block}

/* ===== D2. Footer, menu and header icons sit still (the paper-plane loop left "Work with me" blank 30% of the time) ===== */
:where(.ft,.mm,.top,.ready,.mcta) .ic,:where(.ft,.mm,.top,.ready,.mcta) .ic *{animation:none}

/* ===== D3. Footer: one colour step (160ms) and a 2px arrow nudge on hover; newsletter on one 44px line ===== */
.ft a:not(.btn):not(.brand),.ft a.fi .ic,.lg2 a{transition:color 160ms ease}
.ft .ar{transition:color 160ms ease,transform 160ms var(--fx4-e)}
@media(hover:hover) and (pointer:fine){.ft a:hover .ar{transform:translate(2px,-2px)}}
.foot .ft-nl .nlf{align-items:stretch}
.foot .ft-nl .nlf input,.foot .ft-nl .nlf .btn{height:44px;min-height:44px}
.lg2,.lg2 a{color:var(--mute)}

/* ===== D4. Closing band: on the footer's own 4-column grid; email and phone draw an underline on hover ===== */
.ready-g{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr);column-gap:clamp(24px,3vw,40px)}
@media(max-width:860px){.ready-g{grid-template-columns:1fr}}
.ready .cl a b{position:relative;display:inline-block}
.ready .cl a b::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:1px;background:var(--am);transform:scaleX(0);transform-origin:left;transition:transform 160ms var(--fx4-e)}
@media(hover:hover) and (pointer:fine){.ready .cl a:hover b::after{transform:scaleX(1)}}
.ready .cl a:focus-visible b::after{transform:scaleX(1)}

/* ===== D5. Reading pages ===== */
/* /blog free guides: hairline columns instead of a framed box with inner dividers (same as the service grids) */
.bgd-g{gap:0;background:none;border:0;border-block:1px solid var(--rule2);overflow:hidden}
.bgd-g>.bgd-c{background:none;box-shadow:-1px 0 0 var(--rule),0 1px 0 var(--rule);margin-bottom:-1px}
.bgd-g>.bgd-c:nth-child(3n+1){padding-left:0}
@media(hover:hover) and (pointer:fine){.bgd-g>.bgd-c:hover{background:none}}
@media(max-width:860px){.bgd-g>.bgd-c{padding-left:0;padding-right:0}}
/* FAQ accordions: the answer opens by growing its grid row (220ms); the + turns into an x */
@supports selector(::details-content){
  details.meth::details-content{display:grid;grid-template-rows:0fr;transition:grid-template-rows 220ms var(--fx4-e),content-visibility 220ms allow-discrete}
  details.meth[open]::details-content{grid-template-rows:1fr}
  details.meth>.meth-b{min-height:0;overflow:hidden;padding-bottom:0}
  /* the answer's bottom space lives inside the clipped box, so a closed row is truly 0px tall */
  details.meth>.meth-b::after{content:"";display:block;height:20px}
}
details.meth summary i{display:inline-block;font-style:normal;transition:transform 220ms var(--fx4-e)}
details.meth[open] summary i{transform:rotate(45deg)}

/* ===== D6. One focus ring everywhere: 2px amber, 2px off the edge, keyboard only ===== */
:focus-visible{outline:2px solid var(--am)!important;outline-offset:2px!important}
:focus:not(:focus-visible){outline:none}

@media(prefers-reduced-motion:reduce){
  .top .nl .fx4-ind,.top .dd .fx4-hl,.mm,.mm.on,.ready .cl a b::after,details.meth summary i{transition:none}
  details.meth::details-content{transition:none}
}

/* Facelift 4 (2026-11-17), lane: tools */
/* /tools as a precise instrument: the page head, the revenue calculator (Quick + Full, locked and unlocked) and the FAQ.
   The website agent's own styles are in check.css. Numbers roll, meters draw, lines answer focus.
   Only transform, opacity and clip-path move; ease-out cubic-bezier(.23,1,.32,1); reduced motion = instant states. */

/* ===== D1. Page head: title and lede on the left, the two tools as two compact rows in the right half ===== */
@media(min-width:901px){.phd.tl-hd .phd-g{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);align-items:end}}
.tl-hd .tl-ix{display:flex;flex-direction:column;gap:0;border:0;border-top:1px solid var(--rule2)}
.tl-hd .tl-c,.tl-hd .tl-c+.tl-c{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:2px 20px;padding:14px 0 15px;border:0;border-bottom:1px solid var(--rule2);background:none}
.tl-hd .tl-c>.k{grid-column:1;margin:0 0 4px}
.tl-hd .tl-c b{grid-column:1;font:600 16px/1.35 Archivo}
.tl-hd .tl-c p{grid-column:1;font-size:14px;line-height:1.45;color:var(--tx2)}
.tl-hd .tl-c .lnk{grid-column:2;grid-row:1/span 3;align-self:center;margin:0;min-height:44px;padding:0;font-size:14px}
/* the hover line rides the row's own top hairline */
.tl-hd .tl-c::before{top:-1px;height:1px}
@media(max-width:900px){
  .phd.tl-hd .phd-g{row-gap:24px}
  .tl-hd .tl-c,.tl-hd .tl-c+.tl-c{padding:12px 0 13px}
}

/* ===== S3. Sliders as instruments: 44px hit area, 1px track with amber fill, faint ticks, square thumb that grows while held ===== */
#calculator input[type=range]{height:44px;margin:-14px 0;--tk:rgba(236,231,222,.16);
  background:repeating-linear-gradient(90deg,var(--tk) 0 1px,transparent 1px 10%) 8px 50%/calc(100% - 16px) 7px no-repeat,
             linear-gradient(var(--tk),var(--tk)) calc(100% - 8px) 50%/1px 7px no-repeat}
#calculator input[type=range]::-webkit-slider-runnable-track{height:1px;background:linear-gradient(90deg,var(--am) var(--p),var(--rule2) var(--p))}
#calculator input[type=range]::-moz-range-track{height:1px;background:var(--rule2)}
#calculator input[type=range]::-moz-range-progress{height:1px;background:var(--am)}
#calculator input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;margin-top:-7.5px;background:var(--am);border:0;border-radius:0;box-shadow:0 0 0 3px var(--bg);transition:transform 120ms var(--ease-out),box-shadow 120ms var(--ease-out)}
#calculator input[type=range]::-moz-range-thumb{width:16px;height:16px;background:var(--am);border:0;border-radius:0;box-shadow:0 0 0 3px var(--bg);transition:transform 120ms var(--ease-out)}
#calculator input[type=range]:active::-webkit-slider-thumb{transform:scale(1.15)}
#calculator input[type=range]:active::-moz-range-thumb{transform:scale(1.15)}
/* keyboard focus: the site's ring (2px amber, 2px off) is drawn around the thumb, so it never boxes the label above */
#calculator input[type=range]:focus-visible{outline:none!important}
#calculator input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--am)}
#calculator input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--am)}
/* the value it drives: mono, fixed-width digits */
#calculator .tf output{font:500 17px/1 "JetBrains Mono",monospace;font-variant-numeric:tabular-nums;letter-spacing:0}

/* ===== D3. One grid for the calculator: inputs left, readout right, no full-height divider, both start on the same line ===== */
#calculator .qk,#calculator .tc{grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:0;border-top:1px solid var(--rule2);background:none}
#calculator .qk-in,#calculator .tc-in{padding:32px clamp(32px,4.4vw,64px) 40px 0;gap:28px;border:0}
#calculator .qk-out,#calculator .tc-out{padding:32px 0 40px clamp(32px,4.4vw,64px);border:0;background:none;justify-content:flex-start;gap:0}
#calculator .qk-out>div[aria-live],#calculator .tc-st>div:first-child{display:flex;flex-direction:column;gap:0}
/* field rhythm: label, control, helper 8px apart in every field; 28px between fields */
#calculator .qk-f,#calculator .tf{gap:8px}
#calculator .tc-g{gap:28px}
#calculator .qk-h{font-size:14px;line-height:1.45;color:var(--tx2)}
/* "$" sits where the select's text starts; the number follows it */
#calculator .qk-d i{left:15px;font:400 16px/1 Archivo;color:var(--tx2)}
#calculator .qk-d input{padding-left:30px}
#calculator .qk select{padding-left:14px;background-position:calc(100% - 21px) 50%,calc(100% - 15px) 50%}

/* ===== S1 + S2. The result: the number is the hero and rolls digit by digit; a wordless 12-column ramp sits under it ===== */
#calculator .big{font-size:62px;line-height:1;margin:10px 0 8px;letter-spacing:-.01em}
.big .rl{display:inline-flex;align-items:flex-start;line-height:1;vertical-align:top}
.big .rl{padding:.04em 0}
/* each digit column is one cap-height tall (.8em) so a digit in motion is clipped right at the figure's edge */
.big .rl-c{display:inline-block;height:.8em;overflow:hidden}
.big .rl-c::before{content:"0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9";display:block;white-space:pre;line-height:.8em;padding-top:.05em;text-align:center;transform:translateY(calc(var(--d,0) * -.8em));transition:transform 300ms var(--ease-out)}
.big .rl-x{display:inline-block;line-height:.8em;padding-top:.05em}
.big .rl-x::before{content:attr(data-c)}
/* the ramp: month by month the loss adds up to the year; amber = the missed-call share, light = slow replies (and busywork in Full) */
#calculator .yr{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(6px,1.2vw,14px);align-items:end;height:112px;margin:28px 0 0;border-bottom:1px solid var(--rule2)}
/* each month is a slim bar: 1px amber outline, soft amber fill; the twelfth (the full year the big number comes from) is solid amber */
#calculator .yr i{height:100%;box-shadow:inset 0 0 0 1px rgba(217,160,91,.75);background:rgba(217,160,91,.12);transform-origin:50% 100%;transform:scaleY(calc(var(--s,0) * var(--n) / 12));transition:transform 300ms var(--ease-out)}
#calculator .yr i:nth-child(12){background:var(--am);box-shadow:none}
/* first view: the bars grow from the baseline 40ms apart (when the section is revealed, or when the panel first shows); later changes retarget together */
#calculator .yr:not(.on) i{transition-duration:480ms;transition-delay:calc((var(--n) - 1) * 40ms)}
#calculator .yr:not(.seen) i{transform:scaleY(0)}
#calculator .qk-more{gap:12px;margin-top:24px}
#calculator .tc-why{margin-top:20px;font-size:var(--t-body)}

/* ===== S6. Quick / Full: the underline slides (180ms), the panels cross-fade (160ms) in one grid cell, so nothing jumps =====
   While the calculator is locked both panels share one cell (height = the taller one). Once unlocked, Full is much
   taller, so the panels swap and the new one fades in instead of reserving that height under Quick. */
#calculator .ctab::after{transition:transform 180ms var(--ease-out)}
#calculator [role=tabpanel]:not([hidden])>*{animation:none}
#calculator>.wrap:not(:has(.flk.open)){display:grid;grid-template-columns:minmax(0,1fr)}
#calculator>.wrap:not(:has(.flk.open))>[data-cpanel]{grid-area:3/1;transition:opacity 160ms var(--ease-out),visibility 0s}
#calculator>.wrap:not(:has(.flk.open))>[data-cpanel][hidden]{display:block!important;visibility:hidden;opacity:0;transition:opacity 160ms var(--ease-out),visibility 0s linear 160ms}
#calculator>.wrap:has(.flk.open)>[data-cpanel]:not([hidden]){transition:opacity 160ms var(--ease-out)}
@starting-style{#calculator>.wrap:has(.flk.open)>[data-cpanel]:not([hidden]){opacity:0}}
#calculator .ctab{margin-bottom:0;justify-self:start}
/* Quick / Full as an underline switch: words on one shared hairline, no boxes, no fill; the amber line slides under the active one */
#calculator .ctab{border:0;background:none;box-shadow:none;justify-self:start;grid-template-columns:1fr 1fr;display:grid;z-index:1}
#calculator .ctab button,#calculator .ctab button:last-child{border:0;background:none!important;min-height:48px;padding:0 32px 0 0;justify-content:flex-start;color:var(--tx2)}
#calculator .ctab button[aria-selected=true]{color:var(--tx)}
#calculator .ctab button span{color:var(--mute)}
#calculator .ctab button[aria-selected=true] span{color:var(--am)}
#calculator .ctab::after{height:1px;bottom:-1px}
/* the shared hairline is the top of the panel under the switch: one line, the amber one rides on it */
#calculator .qk,#calculator .tc{border-top:0}
#calculator [data-cpanel]{border-top:1px solid var(--rule2)}
#calculator .flk-g .gate{border-top:0}
@media(max-width:640px){#calculator .ctab{justify-self:stretch}#calculator .ctab button,#calculator .ctab button:last-child{padding:8px 0;justify-content:center;align-items:center}}

/* ===== S7. Fields: on focus the frame turns amber and a 1px amber line draws along the bottom (160ms); errors are calm ===== */
#calculator .qk-f,#calculator .qk-d,#calculator .frm label:not(.nlo){position:relative}
#calculator label.qk-f::after,#calculator .qk-d::after,#calculator .frm label:not(.nlo)::after{content:"";position:absolute;left:1px;right:1px;bottom:1px;height:1px;background:var(--am);transform:scaleX(0);transform-origin:left;transition:transform 160ms var(--ease-out);pointer-events:none}
#calculator label.qk-f:has(select:focus-visible)::after,#calculator .qk-d:focus-within::after,#calculator .frm label:not(.nlo):focus-within::after{transform:scaleX(1)}
/* the amber frame plus the drawn line is the focus indicator for these fields (in place of the offset ring, which would double it) */
#calculator .qk select:focus,#calculator .qk-d input:focus,#calculator .frm input:not([type=checkbox]):focus{outline:none!important;border-color:var(--am);box-shadow:none;background-color:var(--field)}
#calculator .qk-d input:user-invalid,#calculator .frm input:user-invalid{border-color:#E5484D;box-shadow:none}
#calculator .btn{transition:background-color 150ms ease,color 150ms ease,border-color 150ms ease,transform 100ms var(--ease-out)}
#calculator .btn:active{transform:scale(.97)}

/* ===== D4. Unlock row: the same two columns as the calculator above, both columns start on one line ===== */
#calculator .qk>.gate{grid-template-columns:minmax(0,1fr) minmax(0,1fr);row-gap:12px;border-top:1px solid var(--rule2)}
#calculator .qk>.gate>.k,#calculator .qk>.gate>b,#calculator .qk>.gate>.gate-n{padding-right:clamp(32px,4.4vw,64px)}
#calculator .qk>.gate>.k{padding-top:32px;line-height:21px}
#calculator .qk>.gate>b{max-width:40ch}
#calculator .gate-n{font-size:15px;line-height:1.55;color:var(--tx2)}
#calculator .qk>.gate>.gate-n{max-width:48ch}
#calculator .qk>.gate>form{padding:32px 0 0 clamp(32px,4.4vw,64px);border:0}
#calculator .gate .tl-form{gap:20px 16px}
#calculator .gate .tl-form .sub{padding-top:4px}
/* the second action reads as second: quieter frame and text */
#calculator .gate .btn.gh{border-color:var(--rule2);color:var(--tx2)}
@media(hover:hover) and (pointer:fine){#calculator .gate .btn.gh:hover{border-color:var(--tx2);color:var(--tx);background:none}}

/* ===== D6. Full tab while locked: the blurred calculator on the left, the gate sits in the result column, calm ===== */
#calculator .flk-g{justify-self:end;width:50%;padding-top:0}
#calculator .flk-g .gate{gap:12px;padding:32px 0 40px clamp(32px,4.4vw,64px);border:0;border-top:1px solid var(--rule2);background:var(--bg);box-shadow:none}
#calculator .flk-c[inert]{opacity:.45;max-height:560px}

/* ===== D5. FAQ: a narrower heading column, its top on the first question's hairline ===== */
#calculator+.sec .leaks{grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr)}
#calculator+.sec .leaks>h2{padding-top:12px;border-top:1px solid var(--rule2)}

/* ===== Narrow screens: one column; the hairline moves to the top of each part ===== */
@media(max-width:900px){
  #calculator .qk,#calculator .tc,#calculator .qk>.gate{grid-template-columns:1fr}
  #calculator .qk-in,#calculator .tc-in{padding:24px 0 28px}
  #calculator .qk-out,#calculator .tc-out{padding:24px 0 28px;border-top:1px solid var(--rule)}
  #calculator .qk>.gate>.k,#calculator .qk>.gate>b,#calculator .qk>.gate>.gate-n{padding-right:0}
  #calculator .qk>.gate>.k{padding-top:24px}
  #calculator .qk>.gate>form{padding:12px 0 0}
  #calculator .flk-g{width:100%}
  #calculator .flk-g .gate{padding:24px 0 28px}
  #calculator+.sec .leaks{grid-template-columns:1fr}
}
@media(max-width:640px){
  #calculator .big{font-size:48px}
  #calculator .yr{height:96px;margin-top:20px;column-gap:5px}
}
/* D7. Phone: while a tool field has focus the bottom action bar steps aside, so it never covers the field or the keyboard */
@media(max-width:700px){
  html:has(#calculator input:focus,#calculator select:focus,#site-check input:focus) .mcta{transform:translateY(100%)}
}

/* ===== Reduced motion: nothing slides; numbers, ramps and panels change in place ===== */
@media(prefers-reduced-motion:reduce){
  .big .rl-c::before,#calculator .yr i,#calculator [data-cpanel],#calculator .ctab::after,#calculator label.qk-f::after,#calculator .qk-d::after,#calculator .frm label::after{transition:none!important}
  #calculator input[type=range]::-webkit-slider-thumb{transition:none}
}
/* the job value field: no native up/down arrows (the arrow keys still step it) */
#calculator .qk-d input::-webkit-inner-spin-button,#calculator .qk-d input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#calculator .qk-d input{-moz-appearance:textfield;appearance:textfield}
/* Quick: the readout fills its column, so the ramp's baseline lands on the line where the last field's helper ends */
@media(min-width:901px){
  #calculator .qk-out>div[aria-live]{flex:1}
  #calculator .qk-out .yr{margin-top:auto}
  #calculator .qk-out .big+.k{margin-bottom:28px}
  #calculator .qk-in{padding-bottom:40px}
  #calculator .qk-out{padding-bottom:40px}
}

/* Facelift 4 (2026-11-17), lane: pages */
/* "Precise instrument" on the main pages (home, /services, the nine service pages, /projects, /about, /contact).
   Hidden starting states live only under html.fx4 (added by fx4-pages.js, never under reduced motion),
   so with JS off or reduced motion every frame, tick and heading is simply there. */

/* ===== S1. Frame ticks: four 8px amber corner marks 6px outside every media frame ===== */
/* the wrapper fx4-pages.js puts around each frame; the ticks sit in it so the frame's own clipping never cuts them */
.fx4f{position:relative;display:block;min-width:0}
.fx4-tk{position:absolute;inset:-6px;pointer-events:none;z-index:2}
.fx4-tk i{position:absolute;width:8px;height:8px;border:0 solid rgba(217,160,91,.7);transition:clip-path 320ms cubic-bezier(.23,1,.32,1) var(--fx4-d,0ms),transform 400ms cubic-bezier(.23,1,.32,1)}
.fx4-tk i:nth-child(1){left:0;top:0;border-width:1px 0 0 1px;--fx4-x:-3px;--fx4-y:-3px}
.fx4-tk i:nth-child(2){right:0;top:0;border-width:1px 1px 0 0;--fx4-x:3px;--fx4-y:-3px;--fx4-d:40ms}
.fx4-tk i:nth-child(3){right:0;bottom:0;border-width:0 1px 1px 0;--fx4-x:3px;--fx4-y:3px;--fx4-d:80ms}
.fx4-tk i:nth-child(4){left:0;bottom:0;border-width:0 0 1px 1px;--fx4-x:-3px;--fx4-y:3px;--fx4-d:120ms}
/* before the frame enters: each L is clipped down to its own corner point, then draws out from it */
.fx4 .fx4f:not(.fx4-in) .fx4-tk i:nth-child(1){clip-path:inset(0 100% 100% 0)}
.fx4 .fx4f:not(.fx4-in) .fx4-tk i:nth-child(2){clip-path:inset(0 0 100% 100%)}
.fx4 .fx4f:not(.fx4-in) .fx4-tk i:nth-child(3){clip-path:inset(100% 0 0 100%)}
.fx4 .fx4f:not(.fx4-in) .fx4-tk i:nth-child(4){clip-path:inset(100% 100% 0 0)}
/* the picture inside answers hover with a 1.02 scale (the id-strength selector outranks the earlier rounds' transition lists) */
.fx4f:not(.fx4-cust) img:not(#\#){transition:scale 400ms cubic-bezier(.23,1,.32,1),translate 600ms cubic-bezier(.23,1,.32,1),opacity 240ms cubic-bezier(.23,1,.32,1),transform 900ms cubic-bezier(.23,1,.32,1),clip-path 500ms cubic-bezier(.23,1,.32,1)}
@media(hover:hover) and (pointer:fine){
:is(.fx4f:hover,.pjc:hover .fx4f) .fx4-tk i{transform:translate(var(--fx4-x),var(--fx4-y))}
:is(.fx4f:hover,.pjc:hover .fx4f):not(.fx4-cust) img{scale:1.02}
}

/* ===== S4. Project screenshots: a slow 12px pan inside the frame, the hairline brightens ===== */
/* the earlier 4s object-position pans are replaced: the picture is 12px taller than its frame and moves up on hover */
:is(.pj3,.pj-m) .fx4f .shot img:not(#\#){height:calc(100% + 12px);object-position:50% 0}
:is(.pj3,.pj-m) .fx4f .shot{transition:border-color 160ms ease,outline-color 160ms ease}
@media(hover:hover) and (pointer:fine){
:is(.fx4f:hover,.pjc:hover .fx4f) .shot img:not(#\#){translate:0 -12px;scale:1}
:is(.fx4f:hover,.pjc:hover .fx4f) .shot{border-color:rgba(236,231,222,.4);outline-color:rgba(236,231,222,.4)}
.pj:has(.pj-m .fx4f:hover) .pj-t .lnk .ar,.pj .pj-t .lnk:hover .ar{transform:translateX(3px)}
}
.pj-t .lnk .ar{display:inline-block;transition:transform 160ms cubic-bezier(.23,1,.32,1)}

/* ===== S2. Headings: lines rise .6em from behind their masks, 60ms apart, 480ms, once ===== */
/* retimes the earlier per-word split on section h2s (fx.js) instead of adding a second entrance */
.fxm .fx-c .fx-hd .fx-w{transform:translateY(.6em);opacity:0}
.fxm .fx-c.fx-in .fx-hd .fx-w{transform:none;opacity:1;transition:transform 480ms cubic-bezier(.23,1,.32,1),opacity 480ms cubic-bezier(.23,1,.32,1);transition-delay:calc(var(--fx-h0) + var(--fx-l,0) * 60ms)}
/* service pages: the same entrance on the h1 and every part heading (fx4-pages.js splits them) */
.fx4 .fx4-hd.rv,.fx4 .svm-h h1.fx4-hd{opacity:1;transform:none;transition:none}
.fx4 .fx4-hd:not(.fx4-in) .fx-w{transform:translateY(.6em);opacity:0}
.fx4 .fx4-hd.fx4-in .fx-w{transition:transform 480ms cubic-bezier(.23,1,.32,1),opacity 480ms cubic-bezier(.23,1,.32,1);transition-delay:calc(var(--fx4-l,0) * 60ms)}

/* ===== S3. Home services widget as an instrument ===== */
/* the photo cross-fades (the earlier left-to-right wipe is replaced) */
.fx-hm .det .im img.out{opacity:0;clip-path:inset(0);transform:none}
/* a deliberate 16:7 frame, inset from the list so the corner ticks have air */
.fx-hm .det .im{aspect-ratio:16/7;border-bottom:0;overflow:hidden}
.fx-hm .det .im img{filter:saturate(.8) brightness(.9)}
@media(min-width:861px){
.fx-hm .det{padding:28px 0 4px 40px}
.fx-hm .det .tx{padding:24px 0 20px}
}
@media(max-width:860px){.fx-hm .det{padding:16px 0 0}.fx-hm .det .tx{padding:20px 0}}
/* each photo's crop, chosen so the subject sits inside the band */
.fx-hm .det .im img[src*="1587560699334"]{object-position:50% 55%}
.fx-hm .det .im img[src*="1551434678"]{object-position:50% 45%}
.fx-hm .det .im img[src*="1531482615713"]{object-position:50% 40%}
.fx-hm .det .im img[src*="1551288049"]{object-position:50% 50%}
.fx-hm .det .im img[src*="1557804506"]{object-position:50% 40%}
.fx-hm .det .im img[src*="1432888498266"]{object-position:50% 25%}
.fx-hm .det .im img[src*="1460925895917"]{object-position:50% 45%}
.fx-hm .det .im img[src*="1542744173"]{object-position:50% 40%}
.fx-hm .det .im img[src*="1554224155"]{object-position:50% 50%}
/* the text block fades up 6px on every switch */
@keyframes fx4-up{from{opacity:0;transform:translateY(6px)}}
.fx-hm .det .tx>*{animation:fx4-up 240ms cubic-bezier(.23,1,.32,1) both}
.fx-hm .det .tx>:nth-child(2){animation-delay:30ms}.fx-hm .det .tx>:nth-child(3){animation-delay:60ms}.fx-hm .det .tx>:nth-child(n+4){animation-delay:90ms}
/* the "01 / 09" digits roll: up when moving forward, down when moving back */
.fx4-r{display:inline-block;overflow:hidden;vertical-align:top;height:1.25em;line-height:1.25em}
.fx4-r>span{display:inline-block}
.fx4-r.nx>span{animation:fx4-nx 240ms cubic-bezier(.23,1,.32,1)}
.fx4-r.pv>span{animation:fx4-pv 240ms cubic-bezier(.23,1,.32,1)}
@keyframes fx4-nx{from{transform:translateY(100%)}}
@keyframes fx4-pv{from{transform:translateY(-100%)}}
/* the amber marker glides between rows */
.fx-hm .con .ind{transition:transform 240ms cubic-bezier(.23,1,.32,1)}
/* D5: one line under the widget (the block below loses its own top rule) */
.fx-hm #what .cust{border-top:0}

/* ===== D7. "Built for your business": a 7-of-12 frame, heading in the heading colour ===== */
@media(min-width:801px){.fx-hm #what .cust{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:40px}}
.fx-hm #what .cust h3{color:var(--tx)}

/* ===== D8. "Who I am": photo and eyebrow share a top line; the columns fill the grid ===== */
@media(min-width:861px){
.fx-hm .who{grid-template-columns:minmax(0,4fr) minmax(0,8fr);align-items:start;column-gap:40px}
.fx-hm .who .tx .body p{max-width:68ch}
}

/* ===== S5. Pointer-aware hairlines: the hovered column's top line warms to amber from the pointer outward ===== */
.fx-hm .v3 .fc-f::before{transform-origin:var(--mx,50%) 0;transition:transform 160ms cubic-bezier(.23,1,.32,1);-webkit-mask-image:radial-gradient(farthest-side at var(--mx,50%) 50%,#000 30%,rgba(0,0,0,.35));mask-image:radial-gradient(farthest-side at var(--mx,50%) 50%,#000 30%,rgba(0,0,0,.35))}
.svm .ben>div{position:relative}
.svm .ben>div::after{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--am);transform:scaleX(0);transform-origin:var(--mx,50%) 0;transition:transform 160ms cubic-bezier(.23,1,.32,1);pointer-events:none;-webkit-mask-image:radial-gradient(farthest-side at var(--mx,50%) 50%,#000 30%,rgba(0,0,0,.35));mask-image:radial-gradient(farthest-side at var(--mx,50%) 50%,#000 30%,rgba(0,0,0,.35))}
@media(hover:hover) and (pointer:fine){.svm .ben>div:hover::after{transform:none}}

/* ===== D1. Service pages sit on the 1240 grid like every other page ===== */
.svm{max-width:none}

/* ===== D3. The switcher becomes one slim hairline bar; the position shows once (in the eyebrow) ===== */
.svbar{gap:0;padding:0;border-bottom:1px solid var(--rule2)}
.svbar .bkl{border:0;padding:0 20px 0 0;min-height:44px}
.svdd-b{border:0;background:none;border-left:1px solid var(--rule);min-height:44px;padding:0 16px}
.svdd-b .k{display:none}
.svpn{gap:0}
.svpn a{border:0;border-left:1px solid var(--rule);width:48px;height:44px;transition:color 150ms ease}
.svbar .bkl:active,.svpn a:active,.svdd-b:active{transform:scale(.97);transition:transform 100ms ease-out}
@media(hover:hover) and (pointer:fine){.svbar .bkl:hover,.svpn a:hover,.svdd-b:hover,.svdd.open .svdd-b{color:var(--am)}}

/* ===== D2. Service hero: the service's own photo fills the right half, top-aligned to the h1 ===== */
.svm-h{padding:24px 0 40px}
.svm-h>:is(.svm-ph,.fx4f){margin:0}
.svm-ph{position:static;aspect-ratio:16/10}
@media(min-width:861px){
.svm-h{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto 1fr;column-gap:56px;row-gap:12px;align-items:start}
.svm-h>*{grid-column:1}
.svm-h>:is(.svm-ph,.fx4f){grid-column:2;grid-row:3/span 2}
}
@media(max-width:860px){.svm-ph{aspect-ratio:16/9;max-width:none}.svm-h>:is(.svm-ph,.fx4f){margin-top:12px}}
/* "Use cases" no longer holds the photo: its list takes the full width in two columns */
.ucg{grid-template-columns:minmax(0,1fr)}
@media(min-width:761px){.ucg .uc{grid-template-columns:1fr 1fr}}

/* ===== D4. Part headings on the site h2 scale ===== */
.svm .svs h2.disp{font-size:clamp(25px,2.4vw,34px);line-height:1.05;max-width:30ch;text-wrap:balance}

/* ===== D5. One line per boundary: no section rules on top of the parts' own hairlines, no alternating bands ===== */
.svm .svs+.svs::before,.svm .svs+.svs::after,.svm .svs+.svcta::before,.svm .svs+.svcta::after{display:none}
.svm .svs.band{box-shadow:none;clip-path:none;background:none}
.svm .svs,.svm .svs.band{padding:40px 0}
.svm .svs:first-of-type{padding-top:8px}
/* the one part without a closing hairline of its own gets one, so every boundary has exactly one line */
.svm .svs-pf{border-bottom:1px solid var(--rule)}
@media(max-width:700px){.svm .svs,.svm .svs.band{padding:28px 0}}

/* ===== D6. Examples (and related reading): one column of rows, label left, text right ===== */
.svm .exg{grid-template-columns:minmax(0,1fr)}
@media(min-width:761px){.svm .exg>div{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:40px;align-items:baseline;padding:16px 0}}

/* ===== D9. Contact: hairlines instead of boxes ===== */
.ctm,.ctm:not(#\#){border:0;background:none;box-shadow:none}
.ctm .talk{padding:0 0 20px;background:none;border:0;border-bottom:1px solid var(--rule)}
.ctt{border-bottom:1px solid var(--rule2);grid-template-columns:auto auto;justify-content:start;column-gap:32px}
.ctt button,.ctt button.on{background:none;padding:0;min-height:48px;justify-content:flex-start}
.ctt button+button{border-left:0}
/* the line is 100px wide and scaled to the active tab's width, so only transform animates */
.ctt::after{width:100px;transform-origin:0 0;transform:translateX(var(--fx4-tx,0)) scaleX(var(--fx4-tw,1.5));transition:transform 180ms cubic-bezier(.23,1,.32,1)}
.ctt:has(button:nth-child(2).on)::after{transform:translateX(var(--fx4-tx,180px)) scaleX(var(--fx4-tw,1.5))}
.ctp{padding:28px 0 0}
.cta-s .me{border:0;background:none;padding:0 0 16px}
.cta-s .dc{border:0;background:none;border-top:1px solid var(--rule2);padding:16px 0 0}
.cta-s .cl{border-top:1px solid var(--rule)}

/* ===== D11. Projects: quiet chips; every screenshot the same width on the 12-column grid ===== */
.chips{gap:0}
.chips span{border:0;padding:0;color:var(--mute)}
.chips span+span::before{content:"/";margin:0 10px;color:var(--rule2)}
@media(min-width:901px){
.pj{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px}
.pj:nth-child(even){grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
.pj.pjw{grid-template-columns:1fr}
}

/* ===== D12. Headings never leave an orphan word ===== */
:is([data-fxpg=home],[data-fxpg^=services],[data-fxpg=projects],[data-fxpg=about],[data-fxpg=contact]) main :is(h1,h2,h3){text-wrap:balance}

/* ===== Reduced motion: no movement, every state instant ===== */
@media(prefers-reduced-motion:reduce){
.fx4-tk i,.fx4f img:not(#\#),.ctt::after,.fx-hm .con .ind{transition:none}
.fx4-r>span,.fx-hm .det .tx>*{animation:none}
}

/* ===== D6 (also): "Getting started" has three steps, so they sit as three equal columns with no empty cell ===== */
@media(min-width:761px){.svm .svs-go .uc{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ===== D7 (also): the Mission Control frame shows more of the screenshot, so it reads at a glance ===== */
@media(min-width:801px){.fx-hm .cust-im{padding-top:calc(28px + 46%)}}
/* S3 (also): a tighter text block under the photo keeps the nine rows compact */
@media(min-width:861px){.fx-hm .det .tx{padding:20px 0 8px;gap:10px}}
/* "Use cases" with exactly three items: three columns, so no empty cell */
@media(min-width:761px){.ucg .uc:has(>li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
/* D10: the sticky portrait's caption keeps the same air above the section rule as the text column */
@media(min-width:861px){.abh-ph{padding-bottom:clamp(32px,3.4vw,48px)}}

/* Facelift 4 fold-in (brain): the bar is a solid surface. Its page-transition name stops the old frosted blur from working, so page text showed through the links. */
.top::before{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}
/* Facelift 4 fold-in (brain): keep the approved compact scale. The home portrait and the services photo had grown too large. */
@media(min-width:861px){.fx-hm .who{grid-template-columns:280px minmax(0,1fr);column-gap:56px}.fx-hm .det .im{aspect-ratio:16/5.5}}
