/* ===== Desktop foundation — Round 1 (Home). Additive only; mobile/tablet untouched below 768px. ===== */

/* The desktop nav is a desktop-only element: hidden by default, revealed at >=1024px. */
.dnav{display:none}

/* Contact sheet: all three options the same size regardless of description length. */
.sheet__opt{box-sizing:border-box;min-height:94px;align-items:center}
.sheet__opt .sheet__meta{min-width:0}
.sheet__opt .sheet__meta small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ---------- Tablet (768–1023px): centred mobile layout, nothing else ---------- */
@media (min-width:768px) and (max-width:1023px){
  body{max-width:none;margin:0}
  .mbar{max-width:none;width:100%;left:0;right:0;transform:none}
  #mload{left:0;right:auto;width:100%;transform:none}
  .msol__inner,.mc__inner{max-width:640px;margin-left:auto;margin-right:auto;padding-left:48px;padding-right:48px;box-sizing:border-box}
  .mfilm__stage,.hero2{max-width:640px;margin-left:auto;margin-right:auto}
}

/* ================= Desktop (min-width:1024px) ================= */
@media (min-width:1024px){
  :root{
    --container-max:1280px; --gutter:64px;
    --dt-display:clamp(64px,5.4vw,104px); --dt-section-title:clamp(40px,3vw,56px);
    --dt-subtitle:clamp(22px,1.6vw,28px); --dt-body:clamp(17px,1.1vw,19px);
    --dt-label:13px; --dt-rhythm:160px;
  }

  /* ---------- STEP 2 (Round 2) — unlock the 430px phone-shell lock from grape-mobile.css @media(min-width:760px), which has no upper bound and otherwise wins on the desktop breakpoints too ---------- */
  body{max-width:none;margin:0}
  #mload{left:0;right:auto;width:100%;transform:none}


  /* ---------- Header ---------- */
  .mbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:88px;padding:0 var(--gutter);left:0;right:0;width:100%;max-width:1280px;margin-inline:auto;transform:none}
  .mbar-logo{grid-column:1;justify-self:start}
  .mbar .mbar-logo .mbar-logo__mark{height:18px;width:auto}
  .mbar .mbar-logo .mbar-logo__word{height:20px;width:auto}
  .dnav{grid-column:2;justify-self:center;display:flex!important;align-items:center;gap:40px}
  .dnav a{position:relative;font-family:var(--font-grotesk);font-size:var(--dt-body);font-weight:500;color:#fff;text-decoration:none;padding-bottom:8px;white-space:nowrap}
  .dnav a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--grad-warm-x);transition:right .18s ease-out}
  .dnav a:hover::after{right:0}
  .dnav a[aria-current="page"]::after{right:0;opacity:.4}
  .mbar__pills{grid-column:3;justify-self:end}
  .mbar-burger,#navMenu{display:none!important}
  .mbar-cta{border:1px solid rgba(255,255,255,.35);background:transparent;padding:14px 32px;border-radius:999px;transition:border-color .2s,background .2s}
  .mbar-cta--book{background:transparent}
  .mbar-cta:hover{background:linear-gradient(var(--night),var(--night)) padding-box,var(--grad-warm) border-box;border:1px solid transparent;color:#fff}

  /* ---------- "Our Solutions" section — one full screen, clear of the header ---------- */
  .msol{height:100svh;min-height:640px;padding:calc(88px + 40px) 0 28px;display:flex;flex-direction:column;overflow:hidden}
  .msol__inner{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;width:100%}
  .msol__head{text-align:left;margin:0 0 clamp(18px,2.6vh,34px);max-width:none}
  .msol__title{font-size:var(--dt-section-title);letter-spacing:-.02em;line-height:1.05}
  .msol__lead{font-size:var(--dt-subtitle);line-height:1.35;max-width:none}
  .msol__eyebrow{font-size:var(--dt-label);letter-spacing:.12em}
  .msol__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;align-items:stretch;flex:1 1 auto;min-height:0}
  .scard{min-height:0}
  .scard__media{aspect-ratio:auto;flex:1 1 auto;height:auto;min-height:60px}
  .scard__body{flex:0 0 auto;min-height:0;justify-content:flex-start;overflow:visible}
  .scard__sentence{display:block;-webkit-line-clamp:none;overflow:visible;flex:0 0 auto}
  .scard__title{flex:0 0 auto}
  .msol__cta{margin-top:clamp(16px,2.4vh,28px);flex:0 0 auto}
  .msol__cue{margin-top:clamp(10px,1.6vh,20px);padding-bottom:0;flex:0 0 auto}
  .msol__inner{max-width:var(--container-max);margin-left:auto;margin-right:auto;padding-left:var(--gutter);padding-right:var(--gutter)}
  .scard{transition:transform .2s ease,box-shadow .2s ease;position:relative}
  .scard__body{padding:22px 24px 24px}
  .scard__sentence{font-size:var(--dt-body);line-height:1.5;margin-top:8px}
  .scard__title{font-size:1.35rem;line-height:1.08}
  .scard__foot{display:none}
  .scard::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:var(--grad-cool-x);opacity:0;transition:opacity .2s ease;z-index:2}
  .scard:hover{transform:translateY(-6px);box-shadow:0 20px 40px -28px rgba(0,0,0,.55)}
  .scard:hover::before{opacity:1}

  .mc__inner{max-width:var(--container-max);margin-left:auto;margin-right:auto;padding-left:var(--gutter);padding-right:var(--gutter)}


  /* ---------- Contact sheet as centred modal ---------- */
  .sheet__backdrop{background:rgba(10,9,9,.6)}
  .sheet__panel{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:520px;max-width:calc(100vw - 64px);border-radius:20px;bottom:auto}

  /* ---------- Footer ---------- */
  .mfoot{text-align:left;padding:72px var(--gutter) 40px;border-top-color:rgba(255,255,255,.12);display:flex;flex-direction:column;gap:0}
  .mfoot__logo{margin:0 0 32px;height:32px;width:auto;object-fit:contain}
  .mfoot__links{flex-direction:row;justify-content:center;align-items:center;gap:40px;padding:33px 0 9px;border-top:1px solid rgba(255,255,255,.12)}
  .mfoot__links a{font-size:var(--dt-body);position:relative;padding-bottom:6px}
  .mfoot__links a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--grad-warm-x);transition:right .18s ease-out}
  .mfoot__links a:hover::after{right:0}
  .mfoot__bottom{padding-top:24px;border-top:1px solid rgba(255,255,255,.12);text-align:center}
}

@media (min-width:1280px){
  :root{--gutter:80px;--dt-rhythm:200px}
  .msol__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ---------- 1024–1279: the 1440 layout, proportionally scaled (no reflow) ---------- */
@media (min-width:1024px) and (max-width:1279.98px){
  :root{--gutter:52px;--dt-rhythm:150px;--container-max:920px}
  .mbar{max-width:920px}
  .msol__grid{gap:20px}
  .scard__media{min-height:52px}
  .scard__body{padding:15px 16px 17px}
  .scard__title{font-size:1.02rem;letter-spacing:-.01em}
  .scard__sentence{font-size:14px;line-height:1.42;margin-top:6px}
}

/* ---------- 1280–1439: the 1440 layout, proportionally scaled (no reflow) ---------- */
@media (min-width:1280px) and (max-width:1439.98px){
  :root{--gutter:71px;--dt-rhythm:178px;--container-max:1138px}
  .msol__grid{gap:28px}
  .scard__body{padding:19px 21px 21px}
  .scard__title{font-size:1.2rem}
  .scard__sentence{font-size:16px;line-height:1.45}
}

@media (prefers-reduced-motion:reduce){
  .scard,.scard::before,.dnav a::after,.mfoot__links a::after,.mbar-cta{transition-property:opacity!important}
  .scard:hover{transform:none}
}


/* ============================================================
   Round 3 — Home: wide centred hero, full-bleed film,
   horizontal journey, pointer parallax. Desktop only.
   ============================================================ */
@media (min-width:1024px){

  /* ---------- ACT 2 — film, full bleed ---------- */
  .mfilm__stage{max-width:none;width:100%;margin:0}
  .mfilm__v{object-fit:cover;object-position:50% 50%;transform:none}
  .mfilm__scrim{background:linear-gradient(180deg,rgba(18,13,12,.62) 0%,rgba(18,13,12,.14) 22%,transparent 46%,rgba(18,13,12,.58) 82%,rgba(18,13,12,.9) 100%),linear-gradient(90deg,rgba(14,10,10,.8) 0%,rgba(14,10,10,.4) 34%,rgba(14,10,10,0) 60%)}

  /* beat captions move into a left-hand column */
  .beat{left:var(--gutter);right:auto;bottom:auto;top:50%;width:min(560px,42vw);padding:0;text-align:left}
  .mend{inset:0;left:0;right:0;top:0;bottom:0;width:auto;padding:0 var(--gutter);text-align:left;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
  .beat{margin-top:-4vh}
  .beat .b-eyebrow,.mend .b-eyebrow{font-size:var(--dt-label);letter-spacing:.2em;margin-bottom:20px}
  .beat .b-eyebrow::before,.mend .b-eyebrow::before{width:36px}
  .beat .b-eyebrow::after,.mend .b-eyebrow::after{display:none}
  .beat h2,#beat1 h2,.mend h2{font-size:clamp(40px,3.3vw,60px);line-height:1.02;letter-spacing:-.03em;white-space:normal;max-width:14ch}
  .beat__voice{margin:18px 0 0;max-width:34ch;font-size:var(--dt-body);color:rgba(255,255,255,.5)}
  .beat p,.mend p{margin:18px 0 0;max-width:40ch;font-size:var(--dt-subtitle);line-height:1.4}
  .mend p{margin-bottom:0}
  .mend .mend__cue{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);width:auto;align-items:center}

  /* scroll cues — longer rule, larger label, on every cue */
  .mend__cue,.hero2__cue{gap:14px}
  .mhero__label{font-size:.82rem;letter-spacing:.34em;white-space:nowrap}
  .mend__cue:hover .mhero__label,.hero2__cue:hover .mhero__label{letter-spacing:.38em}
  .mhero__rule{max-width:none;width:min(620px,46vw);height:22px}
  .mend__cue .mhero__rule,.hero2__cue .mhero__rule{max-width:none;width:min(620px,46vw)}
  .mhero__rule::before{right:calc(50% + 22px)}
  .mhero__rule::after{left:calc(50% + 22px)}
  .mhero__chev{width:18px;height:18px;margin-top:-4px}

  /* ---------- ACT 1 — hero, centred and wide ---------- */
  .hero2{max-width:none;height:100%;padding:120px var(--gutter) 120px;justify-content:center;gap:clamp(22px,3.2vh,40px)}
  .hero2__top{max-width:none}
  .hero2__title{font-size:clamp(56px,4.5vw,82px);line-height:.96;letter-spacing:-.035em;margin:0}
  .hero2__sub{font-size:var(--dt-subtitle);line-height:1.35;max-width:54ch;margin:18px auto 0}
  .hero2__diagram{--dh:min(48svh,500px);height:var(--dh);width:min(calc(var(--dh) * 1.55),84vw);max-width:none;max-height:none;aspect-ratio:auto}
  .hero2__cue{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);max-width:none;width:auto;margin:0}

  /* pillar cards — bigger, and parallax-aware (--px/--py set by grape-desktop.js) */
  .hcard{width:calc(var(--dh,432px) * .4667);min-height:0;padding:20px 22px 22px;border-radius:20px;transform:translate3d(calc(var(--px,0) * 1px),calc(var(--py,0) * 1px),0);transition:transform .5s cubic-bezier(.16,1,.3,1),box-shadow .3s ease,background-color .3s ease}
  .hcard:hover{transform:translate3d(calc(var(--px,0) * 1px),calc(var(--py,0) * 1px - 6px),0) scale(1.025);box-shadow:0 28px 60px -26px rgba(0,0,0,.85),inset 0 1px 0 rgba(255,240,214,.2)}
  .hcard__ico{width:42px;height:42px;margin-bottom:14px}
  .hcard__ico svg{width:22px;height:22px}
  .hcard__t{font-size:1.05rem}
  .hcard__d{font-size:.84rem;line-height:1.4;margin-top:5px}

  /* dashboard laid out once at its design size, then scaled to the frame */
  .hphone__scr{--hpz:.72;inset:auto;left:5px;top:5px;width:172px;height:354px;transform-origin:top left;transform:scale(var(--hpz,1))}

  /* phone hub — scaled whole so the dashboard scales with it */
  .hphone{overflow:hidden;width:calc(var(--dh,432px) * .366);transform:translate(-50%,-50%) scale(1.16) translate3d(calc(var(--px,0) * 1px),calc(var(--py,0) * 1px),0);transition:transform .5s cubic-bezier(.16,1,.3,1)}

  /* ---------- How it works — four steps across ---------- */
  .mc{height:100svh;min-height:700px;padding:calc(88px + 40px) 0 28px;display:flex;flex-direction:column;overflow:hidden}
  .mc__inner{justify-content:flex-start;gap:clamp(22px,3.2vh,46px);flex:1 1 auto;display:flex;flex-direction:column;min-height:0;width:100%}
  .cj__intro{text-align:center;margin:0}
  .cj__intro .mc__title{font-size:var(--dt-section-title);letter-spacing:-.02em;line-height:1.05;margin:0}
  .mc__eyebrow{font-size:var(--dt-label);letter-spacing:.22em;margin-bottom:14px}
  .cj{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;flex:1 1 auto;min-height:0}
  .cj__step{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:52px 1fr;align-content:start;row-gap:24px;column-gap:0}
  .cj__rail{justify-content:center;align-items:center;height:52px}
  .cj__node{width:52px;height:52px;min-width:52px;min-height:52px;font-size:.95rem;box-sizing:border-box;border:1.5px solid rgba(255,255,255,.88);background:rgba(26,24,25,.92);box-shadow:none}
  /* the masked pseudo-ring renders unevenly at this size — use a real border */
  .cj__node::after{display:none}
  /* nodes stay a uniform 52px on desktop so the rail can meet them exactly */
  .cj__step.in .cj__node,.cj__step:nth-child(2).in .cj__node,.cj__step:nth-child(4).in .cj__node{transform:none}
  .cj__step.in .cj__node{border-color:#fff;background:rgba(255,255,255,.12);box-shadow:none!important;animation:none!important}
  /* rail runs node edge to node edge: 26px radius, 24px column gap */
  .cj__step:not(:last-child) .cj__rail::before,
  .cj__step:not(:last-child) .cj__rail::after{left:calc(50% + 26px);right:calc(-50% + 2px);top:25px;bottom:auto;width:auto;height:2px;transform:none}
  .cj__step:not(:last-child) .cj__rail::before{background:rgba(255,255,255,.13)}
  .cj__step:not(:last-child) .cj__rail::after{background:linear-gradient(90deg,#ED173D,#F1B528);transform:scaleX(0);transform-origin:left center;transition:transform .6s var(--ease-out,ease)}
  .cj__step.line:not(:last-child) .cj__rail::after{transform:scaleX(1)}
  /* the completion pulse was authored for the vertical rail — keep it on-axis here */
  .cj--complete .cj__step:not(:last-child) .cj__rail::after{transform:scaleX(1)!important}

  /* each step is a real card that lifts and lights up on hover */
  .cj__card{position:relative;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:clamp(14px,2vh,22px);padding:clamp(64px,8.6vh,96px) 28px clamp(24px,3vh,36px);overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.016));transition:transform .35s cubic-bezier(.22,.61,.36,1),border-color .3s ease,box-shadow .35s ease,background-color .3s ease}
  .cj__card::before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:var(--grad-warm-x);opacity:0;transition:opacity .3s ease}
  .cj__step:hover .cj__card{transform:translateY(-6px);border-color:rgba(255,255,255,.26);background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025));box-shadow:0 26px 54px -30px rgba(0,0,0,.9)}
  .cj__step:hover .cj__card::before{opacity:1}
  .cj__step.in .cj__card{border-color:rgba(255,255,255,.12)}

  .cj__icon{grid-row:auto;align-self:center;width:88px;height:88px;border-radius:26px;margin:0;overflow:hidden;isolation:isolate;background:rgba(255,255,255,.07);background-repeat:no-repeat;background-size:100% 100%;border:1px solid rgba(255,255,255,.12);transition:background .3s ease,border-color .3s ease}
  .cj__icon svg{width:44px;height:44px;stroke-width:1.4}
  .cj__step:hover .cj__icon{background:linear-gradient(100deg,#ED173D 4%,#F49173 52%,#F1B528 96%);background-repeat:no-repeat;background-size:100% 100%;background-position:0 0;background-clip:padding-box;border-color:transparent}

  /* the "Visit" tag pins to the card's top-right instead of crowding the title */
  .cj__head{display:contents}
  .cj__visit{position:absolute;top:clamp(20px,2.6vh,30px);left:50%;right:auto;transform:translateX(-50%);font-family:var(--font-grotesk);font-size:12px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.66);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:8px 18px;white-space:nowrap;transition:color .3s ease,border-color .3s ease}
  .cj__step:hover .cj__visit{color:#fff;border-color:rgba(255,255,255,.42)}

  .cj__title{font-size:1.6rem;line-height:1.1;margin:0;max-width:14ch;min-height:calc(1.1em * 2);display:flex;align-items:center;justify-content:center}
  .cj__desc{font-size:clamp(16px,1.15vw,19px);line-height:1.5;margin:0;max-width:24ch}
  .cj__step:hover .cj__node{background:rgba(255,255,255,.16);color:#fff}
  .cj__begin{margin-top:0;flex:0 0 auto}
  .cj__cta{width:auto;max-width:none;padding:17px 40px}

  /* form panel, when it opens, stays a readable column */
  .mc__formwrap{max-width:720px;margin-inline:auto;width:100%}
  .mc__row{display:grid;grid-template-columns:1fr 1fr;gap:18px}

  /* back to top — desktop inset + hit area */
  #toTop{--totop-inset:30px;padding:12px 20px 12px 17px;font-size:12px;gap:7px}
  #toTop svg{width:16px;height:16px}
  #toTop:hover{border-color:rgba(255,255,255,.4);background:rgba(23,21,21,.78)}

  /* header sits directly on the film — no scrim */
  .mbar__scrim,.mbar.condensed .mbar__scrim{background:none;display:none}
  .mbar{background:none}

  /* ---------- links ---------- */
  a{color:#fff}
  a:hover{color:#fff}
}

@media (min-width:1280px){
  .cj{gap:28px}
}

@media (min-width:1024px){
  .cj__step:not(:last-child) .cj__rail::before,
  .cj__step:not(:last-child) .cj__rail::after{right:calc(-50% - 2px)}
}

@media (min-width:1024px) and (max-width:1279.98px){
  .cj{gap:18px}
  .cj__card{padding:clamp(48px,7.4vh,74px) 18px clamp(18px,2.4vh,26px);gap:clamp(10px,1.6vh,16px)}
  .cj__icon{width:64px;height:64px;border-radius:19px}
  .cj__icon svg{width:32px;height:32px}
  .cj__title{font-size:1.15rem;max-width:13ch}
  .cj__desc{font-size:14px;line-height:1.45;max-width:26ch}
  .cj__visit{font-size:.58rem;padding:6px 11px}
}

@media (min-width:1280px) and (max-width:1439.98px){
  .cj{gap:25px}
  .cj__card{padding:clamp(58px,8.2vh,88px) 24px clamp(22px,2.8vh,32px)}
  .cj__icon{width:78px;height:78px;border-radius:23px}
  .cj__icon svg{width:39px;height:39px}
  .cj__title{font-size:1.42rem}
}

@media (prefers-reduced-motion:reduce){
  .hcard,.hphone{transition:none!important}
  .hcard:hover{transform:translate3d(0,0,0)!important}
}


/* ============================================================
   Services page — desktop. Its own layout lives in an inline
   mobile-only block, so everything below 1024px is untouched.
   ============================================================ */
@media (min-width:1024px){
  .svc-hero{padding:calc(88px + 44px) var(--gutter) 28px}
  .svc-hero__eyebrow{font-size:var(--dt-label);letter-spacing:.28em}
  .svc-hero__title{font-size:clamp(44px,3.4vw,62px);letter-spacing:-.03em;margin-top:12px}
  .svc-hero__sub{font-size:var(--dt-subtitle);line-height:1.4;max-width:56ch;margin-top:14px}
  .svc-hero__bg::after{width:min(1180px,calc(100% - var(--gutter) * 2))}

  .snav{top:calc(88px + 6px)}
  .snav__inner{padding:7px;gap:6px}
  .snav__pill{font-size:.66rem;padding:9px 18px}

  /* four categories as a 2x2 grid; an open one takes the full width */
  .svc-list{max-width:var(--container-max);padding:28px var(--gutter) 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
  .acc{scroll-margin-top:150px}
  .acc.open{grid-column:1 / -1}
  .cat{padding-top:var(--dt-rhythm);scroll-margin-top:150px}
  .cat__title{font-size:var(--dt-section-title)}
  .cat__lead{font-size:var(--dt-subtitle);line-height:1.4;max-width:54ch}

  /* category card: wide poster, hook set left */
  .acc__card{height:clamp(280px,34vh,360px)}
  .acc.open .acc__card{height:clamp(320px,38vh,400px)}
  .acc__txt{right:92px;padding:32px 34px}
  .acc__hook{font-size:clamp(28px,2.1vw,40px);max-width:14ch}
  .acc__num{font-size:var(--dt-label);letter-spacing:.22em}
  .acc__caret{right:28px;bottom:28px;width:52px;height:52px}
  .acc__caret svg{width:20px;height:20px}
  .acc__lead{font-size:var(--dt-subtitle);line-height:1.45;max-width:60ch;margin:28px 4px 24px}

  .cards{grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:18px}
  .card{padding:24px 22px 22px;border-radius:18px}
  .card__ico{width:32px;height:32px;margin-bottom:18px}
  .card__title{font-size:1.12rem}
  .card__desc{font-size:var(--dt-body);line-height:1.5}

  .feat{grid-template-columns:1.05fr 1fr;gap:32px;padding:24px;border-radius:26px}
  .feat__media,.feat__slot{min-height:340px}
  .feat__title{font-size:clamp(32px,2.4vw,44px)}
  .feat__desc{font-size:var(--dt-body);max-width:42ch}

  .cat__banner{border-radius:24px;aspect-ratio:21/8}

  .svc-cta{padding:calc(var(--dt-rhythm) - 40px) var(--gutter) calc(var(--dt-rhythm) - 60px);margin-top:clamp(56px,7vw,96px)}
  .svc-cta__title{font-size:var(--dt-section-title);max-width:20ch}
  .svc-cta__sub{font-size:var(--dt-subtitle);max-width:52ch;margin-top:20px}
  .svc-cta__actions{margin-top:40px;gap:16px}
  .svc-btn{font-size:.72rem;padding:17px 34px}
  .svc-btn--primary{width:auto;max-width:none}
}
@media (min-width:1280px){
  .svcx__inner{max-width:var(--container-max,1280px)}
}


/* ============================================================
   Desktop — Solutions & Consultation ride over the held film.
   Desktop port of the mobile treatment in
   grape-solutions.css @media (max-width:560px).
   ============================================================ */
@media (min-width:1024px){

  /* --- Stacking: the sticky film stage stays beneath, panels ride above --- */
  .mfilm{ position:relative; z-index:0; }
  .msol{ position:relative; z-index:1; background:transparent; overflow:visible; }
  .mc{ position:relative; z-index:2; background:transparent; overflow:visible; }

  /* --- Solutions: full-bleed frosted veil, clear at the top, near-black at
         the bottom. The darkening IS the scroll position; nothing animates. --- */
  .msol::before{
    content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
    background:linear-gradient(180deg,
      rgba(24,24,24,0)     0%,
      rgba(24,24,24,.28)  18%,
      rgba(20,20,20,.50)  42%,
      rgb(14,14,14)       76%,
      rgb(10,10,10)      100%);
    -webkit-backdrop-filter:blur(3px) saturate(1.02);
            backdrop-filter:blur(3px) saturate(1.02);
    /* soft fade-in so there is no visible top edge against the film */
    -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 14%);
            mask-image:linear-gradient(180deg, transparent 0%, #000 14%);
  }
  .msol__inner{ position:relative; z-index:1; }

  /* --- Consultation picks up exactly where Solutions ends, no seam --- */
  .mc::before{
    content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
    background:linear-gradient(180deg,
      rgb(10,10,10)   0%,
      rgb(6,6,6)     50%,
      rgb(2,2,2)    100%);
  }
  .mc__inner{ position:relative; z-index:1; }

  /* --- Lighten the film's own bottom scrim so it doesn't double-darken --- */
  .mfilm__scrim{
    background:
      linear-gradient(180deg,
        rgba(18,13,12,.62)   0%,
        rgba(18,13,12,.14)  22%,
        transparent         46%,
        rgba(18,13,12,.34)  82%,
        rgba(18,13,12,.52) 100%),
      linear-gradient(90deg,
        rgba(14,10,10,.8)    0%,
        rgba(14,10,10,.4)   34%,
        rgba(14,10,10,0)    60%);
  }

  /* --- Fallback: no backdrop-filter (older Firefox, some Linux GPUs).
         Without the blur the text needs more opacity to stay legible. --- */
  @supports not ((backdrop-filter:blur(3px)) or (-webkit-backdrop-filter:blur(3px))){
    .msol::before{
      background:linear-gradient(180deg,
        rgba(20,20,20,0)     0%,
        rgba(20,20,20,.52)  18%,
        rgba(18,18,18,.74)  42%,
        rgb(14,14,14)       76%,
        rgb(10,10,10)      100%);
    }
  }
}

/* ---- Desktop seam fix: overlap the veils so texture never stops dead ---- */
@media (min-width:1024px){

  /* The Solutions veil bleeds down past its own bottom edge, the same way
     the mobile one does with bottom:-3vh. */
  .msol{ overflow:visible; }
  .msol::before{
    bottom:-14vh;
    background:linear-gradient(180deg,
      rgba(24,24,24,0)     0%,
      rgba(24,24,24,.28)  16%,
      rgba(20,20,20,.50)  38%,
      rgba(16,16,16,.88)  68%,
      rgb(12,12,12)       86%,
      rgb(10,10,10)      100%);
  }

  /* Consultation's backdrop fades IN from nothing instead of starting opaque,
     so the Solutions veil beneath shows through and the two cross-dissolve. */
  .mc::before{
    -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 12%);
            mask-image:linear-gradient(180deg, transparent 0%, #000 12%);
  }
}

/* ---- One header across every page on desktop ---- */
@media (min-width:1024px){
  .mbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:88px;padding:0 var(--gutter);left:0;right:0;width:100%;max-width:1280px;margin-inline:auto;transform:none;gap:0;justify-content:initial}
  .mbar .mbar-logo{grid-column:1;justify-self:start;display:inline-flex;flex-direction:column;align-items:center;gap:4px}
  .mbar .mbar-logo img{filter:brightness(0) invert(1)}
  .mbar .mbar-logo .mbar-logo__mark{height:18px;width:auto}
  .mbar .mbar-logo .mbar-logo__word{height:20px;width:auto}
  .mbar .dnav{grid-column:2;justify-self:center}
  .mbar .mbar__pills{grid-column:3;justify-self:end;display:flex;align-items:center;gap:0}
  .mbar .mbar-cta{font-family:var(--font-grotesk);font-size:var(--dt-body);font-weight:500;letter-spacing:0;text-transform:none;color:#fff;border:1px solid rgba(255,255,255,.35);background:transparent;padding:13px 30px;border-radius:999px;cursor:pointer;display:inline-flex;align-items:center;gap:9px;text-decoration:none;transition:border-color .2s,background .2s}
  .mbar .mbar-cta:hover{background:linear-gradient(var(--night,#151314),var(--night,#151314)) padding-box,var(--grad-warm) border-box;border:1px solid transparent;color:#fff}
  .mbar-burger,#navMenu,.navmenu{display:none!important}
}

/* ---- Services on desktop: four categories abreast, permanently open ---- */
@media (min-width:1024px){
  .svc-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:start}
  .acc.open{grid-column:auto}
  .acc__panel{height:auto!important;overflow:visible}
  .acc__card{height:clamp(180px,21vh,232px);cursor:default}
  .acc.open .acc__card{height:clamp(180px,21vh,232px)}
  .acc__card:hover .acc__img,.acc.open .acc__img{transform:none}
  .acc__caret{display:none}
  .acc__txt{right:0;padding:20px 18px}
  .acc__hook{font-size:clamp(20px,1.4vw,26px);max-width:12ch}
  .acc__lead{font-size:.92rem;line-height:1.45;max-width:none;margin:14px 2px 12px}
  .cards{grid-template-columns:1fr;gap:8px}
  .card{padding:12px 14px;border-radius:13px;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:12px}
  .card__ico{width:22px;height:22px;margin:0}
  .card__title{font-size:.92rem;line-height:1.25}
}


/* ============================================================
   GRAPE — Our Solutions (services.html), desktop polish
   Sections 1-3 of the supplied block. Section 4 (.svc-close)
   is held back: it needs new HTML copy and duplicates the
   existing .svc-cta at the foot of the page.
   ============================================================ */
@media (min-width:1024px){

  /* --- 1 — align the grid: shared row tracks across all four columns --- */
  .svc-list{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-rows:auto auto auto;   /* card | lead | features */
    gap:0 28px;
    align-items:start;
  }
  .acc       { display:grid; grid-row:span 3; grid-template-rows:subgrid; }
  .acc__panel{ display:grid; grid-row:span 2; grid-template-rows:subgrid; height:auto; }
  .acc__inner{ display:grid; grid-row:span 2; grid-template-rows:subgrid; padding:0; }

  .acc__caret{ display:none; }
  .acc__panel{ overflow:visible; opacity:1; visibility:visible; }

  .acc__card { margin:0 0 22px; width:100%; }
  .acc__lead { margin:0 0 22px; align-self:start; }

  @supports not (grid-template-rows:subgrid){
    .acc       { display:block; }
    .acc__panel{ display:block; }
    .acc__inner{ display:block; }
    .acc__lead { min-height:66px; }
  }

  .cards{ display:flex; flex-direction:column; gap:10px; align-content:start; }
  .card{ min-height:54px; display:flex; align-items:center; gap:12px; padding:0 16px; box-sizing:border-box; }
  .card__title{
    font-size:.86rem; line-height:1.25; margin:0;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }

  /* --- 2 — the accent walks through the warm gradient, column by column --- */
  .svc-list > .acc:nth-of-type(1){ --acc:#ED173D !important; }
  .svc-list > .acc:nth-of-type(2){ --acc:#F15E5B !important; }
  .svc-list > .acc:nth-of-type(3){ --acc:#F49173 !important; }
  .svc-list > .acc:nth-of-type(4){ --acc:#F1B528 !important; }

  .acc__card{ position:relative; }
  .acc__card::before{
    content:""; position:absolute; top:0; left:0; right:0; height:2px; z-index:3;
    background:var(--acc); opacity:.9;
  }
  .acc__num{ color:var(--acc); opacity:1; }
  .card__ico{ color:var(--acc); }
  .card__ico svg{ stroke:currentColor; }
  .card{ transition:border-color .2s ease, background-color .2s ease; }
  .card:hover{
    border-color:color-mix(in srgb, var(--acc) 45%, transparent);
    background:color-mix(in srgb, var(--acc) 6%, transparent);
  }

  /* --- 3 — stagger on entry, isolate one pillar on hover --- */
  .svc-list > .acc{
    opacity:0; transform:translateY(18px);
    animation:svcIn .7s cubic-bezier(.16,1,.3,1) forwards;
  }
  .svc-list > .acc:nth-of-type(1){ animation-delay:.00s; }
  .svc-list > .acc:nth-of-type(2){ animation-delay:.08s; }
  .svc-list > .acc:nth-of-type(3){ animation-delay:.16s; }
  .svc-list > .acc:nth-of-type(4){ animation-delay:.24s; }
  @keyframes svcIn{ to{ opacity:1; transform:none; } }

  .svc-list > .acc{ transition:opacity .35s ease, filter .35s ease; }
  .svc-list:hover > .acc{ opacity:.42; filter:saturate(.7); }
  .svc-list:hover > .acc:hover{ opacity:1; filter:none; }
}

@media (min-width:1024px) and (prefers-reduced-motion:reduce){
  .svc-list > .acc{ opacity:1; transform:none; animation:none; }
  .svc-list:hover > .acc{ opacity:1; filter:none; }
}

/* Safety net: film never decoded — restore opaque panels so nothing floats on an empty stage. */
@media (min-width:1024px){
  .film-failed .msol::before,.film-failed .mc::before{background:#111010;-webkit-backdrop-filter:none;backdrop-filter:none;-webkit-mask-image:none;mask-image:none}
  .film-failed .mfilm__stage{background:#15100f}
}

/* ------------------------------------------------------------
   Inquiry form on desktop. "How it works" is locked to one screen
   with overflow:hidden, which clipped the form open. When the form
   is showing, release the section and give the form the screen to
   itself on plain black — the journey row is not needed there.
   ------------------------------------------------------------ */
@media (min-width:1024px){
  .form-open .mc,.mc:has(#formWrap:not([hidden])){height:auto;min-height:100svh;overflow:visible;padding-top:calc(88px + 56px);padding-bottom:110px}
  .form-open .mc .cj,.form-open .mc .cj__begin,
  .mc:has(#formWrap:not([hidden])) .cj,
  .mc:has(#formWrap:not([hidden])) .cj__begin{display:none}
  .form-open .mc__inner,.mc:has(#formWrap:not([hidden])) .mc__inner{justify-content:flex-start;gap:40px;width:100%}
  .form-open .mc__formwrap,.mc:has(#formWrap:not([hidden])) .mc__formwrap{width:100%;max-width:680px;margin-inline:auto;align-self:center}
  .form-open .mc__form,.mc:has(#formWrap:not([hidden])) .mc__form{max-width:none;width:100%}
}
