/* weblychee.com shared components and homepage section patterns.
   Loaded after scrollcraft.css and tokens.css. Source of truth: lychee/copy/design-language.md.
   Every page uses only what is here; nothing page-specific. */

/* Scroll engine themed with the design language tokens */
:root{
  --edge:max(var(--gutter), calc((100vw - var(--content)) / 2)); /* content edge: the gutter, or the 80rem column's edge on wide screens */
  --sc-canvas:var(--porcelain); --sc-surface:var(--linen); --sc-ink:var(--forest); --sc-ink-soft:var(--forest);
  --sc-accent:var(--mulberry); --sc-accent-ink:var(--porcelain);
  --sc-font-display:var(--f-display); --sc-font-text:var(--f-text);
}
body{background:var(--ground);color:var(--ink);font:400 var(--t-body)/1.55 var(--f-text);letter-spacing:0}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
::selection{background:var(--blush);color:var(--forest)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.header-space{display:none}

/* ---------- Circles (signature element; replaced the build grid lines, founders 20 Nov 2026) ----------
   Brand circles pop in behind a heading as it arrives, staggered, then drift slowly and stay.
   Sizes and positions are relative to the heading's own box, so they never spill onto other columns. */
.build{position:relative;isolation:isolate}
.build__lines{position:absolute;inset:-12% 0;pointer-events:none;z-index:-1}
.build__lines i{position:absolute;left:var(--x);top:var(--y);width:var(--d);aspect-ratio:1;border-radius:50%;background:var(--c);scale:0;
  translate:0 0}
.build__lines i:nth-child(1){--x:60%;--y:2%;--d:26%;--c:var(--blush);--mx:18px;--my:-14px;--t:13s;--n:0}
.build__lines i:nth-child(2){--x:86%;--y:52%;--d:11%;--c:var(--sage);--mx:-12px;--my:16px;--t:11s;--n:1}
.build__lines i:nth-child(3){--x:2%;--y:64%;--d:9%;--c:var(--sage);--mx:14px;--my:10px;--t:15s;--n:2}
.build__lines i:nth-child(4){--x:76%;--y:84%;--d:3%;--c:var(--lychee);--mx:-10px;--my:-12px;--t:9s;--n:3}
.build__lines i:nth-child(5){--x:44%;--y:-4%;--d:2%;--c:var(--leaf);--mx:8px;--my:12px;--t:10s;--n:4}
.build__lines i:nth-child(6){--x:90%;--y:4%;--d:6%;--c:var(--blush);--mx:-14px;--my:10px;--t:12s;--n:5}
.build__lines i:nth-child(7){--x:28%;--y:90%;--d:2.4%;--c:var(--mulberry);--mx:10px;--my:-8px;--t:8s;--n:6}
.build__lines i:nth-child(8){--x:50%;--y:60%;--d:8%;--c:var(--linen);--mx:-16px;--my:-10px;--t:14s;--n:7}
.build__lines i:nth-child(9){--x:14%;--y:-2%;--d:4%;--c:var(--sage);--mx:12px;--my:14px;--t:11s;--n:8}
.build__lines i:nth-child(10){--x:96%;--y:76%;--d:1.6%;--c:var(--leaf);--mx:-8px;--my:10px;--t:9s;--n:9}
.build__lines i:nth-child(11){--x:36%;--y:34%;--d:1.4%;--c:var(--lychee);--mx:10px;--my:-10px;--t:10s;--n:10}
.build__lines i:nth-child(12){--x:70%;--y:30%;--d:2%;--c:var(--mulberry);--mx:-12px;--my:8px;--t:12s;--n:11}
.build.is-drawing .build__lines i{animation:circle-pop 900ms var(--ease-pop) forwards,circle-drift var(--t) ease-in-out infinite alternate;
  animation-delay:calc(var(--n) * 70ms),calc(var(--n) * 70ms + 900ms)}
@keyframes circle-pop{from{scale:0}to{scale:1}}
@keyframes circle-drift{from{translate:0 0}to{translate:var(--mx) var(--my)}}
.build > :not(.build__lines){position:relative}
@media (prefers-reduced-motion:reduce){.build__lines i{scale:1}}

/* ---------- 1. Hero film ---------- */
.hero{position:relative;background:var(--porcelain)}
.hero__stage{background:var(--porcelain)} /* no film (founders, 21 Nov 2026): the build happens on a blank cream screen */
.hero__grid{position:absolute;inset:0}
.hero__grid{z-index:3;pointer-events:none}
/* At the peak the circles grow on the blank screen with the scroll, drift as the page builds, then clear. */
.hero__grid .build__lines{position:absolute;inset:0 var(--edge);z-index:auto}
.hero__grid .build__lines i{animation:none;scale:clamp(0, var(--gd, 0) * 1.8 - var(--n) * .07, 1);
  translate:calc(var(--mx) * var(--sc-p, 0) * 6) calc(var(--my) * var(--sc-p, 0) * 6);opacity:calc(1 - var(--ge, 0))}

/* The peak: on the blank screen a WebLychee page builds itself (type, colour fields, real client work, the mark). */
.hero__site{position:absolute;inset:0;z-index:4;pointer-events:none;padding:calc(64px + var(--s-7)) var(--edge) clamp(1.5rem,4svh,3rem);
  display:grid;grid-template-rows:auto minmax(0,1fr);gap:clamp(1rem,3svh,2rem)}
.hero__site *{--k:clamp(0, (var(--sc-p, 0) - var(--a, 0)) / var(--w, .08), 1)}
.site__title{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--s-6)}
.site__line > span{opacity:calc(min(var(--k) * 4, 1) * (1 - min(var(--exit, 0) * 6, 1)))}
.site__title p{font:800 clamp(3rem,1.2rem + 6.4vw,8rem)/.9 var(--f-display);letter-spacing:-.035em;color:var(--forest);margin:0}
.site__line{display:block;overflow:hidden;padding:.08em .04em .12em;margin:-.08em -.04em -.12em}
.site__line > span{display:block;transform:translateY(calc((1 - var(--k)) * 150%))}
.site__line:nth-child(1) > span{--a:.79} .site__line:nth-child(2) > span{--a:.81}
.site__mark{width:clamp(4.5rem,2.5rem + 6vw,9rem);flex:none;--a:.9;--w:.05;transform:scale(var(--k)) rotate(calc((1 - var(--k)) * -40deg));opacity:var(--k)}
.site__row{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:var(--col-gap);min-height:0}
.site__col{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:var(--col-gap);min-height:0}
.site__panel{margin:0;border-radius:var(--r-panel);padding:clamp(.75rem,.4rem + 1vw,1.5rem);min-height:0;display:flex;align-items:center;justify-content:center;
  clip-path:circle(calc(var(--k) * 120%) at 50% 50%)}
/* Each screenshot fills its panel, so the padding is the same all round (founders, 21 Nov 2026); the big panel uses a taller capture. */
.site__panel img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:var(--r-card);
  --w:.09;opacity:var(--k);transform:translateY(calc((1 - var(--k)) * 8vh)) scale(calc(.9 + var(--k) * .1))}
.site__panel--1{--a:.73} .site__panel--1 img{--a:.79}
.hero.has-build .site__panel--1 img{transform:none;opacity:clamp(0, (var(--sc-p, 0) - .794) / .006, 1)} /* the build video lands on it, then hands over */
.site__panel--2{--a:.81} .site__panel--2 img{--a:.84}
.site__panel--2 img,.site__panel--3 img{object-position:left top} /* the crop keeps the logo and headline (founders, 25 Nov 2026) */
.site__panel--3{--a:.83} .site__panel--3 img{--a:.86}

/* First screen (founders, 21 Nov 2026): giant type and brand circles on cream, no photo. The circles pop in on load,
   drift, lean towards the pointer, and fly apart as the screen gives way to the desk film (--io, 0 to 1, from the script). */
.hero__intro{position:absolute;inset:0;z-index:4;background:var(--porcelain);pointer-events:none;overflow:hidden;
  opacity:calc(1 - var(--io, 0))}
.hero__intro i{position:absolute;left:var(--x);top:var(--y);width:var(--d);aspect-ratio:1;border-radius:50%;background:var(--c);
  scale:0;animation:circle-pop 1100ms var(--ease-pop) forwards,circle-drift var(--t) ease-in-out infinite alternate;
  animation-delay:calc(200ms + var(--n) * 90ms),calc(1300ms + var(--n) * 90ms);
  transform:translate(calc(var(--px, 0) * var(--z) * 1px + var(--fx) * var(--io, 0) * 1vw), calc(var(--py, 0) * var(--z) * 1px + var(--fy) * var(--io, 0) * 1vh))
    scale(calc(1 + var(--io, 0) * .6))}
.hero__intro i:nth-child(1){--x:58%;--y:14%;--d:min(34vw,62svh);--c:var(--blush);--mx:22px;--my:-16px;--t:14s;--n:0;--z:-14;--fx:18;--fy:-10}
.hero__intro i:nth-child(2){--x:83%;--y:58%;--d:min(15vw,28svh);--c:var(--sage);--mx:-14px;--my:18px;--t:12s;--n:1;--z:22;--fx:22;--fy:16}
.hero__intro i:nth-child(3){--x:50%;--y:66%;--d:min(9vw,17svh);--c:var(--linen);--mx:16px;--my:10px;--t:15s;--n:2;--z:10;--fx:-6;--fy:28}
.hero__intro i:nth-child(4){--x:88%;--y:16%;--d:min(5vw,9svh);--c:var(--lychee);--mx:-10px;--my:-12px;--t:9s;--n:3;--z:30;--fx:20;--fy:-24}
.hero__intro i:nth-child(5){--x:72%;--y:80%;--d:min(3vw,6svh);--c:var(--mulberry);--mx:8px;--my:12px;--t:10s;--n:4;--z:-24;--fx:8;--fy:30}
.hero__intro i:nth-child(6){--x:5%;--y:12%;--d:min(4vw,7svh);--c:var(--sage);--mx:-14px;--my:10px;--t:12s;--n:5;--z:18;--fx:-22;--fy:-20}
.hero__intro i:nth-child(7){--x:40%;--y:86%;--d:min(2vw,4svh);--c:var(--leaf);--mx:10px;--my:-8px;--t:8s;--n:6;--z:-30;--fx:-10;--fy:30}
.hero__intro i:nth-child(8){--x:94%;--y:84%;--d:min(7vw,13svh);--c:var(--blush);--mx:-16px;--my:-10px;--t:13s;--n:7;--z:12;--fx:24;--fy:20}
.hero__intro i:nth-child(9){--x:66%;--y:6%;--d:min(1.6vw,3svh);--c:var(--leaf);--mx:12px;--my:14px;--t:11s;--n:8;--z:-20;--fx:4;--fy:-30}
.hero__intro i:nth-child(10){--x:30%;--y:4%;--d:min(2.4vw,4.5svh);--c:var(--lychee);--mx:-8px;--my:10px;--t:9s;--n:9;--z:26;--fx:-14;--fy:-30}
@media (prefers-reduced-motion:reduce){.hero__intro{display:none}}
/* First caption on the first screen (founders, 21 Nov 2026: "more impactful"): the page's statement, as wide as the
   column, two lines rising in on load, "Website…" in Mulberry; a proof line under it; three client sites float among
   the circles, under the type. */
.hero__card[data-pos="1"]{width:min(var(--content),calc(100vw - 2 * var(--gutter)))}
.hero__card[data-pos="1"] .hero__cap--lead{font-size:clamp(3.5rem,min(1rem + 8.2vw,15svh),12rem);line-height:.86}
.hero__cap--lead .hl{display:block;overflow:hidden;padding:.06em .04em .1em;margin:-.06em -.04em -.1em}
.hero__cap--lead .hl > span{display:block;animation:hl-rise 1000ms var(--ease-out) both;animation-delay:calc(150ms + var(--i, 0) * 140ms)}
.hero__cap--lead .hl--accent{--i:1;color:var(--mulberry)}
@keyframes hl-rise{from{transform:translateY(110%)}to{transform:none}}
.hero__cap--lead ~ p,.hero__card[data-pos="1"] .hero__actions{animation:hl-fade 800ms var(--ease-out) 550ms both}
@keyframes hl-fade{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
/* Phones: the headline is the first thing seen and Google's largest paint, so it shows at once (no rise from hidden). */
@media (max-width:860px){.hero__cap--lead .hl > span{animation:none}.hero__cap--lead ~ p,.hero__card[data-pos="1"] .hero__actions{animation-duration:400ms;animation-delay:0ms}}
.hero__proof{display:flex;align-items:center;gap:.6em;margin-top:var(--s-4)!important;font-weight:600!important;font-size:var(--t-body)!important;color:var(--forest)}
.hero__proof span{width:.6em;height:.6em;border-radius:50%;background:var(--lychee);box-shadow:0 0 0 .3em var(--blush)}
.hero__shot{position:absolute;margin:0;left:var(--x);top:var(--y);width:var(--w);padding:clamp(.4rem,.2rem + .5vw,.8rem);border-radius:var(--r-card);
  background:var(--c);rotate:var(--r);scale:0;opacity:0;animation:shot-in 1000ms var(--ease-pop) forwards;animation-delay:var(--d);
  transform:translate(calc(var(--px, 0) * var(--z) * 1px + var(--fx) * var(--io, 0) * 1vw), calc(var(--py, 0) * var(--z) * 1px + var(--fy) * var(--io, 0) * 1vh))}
.hero__shot img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top;border-radius:calc(var(--r-card) - 8px)}
.hero__shot--1{--x:58%;--y:52%;--w:min(24vw,40svh);--c:var(--sage);--r:-5deg;--d:700ms;--z:-18;--fx:-10;--fy:30}
.hero__shot--2{--x:79%;--y:max(12%,7rem);--w:min(19vw,32svh);--c:var(--blush);--r:4deg;--d:850ms;--z:26;--fx:24;--fy:-24}
.hero__shot--3{--x:79%;--y:60%;--w:min(17vw,28svh);--c:var(--linen);--r:-2deg;--d:1000ms;--z:12;--fx:26;--fy:26}
@keyframes shot-in{from{scale:.6;opacity:0}to{scale:1;opacity:1}}
@media (max-width:860px){.hero__shot--2,.hero__shot--3{display:none} .hero__shot--1{--x:10%;--y:66%;--w:80vw;--r:-3deg} .hero__card[data-pos="1"] .hero__cap--lead{font-size:clamp(3.25rem,1.2rem + 9vw,5.5rem)}}

/* The build video: full screen over the blank monitor while it plays (scrubbed by the script), then it shrinks into the
   big panel of the built page, whose picture is the same page from the top down. */
.hero__build{position:absolute;z-index:5;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:top;
  opacity:0;pointer-events:none;background:var(--porcelain);transform-origin:0 0;will-change:transform}

/* Hero captions: huge type floating on the film's wall, no card (founders, 20 Nov 2026). The wall is the film's
   calm light area, so Forest reads on it without a scrim; Book a Call stays with the opening caption. */
.hero__card{position:absolute;z-index:5;left:var(--edge);top:0;width:min(72rem,68vw);display:grid;gap:var(--s-6);
  transition:transform 800ms var(--ease-out),opacity 320ms ease-out}
.hero__caps > *{animation:hero-float 7s ease-in-out infinite alternate}
.hero__caps > :nth-child(2){animation-delay:-3.5s}
@keyframes hero-float{from{translate:0 -6px}to{translate:0 8px}}
.hero__card[data-pos="1"]{transform:translateY(calc(46svh - 50%))} /* centred top to bottom in the hero (founders, 20 Nov) */
.hero__card[data-pos="2"]{transform:translateY(calc(46svh - 50%))}
.hero__card[data-hidden]{opacity:0;pointer-events:none;transform:translateY(-110%)!important;transition:opacity 200ms ease-out} /* lifts away above the stage, never left lying over the build */
.hero__caps{display:grid;position:relative}
.hero__caps > *{grid-area:1/1}
.hero__caps > :not(.is-current){position:absolute;inset:0 0 auto 0}
.hero__cap{font:800 clamp(3.25rem,min(1rem + 5.3vw,9.4svh),7.5rem)/.9 var(--f-display);letter-spacing:-.035em;color:var(--forest);margin:0;text-wrap:balance}
.hero__cap + p{margin-top:var(--s-5);font-size:var(--t-lead);font-weight:500;line-height:1.45;max-width:24em}
.hero__actions{display:flex;gap:var(--s-3);align-items:center}

@media (max-width:860px){
  .hero__card{width:auto;right:var(--gutter)}
  .hero__cap{font-size:clamp(3rem,1.6rem + 6vw,4.5rem)}
  .hero__card[data-pos="1"]{transform:translateY(max(12svh, 88px))}
  .hero__card[data-pos="2"]{transform:translateY(32svh)}
  .hero__site{padding-top:calc(64px + var(--s-6))}
  .site__title p{font-size:clamp(2.75rem,1.5rem + 5vw,4rem)}
  .site__row{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.5fr) minmax(0,1fr)}
  .site__col{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr)}
  .site__panel--2 img{object-position:left top}
}

/* Reduced motion: the first view with the opening captions, nothing pinned */
.hero--still .hero__stage{position:relative;height:auto;min-height:100svh}
.hero--still .hero__card{transform:none!important;top:auto;bottom:clamp(2rem,8svh,6rem);opacity:1!important}
.hero--still [data-sc-cue]{opacity:1!important;transform:none!important;visibility:visible!important;position:static!important}
.hero--still .hero__caps{display:grid;gap:var(--s-4)}
.hero--still .hero__caps > *{grid-area:auto}
.hero--still .hero__site,.hero--still .hero__grid,.hero--still .hero__build,.hero--still .hero__intro{display:none}
.hero--still .hero__cap{font-size:clamp(2rem,1.2rem + 2.6vw,3.5rem)}

/* ---------- Bands that rise over the one before ---------- */
.rise{position:relative;z-index:2;border-radius:var(--r-rise) var(--r-rise) 0 0;margin-top:calc(var(--r-rise) * -1)}

.band--end{padding-bottom:calc(var(--section) + var(--r-rise))} /* a long band that closes on a short column */

/* ---------- 2. Statement ---------- */
.statement{padding:var(--section-lg) var(--gutter) var(--section)}
.statement h2{max-width:75%}
@media (max-width:900px){.statement h2{max-width:none}}
.statement .t-lead{margin-top:var(--s-6)}
@media (max-width:600px){.statement h2{font-size:var(--t-h2)}}

/* ---------- 3. Selected work rail ---------- */
.work{background:var(--porcelain)} /* brown only on cards, never a section (founders, 21 Nov 2026) */
.work .sc-stage{display:flex;align-items:center}
.rail{gap:clamp(1.5rem,1rem + 2vw,3.5rem);padding:0 var(--edge);align-items:center}
.rail > *{flex:none}
.rail__lead{width:clamp(18rem,30vw,28rem)}
.rail__lead .t-lead{margin-top:var(--s-5)}
.rail__lead .link,.rail__end .link{display:inline-block;margin-top:var(--s-5);font-weight:600}
.project{width:clamp(20rem,50vw,52rem);margin:0}
.project a{color:inherit;text-decoration:none;display:block}
.project__field{border-radius:var(--r-panel);padding:clamp(.5rem,.2rem + .9vw,1rem)}
.work .project__field{padding:clamp(.75rem,.4rem + 1.4vw,2rem)}
.project__frame{border-radius:var(--r-card);overflow:hidden;aspect-ratio:16/10}
.project__frame img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform var(--d-reveal) var(--ease-out)}
.project a:hover .project__frame img{transform:scale(1.02)}
.project figcaption{margin-top:var(--s-4)}
.project figcaption p{margin-top:var(--s-1)}
.project a:hover .t-h4{text-decoration:underline;text-decoration-color:var(--mulberry);text-decoration-thickness:1.5px;text-underline-offset:.2em}
.rail__end{width:clamp(14rem,20vw,20rem)}
@media (max-width:860px){.project{width:78vw}.rail__lead{width:80vw}.rail__end{width:60vw}}

/* ---------- 4. Services that stack ---------- */
.stack .sc-stage,.stack__stage{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;padding:calc(64px + var(--s-7)) var(--gutter) calc(var(--s-8) + var(--r-rise));gap:var(--s-6)} /* room under the last panel before the founders band rises (founders, 20 Nov) */
.stack__head{max-width:var(--content);width:100%;margin-inline:auto}
.stack__panels{position:relative;max-width:var(--content);width:100%;margin-inline:auto}
.panel{position:absolute;inset:0;border-radius:var(--r-panel);padding:clamp(1.5rem,1rem + 2vw,3.5rem);display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:var(--s-6) var(--s-8);align-content:center;
  --k:clamp(0, (var(--sc-p, 0) - var(--a)) / .2, 1);
  --c:clamp(0, (var(--sc-p, 0) - var(--n)) / .26, 1); /* the next card is coming in: this one slowly shrinks back (founders, 25 Nov 2026) */
  transform:translateY(calc((1 - var(--k)) * (110% + var(--s-8) + var(--r-rise)))) scale(calc(1 - var(--c) * .07));transform-origin:50% 0;
  top:calc(var(--i) * 14px)} /* waiting panels start below the gap under the stage, out of view (20 Nov) */
.panel--1{--a:-1;--i:0;--n:.12} .panel--2{--a:.12;--i:1;--n:.38} .panel--3{--a:.38;--i:2;--n:.64} .panel--4{--a:.64;--i:3;--n:9}
/* Panel text stays solid; the next panel simply slides over it (founders, 20 Nov 2026: no fade). */
/* Faint line drawing of the service behind each card (founders, 21 Nov 2026: replaced the icon circles). It sits low
   on the left, clipped by the card, and settles into place as the card arrives. */
.panel{overflow:hidden;isolation:isolate}
.panel > :not(.panel__art){position:relative;z-index:1}
.panel__art{position:absolute;z-index:0;left:-3%;bottom:-10%;width:min(50%,38rem);height:auto;fill:none;stroke:var(--forest);stroke-width:5;
  stroke-linecap:round;stroke-linejoin:round;opacity:.06;pointer-events:none; /* fainter and moved to the left, off the body text (founders, 25 Nov 2026) */
  transform:translateY(calc((1 - var(--k, 1)) * 12%)) rotate(calc((1 - var(--k, 1)) * -4deg))}
.panel.bg-forest .panel__art{stroke:var(--blush);opacity:.08}
.panel__name{font:700 var(--t-h1)/1 var(--f-display);letter-spacing:-.02em}
.panel__claim{font:500 var(--t-h3)/1.15 var(--f-display);margin-top:var(--s-4)}
.panel__body p{font-size:var(--t-lead);line-height:1.5;max-width:28em}
.panel__body .link{display:inline-block;margin-top:var(--s-5);font-weight:600;font-size:var(--t-lead)}
.panel.bg-forest .panel__name,.panel.bg-forest .panel__claim{color:var(--blush)}
@media (max-width:860px){
  .stack__stage{padding-top:var(--section);padding-bottom:calc(var(--section) + var(--r-rise))}
  .stack__panels{display:grid;gap:var(--s-4)}
  .panel{position:relative;inset:auto;top:auto;transform:none;grid-template-columns:minmax(0,1fr)}
  .panel__name,.panel__claim,.panel__body p,.panel__body .link{opacity:1}
  .panel__name{font-size:var(--t-h2)}
}

/* ---------- 5. Founders ---------- */
.founders{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--s-8);align-items:center}
.founders__pics{position:relative;aspect-ratio:1/1.05;max-width:38rem;width:100%}
.founders__pics .p1,.founders__pics .p2{position:absolute;width:52%;aspect-ratio:1;border-radius:var(--r-panel);overflow:hidden;
  transition:border-radius 600ms var(--ease-out),scale 500ms var(--ease-pop),rotate 500ms var(--ease-pop)} /* same size and shape (founders, 20 Nov) */
.founders__pics .p1{right:0;top:0;rotate:2deg}
.founders__pics .p2{left:0;bottom:0;rotate:-2deg;z-index:1}
.founders__pics img{width:100%;height:100%;object-fit:cover;transition:scale 700ms var(--ease-out)}
.founders__pics .p1 img{object-position:50% 22%}
@media (hover:hover){
  .founders__pics .p1:hover,.founders__pics .p2:hover{border-radius:50%;scale:1.04;rotate:0deg;z-index:2}
  .founders__pics .p1:hover img,.founders__pics .p2:hover img{scale:1.08}
}
.founders__note{position:absolute;left:6%;top:14%;display:flex;align-items:flex-end;gap:var(--s-2);transform:rotate(-5deg)}
.founders__note svg{width:56px;height:40px;color:var(--forest);transform:scaleX(-1) rotate(-30deg)}
.founders__note path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 700ms var(--ease-out) 500ms}
.is-in .founders__note path{stroke-dashoffset:0}
.founders .prose{margin-top:var(--s-6)}
.founders .prose p{font-size:var(--t-lead);line-height:1.5}
.founders .link{display:inline-block;margin-top:var(--s-6);font-weight:600;font-size:var(--t-lead)}
.marked{position:relative;white-space:nowrap}
.marked svg{position:absolute;left:-12%;top:-22%;width:124%;height:150%;overflow:visible;pointer-events:none}
.marked path{fill:none;stroke:var(--lychee);stroke-width:3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 900ms var(--ease-out) 300ms}
.is-in .marked path{stroke-dashoffset:0}
@media (max-width:900px){.founders{grid-template-columns:1fr}.founders__pics{max-width:30rem}}
@media (prefers-reduced-motion:reduce){.marked path,.founders__note path{stroke-dashoffset:0}}

/* ---------- 6. The Rebuild (signature move): two examples in one pin (founders, 20 Nov 2026) ----------
   Each example runs on its own half of the pin: --q is its local progress (0 to 1 over half the pin).
   The old site breaks into four pieces, the new one opens through a circle, the caption holds, then
   the first example slides out as the second slides in. */
.rebuild .sc-stage,.rebuild__stage{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);padding:calc(64px + var(--s-6)) var(--gutter) var(--s-6);gap:var(--s-5)}
.rebuild__head{max-width:var(--content);width:100%;margin-inline:auto}
.rebuild__examples{display:grid;min-height:0;overflow:clip}
.rebuild__ex{grid-area:1/1;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:var(--s-5);min-height:0;
  --q:clamp(0, (var(--sc-p, 0) - var(--o, 0)) / var(--len, .5), 1)}
/* One after the other (founders, 21 Nov 2026): .40 to .56 the first moves up and out as the second rises from below, like scrolling down the page. */
.rebuild__examples{--t:clamp(0, (var(--sc-p, 0) - .40) / .16, 1)}
.rebuild__ex--1{transform:translateY(calc(var(--t) * -115svh))}
.rebuild__ex--2{transform:translateY(calc((1 - var(--t)) * 115svh))}
.rebuild__foot{max-width:var(--content);width:100%;margin-inline:auto;display:flex;justify-content:flex-end}
.rebuild__foot p{font:500 var(--t-h4)/1.3 var(--f-display);max-width:32ch;text-align:right}
.rebuild__frame{position:relative;align-self:center;justify-self:center;width:min(100%, var(--content), (100svh - 20rem) * 1.6);aspect-ratio:16/10}
.piece{position:absolute;overflow:hidden;left:calc(var(--l) * 1%);top:calc(var(--t) * 1%);width:calc(var(--w) * 1%);height:calc(var(--h) * 1%)}
.piece img{position:absolute;max-width:none;width:calc(10000% / var(--w));height:calc(10000% / var(--h));left:calc(var(--l) * -10000% / var(--w) / 100);top:calc(var(--t) * -10000% / var(--h) / 100)}
.piece--r1{--l:0;--t:0;--w:100;--h:11}
.piece--r2{--l:0;--t:11;--w:55;--h:62}
.piece--r3{--l:55;--t:11;--w:45;--h:62}
.piece--r4{--l:0;--t:73;--w:100;--h:27}
.rebuild__frame .piece:first-of-type,.rebuild__frame .piece--r1{border-radius:var(--r-card) var(--r-card) 0 0}
.piece--r4{border-radius:0 0 var(--r-card) var(--r-card)}
.before .piece{--k:clamp(0, (var(--q) - var(--a)) / .14, 1);
  transform:translate(calc(var(--k) * var(--dx)), calc(var(--k) * var(--dy))) rotate(calc(var(--k) * var(--r))) scale(calc(1 - var(--k) * .12));opacity:calc(1 - var(--k))}
.before .piece--r1{--a:.06;--dx:-26vw;--dy:8vh;--r:-4deg}
.before .piece--r2{--a:.10;--dx:-22vw;--dy:4vh;--r:-6deg}
.before .piece--r3{--a:.14;--dx:22vw;--dy:-4vh;--r:5deg}
.before .piece--r4{--a:.18;--dx:4vw;--dy:18vh;--r:3deg}
.after{position:absolute;inset:0;--k:clamp(0, (var(--q) - .16) / .30, 1);clip-path:circle(calc(var(--k) * 105%) at 50% 50%)}
.after img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:var(--r-card)}
/* Before and After tags: in-content pills (approved), so the visitor always knows which site is which */
.rebuild__tag{position:absolute;z-index:3;right:var(--s-5);bottom:calc(var(--s-5) + var(--tag-lift, 0px));padding:.6em 1.15em;border-radius:var(--r-pill);background:var(--forest);color:var(--porcelain);font:700 clamp(1rem,.9rem + .4vw,1.25rem)/1 var(--f-text);letter-spacing:.02em;box-shadow:0 6px 18px rgba(11,85,64,.28)} /* lower right, Forest, larger (founders, 26 Nov 2026: easier to read) */
.rebuild__tag--after{background:var(--mulberry)}
.rebuild__tag--before{opacity:calc(1 - clamp(0, (var(--q) - .08) / .06, 1))}
.rebuild__tag--after{opacity:clamp(0, (var(--q) - .40) / .06, 1)}
.rebuild__toggle{display:none}
/* Unpinned (phones, reduced motion, or a screen too short for the stage; site.js adds .is-flow): the two examples
   stack, each opens on the site we built, with its own Tap to Compare. */
.rebuild.is-flow .rebuild__stage{padding-top:var(--section);padding-bottom:var(--section)}
.rebuild.is-flow .rebuild__examples{gap:var(--s-9)}
.rebuild.is-flow .rebuild__ex{grid-area:auto;opacity:1;transform:none}
.rebuild.is-flow .rebuild__frame{width:min(100%, var(--content))}
.rebuild.is-flow .before .piece{transform:none;opacity:1}
.rebuild.is-flow .after{position:absolute;inset:0;clip-path:circle(110% at 50% 50%);transition:clip-path 900ms var(--ease-out)}
.rebuild.is-flow .rebuild__ex.is-before .after{clip-path:circle(0% at 50% 50%)}
.rebuild.is-flow .rebuild__tag--before{opacity:0} .rebuild.is-flow .rebuild__tag--after{opacity:1}
.rebuild.is-flow .rebuild__ex.is-before .rebuild__tag--before{opacity:1} .rebuild.is-flow .rebuild__ex.is-before .rebuild__tag--after{opacity:0}
.rebuild.is-flow .rebuild__foot{flex-direction:column;align-items:flex-start;gap:var(--s-4)}
.rebuild.is-flow .rebuild__foot p{text-align:left}
.rebuild.is-flow .rebuild__toggle{display:inline-flex}

/* ---------- 7. How we work ---------- */
.how{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:var(--s-8) var(--s-9)}
.how .t-lead{margin-top:var(--s-5)}
.figures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-6) var(--s-5);margin-top:var(--s-7)}
.figures dt{font:700 var(--t-h1)/1 var(--f-display);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.figures dd{margin:var(--s-2) 0 0;font-weight:500}
/* The steps play out as you scroll (founders, 21 Nov 2026): the left column holds still, a line fills down the numbers,
   each number fills as the line reaches it and its step brightens (--fill and .is-on from the script). */
.how{align-items:start}
@media (min-width:961px){.how > div:first-child{position:sticky;top:calc(64px + var(--s-7))}}
.steps{list-style:none;padding:0;margin:0;display:grid;gap:clamp(2rem,1.2rem + 2.4vw,3.5rem);counter-reset:step;position:relative}
.steps::before,.steps::after{content:"";position:absolute;left:calc(1.25rem - 1px);top:1.25rem;bottom:1.25rem;width:2px;border-radius:2px;background:rgba(11,85,64,.16)}
.steps::after{background:var(--mulberry);bottom:auto;height:calc((100% - 2.5rem) * var(--fill, 0))}
.steps li{display:grid;grid-template-columns:2.5rem 1fr;gap:var(--s-4);align-items:center;counter-increment:step;position:relative;z-index:1;
  opacity:.4;transform:translateX(10px);transition:opacity 500ms var(--ease-out),transform 500ms var(--ease-out)}
.steps li::before{content:counter(step);display:grid;place-items:center;width:2.5rem;aspect-ratio:1;border-radius:50%;font-weight:700;
  background:var(--sage);box-shadow:inset 0 0 0 1.5px var(--forest);transition:background-color 400ms,color 400ms,box-shadow 400ms} /* taste-skill-ignore: approved 1.5px outline */
.steps li.is-on{opacity:1;transform:none}
.steps li.is-on::before{background:var(--forest);color:var(--porcelain);box-shadow:0 0 0 6px var(--blush)}
@media (prefers-reduced-motion:reduce){.steps li{opacity:1;transform:none} .steps::after{height:calc(100% - 2.5rem)}}
.steps b{font-weight:700}
.how__after{margin-top:var(--s-6);display:grid;gap:var(--s-4);justify-items:start}
.how__after p{font-weight:600}
.how__after .link{font-weight:600}
@media (max-width:960px){.how{grid-template-columns:1fr}}
/* Homepage steps as numbered cards (founders, 26 Nov 2026: easier to read than the narrow list). The intro sits on top,
   the four figures in a row, then seven cards, four then three; each card brightens as you scroll to it (.is-on). */
.how--cards{grid-template-columns:minmax(0,1fr)}
.how--cards > div:first-child{position:static;max-width:none}
.how--cards .build__lines{right:auto;width:min(100%,40rem)} /* the circles are sized from this box: keep it heading-sized, not page-wide (26 Nov) */
.how--cards > div:first-child > :not(.build){position:relative;z-index:1} /* intro and figures always above the circles */
.how--cards .t-lead{max-width:40em}
@media (min-width:961px){.how--cards .figures{grid-template-columns:repeat(4,minmax(0,1fr))}}
.steps--cards{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s-5)}
@media (min-width:640px){.steps--cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.steps--cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
.steps--cards::before,.steps--cards::after{display:none}
.steps--cards li{display:flex;flex-direction:column;align-items:flex-start;gap:var(--s-3);background:var(--porcelain);border-radius:var(--r-card);
  padding:clamp(1.25rem,1rem + 1vw,2rem);opacity:.45;transform:translateY(14px)}
.steps--cards li::before{display:none}
.steps--cards li.is-on{opacity:1;transform:none;box-shadow:0 10px 30px rgba(11,85,64,.10)}
.step__num{font:800 clamp(2.5rem,2rem + 1.6vw,3.5rem)/1 var(--f-display);letter-spacing:-.03em;color:color-mix(in oklab,var(--forest) 30%,transparent);transition:color 400ms}
.steps--cards li.is-on .step__num{color:var(--mulberry)}
.step__title{font:700 var(--t-h4, 1.35rem)/1.2 var(--f-display);color:var(--forest);margin:0}
.steps--cards li p{margin:0;font-size:var(--t-body);line-height:1.5}
.steps--cards li .step__time{margin-top:auto;padding:.35em .8em;border-radius:var(--r-pill);background:var(--sage);font-weight:600;font-size:.95rem}
@media (prefers-reduced-motion:reduce){.steps--cards li{opacity:1;transform:none}}

/* ---------- 8. What clients say ---------- */
.quote{max-width:58rem;margin:0}
/* Review slider (founders, 21 Nov 2026): one review at a time, rotating every 7 s, pausing while read; the box eases to
   each review's height. */
.slider{margin-top:var(--s-7);max-width:58rem}
.slider__track{position:relative;transition:height 500ms var(--ease-out)}
.slide{position:absolute;inset:0 0 auto 0;opacity:0;visibility:hidden;transform:translateX(32px);
  transition:opacity 500ms var(--ease-out),transform 600ms var(--ease-out),visibility 0s 600ms}
.slide.is-current{position:relative;opacity:1;visibility:visible;transform:none;transition:opacity 600ms var(--ease-out) 150ms,transform 700ms var(--ease-out) 150ms}
.slide.is-leaving{transform:translateX(-32px)}
.slider .quote blockquote{font-size:clamp(1.15rem,.8rem + 1.25vw,2rem)}
@media (max-width:600px){.slider .quote blockquote{font-size:1.15rem;line-height:1.35}}
.slider__nav{display:flex;align-items:center;gap:var(--s-4);margin-top:var(--s-6)}
.slider__btn{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:transparent;color:var(--forest);cursor:pointer;
  box-shadow:inset 0 0 0 1.5px var(--forest);transition:background-color var(--d-ui),color var(--d-ui)} /* taste-skill-ignore: approved 1.5px outline */
.slider__btn:hover{background:var(--forest);color:var(--blush)}
.slider__btn svg{width:22px;height:22px}
.slider__dots{display:flex;gap:10px;align-items:center}
.slider__dot{width:10px;height:10px;padding:0;border:0;border-radius:var(--r-pill);background:rgba(11,85,64,.25);cursor:pointer;transition:width 400ms var(--ease-out),background-color 300ms}
.slider__dot[aria-current="true"]{width:32px;background:var(--mulberry)}
@media (prefers-reduced-motion:reduce){.slide,.slide.is-current{transition:none;transform:none}}
.quote blockquote{margin:0;font:500 var(--t-h3)/1.3 var(--f-display);text-wrap:pretty}
@media (max-width:600px){.quote blockquote{font-size:var(--t-h4)}}
.quote figcaption{margin-top:var(--s-6);font-weight:600;font-size:var(--t-lead)}
.quote figcaption span{display:block;font-weight:400;font-size:1rem;margin-top:var(--s-1)}
.rating{margin-top:var(--s-6);display:flex;align-items:center;gap:var(--s-3);font-weight:500}
.rating svg{width:120px;height:22px;color:var(--mulberry)}

/* ---------- 9. Book a Call close + footer ---------- */
.close{padding:var(--section) var(--gutter) var(--s-9)}
.close__name{font:800 min(var(--t-display), 11.5vw)/.95 var(--f-display);letter-spacing:-.03em;color:var(--blush);white-space:nowrap;text-align:center}
.close__grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--s-7) var(--s-8);margin-top:var(--s-8);align-items:start}
/* One centred column (founders, 26 Nov 2026): the heading in display type, the lead, Book a Call, then the calendar. */
.close__in{display:flex;flex-direction:column;align-items:center;text-align:center}
.close__title{font:800 clamp(2.5rem,1.4rem + 4.6vw,5.5rem)/1 var(--f-display);letter-spacing:-.03em;color:var(--blush);max-width:14ch;margin:0 auto;text-wrap:balance}
.close__in .t-lead{max-width:38em;margin-inline:auto}
.close__in .calendar{width:100%;max-width:56rem;margin-top:var(--s-8);text-align:left}
.close__in .calendar p{text-align:center}
.close .t-lead{color:var(--porcelain);margin-top:var(--s-5)}
.close .btn{margin-top:var(--s-6)}
.calendar{background:var(--porcelain);color:var(--forest);border-radius:var(--r-panel);padding:var(--s-5)}
.calendar p{font-weight:600;margin-bottom:var(--s-4)}
.calendar iframe{display:block;width:100%;height:640px;border:0;border-radius:var(--r-card);background:var(--porcelain)}
@media (max-width:960px){.close__grid{grid-template-columns:1fr}}
.footer{padding:0 var(--gutter) var(--s-7)}
.footer__in{max-width:var(--content);margin-inline:auto;padding-top:var(--s-8);display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:var(--s-7) var(--s-5)}
@media (max-width:900px){.footer__in{grid-template-columns:1fr 1fr}.footer__brand{grid-column:1/-1}}
.footer__brand img{width:200px}
.footer__brand p{margin-top:var(--s-5);font-size:var(--t-lead);line-height:1.45;color:var(--porcelain);max-width:24em}
.footer h3{font:600 1rem var(--f-text);color:var(--blush);margin-bottom:var(--s-4)}
.footer ul{list-style:none;padding:0;display:grid;gap:var(--s-3)}
.footer a,.footer li{color:var(--porcelain);text-decoration:none}
.footer a:hover{text-decoration:underline;text-decoration-color:var(--blush);text-underline-offset:.25em}
.footer__legal{max-width:var(--content);margin:var(--s-8) auto 0;display:flex;flex-wrap:wrap;gap:var(--s-3) var(--s-5);font-size:var(--t-small);color:var(--blush)}
.footer__legal a{color:var(--blush)}

/* Flow entrances: the engine's [data-sc-in] (rise and fade once). Phones and reduced motion keep content visible. */

/* ---------- Drifting circles on quiet sections (founders, 21 Nov 2026) ----------
   Added by the script to text-led sections (no pictures, video, forms or circles of their own): a few pale brand circles
   behind the content, more transparent than the homepage's, each drifting at its own speed as the page scrolls. */
.has-drift{position:relative;isolation:isolate;overflow:clip}
.drift{position:absolute;inset:0;z-index:-1;pointer-events:none}
.drift i{position:absolute;left:var(--x);top:var(--y);width:var(--d);aspect-ratio:1;border-radius:50%;background:var(--c);opacity:var(--o);
  transform:translate3d(0, calc(var(--dp, 0) * var(--s) * 1px), 0)}
.bg-blush .drift{--c1:var(--porcelain);--c2:var(--sage);--c3:var(--lychee)}
.bg-sage .drift{--c1:var(--porcelain);--c2:var(--blush);--c3:var(--leaf)}
.drift{--c1:var(--blush);--c2:var(--sage);--c3:var(--lychee)}
.bg-forest .drift{--c1:var(--leaf);--c2:var(--porcelain);--c3:var(--blush)}
.drift i:nth-child(1){--x:74%;--y:8%;--d:clamp(9rem,18vw,20rem);--c:var(--c1);--o:.55;--s:-120}
.drift i:nth-child(2){--x:88%;--y:58%;--d:clamp(4rem,7vw,8rem);--c:var(--c2);--o:.5;--s:90}
.drift i:nth-child(3){--x:62%;--y:70%;--d:1.1rem;--c:var(--c3);--o:.35;--s:-200}
.drift i:nth-child(4){--x:-4%;--y:80%;--d:clamp(5rem,9vw,10rem);--c:var(--c2);--o:.4;--s:140}
.drift i:nth-child(5){--x:94%;--y:20%;--d:.8rem;--c:var(--c3);--o:.3;--s:-260}
.bg-forest .drift i{--o:.12}
@media (max-width:700px){.drift i:nth-child(1){--x:60%;--y:-6%} .drift i:nth-child(4){display:none}}
@media (prefers-reduced-motion:reduce){.drift i{transform:none}}

/* ---------- Section drawings (founders, 22 Nov 2026: "too wordy ... graphics that help explain the paragraphs") ----------
   A faint line drawing of what the section says (build/r2/section_art.py), behind the content: at the right, or under
   the heading in split layouts (--l). Drawn in as the section arrives, then floats. */
section:has(> .sec-art){position:relative;isolation:isolate;overflow:clip}
section:has(> .sec-art) > :not(.sec-art):not(.drift){position:relative;z-index:1}
.sec-art{position:absolute;z-index:0;right:var(--edge);top:var(--section);height:min(42%,15rem);width:auto;max-width:34%;fill:none;
  stroke:var(--forest);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;opacity:.3;pointer-events:none;
  animation:art-float 9s ease-in-out infinite alternate}
.band--lg > .sec-art{top:var(--section-lg)}
/* Split layouts: in the space under the heading, on the left. */
.sec-art--l{right:auto;left:var(--edge);top:auto;bottom:var(--section);height:min(46%,16rem)}
.band--lg > .sec-art--l{bottom:var(--section-lg)}
.sec-art.sec-art--tr{left:auto;right:var(--edge)}
.bg-forest > .sec-art,.on-dark > .sec-art{stroke:var(--blush);opacity:.32}
@keyframes art-float{from{translate:0 0;rotate:-1deg}to{translate:0 -10px;rotate:1deg}}
.sec-art.js-draw > *{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1600ms var(--ease-out) calc(var(--i, 0) * 70ms)}
.sec-art.js-draw.is-drawn > *{stroke-dashoffset:0}
@media (max-width:860px){.sec-art,.sec-art--l{left:auto;right:var(--gutter);top:var(--s-6);bottom:auto;height:6.5rem;max-width:40%;opacity:.2}}
@media (prefers-reduced-motion:reduce){.sec-art{animation:none}}

/* ---------- World map on the About page's worldwide band (founders, 22 Nov 2026) ----------
   Dotted land (build/r2/make_world_map.py) at the right, faint; a pin on each country we have built for, whose ring
   grows and fades in turn. */
section:has(> .world-map){position:relative;isolation:isolate;overflow:clip}
section:has(> .world-map) > :not(.world-map):not(.drift){position:relative;z-index:1}
.world-map{position:absolute;z-index:0;right:var(--gutter);top:50%;translate:0 -50%;width:min(39%,46rem);pointer-events:none}
.world-map svg{display:block;width:100%;height:auto;overflow:visible}
.wm-land{fill:none;stroke:var(--blush);stroke-width:2.6;stroke-linecap:round;opacity:.26}
.wm-dot{fill:var(--lychee)}
.wm-ring{fill:none;stroke:var(--blush);stroke-width:1.6;transform-box:fill-box;transform-origin:center;opacity:0;
  animation:wm-ping 3.6s ease-out infinite;animation-delay:calc(var(--n) * .3s)}
@keyframes wm-ping{0%{scale:.3;opacity:.9}70%{opacity:0}100%{scale:2.4;opacity:0}}
@media (max-width:860px){section:has(> .world-map){padding-bottom:calc(var(--s-7) + 48vw)} .world-map{top:auto;bottom:var(--s-6);translate:none;right:-4%;width:108%}}
@media (prefers-reduced-motion:reduce){.wm-ring{animation:none;opacity:.5}}

/* Link to our Google Business Profile under the reviews (founders, 26 Nov 2026). */
.rating__more{margin-top:var(--s-3);font-weight:600}

/* The reviews figure shows five stars instead of a review count (founders, 26 Nov 2026). */
.figures__stars{color:var(--mulberry);line-height:1}
.figures__stars{min-height:var(--t-h1);display:flex;align-items:center}
.figures__stars svg{display:block;width:min(100%,13.5rem);height:auto}

/* Each reviewer's name opens their review on Google (founders, 26 Nov 2026). */
.quote figcaption a{color:inherit;text-decoration:none;transition:color var(--d-ui)}
.quote figcaption a:hover{color:var(--mulberry)}

/* ---------- Rachelle's homepage round (26 Nov 2026) ---------- */

/* Footer: the social links are a row of icons, no "Follow Along" heading. */
.footer ul.footer__social{display:flex;flex-wrap:wrap;gap:var(--s-3);margin-top:var(--s-6)}
.footer__social a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--porcelain);
  background:color-mix(in oklab,var(--porcelain) 14%,transparent);transition:background-color 200ms,color 200ms}
.footer__social a:hover,.footer__social a:focus-visible{background:var(--blush);color:var(--forest);text-decoration:none}
.footer__social svg{width:20px;height:20px}

/* Hero: the build video plays inside a desktop monitor (Rachelle, 26 Nov 2026: dark gray, a real monitor with a stand,
   below the menu). The monitor appears only after "Piece by Careful Piece" has gone (--scr, from the script, .24 to .27)
   and leaves as the video lands in the built page (.74 to .78); "And Now It's Live" has no frame. The monitor keeps a
   16:10 screen, as large as fits under the menu with room for the stand, centered. */
.hero{--scr-top:calc(64px + var(--s-7));--scr-side:max(var(--edge),16px);--scr-bottom:clamp(.75rem,3svh,2rem);
  --scr-bez:clamp(8px,.3rem + .45vw,14px);--scr-bar:clamp(24px,1.1rem + .5vw,34px);--stand:clamp(44px,8svh,96px);
  --scr-w:min(calc(100vw - 2 * var(--scr-side)), calc((100svh - var(--scr-top) - var(--stand) - var(--scr-bottom)) * 1.6))}
.hero__screen{position:absolute;z-index:4;left:50%;top:max(var(--scr-top), calc((100svh - var(--scr-w) * .625 - var(--stand)) / 2));
  width:var(--scr-w);aspect-ratio:16/10;translate:-50% 0;display:grid;grid-template-rows:var(--scr-bar) minmax(0,1fr);pointer-events:none;
  border:var(--scr-bez) solid #232528;border-radius:calc(var(--scr-bez) + 6px);background:var(--porcelain);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),0 0 0 1px #3a3d41,0 30px 50px -28px rgba(20,22,25,.55);opacity:var(--scr, 0)}
/* The stand: a neck and a base under the screen, in the same dark gray. */
.hero__screen::before,.hero__screen::after{content:"";position:absolute;left:50%;translate:-50% 0}
.hero__screen::before{top:calc(100% + var(--scr-bez));width:14%;height:calc(var(--stand) * .78);
  background:linear-gradient(90deg,#2a2c30,#45484d 50%,#2a2c30);clip-path:polygon(12% 0,88% 0,100% 100%,0 100%)}
.hero__screen::after{top:calc(100% + var(--scr-bez) + var(--stand) * .78 - 2px);width:30%;height:calc(var(--stand) * .16);
  border-radius:6px 6px 10px 10px;background:linear-gradient(#4a4d52,#26282b);box-shadow:0 10px 18px -8px rgba(20,22,25,.5)}
.hero__screen-bar{display:flex;align-items:center;gap:6px;padding:0 clamp(8px,.4rem + .4vw,14px);border-radius:6px 6px 0 0;
  background:#ecebe8;border-bottom:1px solid #dcdad5}
.hero__screen-bar i{width:clamp(7px,.35rem + .15vw,10px);aspect-ratio:1;border-radius:50%;background:#ff6058}
.hero__screen-bar i:nth-child(2){background:#ffbd2e} .hero__screen-bar i:nth-child(3){background:#28c840}
.hero__screen-bar span{flex:0 1 22rem;height:58%;margin-inline:auto;border-radius:var(--r-pill);background:#fff}
.hero__screen-view{border-radius:0 0 6px 6px}
@media (max-width:860px){.hero{--scr-side:12px;--scr-bez:6px;--scr-bar:20px;--stand:36px}}
.hero--still .hero__screen{display:none}
/* The opening Book a Call leaves with the opening caption (Rachelle, 26 Nov 2026). */
.hero__card[data-pos="1"] .hero__actions,.hero__card[data-pos="2"] .hero__actions{opacity:calc(1 - var(--io, 0));transition:opacity 200ms}
.hero__card[data-pos="2"] .hero__actions{opacity:0;visibility:hidden}
/* The hero reads as one sentence (Rachelle, 26 Nov 2026): "We build your website… piece by careful piece… and now it's live!"
   The text under the headline and Book a Call sit a little in from the edge, in line with the W's stem, not its open left
   side; the middle caption is centered on the screen; "and now it's live!" is smaller. */
.hero__card[data-pos="1"] .hero__cap--lead ~ p,.hero__card .hero__actions{margin-left:clamp(.75rem,.2rem + 1.8vw,2.25rem)}
.hero__caps > :nth-child(2){width:calc(100vw - 2 * var(--edge));text-align:center}
.hero__caps > :nth-child(2) .hero__cap{text-align:center}
.hero__cap .cap-accent{color:var(--mulberry)} /* "careful" in pink, like "website" (Rachelle, 26 Nov 2026) */
.hero .site__title p{font-size:clamp(2.5rem,min(1rem + 5.3vw,9.4svh),7.5rem)} /* the same size as "… piece by careful piece …" (Rachelle, 26 Nov 2026) */
@media (max-width:860px){.hero .site__title p{font-size:clamp(2.25rem,1.3rem + 4vw,3.25rem)} .hero__caps > :nth-child(2){width:calc(100vw - 2 * var(--gutter))}}
@media (min-width:861px){.hero .site__title p{white-space:nowrap} .hero .site__title .site__line{display:inline-block} .hero .site__title .site__line + .site__line{margin-left:.28em}} /* "… and now it's live!" on one line on desktop (Rachelle, 26 Nov 2026) */

/* Before and after: each example opens on the old site with a large "Before" watermark and the before note; the
   watermark fades, the old site scrolls inside the frame, then the new site opens through a circle with the After tag
   and the after note, and scrolls too. --q is the example's own progress (0 to 1). */
.rebuild__frame{overflow:hidden;border-radius:var(--r-card);width:min(100%, var(--content), (100svh - 25rem) * 1.6)}
.before__scroll,.after__scroll{position:absolute;inset:0;overflow:hidden;border-radius:var(--r-card);container-type:size;background:var(--porcelain)}
.before__scroll img,.after__scroll img{display:block;width:100%;height:auto;max-width:none;object-fit:initial}
.before__scroll img{translate:0 calc(clamp(0, (var(--q) - .33) / .15, 1) * (100cqh - 100%))} /* holds on the hero after the watermark fades (Rachelle, 26 Nov 2026) */
.after{--k:clamp(0, (var(--q) - .50) / .14, 1)}
.after__scroll img{translate:0 calc(clamp(0, (var(--q) - .76) / .20, 1) * (100cqh - 100%))} /* holds on the new hero after it opens */
.rebuild__mark{position:absolute;inset:0;z-index:2;display:grid;place-items:center;pointer-events:none;border-radius:var(--r-card);
  background:color-mix(in oklab,var(--forest) 34%,transparent);color:var(--porcelain);
  font:800 clamp(4rem,1.5rem + 9vw,11rem)/1 var(--f-display);letter-spacing:-.035em;text-shadow:0 6px 40px rgba(11,85,64,.5);
  opacity:calc(clamp(0, (var(--q) - .005) / .05, 1) * (1 - clamp(0, (var(--q) - .15) / .07, 1)))}
.rebuild__tag--before{opacity:calc(1 - clamp(0, (var(--q) - .48) / .04, 1))}
.rebuild__tag--after{opacity:clamp(0, (var(--q) - .60) / .05, 1)}
.rebuild__foot{justify-content:space-between;align-items:flex-start;gap:var(--s-5)}
.rebuild__notes{display:grid;max-width:46ch;text-align:right;margin-left:auto}
.rebuild__notes .rebuild__name{text-align:right;max-width:none;font:700 var(--t-body)/1.3 var(--f-text);letter-spacing:.02em;margin:0 0 var(--s-2)}
.rebuild__notes .rebuild__note{grid-area:2/1;margin:0;font:500 clamp(1.125rem,1rem + .5vw,1.5rem)/1.3 var(--f-display);max-width:none;text-align:right}
.rebuild__note b{font-weight:800}
.rebuild__note--before b{color:var(--forest)} .rebuild__note--after b{color:var(--mulberry)}
.rebuild__note--before{opacity:calc(1 - clamp(0, (var(--q) - .50) / .05, 1))}
.rebuild__note--after{opacity:clamp(0, (var(--q) - .56) / .05, 1)}
/* Side by side on desktop (Rachelle, 26 Nov 2026): the screenshot on the left, as large as the screen allows, the name and
   the before and after notes on the right; the heading sits clear of the menu; the watermark is sized to the frame. */
.rebuild__frame{container-type:inline-size}
.rebuild__mark{font-size:min(11rem,20cqi)}
.rebuild:not(.is-flow) .rebuild__stage{padding-top:calc(64px + var(--s-8))}
.rebuild:not(.is-flow) .rebuild__examples{width:100%;max-width:var(--content);margin-inline:auto}
.rebuild:not(.is-flow) .rebuild__ex{grid-template-columns:minmax(0,1fr) minmax(15rem,21rem);grid-template-rows:minmax(0,1fr);align-items:center;gap:var(--s-7)}
.rebuild:not(.is-flow) .rebuild__frame{justify-self:start;width:min(100%, (100svh - 17rem) * 1.6)}
.rebuild:not(.is-flow) .rebuild__foot{display:block;max-width:none;margin:0}
.rebuild:not(.is-flow) .rebuild__notes,.rebuild:not(.is-flow) .rebuild__notes .rebuild__name,.rebuild:not(.is-flow) .rebuild__notes .rebuild__note{text-align:left;margin-left:0;max-width:none}
.rebuild:not(.is-flow) .rebuild__notes .rebuild__name{margin-bottom:var(--s-4)}
.rebuild:not(.is-flow) .rebuild__notes .rebuild__note{font-size:clamp(1.25rem,.9rem + .9vw,1.85rem)}
/* Unpinned (phones, short screens): the frame opens on the new site; Tap to Compare shows the old one with its watermark
   and note. Nothing scrolls inside the frame. */
.rebuild.is-flow .before__scroll img,.rebuild.is-flow .after__scroll img{translate:none}
.rebuild.is-flow .rebuild__mark{opacity:0;transition:opacity 500ms}
.rebuild.is-flow .rebuild__ex.is-before .rebuild__mark{opacity:1}
.rebuild.is-flow .rebuild__notes,.rebuild.is-flow .rebuild__notes .rebuild__note,.rebuild.is-flow .rebuild__notes .rebuild__name{text-align:left;margin-left:0}
.rebuild.is-flow .rebuild__note--before{opacity:0} .rebuild.is-flow .rebuild__note--after{opacity:1}
.rebuild.is-flow .rebuild__ex.is-before .rebuild__note--before{opacity:1} .rebuild.is-flow .rebuild__ex.is-before .rebuild__note--after{opacity:0}

/* Here's Exactly What Happens: one step at a time. The intro holds still on the left (desktop) while the seven cards pass
   in one column on the right, each brightening as it reaches the reading line, so every step gets read. */
.steps--cards.steps--one{grid-template-columns:minmax(0,1fr);gap:var(--s-5)}
.steps--one li{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:var(--s-5);row-gap:var(--s-2);align-items:start}
.steps--one .step__num{grid-row:1/span 3;min-width:2.2ch}
.steps--one li .step__time{margin-top:var(--s-2);justify-self:start}

/* The credibility figures sit with the reviews now, not the steps (Rachelle, 26 Nov 2026). */
.figures--say{margin:var(--s-6) 0 var(--s-7)}
@media (min-width:640px){.figures--say{grid-template-columns:repeat(3,minmax(0,1fr));max-width:48rem}}

/* Booking calendar (Rachelle, 26 Nov 2026): GHL's embed script (form_embed.js, right after the frame, as on
   /schedule-a-call/) sizes it to full height on phones; on desktop it keeps the 640px frame (height:auto left the frame
   empty on desktop, so it was undone the same night). */
/* On desktop GHL's script sets a height that is too small, so the frame keeps a minimum, as .form-panel iframe does on
   /schedule-a-call/ (min-height wins over the script's inline height; a taller one from the script still grows it). */
@media (min-width:861px){.calendar iframe{min-height:760px}}

/* ---------- Rachelle's mobile round (26 Nov 2026) ---------- */
/* Hero on phones: "… piece by careful piece …" near the top, the monitor with the build below it, on one screen. */
@media (max-width:860px){
  /* Rachelle, 26 Nov 2026: the caption and the monitor sit close together as one group, centered on the screen. */
  .hero{--cap2-top:max(88px, calc((100svh - 31rem) / 2))}
  .hero__card[data-pos="2"]{transform:translateY(var(--cap2-top))}
  .hero__screen{top:calc(var(--cap2-top) + 13rem)} /* room for three lines of the caption at any phone width */
  /* First screen: the headline block a little lower and the GAP Support shot higher, so they read together. */
  .hero__card[data-pos="1"]{transform:translateY(max(16svh, 110px))}
  .hero__shot--1{--y:calc(max(16svh, 110px) + 27.5rem)} /* under Book a Call with room, whatever the phone's height */
  /* The built page: only the big Sykes-Tech panel on phones (the two small ones were cramped in two columns). */
  .site__col{display:none}
  .site__row{grid-template-rows:minmax(0,1fr)}
}
/* Work rail on phones: a vertical list of cards, no sideways pan. */
.work.is-flow .rail{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s-7);padding:var(--section) var(--gutter)}
.work.is-flow .rail > *,.work.is-flow .project,.work.is-flow .rail__lead,.work.is-flow .rail__end{width:auto}
/* Founders on phones: eyebrow, heading, then the photos, then the paragraphs and the link. */
@media (max-width:900px){
  .founders{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .founders > :last-child{display:contents}
  .founders > :last-child > .eyebrow{order:1}
  .founders > :last-child > h2{order:2}
  .founders__pics{order:3;margin:var(--s-6) auto 0}
  .founders > :last-child > .prose{order:4}
  .founders > :last-child > .link{order:5;align-self:flex-start}
}
/* Before and after on phones: the picture is tappable too. */
.rebuild.is-flow .rebuild__frame{cursor:pointer;-webkit-tap-highlight-color:transparent}

/* Reviews with the client's website (Rachelle, 26 Nov 2026): each review shows a small browser-window mockup of the site
   we built for that client, on the right on desktop and above the quote on phones; it links to the project page. */
.slider:has(.quote__site){max-width:var(--content)}
.quote:has(.quote__site){display:grid;grid-template-columns:minmax(0,1fr) minmax(13rem,22rem);column-gap:var(--s-8);align-items:center;max-width:none}
.quote:has(.quote__site) > :not(.quote__site){grid-column:1}
.quote__site{grid-column:2;grid-row:1 / span 2;display:block;border-radius:var(--r-card);overflow:hidden;background:#fff;
  box-shadow:0 22px 44px -22px rgba(11,85,64,.45);rotate:2deg;transition:rotate 400ms var(--ease-out),scale 400ms var(--ease-out)}
.quote__site:hover{rotate:0deg;scale:1.03}
.quote__bar{display:flex;gap:5px;padding:8px 10px;background:#ecebe8}
.quote__bar i{width:7px;aspect-ratio:1;border-radius:50%;background:#ff6058}
.quote__bar i:nth-child(2){background:#ffbd2e} .quote__bar i:nth-child(3){background:#28c840}
.quote__site img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top}
@media (max-width:760px){
  .quote:has(.quote__site){grid-template-columns:minmax(0,1fr)}
  .quote__site{grid-column:1;grid-row:1;width:min(90%,21rem);margin-bottom:var(--s-7);rotate:-1.5deg;box-shadow:0 12px 22px -14px rgba(11,85,64,.45)} /* bigger, with room under it (Rachelle, 26 Nov 2026) */
  .quote:has(.quote__site) > :not(.quote__site){grid-row:auto}
  .slider__track{overflow-x:clip} /* the waiting slides sit 32px to the side; never past the phone's edge */
}
