  :root{
    --green-mid:#1a4a1a;
    --green:#163d16;
    --green-dark:#0f2d0f;
    --yellow:#ffd93d;
    --cream:#f4f6f2;
    --white:#ffffff;
    --line:#e2e8e0;
    --text:#163d16;
    --body:#4a584a;
    /* was #7a8a7a, which is 3.4:1 on cream and 3.7:1 on white. Both fail the
       4.5:1 minimum for body text. This is 4.9:1 on cream and 5.4:1 on white. */
    --muted:#5f6e5f;
    --maxw:1160px;
    --pad:clamp(1.25rem,5vw,3rem);
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{font-family:'Barlow',system-ui,sans-serif;color:var(--body);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased}
  h1,h2,h3{font-family:'Bebas Neue',sans-serif;color:var(--text);font-weight:400;letter-spacing:1px;line-height:1.02}
  h1{font-size:clamp(2.6rem,6vw,3.9rem)}
  h2{font-size:clamp(2rem,4.5vw,2.9rem)}
  p{font-size:clamp(1rem,1.4vw,1.08rem)}
  a{color:inherit;text-decoration:none}
  .wrap{max-width:var(--maxw);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
  .eyebrow{font-family:'Barlow Semi Condensed',sans-serif;font-size:.82rem;letter-spacing:2px;text-transform:uppercase;font-weight:600;color:var(--muted)}
  .btn{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;font-size:1rem;padding:.85rem 1.7rem;border-radius:8px;border:1.5px solid transparent;cursor:pointer;transition:transform .15s ease,background .15s ease}
  .btn:active{transform:scale(.98)}
  .btn-yellow{background:var(--yellow);color:var(--green-dark)}
  .btn-yellow:hover{background:#ffe066}
  .btn-green{background:var(--green);color:#fff}
  .btn-green:hover{background:var(--green-mid)}
  /* The border was #4a7a4a, which is 2.08:1 against the hero green. A control's
     boundary needs 3:1 or the button reads as a floating word. This is 4.1:1. */
  .btn-ghost{background:transparent;color:#fff;border-color:#7fae7f}
  .btn-ghost:hover{background:rgba(255,255,255,.08)}
  /* Was clamp(3rem,7vw,5.5rem). At 1440px that is 88px top and bottom, so 176px
     of air between every pair of sections, and the homepage ran to 8800px for
     1300 words. Tightened by about a quarter; the sections still read as separate
     because the background alternates. */
  section{padding:clamp(2.5rem,5.2vw,4.25rem) 0}
  .sect-more{margin-top:1.4rem}
  .sect-more a{color:var(--green);font-weight:600;border-bottom:1px solid var(--yellow)}

  /* placeholder styling */
  .placeholder{border:1px dashed #b7c4b7;border-radius:12px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--muted);font-size:.82rem;padding:1rem}
  .ph-note{font-size:.72rem;color:var(--muted);margin-top:.75rem}

  /* ---------- HEADER ---------- */
  header{position:sticky;top:0;z-index:50;background:rgba(22,61,22,.97);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
  .nav{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;padding-bottom:1rem}
  /* the home link is a real target, so it keeps 44px of height even when the
     wordmark shrinks on a phone */
  .logo{display:inline-flex;align-items:center;min-height:44px}
  .brandlogo{height:26px;width:auto;display:block}
  .brandlogo path,.brandlogo polygon{fill:#fff}
  .nav-links{display:flex;gap:1.6rem;list-style:none}
  .nav-links a{color:#d6e4d6;font-size:.95rem;font-weight:500}
  .nav-links a:hover{color:var(--yellow)}
  .nav-right{display:flex;align-items:center;gap:1rem}
  .lang{display:flex;gap:.35rem;font-size:.85rem;color:#a8c4a8;font-weight:600}
  .lang .on{color:var(--yellow)}
  /* 44px square. It was 29px tall, which is under every touch-target guideline
     and this is the only way into the menu on a phone. */
  .nav-toggle{display:none;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;
              width:44px;height:44px;align-items:center;justify-content:center;line-height:1;padding:0}
  @media(max-width:1023px){
    .nav-links{display:none}
    .nav-toggle{display:inline-flex}
  }

  /* ---------- HERO ----------
     Fluid two-column grid, sized in ch and clamp() so it adapts instead of being
     scaled. The old version was a fixed 2000x900 stage that JavaScript shrank to
     fit the viewport: it left a dead band below the content, clipped its own edges
     on any screen under 2000px, needed a left:-125px nudge to look centred, and
     hid the call to action entirely above 900px. */
  .hero{background:#0c4a19;color:#fff;padding:clamp(2.25rem,4.5vw,3.75rem) 0 clamp(2.75rem,5vw,4.25rem)}
  /* The right track is bounded. Left as auto it sized to the caption's longest
     line rather than to the phone, so the column was 480px wide around a 220px
     device and the caption sat off to one side of it. */
  .hero-grid{display:grid;grid-template-columns:minmax(0,1fr);
             gap:clamp(1.75rem,4vw,3.25rem);align-items:center}
  .hero-left{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:1.1rem;min-width:0}
  /* Kept to the width it had beside the old calculator column, so the headline
     still breaks over two lines now that the steps sit underneath. */
  .hero-left{max-width:680px}
  /* Same display face as every other heading on the site (it was the only
     one set in Roboto). Bebas Neue runs narrower, so the size goes up a step. */
  .hero-left h1{color:#fff;font-family:'Bebas Neue',sans-serif;font-weight:400;letter-spacing:1px;
                line-height:1;font-size:clamp(2.7rem,4.9vw,4.1rem);margin:0;text-wrap:balance}
  .hero-left p{margin:0}
  /* "Supported by" sits at the foot of the hero, with no bar of its own. On a
     desktop the hero fills the first screen, so the row lands at the bottom of
     it. Names now; logos replace them as they come in. */
  @media(min-width:901px){
    .hero{min-height:calc(100svh / var(--z,1) - 79px);display:flex}
    .hero > .wrap{display:flex;flex-direction:column;justify-content:center;width:100%}
    .hero-support{margin-top:auto}
    .hero-grid{margin:auto 0}
  }
  .hero-support{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.75rem 1.5rem;
                padding-top:clamp(1.75rem,4vw,2.75rem);--tile:150px;--gap:12px}
  .hero .hsup-lbl{margin:0;font-weight:400;font-size:1.05rem;color:#dfeadf}
  /* A window exactly three tiles wide. js steps the list along one tile at a
     time and moves the tile that left onto the end, so it rolls forever. */
  .hsup-view{width:calc(var(--tile) * 3 + var(--gap) * 2);overflow:hidden;padding:4px 0;margin:-4px 0}
  .hsup-list{list-style:none;margin:0;padding:0;display:flex;gap:var(--gap);width:max-content}
  .hsup-list.is-moving{transition:transform .9s cubic-bezier(.45,0,.2,1)}
  .hsup-list li{flex:none;width:var(--tile);height:62px;padding:9px 14px;background:#fff;border-radius:10px;
                display:grid;place-items:center;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.15)}
  .hsup-list img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
  /* Up2B's mark is white on its own orange gradient, so it fills its tile */
  .hsup-list li.is-fill{padding:0}
  .hsup-list li.is-fill img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
  @media(max-width:600px){
    .hero-support{--tile:104px;--gap:8px;flex-direction:column}
    .hero .hsup-lbl{font-size:.98rem}
    .hsup-list li{height:46px;padding:6px 9px;border-radius:8px}
  }
  .hero-scope{font-size:clamp(1.02rem,1.45vw,1.24rem);color:#cfe3cf;line-height:1.45;max-width:36ch}
  .hero-promise{font-size:clamp(.98rem,1.15vw,1.08rem);color:#eaf3ea;line-height:1.55;max-width:46ch}
  .hero-cta{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:.3rem}
  /* The phone is a true iPhone shape (a 390 x 844 screen plus bezel, so 412 x 866
     including the frame, or 426 x 866 with room for the side buttons). The iframe
     carries that ratio and the widget inside scales itself to whatever box it is
     given, so the proportions hold at every size.
     On a desktop the HEIGHT leads: take what the viewport can spare, the width
     follows from the ratio. That is what keeps the whole device on the first
     screen without cropping. */
  .hero-calc-col{display:flex;flex-direction:column;align-items:center;min-width:0;
                 --calc-h:clamp(430px,calc(100vh - 183px),670px)}
  .hero-calc-col iframe{border:none;display:block;overflow:hidden;
                        aspect-ratio:426/866;
                        height:var(--calc-h);width:auto;
                        /* the phone is narrower than its frame, so the frame's own ground shows
                           beside it. Some browsers paint an iframe canvas white even when the
                           embedded body is transparent, so paint it the hero green instead. */
                        background:#0c4a19}
  /* The plain-text stand-in for the phone showcase, shown only on a phone. Same
     words as the front of the device, without a picture of a phone inside a
     phone and without the empty seconds while its animation runs. */
  .hero-card{display:none;width:100%;max-width:420px;text-align:center;
             background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);
             border-radius:18px;padding:1.6rem 1.3rem 1.4rem}
  /* Every rule here is written .hero-card X, not X, because the homepage theme
     block sets a colour on "main > section p" and would otherwise win. */
  .hero-card .hc-num{font-family:'Bebas Neue',sans-serif;font-size:4.6rem;line-height:.9;
          color:var(--yellow);margin:0}
  .hero-card .hc-h{font-weight:600;font-size:1.2rem;color:#fff;margin:.35rem 0 .8rem}
  .hero-card .hc-p{font-size:1rem;color:#dfeadf;margin:0 0 .7rem}
  .hero-card .hc-p2{font-size:1rem;color:#fff;font-weight:500;margin:0}
  .hero-card .hc-note{font-size:.72rem;letter-spacing:1.4px;text-transform:uppercase;
           color:#a8c4a8;margin:1rem 0 0}

  /* The process in short: the five steps side by side under the hero text,
     icons and names only, with arrows between them. The row links to the How
     it works section. */
  .hero-steps{grid-column:1 / -1;display:block;width:100%;color:#fff;text-decoration:none;
              --r:40px;margin-top:clamp(.5rem,2vw,1.25rem)}
  .hero-steps ol{list-style:none;margin:0;padding:0;display:flex}
  .hero-steps li{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;
                 gap:.7rem;text-align:center;position:relative}
  .hero-steps li:not(:last-child)::after{content:"";position:absolute;top:var(--r);
                 left:calc(50% + var(--r) + 10px);right:calc(-50% + var(--r) + 10px);
                 height:1.5px;background:rgba(255,255,255,.4)}
  .hero-steps li:not(:last-child)::before{content:"";position:absolute;top:calc(var(--r) - 4px);
                 right:calc(-50% + var(--r) + 10px);width:8px;height:8px;
                 border-top:1.5px solid rgba(255,255,255,.4);border-right:1.5px solid rgba(255,255,255,.4);
                 transform:rotate(45deg);transform-origin:center}
  .hs-c{width:calc(var(--r) * 2);height:calc(var(--r) * 2);border-radius:50%;display:grid;place-items:center;
        border:1.5px solid var(--yellow);color:var(--yellow);transition:transform .2s}
  .hs-c svg{width:58%;height:58%;fill:none;stroke:currentColor;stroke-width:2;
            stroke-linecap:round;stroke-linejoin:round}
  .hero-steps .end .hs-c{background:var(--yellow);color:#0f2d0f}
  .hero-steps:hover .hs-c,.hero-steps:focus-visible .hs-c{border-width:2px}
  .hs-n{font-weight:600;font-size:1.05rem;line-height:1.2}
  /* The result in one line under the steps: what the customer gets. */
  .hero-steps .hs-out{margin:1.4rem 0 0;text-align:center;font-size:1.05rem;color:#dfeadf}
  .hs-out b{font-family:'Bebas Neue',sans-serif;font-weight:400;font-size:1.55em;letter-spacing:.5px;
            color:var(--yellow);vertical-align:-.08em}
  .hs-out span{margin:0 .45rem;color:rgba(255,255,255,.45)}
  /* The same drawing moment as the How it works section: each circle pops in,
     its name follows, then the arrow to the next step draws itself. js in
     pages.json adds .anim/.play, replays it 15 seconds after it ends, and
     never runs it with reduced motion. */
  .hero-steps li{--d:0s}
  .hero-steps li:nth-child(2){--d:.55s}
  .hero-steps li:nth-child(3){--d:1.1s}
  .hero-steps li:nth-child(4){--d:1.65s}
  .hero-steps li:nth-child(5){--d:2.45s}
  .hero-steps.anim .hs-c,.hero-steps.anim .hs-n,.hero-steps.anim li::after,.hero-steps.anim li::before{
    animation-duration:.6s;animation-timing-function:cubic-bezier(.2,.7,.3,1);animation-fill-mode:both}
  .hero-steps.anim:not(.play) .hs-c,.hero-steps.anim:not(.play) .hs-n,
  .hero-steps.anim:not(.play) li::after,.hero-steps.anim:not(.play) li::before{animation-play-state:paused}
  .hero-steps.anim .hs-c{animation-name:hs-pop;animation-delay:var(--d)}
  .hero-steps.anim .end .hs-c{animation-name:hs-pop-end}
  .hero-steps.anim .hs-n{animation-name:hs-fade;animation-delay:calc(var(--d) + .15s)}
  .hero-steps.anim li::after{animation-name:hs-grow;transform-origin:left center;animation-delay:calc(var(--d) + .3s)}
  .hero-steps.anim li::before{animation-name:hs-fade;animation-delay:calc(var(--d) + .7s);animation-duration:.25s}
  .hero-steps.anim .hs-out{animation:hs-fade .6s ease-out 3.1s both}
  .hero-steps.anim:not(.play) .hs-out{animation-play-state:paused}
  @keyframes hs-fade{from{opacity:0}to{opacity:1}}
  @keyframes hs-pop{from{opacity:0;transform:translateY(8px) scale(.92)}to{opacity:1;transform:none}}
  @keyframes hs-pop-end{0%{opacity:0;transform:scale(.85)}60%{opacity:1;transform:scale(1.06);box-shadow:0 0 0 10px rgba(255,217,61,.18)}100%{opacity:1;transform:none;box-shadow:0 0 0 0 rgba(255,217,61,0)}}
  @keyframes hs-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
  /* Wide screens: the row sits beside the text, in the space the calculator
     used to fill, and comes down to a smaller size to fit there. */
  @media(min-width:1100px){
    /* The left track is only as wide as the two paragraphs. The headline
       keeps its own 540px and reaches over the gap above the steps, so it
       still breaks over the same two lines. */
    .hero-grid{grid-template-columns:minmax(0,410px) minmax(0,1fr);column-gap:1.5rem}
    .hero-left h1{width:540px;max-width:none;position:relative;z-index:1}
    .hero-steps{grid-column:auto;margin-top:0;--r:34px;align-self:center;padding-top:4.5rem}
    .hero-steps li{gap:.55rem}
    .hero-steps li:not(:last-child)::after{left:calc(50% + var(--r) + 6px);right:calc(-50% + var(--r) + 6px)}
    .hero-steps li:not(:last-child)::before{right:calc(-50% + var(--r) + 6px);width:6px;height:6px;top:calc(var(--r) - 3px)}
    .hs-c svg{width:64%;height:64%}
    .hs-n{font-size:.86rem}
  }
  /* 901 to 1099px (small laptops, or a larger screen at 125% zoom): keep the
     two columns, so the 7 stays beside the text instead of below the fold. */
  @media(min-width:901px) and (max-width:1099px){
    .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:1.25rem}
  }
  /* the paragraphs grow with the screen; give them the room they had before */
  @media(min-width:1500px){
    .hero-grid{grid-template-columns:minmax(0,455px) minmax(0,1fr)}
  }
  @media(max-width:900px){ .hero-steps{--r:34px} }
  @media(max-width:600px){
    .hero-steps{--r:25px}
    .hero-steps li{gap:.45rem}
    .hero-steps li:not(:last-child)::after{left:calc(50% + var(--r) + 4px);right:calc(-50% + var(--r) + 4px)}
    .hero-steps li:not(:last-child)::before{right:calc(-50% + var(--r) + 4px);width:5px;height:5px;top:calc(var(--r) - 2.5px)}
    .hs-c svg{width:66%;height:66%}
    .hs-n{font-size:.74rem}
    .hero-steps .hs-out{font-size:.9rem;margin-top:1rem}
  }

  /* One column below 900px, where the calculator moves under the text rather than
     being hidden. The old build dropped it entirely and left the first screen empty. */
  /* Short laptop windows. On a 1280x720 screen the hero's own padding was the
     last 45px keeping the calculator off the first screen, so it tightens rather
     than the phone shrinking further. */
  @media(min-width:901px) and (max-height:780px){
    .hero{padding:1.5rem 0 2rem}
  }
  @media(min-width:901px) and (max-height:740px){
    .hero{padding:.85rem 0 1.1rem}
  }
  /* The device gives way to the card on a narrow screen, and also on a short one
     once the layout has stacked: in landscape on a phone the frame is 670px tall
     against a 390px viewport, which is two and a half screens of hero. */
  @media (max-width:700px), (max-width:900px) and (max-height:620px){
    .hero-calc-col iframe{display:none}
    .hero-card{display:block}
  }
  @media(max-width:900px){
    .hero{padding:2.25rem 0 2.75rem}
    .hero-grid{grid-template-columns:1fr;gap:2.25rem;justify-items:center}
    .hero-left{align-items:center;text-align:center}
    .hero-scope,.hero-promise{max-width:52ch}
    .hero-cta{justify-content:center}
    /* Stacked, so the WIDTH leads here and the height follows from the ratio.
       The viewport-height rule above would make no sense once the phone is
       below the copy rather than beside it. */
    .hero-calc-col{width:100%}
    .hero-calc-col iframe{width:min(100%,330px);height:auto}
  }

  /* ---------- BEFORE / AFTER ---------- */
  .ba{background:var(--green-dark);padding:clamp(2.5rem,5vw,3.5rem) 0}
  .ba h2{color:#fff;text-align:center;margin:0 0 .7rem;font-size:clamp(1.7rem,3vw,2.2rem)}
  /* The defect line on the results page. It used to be capitals separated by
     dots, like a slogan; sentence case reads faster and the sentence ends on the
     point rather than trailing off. */
  .ba-types{color:#c6d9c6;text-align:center;margin:0 auto 1.6rem;max-width:46ch;
            font-size:1rem;line-height:1.65}
  /* The defect list as chips. It replaced a line of capitals separated by dots,
     which read as a slogan and broke across lines mid-phrase. Sentence case is
     quicker to scan, and each chip is a way into the example that matches it,
     which is what a visitor with one particular problem actually wants. */
  .dt-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;
            max-width:920px;margin:0 auto 1.6rem;padding:0;list-style:none}
  .dt-chips button{font-family:'Barlow Semi Condensed',sans-serif;font-weight:600;
    font-size:.8rem;letter-spacing:.4px;line-height:1;color:#e8f1e8;
    background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.22);
    border-radius:999px;padding:.55rem .8rem;cursor:pointer;
    transition:background .18s ease,border-color .18s ease,color .18s ease}
  .dt-chips button:hover{border-color:var(--yellow);color:var(--yellow)}
  .dt-chips button[aria-current]{background:var(--yellow);border-color:var(--yellow);
    color:var(--green-dark)}
  /* Without script the chips cannot jump anywhere, so until the script says it
     has wired them up they read as the plain list they are. */
  .dt-chips:not(.is-live) button{cursor:default;pointer-events:none}
  .ba-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;max-width:720px;margin:0 auto}
  .ba-imgwrap{aspect-ratio:3/4}
  .ba-item{margin:0;display:flex;flex-direction:column}
  .ba-imgwrap{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:3/4;cursor:pointer}
  .ba-imgwrap img{width:100%;height:100%;object-fit:cover;display:block}
  /* A looping clip can stand in for a photograph in any of these boxes. Same
     box, same crop behaviour, so the grid does not change. */
  .ba-imgwrap video{width:100%;height:100%;object-fit:cover;display:block}
  /* The clip opens in the viewer like the photos do, so it keeps the same
     cursor. Its own controls stay off; the box is a click target, not a player. */
  .ba-tag{position:absolute;top:14px;left:14px;font-family:'Roboto',sans-serif;font-weight:800;
          font-size:.8rem;letter-spacing:2.5px;text-transform:uppercase;padding:.45rem 1rem;border-radius:6px;
          -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 4px 14px rgba(0,0,0,.28);z-index:2}
  .ba-tag.before{background:rgba(10,20,10,.72);color:#fff;border:1px solid rgba(255,255,255,.35)}
  .ba-tag.after{background:var(--yellow);color:var(--green-dark);border:1px solid rgba(0,0,0,.12)}
  .ba-issue{margin-left:.55rem;padding-left:.55rem;border-left:1px solid currentColor;opacity:.85;font-weight:600;letter-spacing:1.6px}
  .ba-tag.after::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;
          background:var(--green-dark);margin-right:.5rem;vertical-align:middle}
  /* The caption sits OUTSIDE the image box in the markup, so on a touch screen,
     where there is no hover and it would otherwise cover the photograph
     permanently, it can simply flow underneath instead. On a pointer device it
     is lifted back over the image. */
  .ba-item{position:relative}
  .ba-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;padding:1.2rem;
    border-radius:12px;
    background:linear-gradient(to top,rgba(8,26,8,.96) 0%,rgba(8,26,8,.9) 45%,rgba(8,26,8,.35) 75%,rgba(8,26,8,.1));
    opacity:1;transition:opacity .3s ease}
  .ba-overlay p{color:#fff;font-size:1rem;line-height:1.55;margin:0;font-weight:500;
    border-left:4px solid var(--yellow);padding-left:.9rem;transform:translateY(10px);opacity:0;
    transition:transform .4s ease .05s,opacity .4s ease .05s}
  .ba-imgwrap:hover .ba-overlay p,.ba-imgwrap:focus-within .ba-overlay p{transform:none;opacity:1}
  .ba-imgwrap{transition:box-shadow .3s ease,transform .3s ease}
  .ba-imgwrap:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(0,0,0,.4)}
  .ba-hint{position:absolute;bottom:12px;right:14px;color:#cfe0cf;font-family:'Barlow Semi Condensed',sans-serif;
    font-size:.72rem;letter-spacing:1.4px;text-transform:uppercase;opacity:.85;transition:opacity .25s ease;pointer-events:none}
  @media(hover:hover) and (pointer:fine){
    .ba-overlay{opacity:0}
    .ba-imgwrap:hover .ba-overlay,.ba-imgwrap:focus-within .ba-overlay{opacity:1}
    .ba-imgwrap:hover .ba-hint{opacity:0}
  }
  /* Touch screens: the story goes under the photograph rather than over it.
     Covering a 180px-wide before-and-after with four lines of text hid the one
     thing the section exists to show. */
  @media(hover:none){
    .ba-overlay{position:static;inset:auto;display:block;padding:.55rem 0 0;
                background:none;border-radius:0}
    .ba-overlay p{transform:none;opacity:1;color:#cfe0cf;font-size:.8rem;
                  line-height:1.45;border-left:3px solid var(--yellow);padding-left:.65rem}
    .ba-hint{display:none}
  }
  .ba-tag{position:absolute;top:10px;left:10px;font-family:'Barlow Semi Condensed',sans-serif;font-weight:600;
          font-size:.7rem;letter-spacing:1.4px;text-transform:uppercase;padding:.25rem .7rem;border-radius:20px}
  .ba-tag.before{background:rgba(0,0,0,.7);color:#fff}
  .ba-tag.after{background:var(--yellow);color:var(--green-dark)}
  /* Kept at two columns on phones for the same reason as the homepage slider:
     a before and after you cannot see at the same time proves nothing. */

  .ba-imgwrap{cursor:zoom-in}
  .ba-zoom{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:50%;
    background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;
    font-size:.95rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;transition:opacity .25s ease;pointer-events:none;z-index:3}
  .ba-imgwrap:hover .ba-zoom{opacity:1}
  .lb{position:fixed;inset:0;z-index:200;background:rgba(6,18,6,.94);display:none;
      align-items:center;justify-content:center;flex-direction:column;padding:3rem 1.5rem 2rem}
  .lb.on{display:flex}
  .lb-stage{position:relative;overflow:hidden;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5);
    max-width:min(92vw,900px);max-height:82vh;cursor:zoom-in;touch-action:none}
  .lb-stage.zoomed{cursor:grab}
  .lb-stage.zoomed:active{cursor:grabbing}
  .lb img,.lb video{display:block;max-width:min(92vw,900px);max-height:82vh;transform-origin:0 0;transition:transform .18s ease;will-change:transform}
  /* The rules above are stronger than the browser's own [hidden], so say it here. */
  .lb [hidden]{display:none!important}
  .lb-stage.dragging img,.lb-stage.dragging video{transition:none}
  .lb-zoombar{display:flex;gap:.5rem;align-items:center;margin-top:.9rem}
  .lb-zoombar button{width:38px;height:38px;border-radius:8px;border:none;background:rgba(255,255,255,.14);
    color:#fff;font-size:1.1rem;cursor:pointer;line-height:1}
  .lb-zoombar button:hover{background:var(--yellow);color:var(--green-dark)}
  .lb-zoombar .lvl{color:#c8dcc8;font-size:.85rem;min-width:52px;text-align:center}
  .lb-cap{color:#c8dcc8;font-size:.9rem;margin-top:1rem;max-width:640px;text-align:center;line-height:1.5}
  .lb-close{position:absolute;top:18px;right:22px;width:44px;height:44px;border-radius:50%;border:none;
    background:rgba(255,255,255,.12);color:#fff;font-size:1.8rem;line-height:1;cursor:pointer}
  .lb-close:hover{background:var(--yellow);color:var(--green-dark)}

  .ba-slider{position:relative;max-width:720px;margin:0 auto}
  .ba-track{position:relative}
  .ba-slide{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;
    transition:opacity 1.5s cubic-bezier(.22,.7,.25,1),transform 1.5s cubic-bezier(.22,.7,.25,1)}
  /* A click gets a quicker move than the ambient drift. 1.5s reads as calm when
     the carousel runs itself and as broken when someone pressed a button. */
  .ba-track.fast .ba-slide{transition-duration:.45s}
  .ba-slide:not(.is-on){position:absolute;inset:0;opacity:0;transform:translateX(-46px);pointer-events:none}
  .ba-slide.is-on{position:relative;opacity:1;transform:translateX(0)}
  .ba-slide.enter{opacity:0;transform:translateX(46px)}
  /* Previous and next, sitting just outside the images where there is room and
     overlaid on their outer edges where there is not. Children of .ba-track, so
     top:50% centres them on the photographs rather than on the dots row too. */
  .ba-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;
    width:44px;height:44px;padding:0 0 3px;border-radius:50%;cursor:pointer;
    border:1.5px solid rgba(255,255,255,.30);background:rgba(10,26,10,.55);color:#fff;
    font-family:'Barlow',sans-serif;font-size:1.7rem;line-height:1;
    display:flex;align-items:center;justify-content:center;
    -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
    transition:background .2s ease,border-color .2s ease,color .2s ease}
  .ba-arrow:hover{background:var(--yellow);border-color:var(--yellow);color:var(--green-dark)}
  .ba-arrow:active{transform:translateY(-50%) scale(.94)}
  .ba-arrow.prev{left:-58px}
  .ba-arrow.next{right:-58px}
  /* Under about 860px there is no room beside the slider. Overlaying them on the
     photographs does not work either: on a touch device the caption is always
     showing, and the buttons landed straight on top of the first two lines of it.
     They move down instead, into a pair below the photographs, where they
     collide with nothing. Offsets: 12px either side of the centre line. */
  @media(max-width:860px){
    .ba-slider{padding-bottom:58px}
    .ba-arrow{width:40px;height:40px;font-size:1.5rem;background:rgba(255,255,255,.09);
              top:auto;bottom:-52px;transform:none}
    .ba-arrow:active{transform:scale(.94)}
    .ba-arrow.prev{left:calc(50% - 52px);right:auto}
    .ba-arrow.next{right:calc(50% - 52px);left:auto}
  }
  /* Reverse direction: when stepping back, the incoming slide comes from the left
     and the outgoing one leaves to the right, so the motion matches the button. */
  .ba-track.rev .ba-slide:not(.is-on){transform:translateX(46px)}
  .ba-track.rev .ba-slide.enter{transform:translateX(-46px)}
  /* Before and after stay side by side on phones. They used to stack, which meant
     you could never see both at once, and being able to compare them is the whole
     point of the pair. The images are smaller this way; the lightbox is there for
     anyone who wants a closer look. */
  @media(max-width:640px){
    .ba-slide{grid-template-columns:1fr 1fr;gap:.6rem}
    .ba-tag{font-size:.6rem;padding:.2rem .5rem;top:7px;left:7px;letter-spacing:1px}
    .ba-issue{margin-left:.35rem;padding-left:.35rem}
    .ba-overlay{padding:.7rem}
    .ba-overlay p{font-size:.78rem;line-height:1.4;border-left-width:3px;padding-left:.55rem}
  }

  /* ---------- STAKES ---------- */
  .stakes{background:var(--cream)}
  .stakes h2{margin-bottom:.5rem}
  .stakes-deck{max-width:62ch;margin-bottom:1.6rem}

  /* Three columns: the costs, the figures, the law. Structure from Walid's
     layout, but built only from the site's own tokens. An earlier pass copied the
     template's teal-greens, mint and lime as well, and the section stopped
     belonging to the page: cream ground, white cards, one green, yellow as the
     single accent, Bebas for the figures, exactly like the rest of the site. */
  .stakes-panels{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,1fr);
                 gap:1.8rem;margin:1.4rem 0 1.9rem;align-items:stretch}
  .stakes-panels .panel{display:flex;flex-direction:column}
  .stakes-panels .panel-figs,.stakes-panels .panel-ban{border-left:1px solid var(--line);padding-left:1.8rem}
  .ico{width:38px;height:38px;flex:0 0 auto;fill:none;stroke:var(--green);opacity:.75;
       stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

  /* left column: the three costs */
  .cost{position:relative;display:flex;align-items:flex-start;gap:1rem;
        background:#fff;border:1px solid var(--line);border-radius:12px;
        padding:1.1rem 1.15rem 1.1rem 3.5rem;margin-bottom:.85rem}
  .cost:last-child{margin-bottom:0}
  .cost::before{content:"";position:absolute;left:0;top:-1px;bottom:-1px;width:2.6rem;
                background:var(--green);border-radius:12px 0 0 12px}
  .cost .n{position:absolute;left:0;top:1.15rem;width:2.6rem;text-align:center;
           font-family:'Bebas Neue',sans-serif;font-size:1.35rem;line-height:1;
           color:var(--yellow);letter-spacing:.5px}
  .cost-body{flex:1 1 auto;min-width:0}
  .cost h3{font-family:'Barlow',sans-serif;font-weight:600;font-size:1.02rem;color:var(--green);
           margin-bottom:.2rem;line-height:1.3}
  .cost p{font-size:.92rem;color:var(--body);line-height:1.55}

  /* middle column: the figures */
  .fact{display:flex;align-items:center;justify-content:space-between;gap:1rem;
        padding:1.05rem 0;border-bottom:1px solid var(--line)}
  .fact:first-child{padding-top:0}
  .fact .n{display:block;font-family:'Bebas Neue',sans-serif;font-size:2.4rem;
           color:var(--green);line-height:1}
  .fact .t{display:block;font-size:.92rem;color:var(--body);line-height:1.5;margin-top:.15rem;max-width:24ch}
  .facts-src{font-size:.76rem;color:var(--muted);line-height:1.5;padding-top:1rem}

  /* right column: the law */
  .ban-badge{display:flex;align-items:center;gap:.9rem;margin-bottom:1.1rem}
  .ban-badge svg{width:56px;height:56px;flex:0 0 auto}
  .ban-badge .ring{fill:var(--green);stroke:none}
  .ban-badge .shirt{fill:#fff;stroke:none}
  .ban-badge .stop{fill:none;stroke:#fff;stroke-width:4.5}
  .ban-badge .slash{stroke:#fff;stroke-width:4.5;stroke-linecap:round}
  .ban-badge span{font-family:'Barlow',sans-serif;font-weight:600;font-size:1.02rem;
                  color:var(--green);line-height:1.3}
  .ban-badge small{display:block;font-size:.78rem;color:var(--muted);font-weight:400;margin-top:.1rem}
  .ban-date{display:flex;align-items:center;gap:.85rem;background:#fff;
            border:1px solid var(--line);border-radius:12px;padding:.85rem 1rem;margin-bottom:.7rem}
  /* the one already in force carries the yellow accent */
  .ban-date.on{border-left:4px solid var(--yellow)}
  .ban-date .ico{width:30px;height:30px;opacity:.6}
  .ban-date strong{display:block;font-family:'Barlow',sans-serif;font-weight:600;
                   font-size:1rem;color:var(--green);line-height:1.25}
  .ban-date span{display:block;font-size:.88rem;color:var(--body)}
  .ban-note{font-size:.8rem;color:var(--muted);line-height:1.55;padding-top:.9rem}
  .ban-note a{color:var(--green);font-weight:600;border-bottom:1px solid var(--yellow)}

  @media(max-width:1000px){
    .stakes-panels{grid-template-columns:1fr;gap:1.5rem}
    .stakes-panels .panel-figs,.stakes-panels .panel-ban{border-left:0;padding-left:0;
      border-top:1px solid var(--line);padding-top:1.3rem}
    .fact .t{max-width:none}
  }
  @media(max-width:520px){
    .cost{padding-left:3.2rem}
    .cost .ico{display:none}
    .fact .n{font-size:2rem}
  }

  /* The law, as a compact status list rather than a timeline strung across the
     full page. Three items spread over 1100px read as empty space with words in
     it; boxed and held to 30rem they read as a fact panel, and the same layout
     works on a phone without a second set of rules. */
  .tl{margin-bottom:1.6rem}
  .tl h3{font-family:'Barlow',sans-serif;font-weight:600;font-size:1.05rem;color:var(--green);margin-bottom:.7rem}
  .tl-list{max-width:30rem;background:#fff;border:1px solid var(--line);border-radius:12px;
           padding:.35rem 1.1rem;list-style:none;margin:0}
  .tl-list li{display:flex;align-items:baseline;gap:.85rem;padding:.7rem 0;
              border-bottom:1px solid var(--line)}
  .tl-list li:last-child{border-bottom:0}
  .tl-list .dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;
                background:#c3cfc1;transform:translateY(-1px)}
  .tl-list li.on .dot{background:var(--yellow);box-shadow:0 0 0 3px rgba(255,217,61,.25)}
  .tl-list .when{flex:0 0 8.5rem;font-family:'Barlow Semi Condensed',sans-serif;font-weight:600;
                 letter-spacing:.8px;text-transform:uppercase;font-size:.78rem;color:var(--muted)}
  .tl-list li.on .when{color:var(--green)}
  .tl-list .who{font-size:.95rem;color:#4a584a}
  .tl-list li.on .who{color:var(--green);font-weight:600}
  .tl-note{font-size:.88rem;color:#4a584a;margin-top:.9rem;max-width:74ch}
  .tl-note a{color:var(--green);font-weight:600;border-bottom:1px solid var(--yellow)}
  @media(max-width:420px){
    .tl-list li{flex-wrap:wrap;gap:.5rem}
    .tl-list .when{flex:0 0 auto}
    .tl-list .who{flex:1 0 100%;padding-left:1.35rem}
  }

  .turn{font-size:1.1rem;font-weight:500;color:var(--green);max-width:70ch;margin-bottom:1.5rem}
  .stakes-cta{display:flex;gap:.7rem;flex-wrap:wrap}

  /* ---------- HOW IT WORKS ---------- */
  .how h2{margin-bottom:.4rem}
  .how .intro{max-width:520px;margin-bottom:2rem}
  .steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.9rem;margin-bottom:1.5rem}
  .step{background:var(--cream);border-radius:12px;padding:1.5rem}
  .step .num{font-family:'Bebas Neue';font-size:1.4rem;color:var(--yellow);background:var(--green);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
  .step h3{font-family:'Barlow';font-weight:600;font-size:1.15rem;color:var(--green);margin-bottom:.35rem}
  .step p{font-size:.95rem}
  .process-img{max-width:560px;margin:0 auto 1.5rem}
  /* On the homepage the diagram is a summary of a page that explains it properly,
     so it does not need to be as large. The loop is four labelled boxes: past a
     certain size it stops being easier to read and just takes the screen. */
  #how .process-img{max-width:430px}
  .process-img img{width:100%;height:auto;display:block;border-radius:12px}
  .route-bar{background:var(--green);border-radius:12px;padding:1rem 1.5rem;display:flex;align-items:center;gap:.9rem;flex-wrap:wrap}
  .pill{background:var(--yellow);color:var(--green-dark);font-weight:600;font-size:.85rem;padding:.35rem .9rem;border-radius:20px;white-space:nowrap}
  .route-bar span.txt{color:#d6e4d6;font-size:.92rem}

  /* ---------- THE LOOP ----------
     ONE CAMERA. The ground is seen from about 33 degrees above, so a point at
     (x, y) on the ground lands at (x, y * 0.55) on screen, and anything standing
     up keeps its true height and is drawn upward from where it stands. The road,
     the two depots, the trees and both vehicles are all built that way. The
     version this replaces drew the road from above and the vehicles from the
     side, and every awkward moment in it came from that one mismatch.

     Two loops, not one journey. Left is the customer's own distribution, right is
     ours, and the crossing is their warehouse, where the two meet. One vehicle
     per loop, each drawn differently, each staying on its own side.

     Steering. Each vehicle exists four times: going away from the camera and
     coming towards it, each mirrored for the other direction. js/loop.js reads
     the road's heading and crossfades to whichever one matches, so a corner is a
     corner. Nothing is ever rotated into a position a vehicle cannot be in.

     Depth. Both depots stand BEHIND the road, which is what stops a building
     wrongly hiding a vehicle that is in front of it. The trees are split into a
     group behind the road and a group nearer the camera than it.

     Layout: every stop is a full-size overlay on the stage, and its dot and its
     text bar are placed independently at percentages of that stage. That is what
     lets the bar sit clear of the road beside its own stop while the drawing
     scales. The road is drawn in a 1400 x 850 viewBox; the percentages in the
     markup are that box's coordinates converted, so both move together.

     Every colour comes from a custom property, so the same markup works on the
     cream subpages and on the dark homepage. Timing is in js/loop.js. */
  .loop{--lp-edge:rgba(22,61,22,.05);--lp-tar:#e4eae2;--lp-dash:#fff;
        --lp-lobe:rgba(22,61,22,.09);--lp-arrow:rgba(22,61,22,.26);
        --lp-scene1:rgba(22,61,22,.07);--lp-scene2:rgba(22,61,22,.11);
        --lp-apron:rgba(22,61,22,.06);--lp-yshadow:rgba(22,61,22,.05);
        --lp-node:#fff;--lp-nodeb:var(--line);--lp-ico:var(--green);
        --lp-ring:rgba(22,61,22,.07);--lp-ringon:rgba(255,217,61,.30);
        --lp-headc:var(--green);--lp-line:var(--line);
        --lp-bub:#fff;--lp-bubb:var(--line);--lp-bubt:var(--body);
        --lp-wall:#eef1ec;--lp-wall2:#d3dcd0;--lp-roof:#c7d2c4;--lp-eave:#b4c2b1;
        margin:1.6rem 0 0}
  .loop-stage{position:relative;max-width:1400px;margin:0 auto;aspect-ratio:1400/850}
  .loop-road,.loop-rider{position:absolute;inset:0;width:100%;height:100%;display:block}
  .loop-rider{pointer-events:none;z-index:2}

  /* the landscape, faint on purpose. The ranges fade out towards their base so
     they do not end on a hard horizontal line across the whole width. */
  .lp-mtn{stroke:none;fill:url(#lpMtn)}
  .lp-mtn.far{opacity:.55}
  #lpMtn .s0{stop-color:var(--lp-scene2)}
  #lpMtn .s1{stop-color:var(--lp-scene2);stop-opacity:0}
  .lp-tree path,.lp-tree rect{fill:var(--lp-scene2);stroke:none}
  .lp-tree .t-sh{fill:var(--lp-scene1);stroke:none}
  .lp-fore .lp-tree path,.lp-fore .lp-tree rect{fill:var(--lp-scene2)}

  /* ---- the road ---- */
  .lp-edge{fill:none;stroke:var(--lp-edge);stroke-width:96}
  .lp-tar{fill:none;stroke:var(--lp-tar);stroke-width:78}
  .lp-dash{fill:none;stroke:var(--lp-dash);stroke-width:5;stroke-dasharray:24 30;opacity:.7}
  .lp-arrow path{fill:var(--lp-arrow);stroke:none}
  .lp-lobe{font-family:'Bebas Neue',sans-serif;font-size:34px;letter-spacing:2.4px;
           fill:var(--lp-lobe);text-anchor:middle;dominant-baseline:middle}
  .y-apron{fill:var(--lp-apron);stroke:none}
  .y-shadow{fill:var(--lp-yshadow);stroke:none}

  /* ---- the two depots ----
     Square to the world, so the camera shows the roof and the front wall and no
     side. That is what a straight-on camera sees, and keeping it honest is what
     lets the vehicles turn through every angle without the picture breaking. */
  .b-wall{fill:var(--lp-wall);stroke:none}
  .b-roof{fill:var(--lp-roof);stroke:none}
  .b-eave{fill:var(--lp-eave);stroke:none}
  .b-bay{fill:var(--lp-wall2);stroke:none}
  .b-lines{fill:none;stroke:var(--lp-wall);stroke-width:2.2;opacity:.7}
  .b-win{fill:var(--lp-wall2);stroke:none}
  .b-vent{fill:var(--lp-eave);stroke:none}
  /* ours is the same building with our sign on it, so it reads as a warehouse
     first and as ours second. It never mirrors now, so the name stays readable. */
  .b-sign{fill:var(--yellow)}
  .b-name{font-family:'Bebas Neue',sans-serif;font-size:19px;letter-spacing:1.6px;
          fill:var(--green-dark);text-anchor:middle}

  /* ---- the vehicles ----
     Four drawings each, one per quarter of the compass, only one of them opaque
     at a time. Two of the four are the other two mirrored, which is legitimate
     here: a van seen from behind going right really is the mirror of the same
     van going left. */
  .lp-veh{offset-rotate:0deg;offset-distance:0%;transition:opacity .55s ease}
  .lp-veh.is-parked{opacity:0}
  .veh-a{offset-path:path("M 700 390 C 700 307.16 599.26 240 475 240 C 350.74 240 250 307.16 250 390 C 250 472.84 350.74 540 475 540 C 599.26 540 700 472.84 700 390")}
  .veh-b{offset-path:path("M 700 390 C 700 307.16 800.74 240 925 240 C 1049.26 240 1150 307.16 1150 390 C 1150 472.84 1049.26 540 925 540 C 800.74 540 700 472.84 700 390")}
  .v-p{opacity:0;transition:opacity .3s ease}
  .v-p.on{opacity:1}
  .v-shadow{fill:rgba(0,0,0,.16)}
  /* a hairline on every face, so the silhouette holds against the dark ground
     and the three planes of the box stay separate at small sizes */
  .f-top,.f-side,.f-end,.c-top,.c-side,.c-end{stroke:var(--green-dark);
          stroke-width:1.6;stroke-linejoin:round}
  .v-win{fill:rgba(22,61,22,.34);stroke:none}
  .v-tyre{fill:var(--green-dark)}
  .v-rim{fill:#e8eee6}
  .v-spokes path{fill:none;stroke:var(--green-dark);stroke-width:1.3;stroke-linecap:round}
  .v-spokes{transform-box:fill-box;transform-origin:center;
            animation:vWheel .5s linear infinite;animation-play-state:paused}
  @keyframes vWheel{to{transform:rotate(360deg)}}
  .loop-stage.roll-a .veh-a .v-p.on .v-spokes,
  .loop-stage.roll-b .veh-b .v-p.on .v-spokes{animation-play-state:running}

  /* their van: plain white, a parcel outline on the flank */
  .veh-a .f-top{fill:#fff}
  .veh-a .f-side{fill:#e3eae0}
  .veh-a .f-end{fill:#c3d0be}
  .veh-a .v-mark{fill:none;stroke:rgba(22,61,22,.38);stroke-width:2}

  /* our truck: longer, three axles, a green box with the yellow stripe. No
     lettering on it, because a name on a vehicle that mirrors is a name that
     reads backwards half the time. The sign is on our warehouse instead. */
  .veh-b .f-top{fill:#377a37}
  .veh-b .f-side{fill:#215c21}
  .veh-b .f-end{fill:#164116}
  .veh-b .c-top{fill:#fff}
  .veh-b .c-side{fill:#e3eae0}
  .veh-b .c-end{fill:#c3d0be}
  .veh-b .v-stripe{fill:var(--yellow)}
  .veh-b .v-mark{fill:none;stroke:rgba(255,255,255,.55);stroke-width:2}
  .veh-b .v-door{fill:none;stroke:rgba(255,255,255,.22);stroke-width:2}

  /* the chip the item carries until refurbishment deals with it. The vehicles no
     longer rotate, so it needs no counter-rotation to stay readable. */
  .v-flag{opacity:0;transition:opacity .3s ease}
  .loop-stage.flag-a .veh-a .v-flag,
  .loop-stage.flag-b .veh-b .v-flag{opacity:1}
  .lp-veh.is-parked .v-flag{opacity:0}
  .v-flag rect{fill:var(--yellow)}
  .v-flag text{font-family:'Barlow Semi Condensed',sans-serif;font-weight:600;
               font-size:15px;letter-spacing:.7px;fill:var(--green-dark);
               text-anchor:middle;text-transform:uppercase}

  /* ---- the stops ----
     Each one covers the stage so its dot and its bar can be placed separately. */
  /* .lp-stops must NOT be positioned: .lp-stop is absolute with inset:0 and
     has to resolve against the stage, not against a zero-height list. */
  .lp-stops{list-style:none;margin:0;padding:0}
  /* No z-index here on purpose: without one .lp-stop makes no stacking
     context, so the dot can sit under the vehicles (a van pulls up ON its
     stop) while the text bar sits above everything. */
  .lp-stop{position:absolute;inset:0;pointer-events:none}
  .lp-dot{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);
          width:54px;height:54px;padding:0;border-radius:50%;cursor:pointer;
          pointer-events:auto;z-index:1;
          background:var(--lp-node);border:1px solid var(--lp-nodeb);
          display:flex;align-items:center;justify-content:center;
          box-shadow:0 0 0 8px var(--lp-ring),0 6px 16px rgba(0,0,0,.22);
          transition:background .3s ease,border-color .3s ease,
                     transform .3s ease,box-shadow .3s ease}
  .lp-dot svg{width:27px;height:27px;fill:none;stroke:var(--lp-ico);stroke-width:1.6;
              stroke-linecap:round;stroke-linejoin:round;transition:stroke .3s ease}
  .lp-stop.is-on .lp-dot{background:var(--yellow);border-color:var(--yellow);
          transform:translate(-50%,-50%) scale(1.1);
          box-shadow:0 0 0 11px var(--lp-ringon),0 8px 22px rgba(0,0,0,.32)}
  .lp-stop.is-on .lp-dot svg{stroke:var(--green-dark)}

  /* ---- the text bar beside each stop ----
     Closed it is just the name. Open it grows away from the road, upward for the
     stops at the top of the figure and downward for the ones at the bottom, so it
     never crosses the tarmac. */
  .lp-txt{position:absolute;width:min(230px,18%);z-index:4;
          padding:.45rem .7rem;border-radius:12px;
          background:transparent;border:1px solid transparent;
          transition:background .3s ease,border-color .3s ease,box-shadow .3s ease}
  .lp-stop.is-on .lp-txt{background:var(--lp-bub);border-color:var(--lp-bubb);
          box-shadow:0 12px 30px rgba(0,0,0,.26)}
  .lp-txt strong{display:block;font-family:'Barlow',sans-serif;font-weight:600;
                 font-size:1.02rem;color:var(--lp-headc);line-height:1.25;
                 transition:color .3s ease}
  .lp-stop.is-on .lp-txt strong{color:var(--yellow)}
  .lp-say{display:block;font-size:.85rem;line-height:1.42;color:var(--lp-bubt);
          max-height:0;opacity:0;overflow:hidden;
          transition:max-height .3s ease,opacity .25s ease,margin-top .3s ease}
  .lp-stop.is-on .lp-say{max-height:150px;opacity:1;margin-top:.3rem}
  /* The offsets are the dot's radius plus a gap. The stops above the road need
     more of it: the "minor defect" chip rides above the roof and would otherwise
     run into the bar. */
  .lp-stop[data-pos="above"] .lp-txt{left:var(--x);transform:translateX(-50%);
          bottom:calc(100% - var(--y) + 50px);text-align:center}
  .lp-stop[data-pos="below"] .lp-txt{left:calc(var(--x) + var(--dx,0%));
          transform:translateX(-50%);top:calc(var(--y) + 40px);
          text-align:center;width:min(210px,16%)}
  .lp-stop[data-pos="left"] .lp-txt{right:calc(100% - var(--x) + 42px);
          top:var(--y);transform:translateY(-50%);text-align:right;width:min(200px,14%)}
  .lp-stop[data-pos="right"] .lp-txt{left:calc(var(--x) + 34px);
          top:var(--y);transform:translateY(-50%);text-align:left;width:min(190px,13.5%)}
  /* The customer's warehouse sits on the crossing, in the middle of the figure,
     where there is no clear ground beside it. Its bar goes below the drawing,
     centred under the crossing and between the two lower stops. */
  .lp-stop[data-pos="under"] .lp-txt{left:var(--x);transform:translateX(-50%);
          top:calc(71.76% + 40px);text-align:center;width:min(280px,22%)}

  .lp-a11y{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
           overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

  /* ---- controls and key ---- */
  .lp-controls{display:flex;align-items:center;gap:.9rem;margin-top:1.1rem;flex-wrap:wrap}
  .lp-play{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;
           font-family:'Barlow',sans-serif;font-weight:600;font-size:.85rem;
           color:var(--lp-headc);background:transparent;
           border:1px solid var(--lp-line);border-radius:999px;padding:.4rem .9rem}
  .lp-play-i{width:10px;height:12px;display:inline-block;
    background:linear-gradient(currentColor,currentColor) 0 0/3px 12px no-repeat,
               linear-gradient(currentColor,currentColor) 7px 0/3px 12px no-repeat}
  .lp-play[aria-pressed="true"] .lp-play-i{background:none;width:0;height:0;
    border-left:10px solid currentColor;border-top:6px solid transparent;
    border-bottom:6px solid transparent}
  .lp-key{display:inline-flex;align-items:center;gap:.4rem;font-size:.82rem;
          color:var(--muted)}
  .lp-key span{width:22px;height:12px;border-radius:3px;display:inline-block}
  .lp-key-a{background:#fff;border:1.5px solid var(--green-dark)}
  .lp-key-b{background:var(--green);border:1.5px solid var(--green-dark);
            box-shadow:inset 0 -4px 0 var(--yellow)}
  .lp-hint{font-size:.82rem;color:var(--muted)}

  /* Under 960px the bars have nowhere left to sit. The drawing goes and the same
     seven stops become a plain list, still stepping in the same order, with the
     sentence always showing. */
  @media(max-width:960px){
    .loop-stage{aspect-ratio:auto;max-width:none}
    .loop-road,.loop-rider{display:none}
    .lp-stops{display:grid;gap:.7rem}
    .lp-stop{position:static;inset:auto;pointer-events:auto;
             display:flex;align-items:flex-start;gap:.85rem;
             background:var(--lp-node);border:1px solid var(--lp-line);
             border-radius:12px;padding:1rem 1.1rem;transition:border-color .3s ease}
    .lp-stop.is-on{border-color:var(--yellow)}
    .lp-dot{position:static;transform:none;width:42px;height:42px;flex:0 0 auto;
            box-shadow:none}
    .lp-stop.is-on .lp-dot{transform:none;box-shadow:none}
    /* [data-pos] is repeated so this matches the specificity of the placement
       rules above; without it they keep winning here. */
    .lp-stop[data-pos] .lp-txt{position:static;transform:none;width:auto;
            text-align:left;top:auto;bottom:auto;right:auto;left:auto;
            padding:0;background:none;border:0;box-shadow:none}
    .lp-say{max-height:none;opacity:1;margin-top:.15rem;overflow:visible}
    .lp-key{display:none}
  }
  @media(prefers-reduced-motion:reduce){
    .lp-txt,.lp-say,.lp-dot,.v-flag,.v-p,.lp-veh{transition:none}
    .v-spokes{animation:none}
  }

  /* ---------- THE FALLBACK ROUTE ----------
     Donation, then upcycling, then recycling, as three steps that light in turn.
     Colours come from two custom properties so the same markup works on the
     cream subpages and on the dark homepage: the keyframes below reference
     var(--rs-line) and var(--rs-badge), which resolve per element.
     The order is carried by the numerals and the reading order, so nothing is
     lost when the animation is off. */
  .route{margin-top:2.4rem}
  /* No max-width: the line is short enough to sit on one line at desktop
     widths, and capping it at 70ch was the only thing wrapping it. */
  .route-lead{margin-bottom:1.3rem}
  .route-steps{list-style:none;margin:0 0 1.1rem;padding:0;
               display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem}
  .rstep{--rs-line:var(--line);--rs-badge:var(--green);--rs-numc:var(--yellow);--rs-ico:var(--green);
         position:relative;display:flex;align-items:flex-start;gap:.85rem;
         background:#fff;border:1px solid var(--rs-line);border-radius:12px;
         padding:1.05rem 1.15rem;
         transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease}
  .rs-num{flex:0 0 auto;width:30px;height:30px;border-radius:50%;
          background:var(--rs-badge);color:var(--rs-numc);
          font-family:'Bebas Neue',sans-serif;font-size:1.05rem;line-height:30px;text-align:center}
  .rs-ico{width:26px;height:26px;flex:0 0 auto;fill:none;stroke:var(--rs-ico);opacity:.75;
          stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
  .rs-body{min-width:0}
  .rs-body strong{display:block;font-family:'Barlow',sans-serif;font-weight:600;
                  font-size:1.02rem;color:var(--green);line-height:1.3}
  .rs-body span{display:block;font-size:.88rem;color:var(--body);line-height:1.45;margin-top:.1rem}
  /* the connector sitting in the grid gap, and the dot that runs along it */
  .rstep::after{content:"";position:absolute;top:50%;right:-2.4rem;width:2.4rem;height:2px;
                background:var(--rs-line);transform:translateY(-50%)}
  .rstep::before{content:"";position:absolute;top:50%;right:-2.4rem;width:8px;height:8px;
                 border-radius:50%;background:var(--yellow);opacity:0;
                 transform:translate(0,-50%);z-index:1}
  .rstep:last-child::after,.rstep:last-child::before{display:none}
  .route-foot{font-size:.92rem}
  .route-foot a{color:var(--green);font-weight:600;border-bottom:1px solid var(--yellow);white-space:nowrap}

  /* Held until the section scrolls into view, so it is not looping off screen. */
  .reveal.in .rstep{animation:rsCard 6s ease-in-out infinite}
  .reveal.in .rstep .rs-num{animation:rsNum 6s ease-in-out infinite}
  .reveal.in .rstep .rs-ico{animation:rsIco 6s ease-in-out infinite}
  .reveal.in .rstep::before{animation:rsDot 6s ease-in-out infinite}
  /* These have to out-specify the shorthand above, which carries its own
     animation-delay:0s. .reveal.in is repeated for exactly that reason. */
  .reveal.in .rstep:nth-child(2),
  .reveal.in .rstep:nth-child(2) .rs-num,
  .reveal.in .rstep:nth-child(2) .rs-ico,
  .reveal.in .rstep:nth-child(2)::before{animation-delay:2s}
  .reveal.in .rstep:nth-child(3),
  .reveal.in .rstep:nth-child(3) .rs-num,
  .reveal.in .rstep:nth-child(3) .rs-ico{animation-delay:4s}
  @keyframes rsCard{
    0%,4%{transform:none;border-color:var(--rs-line);box-shadow:none}
    10%,28%{transform:translateY(-5px);border-color:var(--yellow);box-shadow:0 10px 26px rgba(0,0,0,.20)}
    34%,100%{transform:none;border-color:var(--rs-line);box-shadow:none}
  }
  @keyframes rsNum{
    0%,4%{background:var(--rs-badge);color:var(--rs-numc)}
    10%,28%{background:var(--yellow);color:var(--green-dark)}
    34%,100%{background:var(--rs-badge);color:var(--rs-numc)}
  }
  @keyframes rsIco{
    0%,4%{stroke:var(--rs-ico);opacity:.75}
    10%,28%{stroke:var(--yellow);opacity:1}
    34%,100%{stroke:var(--rs-ico);opacity:.75}
  }
  /* the handover: it leaves once this card has finished lighting and arrives
     just before the next one lights */
  @keyframes rsDot{
    0%,28%{opacity:0;transform:translate(0,-50%)}
    31%{opacity:1;transform:translate(0,-50%)}
    41%{opacity:1;transform:translate(calc(2.4rem - 8px),-50%)}
    44%,100%{opacity:0;transform:translate(calc(2.4rem - 8px),-50%)}
  }
  @media(max-width:820px){
    .route-steps{grid-template-columns:1fr;gap:.7rem}
    .rstep::after,.rstep::before{display:none}
  }
  @media(prefers-reduced-motion:reduce){
    .reveal.in .rstep,.reveal.in .rstep .rs-num,.reveal.in .rstep .rs-ico,
    .reveal.in .rstep::before{animation:none}
  }

  /* ---------- PROOF STRIP ---------- */
  .proof{background:var(--green-dark)}
  .proof h2{color:#fff;text-align:center;margin-bottom:2rem}
  .proof-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem}
  .proof-item{text-align:center;padding:1rem .5rem}
  .proof-item + .proof-item{border-left:1px solid #2a4a2a}
  .proof-item .big{font-family:'Bebas Neue';font-size:3.1rem;color:var(--yellow);line-height:1}
  .proof-item .aio{font-family:'Bebas Neue';font-size:2.3rem;color:var(--yellow);line-height:1.1;padding-top:.35rem}
  .proof-item .lbl{color:#c8dcc8;font-size:.9rem;margin-top:.5rem}
  /* a second, smaller line under a figure */
  .proof-item .sub{display:inline-block;margin-top:.45rem;font-size:.78rem;color:var(--yellow);border:1px solid rgba(255,217,61,.45);border-radius:999px;padding:2px 10px;white-space:nowrap}
  .all-green main > section .proof-item .sub{color:var(--yellow)}
  /* a small tilted sticker at the top right corner of a figure */
  .proof-item .big{position:relative;display:inline-block}
  .proof-item .big .tag{position:absolute;left:100%;top:-.2rem;margin-left:.35rem;transform:rotate(-8deg);white-space:nowrap;
    font:600 .72rem/1.15 'Barlow',sans-serif;letter-spacing:0;text-align:left;color:#0f2d0f;background:var(--yellow);
    padding:.28rem .5rem;border-radius:7px;box-shadow:0 4px 10px rgba(0,0,0,.25)}
  @media(max-width:600px){ .proof-item .big .tag{font-size:.62rem;padding:.22rem .4rem;margin-left:.2rem} }
  .proof-item .big .ast{font-size:.45em;vertical-align:top;margin-left:1px;color:var(--yellow)}
  .all-green main > section .proof-note .proof-cond{display:inline-block;margin-top:.35rem;font-size:.8rem;color:#aecbae}
  @media(max-width:600px){ .proof-item .sub{font-size:.68rem;padding:2px 7px;letter-spacing:-.1px} }
  .proof-note{text-align:center;color:#a8c4a8;font-size:.92rem;margin-top:1.75rem}

  /* ---------- CALCULATOR EMBED ---------- */
  .calc-embed{background:var(--cream)}
  .calc-embed h2{margin:.3rem 0 .4rem}
  .calc-embed .intro{max-width:44ch;margin-bottom:1.25rem}
  .calc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,462px);
             gap:clamp(1.75rem,4vw,3.5rem);align-items:center}
  .calc-points{list-style:none;margin:0 0 1.3rem;padding:0;display:grid;gap:.6rem;max-width:46ch}
  .calc-points li{position:relative;padding-left:1.65rem;font-size:1rem;line-height:1.5;color:var(--body)}
  .calc-points li::before{content:"";position:absolute;left:0;top:.5em;width:9px;height:9px;border-radius:50%;
                          background:var(--yellow);box-shadow:0 0 0 3px rgba(255,217,61,.28)}
  .calc-frame{display:flex;justify-content:center}
  .calc-frame iframe{width:100%;max-width:462px;height:900px;border:none;display:block}
  .calc-open{margin-top:0}
  .calc-open a{color:var(--green);font-weight:600;border-bottom:1px solid var(--yellow)}
  @media(max-width:900px){.calc-grid{grid-template-columns:1fr}}
  @media(max-width:430px){.calc-frame iframe{height:770px}}

  /* ---------- SUPPORTED BY ---------- */
  .supported{background:#fff;border-top:1px solid var(--line)}
  .supported h2{font-size:clamp(1.7rem,3.5vw,2.2rem);text-align:center;margin-bottom:.4rem}
  .supported .intro{text-align:center;font-size:.98rem;margin-bottom:2rem}
  .logo-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.9rem}
  .logo-tile{background:var(--cream);border-radius:10px;height:82px;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 .7rem;color:var(--green);font-weight:600;font-size:.9rem}

  /* ---------- SERVICES ---------- */
  .services{background:var(--cream)}
  .services h2{margin-bottom:.4rem}
  .services .intro{max-width:560px;margin-bottom:1.6rem}
  .sig-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.9rem;margin-bottom:1.75rem}
  .sig{background:var(--green);border-radius:12px;padding:1.4rem}
  .sig h3{font-family:'Barlow';font-weight:600;font-size:1.15rem;color:#fff;margin-bottom:.4rem;display:flex;align-items:center;gap:.5rem}
  .sig p{font-size:.9rem;color:#c8dcc8}
  .tag{background:var(--yellow);color:var(--green-dark);font-size:.65rem;padding:.1rem .5rem;border-radius:8px;font-weight:600;letter-spacing:.5px}
  .rest{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.4rem 1.6rem}
  .rest h3{font-family:'Barlow';font-weight:600;font-size:1rem;color:var(--green);margin-bottom:.5rem}
  .rest p{font-size:.95rem}

  /* ---------- WHO WE SERVE ---------- */
  .serve h2{margin-bottom:.4rem}
  .serve .intro{max-width:520px;margin-bottom:2rem}
  .serve-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.9rem}
  .serve-card{background:var(--cream);border-radius:12px;padding:1.75rem 1.5rem;border-top:4px solid var(--yellow)}
  .serve-card h3{font-family:'Barlow';font-weight:600;font-size:1.2rem;color:var(--green);margin-bottom:.6rem}
  .serve-card p{font-size:.98rem}

  /* ---------- RESULTS ---------- */
  .results{background:var(--cream)}
  .results h2{margin-bottom:.4rem}
  .results .intro{max-width:540px;margin-bottom:2rem}
  .cust-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.9rem;margin-bottom:1.5rem}
  .cust-tile{background:#fff;border:1px solid var(--line);border-radius:12px;height:96px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1.25rem;color:var(--green)}
  .pipe-bar{background:var(--green);border-radius:12px;padding:1.4rem 1.6rem;display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;margin-bottom:2rem}
  .pipe-bar .txt{color:#d6e4d6;font-size:.95rem}
  .quote-label{margin-bottom:1rem}
  .quote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.9rem}
  .quote{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.5rem}
  .quote .mark{font-family:'Bebas Neue';font-size:2rem;color:var(--yellow);line-height:.6}
  .quote .q{font-size:.92rem;color:#b0bdb0;font-style:italic;margin:.5rem 0 1.1rem}
  .quote .who{display:flex;align-items:center;gap:.65rem}
  .avatar{width:36px;height:36px;border-radius:50%;background:#e2e8e0;flex-shrink:0}
  .quote .name{font-weight:600;font-size:.9rem;color:var(--green)}
  .quote .role{font-size:.78rem;color:var(--muted)}

  /* ---------- ENDORSEMENTS ---------- */
  .endorse{background:#fff;border-top:1px solid var(--line)}
  .endorse .quote-grid .quote{background:var(--cream);border:none;border-left:4px solid var(--yellow);border-radius:0 12px 12px 0}
  .endorse .avatar{background:#d8e0d6}

  /* ---------- FOUNDER ---------- */
  .founder{background:var(--green)}
  .founder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.75rem;align-items:center}
  /* One centred column while there is no founder photo. Remove is-solo from the
     markup when the real image goes in and the two-column layout returns. */
  .founder-grid.is-solo{grid-template-columns:1fr;max-width:660px;margin:0 auto;text-align:center}
  .founder-grid.is-solo .sign{justify-content:center}
  .founder-grid.is-solo .cal{justify-content:center}
  /* The founder video placeholder had no styling at all, so its caption
     inherited the body colour and sat at 1.6:1 against the green. Until a real
     photo or clip lands it reads as a placeholder, like the others on the site. */
  .founder-media{border-radius:12px;overflow:hidden;position:relative;
                 display:flex;flex-direction:column;align-items:center;
                 justify-content:center;gap:.5rem;aspect-ratio:4/3;
                 background:rgba(255,255,255,.06);border:1px dashed rgba(255,255,255,.3)}
  .founder-media .play{font-size:2rem;line-height:1;color:var(--yellow)}
  .founder-media .cap{color:#cfe0cf;font-size:.85rem;text-align:center;padding:0 1rem}
  .founder-media img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:4/3}
  .founder h2{color:#fff;margin-bottom:1rem;font-size:clamp(1.8rem,3.5vw,2.3rem)}
  .founder p{color:#d6e4d6;font-size:.98rem;margin-bottom:1.1rem}
  .founder .sign{color:var(--yellow);font-weight:600;margin-bottom:1.4rem}
  .cal{background:#fff;border-radius:10px;padding:1rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
  .cal .lbl{color:var(--green);font-size:.95rem;display:flex;align-items:center;gap:.5rem}

  /* ---------- RECOVERY TEASER ---------- */
  .recover{background:var(--yellow)}
  .recover-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.75rem;align-items:center}
  .recover h2{color:var(--green-dark);margin-bottom:.7rem}
  .recover p{color:#2c3a1c;margin-bottom:1.5rem}
  .rec-card{background:#fff;border-radius:12px;padding:1.5rem}
  .rec-card .k{font-size:.75rem;color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:.4rem}
  .rec-card .in-lbl{font-size:.92rem;color:var(--body)}
  .rec-card .in-val{font-family:'Bebas Neue';font-size:2.1rem;color:var(--green);margin-bottom:.9rem}
  .rec-out{border-top:1px solid #eee;padding-top:.9rem;display:flex;justify-content:space-between;align-items:baseline}
  .rec-out .val{font-family:'Bebas Neue';font-size:1.85rem;color:var(--green)}

  /* ---------- FINAL CTA ---------- */
  .final{background:var(--green);text-align:center}
  /* The founder block and the closing CTA are both this green, so their two sets
     of section padding used to stack into a 200px hole in the middle of one solid
     colour. Halve the seam and mark it with a hairline instead. */
  .founder + .final{padding-top:clamp(1.75rem,3.4vw,2.75rem);border-top:1px solid rgba(255,255,255,.09)}
  .founder{padding-bottom:clamp(1.75rem,3.4vw,2.75rem)}
  .final h2{color:#fff;font-size:clamp(2.2rem,5vw,3.1rem);margin-bottom:.7rem}
  .final p{color:#d6e4d6;max-width:460px;margin:0 auto 1.9rem;font-size:1.1rem}
  .final-cta{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}

  /* ---------- FOOTER ---------- */
  footer{background:var(--green-dark);color:#d6e4d6;padding:2.75rem 0 1.75rem}
  .foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.75rem;margin-bottom:2rem}
  .foot-logo{margin-bottom:.7rem}
  .foot-logo .brandlogo{height:24px}
  .foot h3{font-family:'Barlow';font-size:.75rem;text-transform:uppercase;letter-spacing:1px;color:#7a9a7a;font-weight:600;margin-bottom:.75rem}
  .foot ul{list-style:none;line-height:2}
  .foot a{font-size:.92rem}
  .foot a:hover{color:var(--yellow)}
  .foot-tag{font-size:.85rem;color:#a8c4a8}
  .wa{background:var(--yellow);color:var(--green-dark);font-weight:600;font-size:.85rem;padding:.5rem 1rem;border-radius:8px;display:inline-flex;align-items:center;gap:.4rem}
  .foot-social{display:flex;align-items:center;gap:.6rem;margin-top:.9rem;flex-wrap:wrap}
  .li-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;border:2px solid #fff;line-height:0;overflow:hidden;transition:transform .15s ease}
  .li-icon:hover{transform:translateY(-1px)}
  .li-icon svg{display:block}
  .li-inline{display:inline-flex;vertical-align:middle;margin-left:.5rem;border-radius:6px;border:2px solid #fff;line-height:0;overflow:hidden;transition:transform .15s ease}
  .li-inline:hover{transform:translateY(-1px)}
  .li-inline svg{display:block}
  .foot-bottom{border-top:1px solid #2a4a2a;padding-top:1.25rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;font-size:.78rem;color:#7a9a7a}

  /* ---------- scroll reveal ---------- */
  /* Content is visible by default. js/site.js adds "js" to <html> once it is
     running, and only then are the sections still below the screen hidden so
     they can fade in. If the script never arrives, nothing stays invisible. */
  .reveal{transition:opacity .6s ease,transform .6s ease}
  .js .reveal:not(.in){opacity:0;transform:translateY(16px)}
  @media(prefers-reduced-motion:reduce){.js .reveal:not(.in){opacity:1;transform:none}.reveal{transition:none}html{scroll-behavior:auto}}

  /* ---------- MOBILE MENU (added at handover: makes the hamburger functional) ---------- */
  @media(max-width:1023px){
    .nav{position:relative}
    .nav-links.open{
      display:flex;flex-direction:column;gap:0;list-style:none;
      position:absolute;left:0;right:0;top:100%;
      background:var(--green);border-top:1px solid #2a4a2a;
      padding:.25rem 0 .5rem;z-index:60;
      box-shadow:0 14px 30px rgba(0,0,0,.34)
    }
    .nav-links.open li{border-bottom:1px solid rgba(255,255,255,.08)}
    .nav-links.open li:last-child{border-bottom:none}
    .nav-links.open a{display:block;padding:.9rem var(--pad);font-size:1rem}
    .nav-links.open a:focus-visible{outline:2px solid var(--yellow);outline-offset:-2px}
    .nav-toggle[aria-expanded="true"]{color:var(--yellow)}
  }

  /* ---------- SUBPAGE FURNITURE (same tokens as the homepage) ---------- */
  .pagehead{background:var(--green);color:#fff;padding:clamp(2.5rem,6vw,4rem) 0 clamp(2.2rem,5vw,3.2rem)}
  .pagehead h1{color:#fff;max-width:16ch}
  .pagehead .eyebrow{color:var(--yellow);display:block;margin-bottom:.6rem}
  .pagehead p{color:#d6e4d6;max-width:62ch;margin-top:1rem;font-size:1.08rem}
  .crumb{font-size:.82rem;color:#a8c4a8;margin-bottom:1.2rem}
  .crumb a:hover{color:var(--yellow)}
  .prose{max-width:70ch;overflow-wrap:break-word}
  .prose p,.prose li,.prose td,.prose th{overflow-wrap:break-word}
  .prose h2{margin:2.5rem 0 .9rem}
  .prose h2:first-child{margin-top:0}
  .prose h3{font-family:'Barlow';font-weight:600;font-size:1.15rem;color:var(--green);margin:1.8rem 0 .5rem}
  .prose p{margin-bottom:1rem}
  .prose ul,.prose ol{margin:0 0 1.2rem 1.2rem}
  .prose li{margin-bottom:.5rem;font-size:1rem}
  .prose a{color:var(--green);font-weight:600;border-bottom:1px solid var(--yellow)}
  .prose table{width:100%;border-collapse:collapse;margin:0 0 1.4rem;font-size:.95rem}
  .prose th,.prose td{text-align:left;padding:.7rem .8rem;border-bottom:1px solid var(--line);vertical-align:top}
  .prose th{font-family:'Barlow Semi Condensed',sans-serif;text-transform:uppercase;letter-spacing:1px;
            font-size:.78rem;color:var(--green);background:var(--cream)}
  .tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  /* On a phone a three-column table wraps every cell to five or six lines and
     stops being readable. Each row becomes a card instead, with the column name
     printed above each value. build.py writes those names into data-label from
     the header row, so they cannot drift. */
  @media(max-width:640px){
    .prose table,table.prose{font-size:1rem}
    .prose thead,table.prose thead{position:absolute;width:1px;height:1px;
      overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
    .prose tbody tr,table.prose tbody tr{display:block;background:#fff;
      border:1px solid var(--line);border-radius:12px;
      padding:.85rem 1rem;margin-bottom:.7rem}
    .prose tbody td,table.prose tbody td,
    .prose tbody th,table.prose tbody th{display:block;border:0;padding:.2rem 0;
      background:none;width:auto}
    .prose tbody td[data-label]::before,table.prose tbody td[data-label]::before{
      content:attr(data-label);display:block;
      font-family:'Barlow Semi Condensed',sans-serif;font-weight:600;
      text-transform:uppercase;letter-spacing:1px;font-size:.7rem;
      color:var(--muted);margin-bottom:.1rem}
    /* the first cell of a row is its name, so it leads rather than being labelled */
    .prose tbody td[data-label]:first-child::before,
    table.prose tbody td[data-label]:first-child::before{display:none}
    .prose tbody td:first-child,table.prose tbody td:first-child,
    .prose tbody th[scope="row"],table.prose tbody th[scope="row"]{
      font-family:'Barlow',sans-serif;font-weight:600;font-size:1.05rem;
      color:var(--green);margin-bottom:.25rem}
  }
  .alt{background:var(--cream)}
  .card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.5rem}
  .cardgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.9rem}
  .cardgrid .card h3{font-family:'Barlow';font-weight:600;font-size:1.12rem;color:var(--green);margin-bottom:.5rem}
  .cardgrid .card p{font-size:.96rem}
  .alt .card{background:#fff}
  .cta-band{background:var(--green);text-align:center}
  .cta-band h2{color:#fff;margin-bottom:.7rem}
  .cta-band p{color:#d6e4d6;max-width:52ch;margin:0 auto 1.6rem}
  .cta-band .final-cta{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}
  .tbc{background:#fff5cc;border:1px dashed #d9b800;border-radius:6px;color:#6b5600;
       font-family:'Barlow Semi Condensed',sans-serif;font-weight:600;font-size:.78rem;
       letter-spacing:.6px;padding:.1rem .5rem;display:inline;
       /* these chips can carry a whole sentence on the legal pages, so they must
          wrap. A nowrap chip pushed those pages sideways on a phone. */
       white-space:normal;overflow-wrap:break-word}
  .legal-note{background:var(--cream);border-left:4px solid var(--yellow);border-radius:0 12px 12px 0;
              padding:1.2rem 1.4rem;margin-bottom:2rem}
  .legal-note p{font-size:.95rem;color:#2c3a2c;margin:0}
  .lawyer{background:var(--green-dark);color:#d6e4d6;border-radius:12px;padding:1.5rem 1.6rem;margin-top:2.5rem}
  .lawyer h3{font-family:'Barlow';font-weight:600;color:var(--yellow);font-size:1.05rem;margin-bottom:.7rem}
  .lawyer ul{margin:0 0 0 1.1rem}
  .lawyer li{font-size:.94rem;margin-bottom:.45rem}
  .req{font-family:'Barlow Semi Condensed',sans-serif;font-weight:600;font-size:.72rem;letter-spacing:1px;
       text-transform:uppercase;color:var(--green);background:var(--yellow);border-radius:4px;
       padding:.1rem .45rem;margin-right:.5rem;white-space:nowrap}

  /* ---------- MOBILE DEFECT FIXES (found during handover verification) ---------- */
  /* 1. Was: reset of .hero-left{left:-125px}, a nudge the fixed-stage hero needed.
        The hero is a fluid grid now, so neither the nudge nor its reset exists. */
  /* 2. Header on phones: "Book a call" wrapped to two lines and the logo sat flush
        against the EN/DE switch with no gap. */
  @media(max-width:1023px){
    .nav{gap:.75rem}
    .nav-right{gap:.7rem}
    .nav-right .btn{white-space:nowrap;padding:.55rem .95rem;font-size:.92rem}
    .lang{font-size:.8rem}
  }
  @media(max-width:400px){
    .brandlogo{height:22px}
    .nav-right .btn{padding:.5rem .8rem;font-size:.88rem}
  }
  /* 3. Was: .hero-calc-col{display:none} on phones, because the absolutely
        positioned showcase sat on top of the H1 when the fit() script bailed out
        below 900px. The grid places it properly now, so phones keep it. */

  /* ---------- EXAMPLE TESTIMONIALS ----------
     Placeholder quotes carry a visible "Example" chip. The chip stays until a
     real, approved quote replaces the text. Never publish these as genuine. */
  .quote{position:relative}
  .ex-chip{position:absolute;top:.75rem;right:.85rem;
    font-family:'Barlow Semi Condensed',sans-serif;font-weight:600;font-size:.62rem;
    letter-spacing:1.2px;text-transform:uppercase;color:#6b5600;background:#fff5cc;
    border:1px dashed #d9b800;border-radius:5px;padding:.1rem .45rem}
  /* Same convention as the example quote chips above, applied to before/after
     pairs that are illustrations rather than photographs of a job we did. It
     stays until a real photograph of a real item replaces the image. Never
     publish an illustrated pair without it. */
  .il-chip{position:absolute;top:12px;right:12px;z-index:3;
    font-family:'Barlow Semi Condensed',sans-serif;font-weight:600;font-size:.62rem;
    letter-spacing:1.2px;text-transform:uppercase;color:#6b5600;background:#fff5cc;
    border:1px dashed #d9b800;border-radius:5px;padding:.1rem .45rem}
  /* On a phone the after badge and this chip were landing on each other, so
     the chip moves to the opposite corner. */
  @media(max-width:640px){.il-chip{top:auto;bottom:7px;right:7px;font-size:.55rem;padding:.05rem .3rem}}
  .quote .q.is-example{color:var(--body);font-style:italic}
  .avatar{background-size:cover;background-position:center;background-repeat:no-repeat}
  .example-note{font-size:.85rem;color:var(--muted);margin-top:1rem}
  .endorse .example-note{color:var(--muted)}

  /* ---------- ACCESSIBILITY AND TOUCH TARGETS ---------- */
  /* Text that only a screen reader needs. Used for the section headings that
     keep the h1, h2, h3 order unbroken where the design has no visible one. */
  .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
           overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

  /* Tap targets. WCAG 2.2 asks for 24 by 24 CSS pixels on anything you point at,
     and a bare text link is about 19px tall. The nav gets real padding; the
     read-more links get an invisible band instead, because padding would push
     their underline away from the text. */
  .nav-links a{display:inline-block;padding:.32rem 0}
  /* the footer list already reserves a 2em line; let the anchor fill it */
  .foot a{display:inline-block;line-height:1.9}
  .sect-more a,.calc-open a,.route-foot a,
  .prose ul a,.prose p > a:only-child,.cardgrid .card h3 a{position:relative}
  .sect-more a::after,.calc-open a::after,.route-foot a::after,
  .prose ul a::after,.prose p > a:only-child::after,.cardgrid .card h3 a::after{
    content:"";position:absolute;left:0;right:0;top:50%;
    transform:translateY(-50%);height:26px}

  /* Skip link: the nav is six items long and sits before the content on every
     page, so keyboard and screen-reader users need a way past it. */
  .skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--yellow);
        color:var(--green-dark);font-weight:600;padding:.75rem 1.2rem;border-radius:0 0 8px 0}
  .skip:focus{left:0}

  /* One visible focus ring that survives both the light and the dark sections. */
  a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
  textarea:focus-visible,[tabindex]:focus-visible{
    outline:3px solid var(--yellow);outline-offset:2px;
    box-shadow:0 0 0 5px rgba(15,45,15,.55);border-radius:3px}
  /* The chips are 30px tall, short of the 44px a finger wants. This grows the
     hit area without changing how the chip looks or how the row packs. */
  .dt-chips button{position:relative}
  .dt-chips button::after{content:"";position:absolute;left:0;right:0;top:50%;
    transform:translateY(-50%);height:44px}

  /* Footer links sat at 18px tall, below a comfortable tap target. */
  @media(max-width:860px){
    .foot ul{line-height:2.4}
    .foot a{display:inline-block;padding:.15rem 0}
  }

  /* <picture> wrappers must not create a box of their own, or they would change
     the layout the img sits in. display:contents keeps every existing rule that
     targets the img working exactly as before. */
  picture{display:contents}

  /* The hero call to action used to be hidden above 900px, on the reasoning that
     the desktop hero was a fixed stage that did not include one. It meant the
     desktop first screen had nothing to click except the nav. It is now part of
     the hero grid at every width; see the HERO block above. */
  @media(max-width:900px){
    .hero-cta .btn{font-size:.95rem;padding:.8rem 1.4rem}
  }

  /* ---------- PRINT ----------
     People print the legal pages and the terms. On paper the dark chrome wastes
     ink, and a URL after every link is more useful than an underline. */
  @media print{
    header,footer,.skip,.cta-band,.final,.hero-calc-col,.lb,.calc-frame,
    .foot-social,.nav-toggle{display:none!important}
    body{background:#fff;color:#000;font-size:11pt}
    .pagehead{background:#fff;padding:0 0 1rem;border-bottom:2px solid #000}
    .pagehead h1,.pagehead p,.pagehead .eyebrow,.crumb{color:#000}
    section{padding:1rem 0}
    .alt,.results,.stakes,.services,.supported,.endorse,.proof,.ba{background:#fff}
    .prose{max-width:none}
    h1,h2,h3{color:#000;page-break-after:avoid}
    p,li,tr{page-break-inside:avoid}
    a{color:#000;text-decoration:underline}
    .prose a[href^="http"]::after{content:" (" attr(href) ")";font-size:9pt;word-break:break-all}
    .legal-note,.lawyer{border:1px solid #000;background:#fff;color:#000}
    .lawyer h3,.lawyer li{color:#000}
    .tbc,.req{border:1px solid #000;background:#fff;color:#000}
    .reveal{opacity:1!important;transform:none!important}
  }

  /* ---------- PHOTOGRAPHS IN CONTENT ---------- */
  .photo{margin:0 0 1.5rem}
  .photo img{width:100%;height:auto;display:block;border-radius:12px}
  .photo figcaption{font-size:.88rem;color:var(--muted);margin-top:.65rem;line-height:1.5}
  .photo-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.4rem;align-items:start}
  .photo-wide{max-width:820px;margin-left:auto;margin-right:auto}
  .founder .photo figcaption,.cta-band .photo figcaption{color:#a8c4a8}

  /* ---------- ALL GREEN ----------
     Walid's call: every section on the homepage sits on one of the two brand
     greens, the hero green and the dark green, alternating, with a hairline
     between them. No cream and no white grounds. Everything below re-points the
     light-ground components at dark: same layouts, same spacing, inverted.
     Scoped to body.all-green so the subpages are untouched until we take it
     there too. */
  .all-green main > section{background:#0c4a19;color:#e4efe4}
  .all-green main > section:nth-of-type(even){background:var(--green-dark)}
  .all-green main > section + section{border-top:1px solid rgba(255,255,255,.12)}
  .all-green main > section h2,
  .all-green main > section h3{color:#fff}
  .all-green main > section p,
  .all-green main > section li{color:#cfe0cf}
  .all-green main > section .intro{color:#cfe3cf}
  .all-green main > section .eyebrow{color:#aecbae}
  .all-green .sect-more a{color:#fff}

  /* panels: white and cream cards become a lift out of the green */
  .all-green .cost,
  .all-green .ban-date,
  .all-green .step,
  .all-green .rest,
  .all-green .cust-tile,
  .all-green .quote,
  .all-green .serve-card,
  .all-green .logo-tile,
  .all-green .cal{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.16)}
  .all-green .quote,
  .all-green .cust-tile,
  .all-green .rest,
  .all-green .cost,
  .all-green .ban-date{border:1px solid rgba(255,255,255,.16)}
  .all-green .cost h3,
  .all-green .rest h3,
  .all-green .serve-card h3,
  .all-green .ban-date strong,
  .all-green .quote .name,
  .all-green .cust-tile,
  .all-green .cal .lbl{color:#fff}
  .all-green .cost p,
  .all-green .ban-date span,
  .all-green .serve-card p,
  .all-green .rest p{color:#cfe0cf}
  .all-green .quote .q{color:#c3d5c3}
  .all-green .quote .role,
  .all-green .facts-src,
  .all-green .ban-note,
  .all-green .ph-note{color:#a7bfa7}
  .all-green .ban-note a{color:#fff}
  .all-green .avatar{background:rgba(255,255,255,.22)}
  .all-green .logo-tile{color:#dfe9df}
  .all-green .endorse .quote-grid .quote{background:rgba(255,255,255,.055);border-left:4px solid var(--yellow)}

  /* the stakes panels */
  .all-green .stakes-panels .panel-figs,
  .all-green .stakes-panels .panel-ban{border-left-color:rgba(255,255,255,.14)}
  .all-green .fact{border-bottom-color:rgba(255,255,255,.14)}
  .all-green .fact .n{color:var(--yellow)}
  .all-green .fact .t{color:#cfe0cf}
  .all-green .ico{stroke:#bcd6bc;opacity:.9}
  .all-green .cost::before{background:rgba(0,0,0,.22)}
  .all-green .cost .n{color:var(--yellow)}
  .all-green .ban-badge .ring{fill:var(--yellow)}
  .all-green .ban-badge .shirt{fill:var(--green-dark)}
  .all-green .ban-badge .stop,
  .all-green .ban-badge .slash{stroke:var(--green-dark)}
  .all-green .ban-badge span{color:#fff}
  .all-green .ban-badge small{color:#a7bfa7}
  .all-green .turn{color:#fff}

  /* steps, process and the rest */
  .all-green .step h3{color:#fff}
  .all-green .step p{color:#cfe0cf}
  .all-green .step .num{background:var(--yellow);color:var(--green-dark)}
  /* the fallback route on the dark ground. The two custom properties are what
     the keyframes read, so the animation follows without being restated. */
  .all-green .rstep{--rs-line:rgba(255,255,255,.16);--rs-badge:rgba(255,255,255,.14);
                    --rs-numc:#fff;--rs-ico:#bcd6bc;background:rgba(255,255,255,.055)}
  .all-green .rs-body strong{color:#fff}
  .all-green .rs-body span{color:#cfe0cf}
  .all-green .route-foot{color:#cfe0cf}
  .all-green .route-foot a{color:#fff}
  /* the loop on the dark ground */
  .all-green .loop{--lp-edge:rgba(255,255,255,.05);--lp-tar:rgba(255,255,255,.14);
                   --lp-dash:rgba(255,255,255,.30);--lp-lobe:rgba(255,255,255,.13);
                   --lp-arrow:rgba(255,255,255,.42);
                   --lp-scene1:rgba(255,255,255,.045);--lp-scene2:rgba(255,255,255,.075);
                   --lp-node:rgba(255,255,255,.10);--lp-nodeb:rgba(255,255,255,.28);
                   --lp-ico:#dfe9df;--lp-ring:rgba(255,255,255,.06);
                   --lp-headc:#fff;--lp-line:rgba(255,255,255,.16);
                   --lp-bub:#123a12;--lp-bubb:rgba(255,255,255,.20);--lp-bubt:#cfe0cf;
                   --lp-apron:rgba(255,255,255,.075);--lp-yshadow:rgba(0,0,0,.12);
                   --lp-wall:#dfe5dc;--lp-wall2:#aebcab;--lp-roof:#8fa88c;
                   --lp-eave:#7c9679}
  .all-green .lp-hint,.all-green .lp-key{color:#a7bfa7}
  @media(max-width:960px){
    .all-green .loop{--lp-node:rgba(255,255,255,.055)}
  }
  .all-green .process-img img{background:transparent}
  .all-green .btn-green{background:var(--yellow);color:var(--green-dark)}
  .all-green .btn-green:hover{background:#ffe066}

  /* the sections that used to set their own ground no longer need to: the
     alternating rule above already covers every one of them */
  .all-green .recover h2,
  .all-green .recover p{color:#fff}
  .all-green .rec-card{background:rgba(255,255,255,.06)}
  .all-green .rec-card .k,
  .all-green .rec-card .in-lbl{color:#bcd0bc}
  .all-green .rec-card .in-val,
  .all-green .rec-out .val{color:var(--yellow)}
  .all-green .rec-out{border-top-color:rgba(255,255,255,.14)}

  /* two links that were still carrying their light-ground colours. Both were
     caught by the contrast sweep: the calculator link measured 1.22:1 and the
     example note 3.52:1, where 4.5:1 is the floor for text this size. */
  .all-green .calc-open a{color:#fff}
  .all-green .example-note,
  .all-green .endorse .example-note{color:#b7c9b7}

  /* ---------- HOMEPAGE, NINE SECTIONS ----------
     The trust strip under the hero, the numbers folded into the calculator
     section, and "who we serve" folded into services. */
  section.trust{padding:1.35rem 0}
  .trust .wrap{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.9rem 3rem}
  .trust-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.4rem 1.1rem}
  .trust-lbl{font-size:.72rem;font-weight:600;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted)}
  .trust-names{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.3rem 1.4rem}
  .trust-names li{font-family:'Barlow Semi Condensed';font-weight:600;font-size:1.15rem;color:var(--green)}
  .trust-names.is-small li{font-size:.98rem}
  .all-green .trust-lbl{color:#aecbae}
  .all-green main > section .trust-names li{color:#fff}
  .all-green main > section .trust-names.is-small li{color:#dfe9df}

  .proof-h{text-align:center;margin-bottom:2rem}
  .calc-split{border:0;border-top:1px solid rgba(255,255,255,.14);margin:clamp(2rem,4vw,3rem) 0}

  .serve-h{font-family:'Bebas Neue';font-weight:400;font-size:clamp(1.6rem,3vw,2rem);letter-spacing:.5px;margin:2.5rem 0 1rem}
  .services .serve-card{padding:1.4rem 1.5rem}
  .sect-more a + a{margin-left:1.6rem}

  .founder .final-cta{margin-top:.4rem}
  #recover{scroll-margin-top:96px}

/* ---------- SHORT SCREENS ----------
   Laptops with display scaling (a 1920x1080 screen at 150% is a 1280x~600
   browser window) showed every section taller than the screen at 100% zoom.
   On such short desktop windows the whole page is drawn smaller, the way
   it looks at 80-90% browser zoom, so each section fits on one screen as
   designed. --z carries the factor for anything sized from the viewport
   height (the hero), and the lightbox undoes it so it stays full size. */
@media (min-width:1024px) and (max-height:860px){ html{--z:.9;zoom:.9} }
@media (min-width:1024px) and (max-height:760px){ html{--z:.8;zoom:.8} }
.lb{zoom:calc(1 / var(--z,1))}

/* Homepage: the header's Book a call hides while the hero (which has its own)
   is on screen, and slides in once the visitor scrolls past it. Desktop only;
   on phones the header button is the one always within reach. */
@media(min-width:901px){
  .nav-right .btn{transition:opacity .3s ease,transform .3s ease}
  body.hero-in-view .nav-right .btn{opacity:0;transform:translateY(-6px);pointer-events:none;visibility:hidden}
}

/* the line under the numbers: closer to them and a little larger */
.all-green main > section .proof-note{margin-top:.6rem;font-size:1.12rem;color:#e4efe4}

/* Footer: a separate band under a yellow line; brand, Explore, Contact and Legal as divided columns */
footer{background:#071a0a;border-top:3px solid #ffd93d;padding:3.2rem 0 1.6rem}
footer .foot-grid{grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:0;margin-bottom:2.2rem}
footer .foot{padding:0 1.6rem}
footer .foot:first-child{padding-left:0}
footer .foot + .foot{border-left:1px solid rgba(255,255,255,.12)}
footer .foot h3{color:#ffd93d;font-size:.78rem;letter-spacing:1.6px;margin-bottom:.9rem}
footer .foot a{color:#e4efe4}
footer .foot a:hover{color:#ffd93d}
footer .foot a.wa,footer .foot a.wa:hover{color:#0f2d0f}
footer .foot li{color:#a8c4a8}
footer .foot-bottom{border-top-color:rgba(255,255,255,.12)}
@media (max-width:900px){
  footer .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:2rem}
  footer .foot:first-child{grid-column:1/-1;padding:0}
  footer .foot:nth-child(2){padding-left:0;border-left:0}
}
@media (max-width:560px){
  footer .foot-grid{grid-template-columns:minmax(0,1fr)}
  footer .foot{padding:1.4rem 0 0!important;border-left:0!important;border-top:1px solid rgba(255,255,255,.12)}
  footer .foot:first-child{border-top:0;padding-top:0!important}
}
footer .foot-contact{line-height:1.7}
footer .foot-contact .wa-link{display:inline-flex;align-items:center;gap:.4rem}
footer .foot-contact .wa-link svg{color:#25d366}

/* EN/DE language switch in the header (homepages for now) */
.lang-sw{display:inline-flex;align-items:stretch;height:34px;margin-right:.6rem;border:1.5px solid rgba(255,255,255,.45);border-radius:8px;overflow:hidden;font-weight:700;font-size:.82rem;letter-spacing:.5px}
.lang-sw>*{display:flex;align-items:center;justify-content:center;min-width:34px;padding:0 .45rem;color:#fff;text-decoration:none}
.lang-sw .on{background:var(--yellow);color:var(--green-dark)}
.lang-sw a:hover{color:var(--yellow)}
@media (max-width:480px){
  .lang-sw{height:30px;margin-right:.35rem;font-size:.72rem}.lang-sw>*{min-width:27px;padding:0 .3rem}
  .nav-right .btn{padding:.5rem .75rem!important;font-size:.85rem}
}
@media (max-width:380px){
  .nav-right .btn{padding:.45rem .6rem!important;font-size:.8rem}
  .lang-sw{margin-right:.25rem}
  header .brandlogo{height:17px}
  .nav{gap:.4rem}
}
@media (max-width:420px){.lang-sw{margin-right:.3rem;font-size:.7rem}.lang-sw>*{min-width:24px;padding:0 .25rem}header .brandlogo{height:18px}.nav-right .btn{padding:.45rem .6rem!important;font-size:.8rem}}
@media (max-width:380px){header .brandlogo{height:15px}.nav-right .btn{padding:.4rem .5rem!important;font-size:.74rem}.nav-toggle{font-size:1.3rem}}
@media (max-width:340px){.nav-right .btn{padding:.35rem .4rem!important;font-size:.7rem}.lang-sw>*{min-width:21px;padding:0 .15rem}header .brandlogo{height:13px}}

/* German pages: links to pages that exist only in English carry a small EN tag */
.en-tag{display:inline-block;margin-left:.3em;padding:.05em .32em;border:1px solid currentColor;border-radius:4px;font-size:.62em;font-weight:600;letter-spacing:.04em;line-height:1.3;vertical-align:middle;opacity:.7}
.en-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media(min-width:1280px){.nav-links a[hreflang="en"]{white-space:nowrap}.nav-links:has(.en-tag){gap:1.1rem}}
@media(min-width:1024px) and (max-width:1279px){.nav-links .en-tag{display:none}}
/* Small laptop widths: keep each menu item on one line */
@media(min-width:1024px) and (max-width:1120px){.nav-links{gap:1rem}.nav-links a{white-space:nowrap;font-size:.9rem}}
@media(min-width:1024px) and (max-width:1120px){.nav-links:has(.en-tag){gap:.7rem;margin:0 .6rem}.nav-links:has(.en-tag) a{font-size:.85rem}}
/* legal pages: note while the site is being finished (remove when no longer needed) */
.dev-note{max-width:760px;margin:1.2rem 0 0;padding:.75rem 1rem;border:1px dashed rgba(255,217,61,.55);border-radius:10px;background:rgba(255,217,61,.07);font-size:.9rem;line-height:1.55;color:#e4efe4}
.dev-note b{color:#fff;font-weight:600}
.dev-note a{color:#ffd93d}
/* German has long compound words: let the browser hyphenate running text */
html[lang="de"] main p,html[lang="de"] main li,html[lang="de"] main small{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
/* Phone header balance: the logo leads, "Book a call" stays compact.
   Overrides the older step-by-step phone rules above. */
@media (max-width:480px){
  header .brandlogo{height:22px}
  .nav-right .btn{padding:.38rem .7rem!important;font-size:.8rem;border-radius:8px;line-height:1.2}
  .lang-sw{height:28px}
}
@media (max-width:380px){
  header .brandlogo{height:19px}
  .nav-right .btn{padding:.34rem .55rem!important;font-size:.74rem}
}
@media (max-width:340px){
  header .brandlogo{height:16px}
  .nav-right .btn{padding:.3rem .45rem!important;font-size:.7rem}
}


/* =====================================================================
   PRE-LAUNCH FIXES (header, tap areas, focus, motion, legal pages).
   Kept together at the end so they win over the older step-by-step rules.
   ===================================================================== */

/* ---- Header: one line at every width, in both languages ----
   The burger takes over below 1024px (it was 861px, where the six German
   labels did not fit: the button wrapped and the language switch was cut).
   Nothing in the bar may wrap or shrink below its content. */
header .nav{gap:.75rem;flex-wrap:nowrap}
header .logo,header .nav-right,header .lang-sw,header .nav-toggle{flex:none}
header .nav-right .btn{white-space:nowrap;flex:none}
header .nav-links a{white-space:nowrap}
header .nav-links{min-width:0}
@media(min-width:1024px) and (max-width:1180px){
  header .nav-links{gap:1rem}
  header .nav-links a{font-size:.9rem}
  header .nav-right{gap:.6rem}
  html[lang="de"] header .nav-links{gap:.85rem}
  html[lang="de"] header .nav-right .btn{padding:.55rem .9rem!important}
}
/* The switch no longer clips its children (that also clipped their tap
   area); the two halves carry the rounded corners themselves. */
.lang-sw{overflow:visible;position:relative}
.lang-sw>:first-child{border-radius:6px 0 0 6px}
.lang-sw>:last-child{border-radius:0 6px 6px 0}

/* ---- Tap areas: at least 44 by 44 on touch screens ----
   The look stays as it is; an invisible area around each small control
   catches the finger. Where controls sit in a column (footer links) the
   rows themselves grow to 44px instead, so the areas cannot overlap. */
@media (pointer:coarse),(max-width:1023px){
  /* The switch has two states, so the whole of it is the target for the
     other language: at least 44px high and as wide as the switch. */
  .lang-sw>a::after{content:"";position:absolute;z-index:1;top:50%;height:44px;transform:translateY(-50%);left:-3px;right:-3px}
  .nav-right .btn,.crumb a,.sect-more a,.ca-link,.sv-more,.sd-cta,.ct-map,.fq-jump a,.fq-more a,.cr-mail a,.hv-tab,.hv-reveal,
  .li-icon,.li-inline,.lead-or a,.tr-chip,.sent a,.route-foot a,.calc-open a{position:relative}
  .nav-right .btn::after,.crumb a::after,.sect-more a::after,.ca-link::after,.sv-more::after,.sd-cta::after,.ct-map::after,
  .fq-jump a::after,.fq-more a::after,.cr-mail a::after,.hv-tab::after,.hv-reveal::after,.li-icon::after,.li-inline::after,
  .lead-or a::after,.tr-chip::after,.sent a::after,.route-foot a::after,.calc-open a::after,
  .hv-snd::after,.hv-full::after,.dft-vid::after,.p90::after,.mo-pause::after{
    content:"";position:absolute;left:50%;top:50%;right:auto;bottom:auto;
    width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
  .li-icon,.li-inline{overflow:visible}
  /* footer: every link row is a full 44px line */
  footer .foot ul{line-height:1.5}
  footer .foot li{min-height:1.7em}
  footer .foot a,footer .foot-contact .wa-link{display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:0;line-height:1.3}
  footer .foot-social{margin-top:.6rem}
  footer .foot-social .li-icon{margin:8px 8px 8px 0}
  /* consent lines: the whole row is the target, the box a little larger */
  .consent,.tr-consent,.ct-consent{min-height:44px;align-items:center!important}
  .consent input[type=checkbox],.tr-consent input[type=checkbox],.ct-consent input[type=checkbox]{width:22px!important;height:22px!important;margin-top:0!important}
}
@media (max-width:560px){
  /* phone footer: Explore in two columns, so 44px rows do not make it longer */
  footer .foot:nth-child(2) ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem}
}

/* ---- Focus: one clear ring on everything that can take the keyboard ---- */
summary:focus-visible,[role="button"]:focus-visible,[role="tab"]:focus-visible,[role="slider"]:focus-visible,
video:focus-visible,label:focus-visible,details:focus-visible{
  outline:3px solid var(--yellow);outline-offset:2px;box-shadow:0 0 0 5px rgba(15,45,15,.55);border-radius:3px}
/* range sliders and checkboxes keep the ring even where a component reset it */
input[type="range"]:focus-visible,input[type="checkbox"]:focus-visible,input[type="radio"]:focus-visible{
  outline:3px solid var(--yellow);outline-offset:3px}
.btn:focus-visible{border-radius:8px}

/* ---- Pause / play buttons that js/site.js adds to moving parts ---- */
.mo-pause{position:relative;display:inline-grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border-radius:50%;
  border:1.5px solid rgba(255,255,255,.45);background:rgba(0,0,0,.35);color:#fff;cursor:pointer;transition:border-color .15s,color .15s}
.mo-pause svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.mo-pause .i-play{display:none;fill:currentColor;stroke-width:1.6}
.mo-pause:not(.is-running) .i-play{display:inline}
.mo-pause:not(.is-running) .i-pause{display:none}
.mo-pause:hover{border-color:var(--yellow);color:var(--yellow)}
.mo-pause:focus-visible{outline:3px solid var(--yellow);outline-offset:2px;border-radius:50%}
.hero-support .mo-sup{width:28px;height:28px;border-color:rgba(255,255,255,.3);background:transparent;color:#cfe0cf}
.hero-support .mo-sup svg{width:13px;height:13px}

/* ---- Reduced motion: nothing loops, slides or fades by itself ---- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
}

/* ---- Long words and addresses never widen the page ---- */
h1,h2,h3{overflow-wrap:break-word}
.prose a,.prose td,.prose li,.prose p,footer .foot a{overflow-wrap:anywhere}
.prose pre,.prose code{white-space:pre-wrap;overflow-wrap:anywhere}
.prose table{max-width:100%}
html[lang="de"] h1,html[lang="de"] h2,html[lang="de"] h3{-webkit-hyphens:auto;hyphens:auto}
@media (max-width:480px){
  /* "Datenschutzerklärung" is one word of twenty letters: size it to fit */
  .pagehead h1{font-size:min(2.6rem,10.4vw)}
}

/* ---- German on phones: centred, hyphenated copy reads ragged ----
   Running text in the hero goes left-aligned; centred short texts (cards,
   intros) stay centred but are no longer broken inside words. */
@media (max-width:640px){
  html[lang="de"] .hero-left p{text-align:left;align-self:stretch;text-wrap:pretty}
  html[lang="de"] main .cost-card p,html[lang="de"] main .wcost .intro,html[lang="de"] main .cost-answer p,
  html[lang="de"] main .cost-src,html[lang="de"] main .head p,html[lang="de"] main .hv-price,html[lang="de"] main .proof-note{
    -webkit-hyphens:manual;hyphens:manual;text-wrap:pretty}
}

/* ---- Smallest phones (320px), German: "Termin buchen" is the longest
   button, so the bar gives up a little air instead of running off screen. */
@media (max-width:340px){
  header .nav{gap:.4rem}
  header .nav-right{gap:.35rem}
  header .lang-sw{margin-right:.1rem}
  header .nav-toggle{width:40px;position:relative}
  header .nav-toggle::after{content:"";position:absolute;top:0;bottom:0;left:-2px;right:-2px}
}
/* cards whose heading is the link (404 page): the heading line is the target */
@media (pointer:coarse),(max-width:1023px){
  .card h3>a:only-child{display:inline-flex;align-items:center;min-height:44px}
}

/* ===== Pilot projects (homepage): four anonymous cards, logo slot for later ===== */
.pilots{padding:3.5rem 0}
.pilots h2{text-align:center}
.pilots .intro{text-align:center;max-width:40rem;margin:.5rem auto 1.8rem}
.pl-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.pl-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:1.1rem 1rem 1.2rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.3rem}
.pl-logo{display:flex;align-items:center;justify-content:center;width:100%;height:64px;margin-bottom:.5rem;border:1.5px dashed rgba(255,255,255,.35);border-radius:10px;color:rgba(255,255,255,.7);font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}
.pilots .pl-card h3{font-size:1.15rem;margin:0;color:#fff}
.pilots .pl-reg{margin:0;color:rgba(255,255,255,.78);font-size:.92rem}
.pl-st{margin-top:.5rem;display:inline-block;background:#ffd93b;color:#0b2e14;border-radius:999px;padding:.28rem .8rem;font-size:.8rem;font-weight:700}
.pilots .pl-note{text-align:center;margin:1.3rem 0 0;color:rgba(255,255,255,.75);font-size:.9rem}
@media (max-width:900px){.pl-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.pilots{padding:2.5rem 0}.pl-grid{gap:.6rem}.pl-card{padding:.8rem .6rem 1rem}.pl-logo{height:48px;font-size:.7rem}.pl-card h3{font-size:.95rem}.pl-st{font-size:.72rem;padding:.25rem .6rem}}

/* ===== Phone homepage: shorter page. The key-message carousel, the live loss
   line and the report preview repeat what the page already says. ===== */
@media (max-width:640px){
  .calc-embed .kc-host,.calc-embed .tick,.calc-embed .tk-src,.calc-embed .rep .stack{display:none}
  .hero-cta{display:flex;flex-wrap:wrap;gap:.6rem}
  .hero-cta .btn{flex:1 1 auto;text-align:center}
}
@media (max-width:640px){
  /* cost cards: two columns instead of one long stack; services: tighter rows */
  .services.roofs .rf-col{padding:.7rem .8rem}
  .services.roofs .rf-col p{margin:.1rem 0 0}
  .wcost .cost-cards{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
  .wcost .cost-card{padding:.9rem .7rem}
  .wcost .cost-card .cost-ring{width:46px;height:46px}
  .wcost .cost-card h3{font-size:1rem}
  .wcost .cost-card p{font-size:.84rem;line-height:1.4}
  .ws2 .ws2-grid{display:grid;grid-template-columns:1fr;gap:.5rem}
  .ws2 .ws2-card{display:grid;grid-template-columns:44px 1fr;column-gap:.7rem;align-items:start;text-align:left;padding:.8rem}
  .ws2 .ws2-card .ws2-ico{grid-row:1/3;width:44px;height:44px;margin:0}
  .ws2 .ws2-card h3{margin:0;font-size:1rem}
  .ws2 .ws2-card p{margin:.15rem 0 0;font-size:.84rem;line-height:1.4}
  /* founder: the short version on phones */
  .founder .fd-text p:nth-of-type(2),.founder .fd-text p:nth-of-type(3),.founder .fd-quote{display:none}
}
@media (max-width:640px){
  /* phone: the contact form opens when the visitor taps "See my price" */
  .calc-embed .rep{display:none}
  .calc-embed form#lead:not(:target):not(.is-open){display:none}
  .hiw .branch .routes{display:none}
  .services .ws2 .ws2-card p{display:none}
  .services .ws2 .ws2-card{align-items:center}
}
