/* Homepage, UI/UX audit from Communication Crafts, 6 Nov 2026 (task 022, r-n5cnzt).
   Loaded last and only on the homepage (head.php loads page-<template>.css), and every rule is scoped to
   .pg-home, so removing this file puts the old look back. Numbers in comments are the audit's sections. */

/* ---------- shared: one size for every mid-page closer (overall: "every section's CTA has different font sizes") ---------- */
.pg-home .sec-cta{gap:14px 28px}
.pg-home .sec-cta .strip-line{font:500 clamp(1.1rem,1.5vw,1.25rem)/1.35 var(--font-head);letter-spacing:-.015em;color:var(--ink);max-width:46ch}
.pg-home .dark .sec-cta .strip-line,.pg-home .band .sec-cta .strip-line{color:#fff}
.pg-home .sec-link,.pg-home .hero-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font:600 1rem/1.2 var(--font-body);color:var(--ink);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px;text-decoration-color:rgba(17,18,20,.32);white-space:nowrap}
.pg-home .sec-link:hover,.pg-home .hero-link:hover{text-decoration-color:currentColor}
.pg-home .sec-link .ic,.pg-home .hero-link .ic{width:16px;height:16px;transition:transform .18s}
.pg-home .sec-link:hover .ic,.pg-home .hero-link:hover .ic{transform:translateX(3px)}
.pg-home .dark .sec-link,.pg-home .band .sec-link{color:#fff;text-decoration-color:rgba(255,255,255,.42)}
/* One heading size for every section heading (overall: consistent typography levels). */
.pg-home .cs-head h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.05}

/* ---------- 2. hero: centred, switch > headline > copy > one button > a larger preview ---------- */
.pg-home .hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"tabs" "copy" "vis";row-gap:0;justify-items:center;text-align:center}
.pg-home .hv-tabs{margin:0 auto 24px;align-self:auto;border-radius:16px}
.pg-home .hv-tab{flex-direction:column;row-gap:2px;min-height:48px;padding:6px 20px;border-radius:12px;font-size:.78rem;line-height:1.2}
.pg-home .hv-tab strong{font-size:.95rem}
.pg-home .hero-copy{display:flex;flex-direction:column;align-items:center;width:100%;max-width:920px}
.pg-home .hero-copy h1{max-width:21ch;margin-inline:auto;font-size:clamp(2.1rem,3.4vw,3.1rem)}
.pg-home .hero-sub{margin-top:18px;margin-inline:auto;max-width:62ch;font-size:clamp(1rem,1.1vw,1.05rem)}
.pg-home .hero-copy div.hx{width:100%;margin-top:24px}
.pg-home .hero-ctas{justify-content:center;align-items:center;gap:12px 28px}
.pg-home .hero-vis{width:100%;max-width:1060px;margin-top:clamp(36px,4vw,52px);text-align:left}
/* Site owners: a browser window kept compact (11 Nov: made smaller on request), with its four examples above it where they read as part of the demo. */
.pg-home .hero .hv-panel-site .wgd{width:100%;max-width:760px;display:flex;flex-direction:column}
.pg-home .hero .wgd .hero-demo.hero-demo--desktop{font-size:min(14.6px,calc(100cqw / 64.4))}
.pg-home .hero .wgd-controls{order:-1;margin:0 0 18px;gap:8px}
.pg-home .hero .wgd-pause,.pg-home .hero .wgd-scene{min-height:44px;padding:0 16px;font-size:.88rem}
.pg-home .hero .wgd-scene:not(.is-active){background:#fff;color:var(--ink)}
/* Agencies: the agent tree drawn about a fifth larger, so its labels can be read. */
@media (min-width:1100px){.pg-home .hero .orc{zoom:1.2}}
@media (max-width:520px){.pg-home .hv-tab{padding:8px 14px}}

/* ---------- 3. two products: a switch, one card at a time ---------- */
.pg-home .both-top{margin-top:14px;max-width:62ch;font-size:clamp(1.02rem,1.3vw,1.14rem);line-height:1.5;color:var(--ink)}
.pg-home #products .sec-head{margin-bottom:clamp(24px,3vw,36px)}
.pg-home .pt-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:780px;margin:0 0 20px;padding:6px;border:1px solid var(--line-2);border-radius:20px;background:var(--canvas)}
.pg-home .pt-tab{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:66px;padding:12px 20px;border:0;border-radius:14px;background:transparent;text-align:left;cursor:pointer;color:var(--muted);font:500 .9rem/1.3 var(--font-body)}
.pg-home .pt-tab strong{font:600 1.1rem/1.2 var(--font-head);letter-spacing:-.015em;color:var(--ink)}
/* Switch speed 6 Nov (task 024): as in the hero, only the hover tint fades; a click changes the fill at once. */
.pg-home .pt-tab:hover{background:rgba(17,18,20,.05)}
.pg-home .pt-tab:not([aria-selected="true"]):hover{transition:background-color .15s}
.pg-home .pt-tab[aria-selected="true"],.pg-home .pt-tab[aria-selected="true"]:hover{background:#0B0C10;color:rgba(255,255,255,.76)}
.pg-home .pt-tab[aria-selected="true"] strong{color:#fff}
.pg-home .pt-tab:focus-visible{outline:3px solid #1A5F7A;outline-offset:3px}
.pg-home #products .two>[hidden]{display:none}
.pg-home #products .prod-vis{min-height:460px}
@media (max-width:640px){.pg-home .pt-tab{padding:10px 14px}.pg-home .pt-tab strong{font-size:1rem}}

/* ---------- 4. watch a client job run: bigger brief tabs; one swipeable row on phones ---------- */
.pg-home .run-pick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}
.pg-home .run-chip{gap:6px;min-height:76px;padding:16px 20px;border-radius:16px}
.pg-home .run-chip strong{gap:10px;font-size:1.1rem}
.pg-home .rc-task{font-size:.95rem;line-height:1.35}
.pg-home .run-logo{height:24px}
.pg-home .run-logo--magento{width:17px}
.pg-home .run-logo--wordpress{width:24px;height:24px;background-size:141.2px 48px;background-position:-11.93px -11.93px}
.pg-home .run-logo--woo{width:46px;height:14px}
@media (max-width:760px){
  /* 11 Nov 2026: stacked, not a swipeable row. The row ran 470px past the screen and on iPhone the page panned with it. */
  .pg-home .run-pick{grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:18px}
  .pg-home .run-chip{gap:4px;min-height:60px;padding:10px 16px}
  .pg-home .run-glow{width:100%}
}

/* ---------- 5. customer stories on a light background ---------- */
.pg-home .cs-band{background:#fff;color:var(--ink)}
.pg-home .run-sec + .cs-band{padding:clamp(72px,9vw,120px) 0}
.pg-home .run-sec + .cs-band>.wrap{border-top:0;padding-top:0}
.pg-home .cs-head{margin-bottom:clamp(28px,3.5vw,40px)}
.pg-home .cs-head h2{color:var(--ink)}
.pg-home .cs-head h2 span{color:var(--blue-ink)}
.pg-home .cs-all{color:var(--ink);text-decoration-color:rgba(17,18,20,.32)}
.pg-home .cs-all:hover{text-decoration-color:var(--ink)}
.pg-home .cs-band :focus-visible{outline-color:#1A5F7A}
.pg-home .cs-tile{box-shadow:0 22px 50px -30px rgba(17,18,20,.45)}
.pg-home .cs-logo{min-height:72px;padding-top:18px}
.pg-home .cs-logo img{filter:brightness(0);opacity:.72;max-height:34px}

/* ---------- 6. agency growth: no unrelated art, each video inside the card it answers ---------- */
.pg-home .pain{min-height:0;padding:28px 28px 24px}
.pg-home .pain h3{max-width:22ch}
.pg-home .vrow-card.vlink{display:inline-flex;align-items:center;align-self:flex-start;gap:10px;aspect-ratio:auto;min-height:44px;margin-top:16px;padding:0 16px 0 6px;border:1px solid var(--line-2);border-radius:999px;background:#fff;overflow:visible;color:var(--ink);font:600 .9rem/1 var(--font-body);text-decoration:none;transition:border-color .18s,background-color .18s}
.pg-home .vlink-play{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:#0B0C10;color:#fff}
.pg-home .vlink-play .ic{width:14px;height:14px;margin-left:2px}
.pg-home .vlink-t{font:500 .8rem/1 var(--mono);color:var(--muted)}
.pg-home .vrow-card.vlink:hover{border-color:var(--ink)}
.pg-home .vrow-card.vlink:hover .vlink-play{background:var(--blue);color:#0B0C10}
.pg-home .vrow-card.vlink:focus-visible{outline:3px solid #1A5F7A;outline-offset:3px}

/* ---------- 7. workflow: small animations as each step comes into view (only if motion is allowed) ---------- */
.pg-home .hw{transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s}
.pg-home .hw:hover{transform:translateY(-3px);box-shadow:0 26px 50px -34px rgba(17,18,20,.4)}
@media (prefers-reduced-motion:no-preference){
  .js .pg-home .hw.rv .fb-bubble,.js .pg-home .hw.rv .fb-att,.js .pg-home .hw.rv .fr-plan p,.js .pg-home .hw.rv .fr-approve p,
  .js .pg-home .hw.rv .fr-proof img,.js .pg-home .hw.rv .fr-proof p,.js .pg-home .hw.rv .fr-learn p{opacity:0;transform:translateY(8px)}
  .js .pg-home .hw.rv .fa-cur{opacity:0;transform:translate(34px,30px)}
  .js .pg-home .hw.rv-in .fb-bubble,.js .pg-home .hw.rv-in .fb-att,.js .pg-home .hw.rv-in .fr-plan p,.js .pg-home .hw.rv-in .fr-approve p,
  .js .pg-home .hw.rv-in .fr-proof img,.js .pg-home .hw.rv-in .fr-proof p,.js .pg-home .hw.rv-in .fr-learn p,.js .pg-home .hw.rv-in .fa-cur{opacity:1;transform:none;transition:opacity .45s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
  .js .pg-home .hw.rv-in .fb-bubble{transition-delay:.25s}
  .js .pg-home .hw.rv-in .fb-att{transition-delay:.6s}
  .js .pg-home .hw.rv-in .fr-plan p:nth-child(1){transition-delay:.3s}
  .js .pg-home .hw.rv-in .fr-plan p:nth-child(2){transition-delay:.5s}
  .js .pg-home .hw.rv-in .fr-plan p:nth-child(3){transition-delay:.7s}
  .js .pg-home .hw.rv-in .fr-plan p:nth-child(4){transition-delay:.9s}
  .js .pg-home .hw.rv-in .fr-plan p:nth-child(5){transition-delay:1.1s}
  .js .pg-home .hw.rv-in .fa-cur{transition-delay:.5s;transition-duration:.45s,.9s}
  .js .pg-home .hw.rv-in .fr-approve p{transition-delay:1.2s}
  .js .pg-home .hw.rv-in .fr-proof img{transition-delay:.3s}
  .js .pg-home .hw.rv-in .fr-proof p{transition-delay:.7s}
  .js .pg-home .hw.rv-in .fr-learn p:nth-child(1){transition-delay:.3s}
  .js .pg-home .hw.rv-in .fr-learn p:nth-child(2){transition-delay:.6s}
  .js .pg-home .hw.rv-in .fr-learn p:nth-child(3){transition-delay:.9s}
}
@media (prefers-reduced-motion:reduce){.pg-home .hw,.pg-home .hw:hover{transition:none;transform:none}}

/* ---------- 8. set up: four numbered steps joined by one line ---------- */
.pg-home #start .steps4.flow4{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:clamp(30px,3.6vw,48px) clamp(22px,3vw,40px)}
.pg-home #start .flow4 li{position:relative;padding:0 26px 0 0;background:none;border:0;border-radius:0;-webkit-backdrop-filter:none;backdrop-filter:none}
.pg-home .s4-n{position:relative;z-index:1;display:grid;place-items:center;width:44px;height:44px;margin-bottom:20px;border-radius:50%;background:#0B0C10;color:#fff;font:600 1rem/1 var(--font-body)}
.pg-home #start .flow4 li:not(:last-child)::after{content:"";position:absolute;top:21px;left:56px;right:12px;height:2px;border-radius:1px;background:rgba(17,18,20,.28)}
.pg-home #start .flow4 h3{font-size:1.2rem}
.pg-home #start .flow4 p{color:var(--ink-2,#3A3D44)}
@media (max-width:980px){
  .pg-home #start .steps4.flow4{grid-template-columns:minmax(0,1fr);row-gap:28px}
  .pg-home #start .flow4 li{padding:0 0 0 64px;min-height:44px}
  .pg-home .s4-n{position:absolute;left:0;top:0;margin:0}
  .pg-home #start .flow4 h3{padding-top:10px}
  .pg-home #start .flow4 li:not(:last-child)::after{top:52px;left:21px;right:auto;bottom:-20px;width:2px;height:auto}
}

/* ---------- 9. platforms: the same mark size for every logo, and a light lift on hover ---------- */
.pg-home .ptable li{transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s,border-color .25s}
.pg-home .ptable li:hover{transform:translateY(-2px);border-color:var(--line-2);box-shadow:0 20px 44px -30px rgba(17,18,20,.4)}
.pg-home .mark{height:34px;margin-bottom:16px}
.pg-home .mark img,.pg-home .mark img[src*="wordpress"],.pg-home .mark img[src*="magento"]{height:28px;max-width:112px;opacity:.82}
.pg-home .mark img[src*="woocommerce"]{height:20px}
.pg-home .mark .ic{width:28px;height:28px;color:var(--ink)}
@media (prefers-reduced-motion:reduce){.pg-home .ptable li,.pg-home .ptable li:hover{transition:none;transform:none}}

/* ---------- 9. services: one gradient for all six cards, plain icons, a quieter hover ---------- */
.pg-home .sv .sv-fx{height:120px;background:radial-gradient(80% 120% at 0% 0%,#C9EEFB,transparent 70%),radial-gradient(80% 120% at 100% 0%,#F0D6F1,transparent 70%)}
.pg-home .svc .ico{width:auto;height:auto;margin-bottom:16px;place-items:start;background:none;box-shadow:none;border-radius:0}
.pg-home .svc .ico .ic{width:30px;height:30px;stroke-width:1.6;color:var(--ink)}
.pg-home .sv{transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .25s,border-color .25s}
.pg-home .sv:hover{transform:translateY(-3px)}
.pg-home .sv:hover .sv-fx{height:150px}
@media (prefers-reduced-motion:reduce){.pg-home .sv,.pg-home .sv:hover{transition:none;transform:none}}

/* ---------- 10. learns overnight: a labelled timeline instead of the curve, larger numbers ---------- */
.pg-home .ntl{margin-top:clamp(8px,2vw,20px)}
.pg-home .ntl-cap{text-align:center;font:600 1rem/1.3 var(--font-body);color:#fff}
.pg-home .ntl-steps{position:relative;margin-top:28px}
.pg-home .ntl-steps::before{content:"";position:absolute;left:12.5%;right:12.5%;top:19px;height:2px;border-radius:1px;background:linear-gradient(90deg,#A0E1F7 0%,#E7B8E8 62%,#F9D58A 100%)}
.pg-home .ntl-steps>li>.ic{position:relative;z-index:1;display:block;box-sizing:border-box;width:40px;height:40px;margin:0 auto 16px;padding:9px;border:1px solid rgba(255,255,255,.34);border-radius:50%;background:#0A0D14;color:#fff}
.pg-home .ntl-steps h3{font-size:1.15rem}
.pg-home .ntl-steps .t{display:block;margin-bottom:4px;font:500 clamp(1.5rem,2.2vw,1.9rem)/1.1 var(--font-head);letter-spacing:-.02em}
.pg-home .ntl-steps p{color:rgba(255,255,255,.78)}
.pg-home .inherit-nums{gap:clamp(24px,3.4vw,48px)}
.pg-home .inherit-nums b{font-size:clamp(2.8rem,5vw,4.4rem);color:var(--blue)}
.pg-home .inherit-nums span{font-size:.95rem;color:rgba(255,255,255,.8);max-width:11ch}
@media (max-width:900px){
  .pg-home .ntl-steps{grid-template-columns:minmax(0,1fr);gap:26px;text-align:left}
  .pg-home .ntl-steps::before{left:19px;right:auto;top:20px;bottom:20px;width:2px;height:auto;background:linear-gradient(180deg,#A0E1F7 0%,#E7B8E8 62%,#F9D58A 100%)}
  .pg-home .ntl-steps>li{position:relative;padding-left:60px}
  .pg-home .ntl-steps>li>.ic{position:absolute;left:0;top:0;margin:0}
  .pg-home .ntl-steps p{margin-left:0}
  .pg-home .ntl-cap{text-align:left}
}

/* ---------- 12. safety: larger icons without boxes, six promises in an even grid ---------- */
.pg-home .sgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(24px,3.2vw,48px)}
.pg-home .sgrid li,.pg-home .sgrid li:last-child{flex-direction:column;gap:14px;padding:28px 0 30px;border-top:1px solid var(--line-2);border-bottom:0}
.pg-home .sgrid .ico{width:auto;height:auto;margin:0;place-items:start;background:none;border:0;border-radius:0}
.pg-home .sgrid .ico .ic{width:30px;height:30px;stroke-width:1.5;color:var(--ink)}
.pg-home .sgrid h3{font-size:1.15rem}
@media (max-width:980px){.pg-home .sgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.pg-home .sgrid{grid-template-columns:minmax(0,1fr)}}

/* ---------- 13. FAQ: open one question at a time ---------- */
.pg-home .faq2{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,5vw,80px);align-items:start}
.pg-home .faq2-head h2{max-width:14ch}
.pg-home .faq2-head .lede{max-width:34ch}
.pg-home .faq2-head .sec-link{margin-top:14px}
.pg-home .acc{border-top:1px solid var(--line-2)}
.pg-home .acc-i{border-bottom:1px solid var(--line-2)}
.pg-home .acc-i summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;padding:16px 4px 16px 0;cursor:pointer;list-style:none}
.pg-home .acc-i summary::-webkit-details-marker{display:none}
.pg-home .acc-i h3{font:600 clamp(1.05rem,1.4vw,1.18rem)/1.3 var(--font-head);letter-spacing:-.015em;color:var(--ink)}
.pg-home .acc-i summary .ic{flex:none;width:20px;height:20px;color:var(--ink);transition:transform .2s}
.pg-home .acc-i[open] summary .ic{transform:rotate(180deg)}
.pg-home .acc-i summary:hover h3{text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(17,18,20,.3)}
.pg-home .acc-i summary:focus-visible{outline:3px solid #1A5F7A;outline-offset:4px;border-radius:4px}
.pg-home .acc-i p{padding:0 0 24px;max-width:62ch;color:var(--muted);line-height:1.6}
@media (max-width:900px){.pg-home .faq2{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){.pg-home .acc-i summary .ic{transition:none}}

/* ---------- 14. final call to action: a faint client board behind the headline ---------- */
.pg-home .final-fx .fboard{position:absolute;left:50%;top:50%;display:grid;grid-template-columns:repeat(6,200px);gap:18px;transform:translate(-50%,-50%) rotate(-5deg);opacity:.75;
  -webkit-mask-image:radial-gradient(62% 70% at 50% 50%,rgba(0,0,0,.08) 0%,rgba(0,0,0,.08) 34%,#000 72%,transparent 100%);mask-image:radial-gradient(62% 70% at 50% 50%,rgba(0,0,0,.08) 0%,rgba(0,0,0,.08) 34%,#000 72%,transparent 100%)}
.pg-home .fb-col{display:flex;flex-direction:column;gap:14px}
.pg-home .fb-card{display:block;height:84px;border:1px solid rgba(255,255,255,.12);border-radius:14px;
  background:linear-gradient(rgba(255,255,255,.26),rgba(255,255,255,.26)) 16px 18px/58% 7px no-repeat,linear-gradient(rgba(255,255,255,.13),rgba(255,255,255,.13)) 16px 34px/38% 7px no-repeat,rgba(255,255,255,.04)}
.pg-home .fb-card.is-done{background:linear-gradient(rgba(255,255,255,.26),rgba(255,255,255,.26)) 16px 18px/58% 7px no-repeat,linear-gradient(rgba(255,255,255,.13),rgba(255,255,255,.13)) 16px 34px/38% 7px no-repeat,linear-gradient(#9FE1D8,#9FE1D8) 16px 58px/26% 7px no-repeat,rgba(159,225,216,.06)}
.pg-home .fb-card.is-review{background:linear-gradient(rgba(255,255,255,.26),rgba(255,255,255,.26)) 16px 18px/58% 7px no-repeat,linear-gradient(rgba(255,255,255,.13),rgba(255,255,255,.13)) 16px 34px/38% 7px no-repeat,linear-gradient(#F9D58A,#F9D58A) 16px 58px/22% 7px no-repeat,rgba(249,213,138,.05)}

/* ---------- Mobile check 6 Nov (task 023, r-ui4i52): what did not look right on a phone ---------- */
/* Hero: on a phone the hero is clipped, never scrolled. The audience switch was 443px wide on a 390px screen, so tapping
   "Site owners" scrolled the overflow:hidden hero 53px sideways and cut the headline off. clip cannot be scrolled. */
.pg-home .hero{overflow:hidden;overflow:clip}
/* WordPress's file has wide margins round the mark, so at the shared 28px it looked half the size of the others. */
.pg-home .mark img[src*="wordpress"]{height:50px;max-width:none;margin:-11px 0 -11px -7px}
/* Customer logos: keep each logo's own tuned height (customers.json "h"). A flat 34px cap shrank the script logo. */
.pg-home .cs-logo img{max-height:none}
/* Tools: the three AI wordmarks stand on their own. */
.pg-home .plug-mark img{height:17px;max-width:none}
@media (max-width:520px){
  /* Hero switch: two equal halves that always fit, the second line wraps instead of running off screen. */
  .pg-home .hv-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:420px;margin-inline:auto}
  .pg-home .hv-tab{min-width:0;white-space:normal;padding:9px 10px;text-align:center}
  .pg-home .hv-tab span{font-size:.8rem;line-height:1.25}
  /* Site demo buttons: an even two-column grid instead of a ragged centred stack; Pause sits last, full width. */
  .pg-home .wgd-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
  .pg-home .wgd-scene,.pg-home .wgd-pause,.pg-home .hero .wgd-scene,.pg-home .hero .wgd-pause{justify-content:center;min-height:44px;padding:6px 8px;font-size:.88rem;text-align:center;line-height:1.2;white-space:normal}
  .pg-home .wgd-pause{order:9;grid-column:1/-1}
  /* Final call to action: both buttons the same width, and the faint board drawn smaller so whole cards show. */
  .pg-home .final .hero-ctas{flex-direction:column;align-items:center}
  .pg-home .final .hero-ctas .btn{width:100%;max-width:320px}
  .pg-home .final-fx .fboard{transform:translate(-50%,-50%) rotate(-5deg) scale(.6)}
}
@media (max-width:640px){
  /* First "Real jobs" card: the blob sat under the paragraph. On a phone it moves to the empty top right corner. */
  .pg-home .jobs .job-lead .job-art{top:8px;right:12px;width:120px;transform:none;opacity:.7}
}

/* ===================== Task 026 (11 Nov 2026): the homepage turned towards online stores =====================
   New sections only, built on the site's tokens. No eyebrows, accent bars, coloured card tops, dot pills,
   gradient text or icon tiles (George's rules). Mockup: artifacts/025/mockups/home-after.css. */

/* Hero: the platforms it is built for, under the buttons */
.hero-built{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:32px;font:500 14px/1.3 var(--font-body);color:var(--muted)}
.hero-built img{display:block;width:auto;height:34px}
.hero-built .hb-woo{height:20px}
.hero-built .hb-shop{height:18px;opacity:.75}
.hero-built .hb-sep{width:1px;height:24px;background:var(--line-2)}
.hero-built small{font:500 13px/1.2 var(--font-body);color:var(--muted)}
.hb-shopw{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
/* The agencies tab says "Agencies" on a phone, so the switch stays two lines high (the H1 says "client store") */
.hv-short{display:none}
@media (max-width:480px){.hv-long{display:none}.hv-short{display:inline}}

/* Platform strip: stores large, Shopify smaller, the rest in words */
.shop-strip{background:var(--black);color:#fff;padding:34px 0}
.shop-strip .wrap{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px 40px}
.shop-strip p{margin:0}
.ss-lab{font:500 15px/1.3 var(--font-body);color:rgba(255,255,255,.72)}
.ss-big{display:flex;align-items:center;gap:40px}
.ss-big img{display:block;width:auto;height:40px}
.ss-big .ss-woo{height:32px}
.ss-big .ss-hyva{height:26px;filter:brightness(0) invert(1);opacity:.9}
.ss-shop{display:flex;align-items:center;gap:10px}
.ss-shop img{display:block;width:auto;height:24px;opacity:.85}
.ss-shop span{font:500 13px/1.2 var(--font-body);color:rgba(255,255,255,.66)}
.ss-also{flex-basis:100%;font:500 14px/1.3 var(--font-body);color:rgba(255,255,255,.62);text-align:center}

/* Three ways */
.ways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:40px}
.way{display:flex;flex-direction:column;padding:30px 28px 26px;background:#fff;border:1px solid var(--line);border-radius:20px}
.way-dark{background:var(--black);color:#fff;border-color:var(--black)}
.way h3{margin:0 0 6px;font:500 27px/1.1 var(--font-head);letter-spacing:-.02em;color:inherit}
.way-for{margin:0 0 18px;font:600 14px/1.35 var(--font-body);color:var(--blue-ink)}
.way-dark .way-for{color:var(--blue)}
.way ul{display:grid;gap:11px;margin:0 0 22px;padding:0;list-style:none}
.way li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;font:400 15.5px/1.45 var(--font-body);color:var(--body)}
.way-dark li{color:rgba(255,255,255,.86)}
.way li .ic{width:16px;height:16px;margin-top:3px;color:var(--blue-mid)}
.way-dark li .ic{color:var(--blue)}
.way-go{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:auto;font:600 15px/1.2 var(--font-body);color:inherit;text-decoration:none}
.way-go:hover{text-decoration:underline;text-underline-offset:3px}
.way-go .ic{width:15px;height:15px}
.way-dark :focus-visible{outline-color:var(--blue)}

/* Industries */
.inds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:40px 0 0;padding:0;list-style:none}
.ind>a{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:18px;color:inherit;text-decoration:none;transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s,border-color .25s}
.ind>a:hover{transform:translateY(-2px);border-color:var(--line-2);box-shadow:0 20px 44px -30px rgba(17,18,20,.4)}
.ind img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.ind-in{display:flex;flex-direction:column;flex:1;padding:18px 18px 20px}
.ind h3{margin:0 0 10px;font:500 21px/1.15 var(--font-head);letter-spacing:-.015em}
.ind-jobs{display:grid;gap:5px;margin:0 0 14px;font:400 14px/1.45 var(--font-body);color:var(--body)}
.ind-jobs span{position:relative;padding-left:14px}
.ind-jobs span::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;border-radius:50%;background:var(--muted)}
.ind-proof{margin-top:auto;padding-top:12px;border-top:1px solid var(--line);font:500 13px/1.4 var(--font-body);color:var(--muted)}
.ind-proof b{font-weight:600;color:var(--ink)}

/* Customer stories with two tiles (live, until McVeigh Parker agrees): two columns, not two thirds */
@media (min-width:981px){.cs-row.cs-n2{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Why not just ask Claude? */
.why2{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px;align-items:start;margin-top:40px}
.why-models{display:flex;align-items:center;gap:26px;margin:0 0 22px}
.why-models img{display:block;width:auto;height:24px}
.why-list{display:grid;gap:22px;margin:0;padding:0;list-style:none;counter-reset:w}
.why-list li{position:relative;padding-left:52px;counter-increment:w}
.why-list li::before{content:counter(w);position:absolute;left:0;top:-2px;font:500 30px/1 var(--font-head);color:var(--blue-mid)}
.why-list h3{margin:0 0 4px;font:500 21px/1.2 var(--font-head);letter-spacing:-.01em}
.why-list p{margin:0;font:400 15.5px/1.5 var(--font-body);color:var(--body)}
.why-cmp{padding:26px 26px 18px;background:#fff;border:1px solid var(--line);border-radius:20px}
.why-cmp table{width:100%;border-collapse:collapse;font:400 14.5px/1.4 var(--font-body)}
.why-cmp thead th{padding:0 10px 12px 0;border-bottom:1px solid var(--line-2);font:600 13.5px/1.3 var(--font-body);color:var(--muted);text-align:left}
.why-cmp tbody th,.why-cmp td{padding:12px 10px 12px 0;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.why-cmp tbody th{width:38%;font-weight:600;color:var(--ink)}
.why-cmp tr:last-child th,.why-cmp tr:last-child td{border-bottom:0}
.why-cmp td.no{color:var(--muted)}
.why-cmp td.yes{color:#0E7C66;font-weight:600}
.why-fine{margin:12px 0 0;font:400 12.5px/1.45 var(--font-body);color:var(--muted)}
.why-cmp .sec-link{margin-top:14px}

/* Platforms: three stores in the first row */
@media (min-width:981px){#platforms .ptable-3{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media (max-width:1100px){.inds{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:980px){
  .ways,.why2{grid-template-columns:minmax(0,1fr)}
  .why2{gap:36px}
}
@media (max-width:560px){
  .inds{grid-template-columns:minmax(0,1fr)}
  .ss-big{flex-wrap:wrap;justify-content:center;gap:24px 28px}
  .ss-big img{height:30px}
  .ss-big .ss-woo{height:24px}
  .ss-big .ss-hyva{height:20px}
  .why-models{flex-wrap:wrap;gap:14px 20px}
  .why-models img{height:20px}
  .why-cmp{padding:18px 14px 12px}
  .why-cmp table{font-size:13.5px}
  .why-cmp tbody th{width:34%}
  .way{padding:24px 20px 20px}
  .way h3{font-size:24px}
  .hero-built{justify-content:center;gap:10px 16px}
  .hero-built img{height:28px}
  .hero-built .hb-woo{height:17px}
  .hero-built .hb-shop{height:16px}
}
@media (prefers-reduced-motion:reduce){.ind>a{transition:none}.ind>a:hover{transform:none}}

/* ---------- 11 Nov 2026: nothing reaches past the right edge of a phone ----------
   iPhone Safari let the homepage pan sideways although every section clips its decoration. So on phones each
   decoration is drawn inside the screen as well; the check is that no element's own box ends past the edge. */
@media (max-width:640px){
  .pg-home .hero .hb2{right:2%}
  .pg-home .pb1{right:0}
  .pg-home .nums-fx img{right:0}
  /* The aurora is screen wide on a phone, and breathes without growing (the scale pushed it past the edge). */
  .pg-home .band .aurora,.pg-home .final .aurora{left:0;right:0;animation-name:breathe-y}
  /* Final call to action: three columns sized to the screen instead of six 200px ones drawn smaller. */
  .pg-home .final-fx .fboard{grid-template-columns:repeat(3,26vw);column-gap:4vw;transform:translate(-50%,-50%) rotate(-5deg)}
  .pg-home .final-fx .fb-col:nth-child(n+4){display:none}
}
@keyframes breathe-y{from{transform:translateY(0);opacity:.86}to{transform:translateY(-3%);opacity:1}}
