/* =========================================================
   Rapide Yacht Group - recreation
   Grid system reverse-engineered from the live site:
   1440 viewport, 40px gutters, 4 columns of 340px, no gap.
   ========================================================= */

:root{
  /* HARTS palette */
  --dark:#16211E;          /* forest */
  --dark-2:#101A17;
  --white:#FFFFFF;
  --lime:#8BE04F;
  --lime-deep:#33690F;     /* accent for text on light grounds */
  --blue:#33690F;          /* label accent (HARTS lime-deep) */
  --tint:#F1F5EB;          /* sage tint band */
  --blue-soft:#F1F5EB;     /* open FAQ panel */
  --grey-line:rgba(17,26,22,.13);
  --grey-text:rgba(17,26,22,.45);
  --grey-mute:rgba(17,26,22,.26);
  --white-mute:rgba(237,241,232,.32);
  --white-40:rgba(237,241,232,.45);
  --white-70:rgba(237,241,232,.75);

  /* Denim / Denim WD on the reference site are commercial; DM Sans + Archivo
     are the closest free pairing and what the Rapide recreation uses. */
  --font:"DM Sans","Helvetica Neue",Arial,sans-serif;
  --font-wd:"Archivo","DM Sans",Arial,sans-serif;

  --pad:40px;
  --header-h:80px;
}


*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--white);color:var(--dark);
  font-family:var(--font);font-size:14px;line-height:20px;font-weight:400;
  overflow-x:hidden;-webkit-font-smoothing:antialiased;
}
img,svg,video{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4,p,figure,ul,dl,dd{margin:0}
ul{padding:0;list-style:none}
::selection{background:var(--lime);color:var(--dark)}

.container{width:100%;padding:0 var(--pad)}

/* The filter rail hides a result by setting its `hidden` attribute, and the
   browser's own `[hidden]{display:none}` loses to any author rule that sets
   display - which `.lcard` and the FAQ rows both do. Without this the filters
   run and nothing moves. */
[hidden]{display:none !important}
.dark-bg{background:var(--dark);color:var(--white)}

/* ---------- placeholders for images / video ---------- */
.ph{
  position:relative;overflow:hidden;
  background:
    repeating-linear-gradient(135deg,rgba(16,17,21,.045) 0 12px,rgba(16,17,21,0) 12px 24px),
    linear-gradient(160deg,#EEF3E8,#DFE8D6);
}
.ph::after{
  content:attr(data-ph);position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;text-align:center;padding:12px;
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;color:rgba(16,17,21,.42);
}
/* a placeholder that build.py filled with a real file: the wrapper stays for
   its sizing, but the hatching and the data-ph caption have to go */
.ph.has-media{background:none;isolation:isolate}
.ph.has-media::after{
  content:"";inset:0;display:block;padding:0;pointer-events:none;
}
.ph.has-media > img,.ph.has-media > video{filter:saturate(.85) contrast(1.05)}

/* ---------- house grades -------------------------------------------------
   Stock comes from a dozen photographers in a dozen colour spaces. One of
   these five grades is applied to every image so the set reads as one body of
   work: a forest-green shadow wash, saturation pulled back, contrast lifted.
   g-house  neutral default
   g-warm   people and workshops - keeps skin and paper warm
   g-mono   manufacturing and material detail - near monochrome
   g-lime   tech and abstract - duotone into the HARTS greens
   g-deep   anything with white text over it
   ------------------------------------------------------------------------ */
.g-house.has-media::after{
  background:linear-gradient(155deg,rgba(22,33,30,.12),rgba(51,105,15,.07));
  mix-blend-mode:multiply;
}
.g-warm.has-media > img,.g-warm.has-media > video{filter:saturate(.96) contrast(1.02) brightness(1.07)}
.g-warm.has-media::after{
  background:linear-gradient(150deg,rgba(255,206,138,.10),rgba(22,33,30,.12));
  mix-blend-mode:multiply;
}
.g-mono.has-media > img,.g-mono.has-media > video{filter:grayscale(.78) contrast(1.04) brightness(1.10)}
.g-mono.has-media::after{
  background:linear-gradient(160deg,rgba(22,33,30,.13),rgba(51,105,15,.11));
  mix-blend-mode:multiply;
}
.g-lime.has-media > img,.g-lime.has-media > video{filter:grayscale(1) contrast(1.04) brightness(1.10)}
.g-lime.has-media::after{
  background:linear-gradient(150deg,#33690F,#8BE04F 55%,#16211E);
  mix-blend-mode:color;opacity:.56;
}
/* g-deep carries white type. Nothing here crushes the whole frame - three
   layers stack on this footage (this filter, the ::after below it, and the
   section's own .scrim), so each one stays light and the weight is put where
   the type actually is: the bottom band. */
.g-deep.has-media > img,.g-deep.has-media > video{filter:saturate(.88) contrast(1.02) brightness(1.00)}
.g-deep.has-media::after{
  /* both the headline and the copy sit in the bottom band, left and right, so
     the ramp runs straight down the frame - a horizontal one lightens exactly
     the corner the paragraph is in */
  background:linear-gradient(180deg,
    rgba(22,33,30,.06) 0%,rgba(16,26,23,.14) 34%,
    rgba(16,26,23,.40) 66%,rgba(16,26,23,.74) 100%);
}

/* ---------- illustration loops ----------
   Flat vector art on its own pale ground, not photography. The house grade
   and the multiply wash would only dull it, and cropping to the panel clips
   the figures standing at the edges of the frame - so the art is fitted whole
   and the panel is painted the art's own background colour (--illus-bg), which
   makes the letterbox disappear. */
.ph.is-illus.has-media{background:var(--illus-bg,var(--tint))}
.ph.is-illus.has-media > video,.ph.is-illus.has-media > img{filter:none}
.ph.is-illus.has-media::after{background:none;mix-blend-mode:normal}
/* The photo slot is sized by the open band, which leaves it portrait at most
   widths - a 16:9 loop fitted into that letterboxes badly. The illustration
   panel takes the footage's own ratio instead, so the art fills it edge to
   edge with nothing cropped and no bands. Two classes, so this beats every
   .svc-photo rule in the breakpoints below. */
/* Flush into the open green row: top, bottom and right edges, filling the
   gutter the copy already reserves (28vw), so there is no green showing
   around the art. The row is squarer than the 16:9 footage, and the motion
   pieces run to the frame edges, so each film is fitted whole (contain) and
   the bands above and below take its own black through --illus-bg. */
.svc-photo.is-illus{
  top:0;bottom:0;right:0;
  width:clamp(240px,27vw,460px);height:auto;
  aspect-ratio:auto;max-width:none;
}
/* The site drops .svc-photo out of the row at 1280 and stacks it under the
   copy at full width - which turned the illustration into a 1280x720 slab
   below the green band. These rows keep it in the band instead, all the way
   down to the single-column layout, by reserving the gutter it sits in. */
@media (min-width:1025px){
  .svc-item.has-illus .svc-body{padding-right:clamp(220px,29vw,500px)}
  .svc-photo.is-illus{
    position:absolute;inset:0 0 0 auto;display:block;
    width:clamp(210px,27vw,460px);height:auto;margin:0;
    aspect-ratio:auto;max-width:none;
  }
  .svc-item.has-illus.open .svc-photo.is-illus{opacity:1;transform:none}
}
/* Single column: the art spans the row it sits in. */
@media (max-width:1024px){
  .svc-photo.is-illus{
    position:relative;inset:auto;width:100%;max-width:none;
    height:auto;aspect-ratio:16/9;margin-top:0;
  }
}

/* a slow drift on hero footage, so a 12-second loop never reads as a still */
.ph--dark.has-media > video{animation:mediaDrift 26s ease-in-out infinite alternate}
@keyframes mediaDrift{from{transform:scale(1.06) translate3d(0,0,0)}
                      to{transform:scale(1.14) translate3d(-1.4%,-1%,0)}}
@media (prefers-reduced-motion:reduce){.ph--dark.has-media > video{animation:none}}

.ph--dark{background:
  repeating-linear-gradient(135deg,rgba(253,254,255,.05) 0 12px,rgba(253,254,255,0) 12px 24px),
  linear-gradient(160deg,#24352F,#16211E 60%,#101A17)}
.ph--dark::after{color:rgba(253,254,255,.45)}
.ph--blue{background:
  repeating-linear-gradient(135deg,rgba(255,255,255,.08) 0 12px,rgba(255,255,255,0) 12px 24px),
  linear-gradient(160deg,#2A3A34,#16211E)}
.ph--blue::after{color:rgba(255,255,255,.6)}
.ph--map{background:
  repeating-linear-gradient(135deg,rgba(16,17,21,.05) 0 12px,rgba(16,17,21,0) 12px 24px),
  linear-gradient(160deg,var(--lime),#6FC93A)}
.ph--map::after{color:rgba(16,17,21,.45)}

/* ---------- decorative nautical chart layers ---------- */

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  height:38px;padding:0 26px;border-radius:999px;
  font-family:var(--font-wd);font-size:12px;font-weight:600;line-height:16px;
  letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;
  border:1px solid transparent;transition:background .3s,color .3s,border-color .3s;
}
.btn .dot{width:8px;height:8px;border-radius:50%;background:var(--lime);flex:none}
.btn--white{background:var(--white);color:var(--dark)}
.btn--white:hover{background:var(--lime)}
.btn--dark{background:var(--dark);color:var(--white)}
.btn--dark:hover{background:var(--lime);color:var(--dark)}
.btn--ghost{border-color:var(--grey-line);color:var(--dark)}
.btn--ghost:hover{background:var(--dark);color:var(--white);border-color:var(--dark)}
.btn--ghost-light{border-color:rgba(253,254,255,.3);color:var(--white)}
.btn--ghost-light:hover{background:var(--white);color:var(--dark)}
.btn--block{width:100%;height:64px;border:1px solid rgba(253,254,255,.25);color:var(--white)}
.btn--block:hover{background:var(--lime);color:var(--dark);border-color:var(--lime)}

.arrow-btn{
  width:44px;height:44px;border-radius:50%;border:1px solid var(--grey-line);
  display:inline-flex;align-items:center;justify-content:center;flex:none;background:var(--white);
  transition:background .3s,color .3s,border-color .3s;
}
.arrow-btn:hover{background:var(--dark);color:var(--white);border-color:var(--dark)}
.arrow-btn svg{width:14px;height:14px}

/* ---------- section chrome ---------- */
.section-top{display:flex;align-items:flex-start;padding-top:96px}
.sc-left{width:var(--left,50%);flex:none}
.sc-center{flex:1;min-width:0}
.sc-right{flex:none;margin-left:auto;padding-left:24px;display:flex;align-items:center;gap:12px}
.sc-coords{
  font-family:var(--font-wd);font-size:12px;font-weight:500;line-height:16px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--grey-text);max-width:280px;
}
.sc-suptitle{
  margin-top:12px;max-width:250px;
  font-family:var(--font-wd);font-size:12px;font-weight:600;line-height:17px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--blue);
}
/* a strapline that names both offerings needs more than the 250px
   default, which breaks it across two lines */
.sc-suptitle--wide{max-width:none}
.dark-bg .sc-coords,.on-image .sc-coords{color:var(--white-40)}
.dark-bg .sc-suptitle,.on-image .sc-suptitle{color:var(--white)}
.sc-title{font-size:120px;line-height:132px;font-weight:400;letter-spacing:-.01em}

/* Scroll-driven word reveal.
   Every word paints through the same path - a clipped gradient whose stop is
   driven by --p (0% unread, 100% read). Previously a word switched between
   plain `color` and `background-clip:text` as it crossed the read line, and
   swapping paint paths mid-scroll made the headings flicker. Nothing animates
   on a transition either: the scroll position is the animation. */
.reveal{
  --rev-off:var(--grey-mute);
  --rev-on:var(--dark);
  color:var(--rev-off);
}
.reveal.on-dark,.dark-bg .reveal{
  --rev-off:var(--white-mute);
  --rev-on:var(--white);
}
.reveal .w{
  background-image:linear-gradient(90deg,
    var(--rev-on) 0 var(--p,0%),var(--rev-off) var(--p,0%) 100%);
  -webkit-background-clip:text;background-clip:text;
  color:transparent;
}
/* If the clip is unsupported the text would vanish, so fall back to a plain
   two-state colour. */
@supports not ((background-clip:text) or (-webkit-background-clip:text)){
  .reveal .w{color:var(--rev-off);background-image:none}
  .reveal .w.on{color:var(--rev-on)}
}

.fade-up{opacity:0;transform:translateY(28px);transition:opacity .9s cubic-bezier(.22,.61,.36,1),transform .9s cubic-bezier(.22,.61,.36,1)}
.fade-up.show{opacity:1;transform:none}

/* =========================================================
   HEADER
   ========================================================= */
.header{position:fixed;top:0;left:0;right:0;z-index:60;color:var(--white);transition:background .4s,color .4s}
.header.is-light{background:var(--white);color:var(--dark);box-shadow:0 1px 0 rgba(16,17,21,.08)}
/* scrolled over a dark section: a solid forest ground, so nothing that
   scrolls under the header can show through the logo and the menu */
.header.is-scrolled:not(.is-light){background:var(--dark);box-shadow:0 1px 0 rgba(255,255,255,.08)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:var(--header-h)}
.logo{display:flex;flex-direction:column;gap:5px;line-height:1}
.logo-word{
  font-family:var(--font-wd);font-size:26px;font-weight:700;letter-spacing:.16em;
  font-style:italic;display:flex;align-items:flex-start;
}
.logo-word i{font-style:normal}
.logo-word sup{font-size:.4em;color:var(--lime);margin-left:1px;top:-.25em;position:relative}
.logo-sub{font-family:var(--font-wd);font-size:9px;font-weight:500;letter-spacing:.36em;font-style:italic;opacity:.9}
.nav{display:flex;align-items:center;gap:30px}
.nav > li{position:relative}
.nav > li > a,.nav > li > button{
  display:flex;align-items:center;gap:6px;
  font-family:var(--font-wd);font-size:14px;font-weight:500;line-height:17px;
  text-transform:uppercase;padding:14px 0;transition:opacity .25s;
}
.nav > li > a:hover,.nav > li > button:hover{opacity:.6}
.nav .caret{width:9px;height:6px;transition:transform .3s}
.nav > li:hover .caret{transform:rotate(180deg)}
.submenu{
  position:absolute;top:100%;left:-20px;min-width:210px;padding:14px 0;
  background:var(--white);color:var(--dark);border-radius:12px;
  box-shadow:0 20px 48px rgba(16,17,21,.14);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .25s,transform .25s,visibility .25s;
}
.nav > li:hover .submenu{opacity:1;visibility:visible;transform:none}
.submenu a{display:block;padding:9px 22px;font-size:14px;transition:background .2s}
.submenu a:hover{background:var(--tint)}
.burger{display:none;width:32px;height:32px;flex-direction:column;justify-content:center;gap:6px}
.burger span{display:block;height:2px;background:currentColor}

.mobile-menu{
  position:fixed;inset:0;z-index:70;background:var(--dark);color:var(--white);
  padding:100px 24px 40px;overflow-y:auto;
  transform:translateY(-100%);transition:transform .5s cubic-bezier(.7,0,.2,1),visibility 0s .5s;
  /* hidden once it has slid away, so its links are not in the tab order */
  visibility:hidden;
}
.mobile-menu.open{transform:none;visibility:visible;transition:transform .5s cubic-bezier(.7,0,.2,1)}
.mobile-menu a{display:block;padding:14px 0;font-size:24px;border-bottom:1px solid rgba(253,254,255,.12)}
.mobile-menu .sub a{font-size:15px;opacity:.65;padding:9px 0;border:0}
.mobile-close{position:absolute;top:26px;right:24px;font-size:30px;line-height:1}

/* =========================================================
   HERO
   ========================================================= */
.hero{position:relative;height:100vh;min-height:640px;display:flex;flex-direction:column;justify-content:flex-end;color:var(--white);overflow:hidden}
.hero .media{position:absolute;inset:0}
.hero .media .ph{position:absolute;inset:0}
/* The hero film is a bright one - earth from orbit - so the top stays clear
   and the weight goes into the bottom band, where the headline and the
   paragraph actually sit. */
.hero .scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,17,21,.26) 0%,rgba(16,17,21,.12) 30%,rgba(16,17,21,.52) 68%,rgba(16,17,21,.82) 100%)}
.hero-inner{position:relative;z-index:2;padding-bottom:58px;display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
/* The headline and its opposite paragraph carry the whole hero, so
   they are sized off the viewport rather than pinned to the 340px
   column the rest of the grid uses - at 42px in a 340px well the
   line broke three ways and read like a caption. The columns widen
   with the type so the headline still lands on two lines. */
.hero h1{
  width:clamp(360px,44vw,720px);flex:none;
  font-size:clamp(48px,4.8vw,88px);line-height:1.04;
  letter-spacing:-.03em;font-weight:400;text-transform:capitalize;
}
.hero-aside{width:clamp(340px,28vw,460px);flex:none;display:flex;flex-direction:column;gap:26px;align-items:flex-start}
.hero-aside p{font-size:clamp(16px,1.4vw,23px);line-height:1.45}


/* =========================================================
   NICE TO MEET YOU
   ========================================================= */
.intro{padding-bottom:140px}
.intro .section-top{padding-top:120px;align-items:flex-start}

/* The opening line starts a third of the way across, every line from the
   same edge, and runs on to the right edge, with the eyebrow in the first
   third. Its size follows the screen width, so it wraps the same way at
   every size instead of jumping at breakpoints. Below 1024px every
   .section-top folds to a column; the intro keeps this layout down to
   820px, where the line still has ~540px. Under that the eyebrow goes
   above and the line takes the full width. */
@media (min-width:820px){
  .intro .section-top{flex-direction:row;gap:0}
  .intro .section-top .sc-left{width:33.333%;padding-right:24px}
  .intro .section-top .statement{font-size:clamp(38px,4.2vw,60px);line-height:1.1}
}
.intro .statement{font-size:60px;line-height:66px;letter-spacing:-.02em;font-weight:400;text-wrap:pretty}
.intro-grid{display:flex;gap:0;margin-top:56px}
.intro-col{width:50%;flex:none}
.founder .portrait{width:540px;max-width:100%;aspect-ratio:540/530}
.founder .name{margin-top:24px;font-family:var(--font-wd);font-size:20px;font-weight:600;letter-spacing:.03em;text-transform:uppercase}
.founder .role{margin-top:6px;font-size:14px;color:var(--blue)}
.founder-copy{max-width:460px;display:flex;flex-direction:column;gap:18px}
.stats{display:flex;gap:6px;margin-top:74px;align-items:flex-start}
.stat{flex:none}
.stat:last-child{flex:1}
.stat .num{font-size:120px;line-height:1;letter-spacing:-.03em;font-weight:400;white-space:nowrap}
.stat .label{margin-top:16px;max-width:200px;font-family:var(--font-wd);font-size:14px;font-weight:600;line-height:18px;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-text)}
.intro-outro{display:flex;align-items:flex-end;gap:40px;margin-top:160px}
.intro-outro .statement{width:948px;max-width:100%;flex:1}
.intro-outro .outro-cta{width:340px;flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:16px}

/* =========================================================
   STAGES (scroll-driven slider)
   ========================================================= */
.stages{position:relative;background:var(--dark);height:400vh}
.stages-sticky{position:sticky;top:0;height:100vh;overflow:hidden;color:var(--white)}
.stages-slides{position:absolute;inset:0}
.stages-slides .slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease}
.stages-slides .slide.active{opacity:1}
.stages-slides .slide .ph{position:absolute;inset:0}
.stages-sticky .scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,17,21,.26),rgba(16,17,21,.05) 38%,rgba(16,17,21,.66))}
/* The Setup film is pure white where the eyebrow sits, so the white label on
   it disappeared. That slide alone carries a heavier top wash - the other two
   are dark up there already and would just look murky under it. If :has() is
   unsupported the scrim simply stays as it was. */
.stages-sticky:has(.stages-slides .slide:first-child.active) .scrim{
  background:linear-gradient(180deg,
    rgba(16,17,21,.68) 0%,rgba(16,17,21,.46) 18%,
    rgba(16,17,21,.12) 44%,rgba(16,17,21,.70) 100%);
}
.stages-inner{position:relative;z-index:3;height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:120px 76px 96px var(--pad)}
.stages-head .sc-coords{color:var(--white-40)}
/* The 250px cap the other eyebrows use broke this one after
   "strategic" and dropped "journey" onto a line of its own. There is
   width to spare here, so the line runs full - but only where the
   room actually exists; on a phone it is allowed to wrap again
   rather than run off the side. */
.stages-head .sc-suptitle{color:var(--white);max-width:none}
@media (min-width:700px){
  .stages-head .sc-suptitle{white-space:nowrap}
}

.side-rail{
  position:absolute;top:0;right:0;bottom:0;width:50px;background:var(--lime);color:var(--dark);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;z-index:5;
}
.side-rail .txt{writing-mode:vertical-rl;font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.side-rail .plus{width:20px;height:20px;border:1px solid var(--dark);border-radius:50%;display:grid;place-items:center;font-size:11px}

.stages-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.stage-name{font-size:120px;line-height:126px;letter-spacing:-.02em;font-weight:400}
.stage-specs{width:280px;flex:none}
.stage-specs .row{
  display:flex;justify-content:space-between;gap:20px;padding:10px 0;
  border-bottom:1px solid rgba(253,254,255,.16);
  font-family:var(--font-wd);font-size:12px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;
}
.stage-specs .row dd{color:var(--white-70);text-align:right}
.stage-specs .btn{margin-top:22px;width:100%}

.stages-ruler{
  position:absolute;left:var(--pad);right:90px;bottom:34px;height:10px;z-index:4;
  background-image:repeating-linear-gradient(90deg,rgba(253,254,255,.32) 0 1px,transparent 1px 13px);
  background-position:0 100%;background-repeat:repeat-x;background-size:13px 10px;
}
.stages-pagination{position:absolute;right:76px;bottom:28px;z-index:6;display:flex;gap:14px;font-family:var(--font-wd);font-size:11px;letter-spacing:.1em;color:var(--white-40)}
.stages-pagination button{transition:color .3s}
.stages-pagination button.active{color:var(--lime)}

/* =========================================================
   SERVICES
   ========================================================= */
.services .section-top{padding-bottom:48px}
.svc-list{border-top:1px solid var(--grey-line)}
.svc-item{border-bottom:1px solid var(--grey-line);position:relative;transition:background .45s}
.svc-head{display:flex;align-items:center;padding:0 var(--pad);height:82px;cursor:pointer}
.svc-num{width:340px;flex:none;font-family:var(--font-wd);font-size:12px;color:var(--grey-text);letter-spacing:.08em}
.svc-title{font-size:40px;line-height:1.2;font-weight:400;letter-spacing:-.01em}
.svc-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s cubic-bezier(.6,0,.2,1)}
.svc-panel > div{overflow:hidden}
.svc-item.open{background:var(--lime)}
.svc-item.open .svc-panel{grid-template-rows:1fr}
.svc-body{display:flex;padding:0 var(--pad) 36px;position:relative}
/* Explore now sits in the heading rather than in the panel. The panel
   collapses when the row is closed and took the button with it; the
   heading does not, so it has to be hidden explicitly. */
.svc-head .mid{display:none}
.svc-item.open .svc-head .mid{display:block}
.svc-body .map{width:170px;height:150px;flex:none;margin-right:170px;margin-top:-10px}
.svc-body .mid{width:340px;flex:none}
.svc-body .copy{width:340px;flex:none;font-size:14px;line-height:20px}
/* Some rows carry named groups of capabilities rather than one run of
   prose. The open row already spends its width on the Explore column,
   the copy and the illustration gutter, so a third column beside them
   collapses to nothing. The groups take a row of their own under the
   copy instead - which is also how they read in the source layout:
   heading above, two lists side by side beneath. */
.svc-body:has(.svc-groups){flex-wrap:wrap}
.svc-groups{display:flex;gap:clamp(20px,3vw,56px);flex:1 0 100%;min-width:0;margin-top:26px}
.svc-group{flex:1 1 0;min-width:0;max-width:340px}
/* A single ungrouped list has no neighbour to share the row with, so
   it is allowed a wider column and its entries stay on one line. */
.svc-groups--single .svc-group{max-width:480px}
.svc-group h4{
  font-family:var(--font-wd);font-size:11px;font-weight:600;line-height:15px;
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px;
}
.svc-group ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
/* Dots stacked in a narrow column read as blocks. The site already
   lists things on hairline rules - the stage spec plate does exactly
   this - so the entries take that treatment instead: a rule between
   them, no marker, and room to breathe. It sits closer to the rest
   of the page than a bulleted list does. */
.svc-group li{
  position:relative;font-size:14px;line-height:19px;
  padding:9px 0;border-top:1px solid rgba(17,26,22,.16);
}
.svc-group li:first-child{border-top:0;padding-top:0}
.svc-photo{position:absolute;right:var(--pad);bottom:-64px;width:340px;height:220px;z-index:3;opacity:0;transform:translateY(18px);transition:opacity .5s,transform .5s}
.svc-item.open .svc-photo{opacity:1;transform:none}

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits{padding:110px 0 130px}
.benefits .section-top{padding-top:0}
.benefits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,680px));margin-top:70px;padding-left:224px;row-gap:56px}
.benefit{display:flex;gap:54px;align-items:flex-start;max-width:497px}
.benefit .icon{width:56px;height:56px;flex:none;border-radius:50%;background:var(--lime);display:grid;place-items:center;color:var(--dark)}
.benefit .icon svg{width:26px;height:26px}
.benefit h3{font-family:var(--font-wd);font-size:24px;font-weight:600;line-height:29px;letter-spacing:.02em;text-transform:uppercase}
.benefit p{margin-top:16px;font-size:14px;line-height:20px}

/* =========================================================
   JOURNEY
   ========================================================= */
/* Leadership turns itself over: main.js moves to the next leader every five
   seconds, and each one enters from the side the move came from. Hovering the
   section holds the current leader; the arrows take over and restart the
   clock. Nothing here is driven by the scroll position. */
.journey{padding-bottom:120px;position:relative}
.journey .section-top{padding-bottom:30px}
.journey-viewport{position:relative}
.journey-slide{display:none}
.journey-slide.active{display:flex;gap:0;align-items:flex-start}
.journey-slide.active.from-right{animation:journeyIn .62s cubic-bezier(.22,.61,.36,1) both}
.journey-slide.active.from-left{animation:journeyInBack .62s cubic-bezier(.22,.61,.36,1) both}
@keyframes journeyIn{from{opacity:0;transform:translateX(44px)}to{opacity:1;transform:none}}
@keyframes journeyInBack{from{opacity:0;transform:translateX(-44px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .journey-slide.active.from-right,.journey-slide.active.from-left{animation:none}
}
.journey-left{width:680px;flex:none}
.journey-left .jname{font-size:120px;line-height:126px;letter-spacing:-.02em}
.journey-meta{display:flex;flex-wrap:wrap;gap:22px;margin-top:14px;font-family:var(--font-wd);font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
.journey-meta span{position:relative}
.journey-meta span+span::before{content:"";position:absolute;left:-12px;top:3px;width:1px;height:12px;background:var(--grey-line)}
.journey-left .btn{margin-top:24px}
.person{display:flex;gap:38px;margin-top:72px;align-items:flex-start;padding-right:40px}
.person .pic{width:170px;height:227px;flex:none}
.person .info{max-width:340px}
.person h4{font-family:var(--font-wd);font-size:16px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.person .role{margin-top:6px;color:var(--blue);font-size:13px}
.person p.txt{margin-top:14px;font-size:13px;line-height:19px}
.journey-photo{flex:1;height:640px}
.journey .nav-arrows{position:absolute;right:0;top:280px;z-index:3;display:flex;gap:12px}
.journey .arrow-btn{width:60px;height:60px}

/* The louvred form turning slowly over the hero film. It sits above the scrim
   and below the copy, pulled to the right so the headline keeps a clear
   column, and screened so it reads as light on the footage rather than a
   sticker over it. The animation is inside the SVG (see
   assets/media/harts-fins-hero.py) and stops under reduced motion. */
/* =========================================================
   THE FORM
   A louvred tube: one run of fins opening into a second,
   tighter run, drawn rib by rib rather than by hand -
   assets/media/harts-fins.py regenerates the SVG, so the
   geometry and the HARTS greens stay editable.

   On the home page it sits behind the intro copy, running
   out from under the statement and opening to the right.
   Decorative, so it is hidden from assistive tech.
   ========================================================= */
.intro--form{position:relative;overflow:hidden}
.intro--form > .container{position:relative;z-index:2}
/* The section-top puts the eyebrow left and the statement right, and the
   outro sits at the foot - which leaves the left-middle of the section empty.
   The form goes there, running out past the left edge with its opening turned
   back toward the copy, so it never crosses either block of type. */
/* Full-bleed across the section and held well back, so the copy sits on it
   rather than beside it, and kept faint enough that the statement never has
   to compete with the ribs. */
.intro-fins{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:50% 52%;
  z-index:0;pointer-events:none;user-select:none;opacity:.08;
}
@media (max-width:1024px){
  .intro-fins{object-position:60% 50%;opacity:.06}
}

/* A watermark of the same form, for interior pages: the mark sits behind a
   light section at low contrast, clipped to it, so it reads as a ground
   rather than a picture. */
.has-mark{position:relative;overflow:hidden}
.has-mark > .container{position:relative;z-index:2}
.mark{
  position:absolute;top:50%;right:-14%;transform:translateY(-50%);
  width:62%;min-width:680px;height:auto;
  z-index:0;pointer-events:none;user-select:none;
  opacity:.08;filter:grayscale(.25);
}
.dark-bg .mark,.cta .mark{opacity:.13;filter:invert(1) hue-rotate(180deg) saturate(1.4)}
@media (max-width:1024px){
  .mark{right:-34%;width:118%;min-width:0;opacity:.06}
}

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews{border-bottom:1px solid var(--grey-line)}
.reviews .sc-right{padding-top:34px}
.reviews-body{border-top:1px solid var(--grey-line);margin-top:56px}
.review{display:none}
.review.active{display:flex}
.review .quote{width:680px;flex:none;padding:44px 86px 60px 0;border-right:1px solid var(--grey-line);font-size:32px;line-height:40px;letter-spacing:-.01em;font-weight:400}
.review .detail{padding:44px 0 60px 64px;max-width:500px}
.review .detail p{font-size:14px;line-height:20px}
.review .detail .who{margin-top:26px;font-family:var(--font-wd);font-size:16px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.review .detail .role{margin-top:6px;color:var(--blue);font-size:13px}

/* =========================================================
   FAQ
   ========================================================= */
.faq{padding-bottom:120px}
.faq-list{margin-top:64px}
.faq-item{border-top:1px solid var(--grey-line);transition:background .45s}
.faq-item:last-child{border-bottom:1px solid var(--grey-line)}
.faq-item.open{background:var(--blue-soft)}
.faq-head{display:flex;align-items:center;padding:24px var(--pad);cursor:pointer;width:100%;text-align:left}
.faq-num{width:340px;flex:none;font-family:var(--font-wd);font-size:12px;color:var(--grey-text);letter-spacing:.08em;transition:font-size .4s,color .4s}
.faq-item.open .faq-num{font-size:52px;line-height:1;color:var(--dark);font-weight:400;letter-spacing:-.01em}
.faq-q{flex:1;font-family:var(--font-wd);font-size:16px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;line-height:22px}
.faq-toggle{width:32px;height:32px;flex:none;border-radius:50%;border:1px solid var(--grey-line);display:grid;place-items:center;transition:transform .4s,background .3s}
.faq-item.open .faq-toggle{transform:rotate(180deg);background:var(--white)}
.faq-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s cubic-bezier(.6,0,.2,1)}
.faq-panel > div{overflow:hidden}
.faq-item.open .faq-panel{grid-template-rows:1fr}
.faq-answer{display:flex;padding:0 var(--pad) 32px}
.faq-answer .spacer{width:340px;flex:none}
.faq-answer .inner{display:flex;flex-direction:column;gap:14px;font-size:13px;line-height:19px;max-width:680px}

/* =========================================================
   CONTACT (CTA)
   ========================================================= */
.cta{background:var(--dark);color:var(--white);position:relative}
/* The 600px floor existed to give the background picture room to read. With
   the picture gone it was 300px of empty ground under the block, so the band
   is sized by its content now. */
.cta-top{position:relative;padding-bottom:clamp(48px,6vw,96px);overflow:hidden}
.cta-top .ph{position:absolute;inset:0}
.cta-top .scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,17,21,.24),rgba(16,17,21,.05) 45%,rgba(16,17,21,.94) 97%)}
.cta-top .container{position:relative;z-index:2}
.cta-head{display:flex;align-items:flex-start;padding-top:96px}
.cta-head .sc-left{width:680px;flex:none}
.cta-head .sc-mid{flex:1}
.cta-head .sc-title{margin-top:0}
.cta-contacts{width:340px;flex:none;display:flex;flex-direction:column;gap:14px;padding-top:56px}
.cta-contacts .line{display:flex;gap:24px;font-family:var(--font-wd);font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
.cta-contacts .line span:first-child{width:70px;flex:none;color:var(--white-40)}
/* The contact band closes on a single route through to the contact page.
   It replaced a fill-in-the-blank form that asked for six fields before
   anyone had decided they wanted to talk. */
.cta-go{
  padding:64px var(--pad) 110px;position:relative;z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:26px;text-align:center;
}
.cta-go p{
  max-width:620px;font-size:clamp(19px,2vw,28px);line-height:1.35;
  letter-spacing:-.01em;color:var(--white-70);
}
.cta-go .btn{min-width:260px;justify-content:center}
.cta-form{padding:60px var(--pad) 120px;position:relative;z-index:2}
.form-lines{font-size:40px;line-height:64px;letter-spacing:-.01em;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 14px}
.form-lines .br{flex-basis:100%;height:0}
.fld{position:relative;display:inline-block;min-width:160px;border-bottom:1px solid rgba(253,254,255,.3)}
.fld input,.fld select{background:transparent;border:0;outline:none;color:var(--white);font-family:var(--font);font-size:16px;line-height:34px;width:100%;padding:0 4px}
.fld input::placeholder{color:var(--white-40)}
.fld select{color:var(--white-40);appearance:none;cursor:pointer}
.fld select option{color:var(--dark)}
.fld--sm{min-width:130px}
.fld--lg{min-width:360px;flex:1}
.fld--phone{min-width:250px;display:inline-flex;align-items:center;gap:8px;padding-left:6px}
.fld--phone .flag{width:22px;height:15px;border-radius:2px;flex:none;position:relative;background:linear-gradient(180deg,#b22234 0 20%,#fff 20% 40%,#b22234 40% 60%,#fff 60% 80%,#b22234 80%)}
.fld--phone .flag::after{content:"";position:absolute;left:0;top:0;width:10px;height:8px;background:#3c3b6e}
.fld--phone .code{font-size:16px}
.chips{display:inline-flex;flex-wrap:wrap;gap:10px}
.chip{height:34px;padding:0 18px;border-radius:999px;border:1px solid rgba(253,254,255,.3);font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;display:inline-flex;align-items:center;transition:background .3s,color .3s,border-color .3s}
.chip.active,.chip:hover{background:var(--lime);color:var(--dark);border-color:var(--lime)}
.form-foot{margin-top:60px;text-align:center}
.form-foot .policy{font-size:12px;color:var(--white-70)}
.form-foot .policy a{text-decoration:underline}
.form-foot .btn{margin-top:24px}

/* =========================================================
   RESOURCES
   ========================================================= */
.resources{padding:96px 0 120px}
.resources .section-top{padding-top:0}
.resources .sc-left{width:690px}
.resources .sc-center{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.articles{display:grid;grid-template-columns:670px 325px 325px;gap:20px;margin-top:56px}
.article .thumb{height:320px}
.article .date{margin-top:22px;font-family:var(--font-wd);font-size:12px;color:var(--grey-text);letter-spacing:.05em}
.article h3{margin-top:10px;font-size:20px;line-height:26px;font-weight:400;max-width:515px}
.article .tag{margin-top:26px;font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--blue)}
.article:hover h3{text-decoration:underline}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter{background:var(--lime);color:var(--dark);position:relative;overflow:hidden}
.newsletter .container{position:relative;z-index:2}
.newsletter .sc-coords{color:rgba(16,17,21,.55)}
.newsletter .sc-suptitle{color:var(--dark)}
.subscribe{display:flex;padding-bottom:110px;margin-top:36px}
.subscribe .spacer{width:340px;flex:none}
.subscribe .fields{width:530px;max-width:100%;display:flex;flex-direction:column;gap:28px}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{background:var(--dark);color:var(--white);position:relative;overflow:hidden}
.footer .container{position:relative;z-index:2}
.footer-row{
  display:grid;align-items:start;padding:96px 0 52px;
  grid-template-columns:minmax(min-content,1.9fr) repeat(3,minmax(max-content,.58fr)) auto;
  column-gap:clamp(16px,1.6vw,26px);
}
/* The contact page carries both offices in its own Where We Are section,
   so the footer drops its address column there. Without the address the
   three link groups and the socials need about 560px, so they hold one
   row far below the 1280px the full footer needs. The site's own rules
   send the socials to their own full-width row under 1280px and collapse
   the groups to two columns, so both are overridden here. */
@media (min-width:780px){
  .page-contact .footer-row{grid-template-columns:repeat(3,minmax(0,1fr)) auto}
  .page-contact .socials{grid-column:auto;margin-top:0;padding-left:clamp(10px,1.6vw,26px)}
}
.footer-col1{min-width:0;padding-right:clamp(8px,1vw,16px)}
.footer-tagline{max-width:340px;font-family:var(--font-wd);font-size:14px;font-weight:600;line-height:20px;letter-spacing:.04em;text-transform:uppercase}
/* the link groups are laid out by .footer-row, not by this wrapper */
.footer-mid{display:contents}
.footer-mid > .footer-group{min-width:0}
.footer-col-title{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--white-40);
  overflow-wrap:anywhere;hyphens:auto;
}
.footer-mid ul{margin-top:20px;display:flex;flex-direction:column;gap:9px}
.footer-mid a{font-size:14px;line-height:20px;transition:color .25s;overflow-wrap:anywhere}
.footer-mid a:hover{color:var(--lime)}
.footer-contact{margin-top:44px}
.socials{display:flex;gap:8px;padding-left:clamp(10px,1.6vw,26px)}
.socials a{width:44px;height:44px;border-radius:50%;border:1px solid rgba(253,254,255,.3);display:grid;place-items:center;transition:background .3s,color .3s}
.socials a:hover{background:var(--lime);color:var(--dark);border-color:var(--lime)}
.socials svg{width:16px;height:16px}
.footer-bottom{padding-bottom:40px}
.footer-bottom .logo-word{font-size:38px}
.footer-bottom .copy{margin-top:14px;font-size:12px;color:var(--white-40)}

/* =========================================================
   MODAL
   ========================================================= */
.modal-overlay{position:fixed;inset:0;background:rgba(16,17,21,.7);z-index:80;display:none;place-items:center;padding:24px}
.modal-overlay.open{display:grid}
.modal{background:var(--white);color:var(--dark);border-radius:16px;padding:46px;max-width:460px;text-align:center}
.modal h3{font-size:32px;font-weight:400}
.modal p{margin-top:14px;font-size:14px;line-height:20px;color:var(--grey-text)}
.modal .btn{margin-top:26px}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1439px){
  .benefits-grid{grid-template-columns:1fr 1fr;padding-left:15.5%}
  .articles{grid-template-columns:1fr 1fr 1fr}
  .article:first-child{grid-column:1 / span 1}
  .resources .sc-left{width:50%}
  .journey-left{width:47%}
  .review .quote{width:50%;padding-right:60px}
}
@media (max-width:1280px){
  .sc-title,.stat .num,.stage-name,.journey-left .jname{font-size:92px;line-height:100px}
  .intro .statement,.intro-outro .statement{font-size:48px;line-height:54px}
  .review .quote{font-size:26px;line-height:34px}
  .svc-body .map{margin-right:100px}
  .journey-photo{height:520px}
}
@media (max-width:1024px){
  :root{--pad:28px}
  .nav{display:none}
  .burger{display:flex}
  .section-top{flex-direction:column;gap:18px;padding-top:72px}
  .sc-left,.resources .sc-left,.cta-head .sc-left{width:100%}
  .sc-right{margin-left:0;padding-left:0}
  .sc-suptitle{max-width:none}
  .hero-inner{flex-direction:column;align-items:flex-start;gap:28px;padding-bottom:70px}
  .hero h1,.hero-aside{width:100%}
  .intro-grid,.intro-outro,.review.active,.journey-slide.active,.person,.svc-body,.faq-answer,.subscribe,.cta-head,.stages-bottom{flex-direction:column}
  .footer-row{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:34px}
  .footer-col1{grid-column:1/-1;padding-right:0}
  .socials{grid-column:1/-1;padding-left:0}
  .intro-col,.intro-outro .statement,.intro-outro .outro-cta,.journey-left,.journey-photo,.review .quote,.subscribe .fields,.footer-col1,.cta-contacts,.stage-specs{width:100%;max-width:none}
  .footer-mid{display:contents}
  .founder .portrait{width:100%}
  .intro-grid{gap:48px}
  .intro-outro{margin-top:80px;gap:28px;align-items:flex-start}
  .stats{margin-top:40px}
  .benefits-grid{grid-template-columns:1fr;padding-left:0;row-gap:44px;margin-top:44px}
  .benefit{gap:24px;max-width:none}
  .review .quote{border-right:0;padding:32px 0 18px}
  .review .detail{padding:0 0 44px}
  .articles{grid-template-columns:1fr;gap:44px}
  .article .thumb{height:240px}
  .journey-photo{height:360px;margin-top:32px}
  .journey .nav-arrows{position:static;margin-top:26px}
  .person{gap:20px;margin-top:40px}
  .svc-head{height:auto;padding-top:24px;padding-bottom:24px;gap:18px;flex-wrap:wrap}
  .svc-num{width:40px}
  /* Explore sits under the title, as it does on desktop: a long title
     (Implantación, Transformation) and the button can't share a row here */
  .svc-item.open .svc-head .mid{flex-basis:100%;padding-left:58px}
  .svc-head .svc-title{flex:1 1 0;min-width:0}
  .svc-body{gap:20px;padding-bottom:28px}
  .svc-body .map{display:none}
  .svc-body .mid{width:auto}
  .svc-body .copy{width:100%}
  .svc-groups{gap:24px;margin-top:22px}
  .svc-photo{position:relative;inset:auto;width:100%;height:200px;margin-top:18px;opacity:1;transform:none;display:none}
  .svc-item.open .svc-photo{display:block}
  .faq-num{width:52px}
  .faq-answer .spacer{display:none}
  .subscribe .spacer{display:none}
  .stages{height:340vh}
  .stages-inner{padding:110px 74px 110px var(--pad)}
  .stages-bottom{align-items:flex-start;gap:26px}
  .socials{margin-left:0;margin-top:34px}
  .footer-row{padding-bottom:40px}
  .cta-head{padding-top:72px;gap:22px}
  .cta-contacts{padding-top:0}
}
@media (max-width:640px){
  .sc-title,.stat .num,.stage-name,.journey-left .jname{font-size:56px;line-height:62px}
  .intro .statement,.intro-outro .statement{font-size:32px;line-height:40px}
  .hero h1{font-size:clamp(36px,9.5vw,46px);line-height:1.08}
  .svc-title{font-size:30px}
  .review .quote{font-size:22px;line-height:30px}
  .stats{flex-direction:column;gap:34px}
  .form-lines{font-size:22px;line-height:40px;gap:0 8px}
  .fld,.fld--sm,.fld--lg,.fld--phone{min-width:140px}
  .modal{padding:32px 24px}
  .person{flex-direction:column}
}

/* =========================================================
   HARTS additions - real brand assets in the Rapide layout
   ========================================================= */
.logo{display:block;line-height:0}
.logo img{height:30px;width:auto;display:block}
.logo .logo-dark{display:none}
.header.is-light .logo-light{display:none}
.header.is-light .logo-dark{display:block}

/* values: numerals inside the lime discs */
.benefit .icon{font-family:var(--font-wd);font-size:14px;font-weight:700;letter-spacing:.06em}

/* leadership portraits */
.person .pic{overflow:hidden;background:var(--tint)}
.person .pic img{width:100%;height:100%;object-fit:cover;object-position:top center}
.person .kicker{font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--grey-text)}

/* three statistics instead of two */
.stats{gap:28px}
.stat,.stat:last-child{flex:1}
.stat .num{font-size:96px}

/* what-we-build cards */
.article .kicker{margin-top:22px;font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--grey-text)}


/* footer wordmark */
.footer-logo{height:46px;width:auto;margin-bottom:14px}
/* no top margin: the office labels start level with the other column titles */
.footer-address{margin-top:0;display:flex;flex-direction:column;gap:24px;font-size:14px;line-height:22px;color:var(--white-70)}
.footer-address a{color:var(--white)}
/* the two offices sit side by side under their own labels; the email sits
   under both. The block fills .footer-col1 rather than sitting in a narrow
   ribbon with dead space beside it. */
.footer-locs{display:grid;grid-template-columns:minmax(min-content,.9fr) minmax(min-content,1.1fr);column-gap:clamp(20px,1.8vw,30px);row-gap:24px}
/* set like .footer-col-title and its list, so each office's first line
   sits level with the first link in the columns beside it */
.footer-loc-title{
  margin-bottom:16px;line-height:20px;font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;color:var(--white-40);
}
.footer-loc-name{color:var(--white)}
@media (max-width:640px){
  .footer-locs{grid-template-columns:1fr;row-gap:20px}
}
/* Under 1280px the three link columns and the two offices can no longer share
   one row without squeezing the addresses, so the footer reflows to two
   columns - the same shape it already used on tablets. */
@media (max-width:1279px){
  .footer-row{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:34px}
  .footer-col1{grid-column:1/-1;padding-right:0}
  .socials{grid-column:1/-1;padding-left:0;margin-top:34px}
}
/* The offices sit on the same columns as the link groups under them,
   Germany over the first and India over the second, with the same gap,
   so each office lines up with the group below it. (Under 641px the
   offices stack, one under the other.) */
@media (min-width:641px) and (max-width:1279px){
  .footer-locs{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(16px,1.6vw,26px)}
}
/* In two columns, three groups would leave Firm alone on a row of its own.
   Business Consulting, the longest list, runs down the right across two
   rows, so Firm sits under GCC Consulting on the left. (The contact page
   keeps its groups on one row from 780px, so it is left out there.) */
@media (max-width:899px){
  .footer-mid > .footer-group:nth-child(2){grid-row:span 2}
}
@media (min-width:780px) and (max-width:899px){
  .page-contact .footer-mid > .footer-group:nth-child(2){grid-row:auto}
}
/* From 900px there is room for the three groups side by side; the offices take
   the first two of those three columns. */
@media (min-width:900px) and (max-width:1024px){
  .footer-row{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-locs{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* From 1025px the two offices and the three groups share one row, as they do
   on wider screens. No group narrows below its longest line, so its title
   and links never wrap; the offices take what is left and may wrap within
   it. The email and LinkedIn icons sit on a line of their own under the row. */
@media (min-width:1025px) and (max-width:1279px){
  .footer-row{grid-template-columns:minmax(min-content,1.9fr) repeat(3,minmax(max-content,.58fr))}
  .footer-col1{grid-column:auto;padding-right:clamp(8px,1vw,16px)}
  .footer-locs{grid-template-columns:minmax(min-content,.9fr) minmax(min-content,1.1fr);column-gap:clamp(20px,1.8vw,30px)}
}
.footer-address a:hover{color:var(--lime)}
.footer-mid .footer-col-title+ul{margin-top:16px}
/* the groups are grid cells now, not a stack */

/* service panel headline */
.svc-body .copy .lede{display:block;font-size:20px;line-height:26px;letter-spacing:-.01em;margin-bottom:10px}

/* principles (reviews) source line */
.review .detail .src{margin-top:26px;font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}

/* maturity ladder inside the FAQ answer */
.levels{margin-top:6px;display:flex;flex-direction:column;gap:0;border-top:1px solid var(--grey-line)}
.levels div{display:flex;gap:18px;padding:10px 0;border-bottom:1px solid var(--grey-line);font-size:13px}
.levels b{font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;width:130px;flex:none}

@media (max-width:1024px){
  .stats{flex-direction:column;gap:34px}
  .levels b{width:110px}
}

/* =========================================================
   INTERIOR PAGES
   Components used by every page other than the home page.
   ========================================================= */

/* ---- page hero: shorter than the home hero, breadcrumb on top ---- */
/* At least a screen tall, and taller when the copy needs it: a fixed height
   pushed a long hero's opening lines up under the header on small phones. */
.phero{
  position:relative;min-height:max(100vh,640px);
  display:flex;flex-direction:column;justify-content:center;
  background:var(--dark);color:var(--white);overflow:hidden;
  padding-top:calc(var(--header-h) + 40px);
}
.phero .media{position:absolute;inset:0}
.phero .media .ph{position:absolute;inset:0}
/* Keep the placeholder caption out of the headline column - it sits top-right,
   clear of the logo on the left and the nav above. */
.hero .media .ph::after,
.phero .media .ph::after{
  align-items:flex-start;justify-content:flex-end;text-align:right;
  padding:calc(var(--header-h) + 14px) 20px 0;
  font-size:10px;line-height:14px;opacity:.6;
}
/* the words sit on the left, centred top to bottom, so the scrim is
   deepest behind them: a left-to-right fall over an even wash */
.phero .scrim{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(22,33,30,.72) 0%,rgba(22,33,30,.5) 45%,rgba(22,33,30,.18) 100%),
    linear-gradient(180deg,rgba(22,33,30,.34) 0%,rgba(22,33,30,.5) 100%);
}
.phero-inner{position:relative;z-index:2;padding-bottom:clamp(38px,5vw,64px)}
.crumb{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  font-family:var(--font-wd);font-size:11px;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--white-70);
  margin-bottom:26px;
}
.crumb a:hover{color:var(--lime)}
.crumb .sep{opacity:.45}
.crumb b{font-weight:500;color:var(--white)}
.phero h1{
  max-width:15ch;font-size:clamp(38px,5.1vw,72px);line-height:1.04;
  letter-spacing:-.02em;font-weight:400;
}
.phero h1.wide{max-width:22ch;font-size:clamp(32px,3.8vw,54px)}
.phero-foot{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:40px;flex-wrap:wrap;margin-top:30px;
}
.phero-lede{max-width:560px;font-size:16px;line-height:25px;color:var(--white-70)}
/* a lede that runs to two paragraphs: the problem, then what we do about it */
.phero-lede p + p{margin-top:12px}
.phero-actions{display:flex;gap:10px;flex-wrap:wrap}

/* ---- capability columns: kicker + title + bullet list ---- */
.caps{padding:clamp(70px,8vw,120px) 0}
.caps-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(258px,1fr));
  gap:1px;background:var(--grey-line);
  border-top:1px solid var(--grey-line);border-bottom:1px solid var(--grey-line);
  margin-top:clamp(34px,4vw,58px);
}
.cap{background:var(--white);padding:32px 26px 38px}
.cap-kicker{
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--lime-deep);
  margin-bottom:16px;
}
.cap h3{font-size:21px;line-height:27px;font-weight:500;letter-spacing:-.01em;margin-bottom:18px}
.cap ul{display:flex;flex-direction:column;gap:11px}
.cap li{
  position:relative;padding-left:17px;font-size:14px;line-height:20px;color:var(--grey-text);
}
.cap li::before{
  content:"";position:absolute;left:0;top:8px;
  width:5px;height:5px;border-radius:50%;background:var(--lime);
}
.caps--dark{background:var(--dark);color:var(--white)}
.caps--dark .caps-grid{background:rgba(237,241,232,.16);border-color:rgba(237,241,232,.16)}
.caps--dark .cap{background:var(--dark)}
.caps--dark .cap-kicker{color:var(--lime)}
.caps--dark .cap li{color:var(--white-70)}

/* ---- numbered outcome cards ---- */
.outcomes{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:clamp(24px,3vw,44px);margin-top:clamp(34px,4vw,58px);
}
.outcome{display:flex;flex-direction:column;gap:16px}
.onum{
  font-family:var(--font-wd);font-size:12px;font-weight:700;letter-spacing:.14em;
  color:var(--lime-deep);padding-bottom:14px;border-bottom:1px solid var(--grey-line);
}
.outcome p{font-size:18px;line-height:26px;letter-spacing:-.01em}
.outcome .sub{font-size:14px;line-height:20px;color:var(--grey-text);letter-spacing:0}

/* ---- simple prose / legal pages ---- */
.doc{padding:clamp(64px,7vw,104px) 0}
.doc-grid{display:grid;grid-template-columns:minmax(0,240px) minmax(0,720px);gap:clamp(30px,5vw,80px)}
.doc-side{
  position:sticky;top:calc(var(--header-h) + 20px);align-self:start;
  font-family:var(--font-wd);font-size:11px;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--grey-text);
}
.doc-body h2{
  font-size:clamp(22px,2.4vw,30px);line-height:1.25;font-weight:500;letter-spacing:-.01em;
  margin:44px 0 14px;
}
.doc-body h2:first-child{margin-top:0}
.doc-body p{font-size:15px;line-height:25px;color:var(--grey-text);margin-bottom:14px}
.doc-body ul{display:flex;flex-direction:column;gap:9px;margin:0 0 18px}
.doc-body li{position:relative;padding-left:17px;font-size:15px;line-height:24px;color:var(--grey-text)}
.doc-body li::before{
  content:"";position:absolute;left:0;top:9px;
  width:5px;height:5px;border-radius:50%;background:var(--lime);
}
.doc-body a{color:var(--lime-deep);text-decoration:underline;text-underline-offset:3px}
.doc-updated{
  font-family:var(--font-wd);font-size:11px;font-weight:500;letter-spacing:.14em;
  text-transform:uppercase;color:var(--grey-mute);margin-bottom:34px;
}

/* ---- contact / office cards ---- */
.offices{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1px;background:var(--grey-line);
  border-top:1px solid var(--grey-line);border-bottom:1px solid var(--grey-line);
}
.office{background:var(--white);padding:30px 26px 34px}
.office h3{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--lime-deep);margin-bottom:16px;
}
.office p{font-size:14px;line-height:22px;color:var(--grey-text)}
.office a{color:var(--dark)}
.office a:hover{color:var(--lime-deep)}

/* ---- team grid (about) ---- */
/* all five on one row from 1025px; three, then two, on smaller screens */
.team-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(20px,2.4vw,40px);margin-top:clamp(34px,4vw,58px);
}
@media (max-width:1024px){
  .team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:640px){
  .team-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
}
/* each card runs the full height of its row, so the LinkedIn links sit
   level along the bottom however long the bio above them is */
.member{display:flex;flex-direction:column;align-items:flex-start}
.member .pic{
  align-self:stretch;
  aspect-ratio:1/1;border-radius:50%;overflow:hidden;background:var(--tint);margin-bottom:20px;
}
.member .pic img{width:100%;height:100%;object-fit:cover;object-position:top center}
.member h3{font-size:19px;line-height:25px;font-weight:500;letter-spacing:-.01em}
.member .role{
  font-family:var(--font-wd);font-size:11px;font-weight:500;letter-spacing:.14em;
  text-transform:uppercase;color:var(--lime-deep);margin:6px 0 12px;
}
.member p.txt{font-size:14px;line-height:21px;color:var(--grey-text);margin-bottom:14px}
.member .li-link--sm{margin-top:auto}

/* ---- timeline (about story) ---- */
.timeline{margin-top:clamp(34px,4vw,58px);border-top:1px solid var(--grey-line)}
.tl-item{
  display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);
  gap:clamp(20px,4vw,60px);padding:34px 0;border-bottom:1px solid var(--grey-line);
}
.tl-year{
  font-family:var(--font-wd);font-size:12px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--lime-deep);
}
.tl-item h3{font-size:clamp(20px,2.1vw,26px);line-height:1.3;font-weight:500;letter-spacing:-.01em;margin-bottom:12px}
.tl-item p{font-size:15px;line-height:24px;color:var(--grey-text)}

@media (max-width:900px){
  .doc-grid{grid-template-columns:1fr}
  .doc-side{position:static}
  .tl-item{grid-template-columns:1fr;gap:10px}
}

/* =========================================================
   INNAI ECOSYSTEM
   Eight modules around one core. The source slide is isometric clip-art on a
   pink gradient; this is the same information drawn the way the rest of the
   site draws things - thin rings, one lime accent, nothing decorative that
   isn't also carrying meaning. It cycles on its own and pins on hover, so
   only one module's description is on screen at a time and the type can stay
   large enough to read inside a half-column panel.
   ========================================================= */
/* the widget keeps the dark ground but not the placeholder hatching */
.ph.has-widget{background:linear-gradient(160deg,#24352F,#16211E 60%,#101A17)}
.ph.has-widget::after{content:none}
.innai{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.innai svg{width:100%;height:100%;overflow:visible}

.innai-rings ellipse{fill:none;stroke:rgba(139,224,79,.16);stroke-width:1}
.innai-spin{
  fill:none;stroke:rgba(139,224,79,.30);stroke-width:1;stroke-dasharray:2 12;
  transform-box:fill-box;transform-origin:center;
  animation:innaiSpin 46s linear infinite;
}
@keyframes innaiSpin{to{transform:rotate(360deg)}}

.innai-link{
  stroke:rgba(237,241,232,.14);stroke-width:1;
  stroke-dasharray:4 7;stroke-dashoffset:0;
}
.innai-link.on{stroke:rgba(139,224,79,.70);animation:innaiFlow 1.1s linear infinite}
@keyframes innaiFlow{to{stroke-dashoffset:-22}}

.innai-hub-glow{fill:rgba(139,224,79,.34);animation:innaiBreathe 4.4s ease-in-out infinite}
@keyframes innaiBreathe{0%,100%{opacity:.5;r:50}50%{opacity:.95;r:60}}
.innai-hub-disc{fill:url(#innaiCore)}
.innai-hub-ring{fill:none;stroke:rgba(139,224,79,.42);stroke-width:1.5}
.innai-hub-t{
  font-family:var(--font-wd);font-size:19px;font-weight:600;letter-spacing:.20em;
  fill:#0E1A12;
}

.innai-node{cursor:pointer}
.innai-node rect{
  fill:rgba(237,241,232,.055);stroke:rgba(237,241,232,.17);stroke-width:1;
  transition:fill .3s ease,stroke .3s ease;
}
.innai-node text{
  font-family:var(--font-wd);font-size:14px;font-weight:600;letter-spacing:.05em;
  fill:rgba(237,241,232,.80);pointer-events:none;transition:fill .3s ease;
}
.innai-node.on rect{fill:rgba(139,224,79,.17);stroke:var(--lime)}
.innai-node.on text{fill:#FDFEFF}
.innai-node:hover rect{stroke:rgba(139,224,79,.7)}
.innai-node:focus-visible rect{stroke:var(--lime);stroke-width:2}
.innai-node:focus{outline:none}

.innai-out-k{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.18em;
  fill:var(--lime);text-transform:uppercase;
}
.innai-out-d{font-family:var(--font);font-size:18px;fill:rgba(237,241,232,.86)}
.innai-out{transition:opacity .22s ease}
.innai.swap .innai-out{opacity:0}

/* entry: rings open, links draw, chips arrive clockwise from the top */
.innai .innai-rings,.innai .innai-spin,.innai .innai-hub,
.innai .innai-link,.innai .innai-node,.innai .innai-out{opacity:0}
.innai.show .innai-rings,.innai.show .innai-spin{animation:innaiRing .8s ease both}
.innai.show .innai-hub{animation:innaiHub .7s cubic-bezier(.22,.61,.36,1) both;animation-delay:.1s}
.innai.show .innai-link{animation:innaiFade .5s ease both}
.innai.show .innai-node{animation:innaiPop .55s cubic-bezier(.22,.61,.36,1) both}
.innai.show .innai-out{animation:innaiFade .5s ease both;animation-delay:1.5s}
.innai.show .innai-link[data-i="0"],.innai.show .innai-node[data-i="0"]{animation-delay:.40s}
.innai.show .innai-link[data-i="1"],.innai.show .innai-node[data-i="1"]{animation-delay:.50s}
.innai.show .innai-link[data-i="2"],.innai.show .innai-node[data-i="2"]{animation-delay:.60s}
.innai.show .innai-link[data-i="3"],.innai.show .innai-node[data-i="3"]{animation-delay:.70s}
.innai.show .innai-link[data-i="4"],.innai.show .innai-node[data-i="4"]{animation-delay:.80s}
.innai.show .innai-link[data-i="5"],.innai.show .innai-node[data-i="5"]{animation-delay:.90s}
.innai.show .innai-link[data-i="6"],.innai.show .innai-node[data-i="6"]{animation-delay:1.00s}
.innai.show .innai-link[data-i="7"],.innai.show .innai-node[data-i="7"]{animation-delay:1.10s}

@keyframes innaiFade{from{opacity:0}to{opacity:1}}
@keyframes innaiRing{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}
@keyframes innaiHub{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@keyframes innaiPop{from{opacity:0;transform:translateY(8px) scale(.94)}
                    to{opacity:1;transform:none}}
.innai .innai-rings,.innai .innai-hub,.innai .innai-node{
  transform-box:fill-box;transform-origin:center;
}

@media (prefers-reduced-motion:reduce){
  .innai *{animation:none!important;opacity:1!important}
  .innai-spin{stroke-dasharray:2 12}
}

/* =========================================================
   ONION-PEEL MATURITY DIAGRAM
   Ported from the HARTS site. Five circles share a base line, so each
   level nests inside the next the way an onion reads when it is cut
   through - Foundation at the core, Lead as the outermost skin.
   ========================================================= */
.rings{
  display:grid;grid-template-columns:minmax(280px,1fr) 1fr;
  gap:clamp(28px,4vw,64px);align-items:center;
  margin-top:clamp(34px,4vw,58px);
}
@media (max-width:940px){.rings{grid-template-columns:1fr}}

.rings-stage{position:relative;aspect-ratio:700/640;max-width:620px;margin-inline:auto;width:100%}
.rings-stage svg{width:100%;height:100%;overflow:visible}

.onion-band{cursor:pointer}
.onion-band > circle:not(.onion-halo){
  stroke-width:1.5;fill:rgba(22,33,30,.035);
  transition:stroke .3s ease,stroke-width .3s cubic-bezier(.22,.61,.36,1),fill .3s ease;
}
.onion-band:hover > circle:not(.onion-halo){stroke-width:2.5}

/* a distinct tint per level, deepest at the core */
.onion--l5 > circle:not(.onion-halo){stroke:rgba(22,33,30,.30)}
.onion--l4 > circle:not(.onion-halo){stroke:rgba(45,78,48,.36);fill:rgba(45,78,48,.04)}
.onion--l3 > circle:not(.onion-halo){stroke:rgba(78,140,40,.42);fill:rgba(139,224,79,.06)}
.onion--l2 > circle:not(.onion-halo){stroke:rgba(93,170,44,.62);fill:rgba(139,224,79,.10);stroke-width:2.5}
.onion--l1 > circle:not(.onion-halo){stroke:none;fill:rgba(139,224,79,.80)}

.onion-lb{
  font-family:var(--font);font-size:21px;font-weight:600;
  letter-spacing:.14em;fill:var(--dark);pointer-events:none;
}
.onion-sub{
  font-family:var(--font);font-size:15px;font-weight:400;
  fill:var(--grey-text);pointer-events:none;
}
.onion--l1 .onion-lb{font-size:19px}

/* selected level */
.onion-band[aria-pressed="true"] > circle:not(.onion-halo){stroke:var(--lime-deep);stroke-width:3.5;fill:rgba(139,224,79,.16)}
.onion-band[aria-pressed="true"] .onion-lb{fill:var(--lime-deep)}
.onion--l1[aria-pressed="true"] > circle:not(.onion-halo){stroke:var(--lime-deep);fill:var(--lime)}
.onion--l1[aria-pressed="true"] .onion-lb{fill:var(--dark)}

/* the read-out panel */
.rings-out .lvl{
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--lime-deep);
}
.rings-out h3{margin:10px 0 14px;font-size:clamp(26px,3.2vw,40px);font-weight:400;letter-spacing:-.01em}
.rings-out .lead{font-size:16px;line-height:25px;color:var(--grey-text)}
.rings-out .themes{display:grid;gap:0;margin-top:24px}
.rings-out .themes li{
  display:grid;grid-template-columns:160px 1fr;gap:14px;align-items:baseline;
  padding-block:9px;border-bottom:1px solid var(--grey-line);font-size:14px;
}
.rings-out .themes b{
  font-family:var(--font-wd);font-size:10px;letter-spacing:.1em;
  text-transform:uppercase;font-weight:500;color:var(--dark);
}
.rings-out .themes .dim{color:var(--lime-deep);font-weight:500}

/* ---------- the diagram in motion ----------------------------------------
   The onion grows outward from Foundation: each ring's stroke draws itself on
   while the ring scales up from its own centre, core first. The selected ring
   sends a ripple every few seconds, and the blurred blobs behind never stop
   drifting, so the panel is alive before anyone touches it.
   ------------------------------------------------------------------------ */
.onion-band > circle,.onion-halo{transform-box:fill-box;transform-origin:center}
.onion-lb,.onion-sub{transition:fill .3s ease}

.rings-stage .onion-band > circle:not(.onion-halo){opacity:0}
.rings-stage .onion-lb,.rings-stage .onion-sub{opacity:0}

.rings-stage.show .onion-band > circle:not(.onion-halo){animation:ringGrow .95s cubic-bezier(.22,.61,.36,1) both}
.rings-stage.show .onion-lb,
.rings-stage.show .onion-sub{animation:ringLabel .6s ease both}

/* core first, skin last - 120ms apart */
.rings-stage.show .onion--l1 > circle:not(.onion-halo){animation-delay:.05s}
.rings-stage.show .onion--l2 > circle:not(.onion-halo){animation-delay:.17s}
.rings-stage.show .onion--l3 > circle:not(.onion-halo){animation-delay:.29s}
.rings-stage.show .onion--l4 > circle:not(.onion-halo){animation-delay:.41s}
.rings-stage.show .onion--l5 > circle:not(.onion-halo){animation-delay:.53s}
.rings-stage.show .onion--l1 .onion-lb{animation-delay:.42s}
.rings-stage.show .onion--l2 .onion-lb,
.rings-stage.show .onion--l2 .onion-sub{animation-delay:.54s}
.rings-stage.show .onion--l3 .onion-lb,
.rings-stage.show .onion--l3 .onion-sub{animation-delay:.66s}
.rings-stage.show .onion--l4 .onion-lb,
.rings-stage.show .onion--l4 .onion-sub{animation-delay:.78s}
.rings-stage.show .onion--l5 .onion-lb,
.rings-stage.show .onion--l5 .onion-sub{animation-delay:.90s}

@keyframes ringGrow{
  from{opacity:0;transform:scale(.72);stroke-dashoffset:var(--c,1800)}
  60%{opacity:1}
  to{opacity:1;transform:scale(1);stroke-dashoffset:0}
}
@keyframes ringLabel{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* dash length per ring, so the stroke draws rather than fades */
.onion--l5 > circle:not(.onion-halo){--c:1760;stroke-dasharray:1760}
.onion--l4 > circle:not(.onion-halo){--c:1433;stroke-dasharray:1433}
.onion--l3 > circle:not(.onion-halo){--c:1119;stroke-dasharray:1119}
.onion--l2 > circle:not(.onion-halo){--c:817;stroke-dasharray:817}

/* the ripple on the selected ring */
.onion-halo{fill:none;stroke:var(--lime);stroke-width:2;opacity:0;pointer-events:none}
.onion-band[aria-pressed="true"] .onion-halo{animation:ringRipple 2.6s cubic-bezier(.22,.61,.36,1) infinite}
@keyframes ringRipple{
  0%{opacity:0;transform:scale(1)}
  12%{opacity:.55}
  70%,100%{opacity:0;transform:scale(1.16)}
}

/* hover lifts the ring off the ones behind it */
.onion-band:hover > circle:not(.onion-halo){filter:drop-shadow(0 0 12px rgba(139,224,79,.45))}

.rings-anim > *{animation:ringsIn .46s cubic-bezier(.22,.61,.36,1) both}
.rings-anim > *:nth-child(2){animation-delay:.05s}
.rings-anim > *:nth-child(3){animation-delay:.1s}
.rings-anim > *:nth-child(4){animation-delay:.15s}
@keyframes ringsIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .rings-anim > *{animation:none}
  .onion-band > circle:not(.onion-halo){transition:none}
  .rings-stage .onion-band > circle:not(.onion-halo),
  .rings-stage .onion-lb,.rings-stage .onion-sub{opacity:1;animation:none}
  .onion-band > circle:not(.onion-halo){stroke-dasharray:none}
  .onion-band[aria-pressed="true"] .onion-halo{animation:none}
}

/* =========================================================
   RAPIDE PAGE TEMPLATES
   Components reproduced from the live reference site so the
   interior pages carry the same structure as the home page.
   ========================================================= */

/* ---- media placeholders that carry a generation prompt ---- */
.ph-note{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;
  gap:12px;padding:clamp(18px,3vw,40px);text-align:left;
}
.ph-kind{
  font-family:var(--font-wd);font-size:10px;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--lime-deep);
}
.ph-prompt{
  font-family:var(--font-wd);font-size:12px;line-height:19px;
  color:rgba(17,26,22,.62);max-width:62ch;
  -webkit-user-select:text;user-select:text;
}
.ph-copy{
  align-self:flex-start;font-family:var(--font-wd);font-size:10px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;
  padding:7px 14px;border-radius:999px;border:1px solid rgba(17,26,22,.28);
  color:rgba(17,26,22,.7);transition:background .25s,color .25s,border-color .25s;
}
.ph-copy:hover{background:var(--dark);color:var(--white);border-color:var(--dark)}
.ph-copy.done{background:var(--lime);color:var(--dark);border-color:var(--lime)}
.ph--dark .ph-kind{color:var(--lime)}
.ph--dark .ph-prompt{color:rgba(237,241,232,.66)}
.ph--dark .ph-copy{border-color:rgba(237,241,232,.3);color:rgba(237,241,232,.75)}
.ph--dark .ph-copy:hover{background:var(--white);color:var(--dark);border-color:var(--white)}
.ph--map .ph-kind{color:rgba(16,17,21,.72)}
.ph--map .ph-prompt{color:rgba(16,17,21,.66)}
/* In a hero the prompt is a compact corner note: clamped for reading, but the
   copy button still takes the full text. */
.phero .media .ph-note,.hero .media .ph-note{
  justify-content:flex-start;align-items:flex-end;text-align:right;gap:8px;
  padding-top:calc(var(--header-h) + 14px);
}
.phero .media .ph-prompt,.hero .media .ph-prompt{
  max-width:34ch;font-size:11px;line-height:16px;
  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;
}
.phero .media .ph-copy,.hero .media .ph-copy{align-self:flex-end}
@media (max-width:1100px){
  .phero .media .ph-prompt,.hero .media .ph-prompt{-webkit-line-clamp:2;max-width:26ch}
}
@media (max-width:700px){
  .phero .media .ph-prompt,.hero .media .ph-prompt{display:none}
}

/* ---- coordinate eyebrow ---- */
.coord{
  font-family:var(--font-wd);font-size:11px;font-weight:500;letter-spacing:.16em;
  text-transform:uppercase;color:var(--grey-text);
}
.on-image .coord,.phero .coord,.dark-bg .coord{color:var(--white-40)}

/* ---- intro split: copy one side, image the other, 3 features ---- */
.split{padding:clamp(70px,8vw,120px) 0}
.split-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(30px,5vw,80px);align-items:center;margin-top:clamp(34px,4vw,58px);
}
.split--flip .split-media{order:-1}
.split-media{aspect-ratio:4/3;position:relative;overflow:hidden}
.split-media .ph{position:absolute;inset:0}
.split-copy h2{
  font-size:clamp(26px,3.2vw,44px);line-height:1.18;font-weight:400;
  letter-spacing:-.015em;margin-bottom:22px;
}
.split-copy > p{font-size:15px;line-height:25px;color:var(--grey-text);margin-bottom:16px}
.split-feats{display:grid;gap:0;margin-top:30px}
.split-feats li{
  display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);gap:18px;
  padding:16px 0;border-top:1px solid var(--grey-line);align-items:baseline;
}
.split-feats b{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--lime-deep);
}
.split-feats span{font-size:14px;line-height:21px;color:var(--grey-text)}

/* ---- process: numbered steps beside a sticky image ---- */
.process{padding:clamp(70px,8vw,120px) 0;background:var(--tint)}
.process-grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(30px,5vw,80px);margin-top:clamp(34px,4vw,58px);align-items:start;
}
.process-media{position:sticky;top:calc(var(--header-h) + 30px);aspect-ratio:3/4;overflow:hidden}
.process-media .ph{position:absolute;inset:0}
.process--static .process-media{position:static}
.process-steps{display:grid;gap:0}
.process-step{
  display:grid;grid-template-columns:56px minmax(0,1fr);gap:20px;
  padding:26px 0;border-bottom:1px solid var(--grey-line);
}
.process-step:first-child{border-top:1px solid var(--grey-line)}
.process-num{
  font-family:var(--font-wd);font-size:12px;font-weight:700;letter-spacing:.12em;
  color:var(--lime-deep);padding-top:4px;
}
.process-step h3{font-size:clamp(19px,2vw,24px);line-height:1.28;font-weight:500;letter-spacing:-.01em;margin-bottom:9px}
.process-step p{font-size:14px;line-height:22px;color:var(--grey-text)}
.process-foot{margin-top:34px}

/* ---- benefits: 3-up icon cards ---- */
.bene3{padding:clamp(70px,8vw,120px) 0}
.bene3-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(258px,1fr));
  gap:clamp(24px,3vw,44px);margin-top:clamp(34px,4vw,58px);
}
.bene3-card{display:flex;flex-direction:column;gap:18px}
.bene3-ico{
  width:52px;height:52px;border-radius:50%;background:var(--lime);
  display:flex;align-items:center;justify-content:center;flex:none;
  font-family:var(--font-wd);font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--dark);
}
.bene3-card h3{font-size:20px;line-height:27px;font-weight:500;letter-spacing:-.01em}
.bene3-card p{font-size:14px;line-height:22px;color:var(--grey-text)}
.bene3--dark{background:var(--dark);color:var(--white)}
.bene3--dark .bene3-card p{color:var(--white-70)}

/* ---- listing: sticky filter rail + card grid ---- */
.listing{padding:clamp(40px,5vw,72px) 0 clamp(70px,8vw,120px)}
.listing-grid{display:grid;grid-template-columns:minmax(0,250px) minmax(0,1fr);gap:clamp(26px,4vw,60px)}
.listing-rail{position:sticky;top:calc(var(--header-h) + 24px);align-self:start}
.filter-group{padding:20px 0;border-bottom:1px solid var(--grey-line)}
.filter-group:first-child{border-top:1px solid var(--grey-line)}
.filter-group h4{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--grey-text);margin-bottom:14px;
}
.filter-group label{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:14px;cursor:pointer}
.filter-group input{accent-color:var(--lime-deep);width:15px;height:15px}
.listing-count{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--grey-text);margin-bottom:20px;
}
.listing-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(252px,1fr));gap:1px;background:var(--grey-line);border:1px solid var(--grey-line)}
.lcard{background:var(--white);padding:0 0 26px;display:flex;flex-direction:column;transition:background .25s}
.lcard:hover{background:var(--tint)}
.lcard-media{aspect-ratio:16/11;position:relative;overflow:hidden;margin-bottom:20px}
.lcard-media .ph{position:absolute;inset:0}
.lcard-body{padding:0 22px}
.lcard .fam{
  font-family:var(--font-wd);font-size:10px;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--lime-deep);
}
.lcard h3{font-size:21px;line-height:27px;font-weight:500;letter-spacing:-.01em;margin:9px 0 10px}
.lcard p{font-size:14px;line-height:21px;color:var(--grey-text);margin-bottom:16px}
.lcard .go{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;display:inline-flex;align-items:center;gap:8px;
}
.lcard:hover .go{color:var(--lime-deep)}

/* ---- category pill tabs ---- */
.pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:clamp(26px,3vw,40px)}
.pill{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.12em;
  text-transform:uppercase;padding:10px 20px;border-radius:999px;
  border:1px solid var(--grey-line);transition:background .25s,color .25s,border-color .25s;
}
.pill:hover{border-color:var(--dark)}
.pill.on{background:var(--dark);color:var(--white);border-color:var(--dark)}

/* ---- compact "let's chat" form ---- */
.letschat{background:var(--tint);padding:clamp(70px,8vw,120px) 0;position:relative}
.letschat h2{font-size:clamp(30px,4.4vw,60px);line-height:1.1;font-weight:400;letter-spacing:-.02em;margin:14px 0 0}
.lc-form{display:grid;gap:16px;margin-top:clamp(30px,4vw,50px)}
.letschat--row .lc-form{grid-template-columns:repeat(auto-fit,minmax(196px,1fr));align-items:end}
.lc-field{display:flex;flex-direction:column;gap:8px}
.lc-field span{
  font-family:var(--font-wd);font-size:10px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--grey-text);
}
.lc-field input,.lc-field select,.lc-field textarea{
  border:0;border-bottom:1px solid rgba(17,26,22,.24);background:none;
  padding:10px 0;font-size:15px;outline:none;transition:border-color .25s;
}
.lc-field input:focus,.lc-field select:focus,.lc-field textarea:focus{border-bottom-color:var(--lime-deep)}
.lc-field textarea{resize:vertical;min-height:64px}
/* a browser's autofill keeps the field on the form's own background
   instead of painting it a pale blue box */
.lc-field input:-webkit-autofill,.lc-field input:-webkit-autofill:hover,.lc-field input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--dark);transition:background-color 100000s ease 0s;
}

/* the topic picker: drawn like the fields beside it, opening onto a
   list of checkboxes (main.js) */
.lc-multi{position:relative}
.lc-multi-btn{
  display:flex;align-items:center;gap:12px;width:100%;
  border:0;border-bottom:1px solid rgba(17,26,22,.24);background:none;
  padding:10px 0;font:inherit;font-size:15px;color:var(--dark);text-align:left;cursor:pointer;
  outline:none;transition:border-color .25s;
}
.lc-multi-btn:focus-visible,.lc-multi-btn[aria-expanded="true"]{border-bottom-color:var(--lime-deep)}
.lc-field .lc-multi-value{
  flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  font:inherit;letter-spacing:0;text-transform:none;color:inherit;
}
.lc-multi-btn.is-empty .lc-multi-value{color:#757575}
.lc-multi-caret{width:10px;height:6px;flex:none;transition:transform .25s}
.lc-multi-btn[aria-expanded="true"] .lc-multi-caret{transform:rotate(180deg)}
.lc-multi-list{
  position:absolute;left:0;top:100%;z-index:20;margin-top:6px;padding:6px;
  width:max(100%,260px);max-width:420px;max-height:min(420px,60vh);overflow:auto;
  background:var(--white);border:1px solid var(--grey-line);border-radius:12px;
  box-shadow:0 18px 40px rgba(17,26,22,.14);
  animation:lcMultiIn .18s ease;
}
@keyframes lcMultiIn{from{opacity:0;transform:translateY(-4px)}}
.lc-opt{
  display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;
  font-size:15px;line-height:20px;color:var(--dark);cursor:pointer;
}
.lc-opt:hover{background:var(--tint)}
.lc-opt:has(input:focus-visible){outline:2px solid var(--lime-deep);outline-offset:-2px}
.lc-opt input{width:16px;height:16px;margin:0;flex:none;accent-color:var(--lime-deep)}
.lc-opt-group{margin-top:6px;padding-top:6px;border-top:1px solid var(--grey-line)}
.lc-opt--all{font-weight:600}
.lc-opt-group .lc-opt:not(.lc-opt--all){padding-left:36px}
@media (prefers-reduced-motion:reduce){
  .lc-multi-list{animation:none}
}
.lc-foot{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:10px}
.lc-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:19px;color:var(--grey-text);max-width:52ch}
.lc-consent input{accent-color:var(--lime-deep);width:15px;height:15px;margin-top:2px;flex:none}
.lc-consent a{color:var(--lime-deep);text-decoration:underline;text-underline-offset:3px}

/* The send side of the form foot: the button, kept to the right until
   the row wraps. */
.lc-send{
  display:flex;flex-direction:column;align-items:flex-end;gap:12px;
  margin-left:auto;text-align:right;
}
@media (max-width:760px){
  .lc-send{align-items:flex-start;text-align:left;margin-left:0}
}

/* ---- form checks ----
   A field that needs putting right: its line turns red and a short
   message says what to do. Set by main.js on submit. */
.form-error{
  display:block;margin-top:6px;font-family:var(--font);font-size:13px;line-height:18px;
  font-weight:500;letter-spacing:0;text-transform:none;color:#b3261e;
}
.lc-field [aria-invalid="true"]{border-bottom-color:#b3261e}
.lc-consent input[aria-invalid="true"]{outline:2px solid #b3261e;outline-offset:2px}
/* while a form is sending, its button can't be pressed twice */
form[aria-busy="true"] [type="submit"]{opacity:.5;cursor:progress}
/* a field for bots only: off screen, out of the tab order */
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;opacity:0}
/* under 16px, iPhones zoom the page in on every field that's tapped */
@media (max-width:760px){
  .lc-field input,.lc-field select,.lc-field textarea,.lc-multi-btn{font-size:16px}
}

/* ---- contact info row ---- */
.cinfo{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:clamp(24px,3vw,44px);margin-top:clamp(30px,4vw,50px)}
.cinfo h3{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--lime-deep);margin-bottom:14px;
}
.cinfo p{font-size:15px;line-height:24px;color:var(--grey-text)}
.cinfo a:hover{color:var(--lime-deep)}

@media (max-width:900px){
  .split-grid,.process-grid,.listing-grid{grid-template-columns:1fr}
  .split--flip .split-media{order:0}
  .process-media{position:static;aspect-ratio:16/10}
  .listing-rail{position:static}
  .split-feats li{grid-template-columns:1fr;gap:6px}
}

/* ---- FAQ category group label (faq page) ---- */
.faq-group-label{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--lime-deep);
  padding:38px var(--pad) 12px;border-bottom:1px solid var(--grey-line);
}

/* ---- full-bleed decorative image band (contact) ---- */
.imgband{position:relative;height:clamp(280px,34vw,440px);overflow:hidden;background:var(--dark)}
.imgband .ph{position:absolute;inset:0}
.imgband-coord{
  position:absolute;left:var(--pad);bottom:24px;z-index:2;
  font-family:var(--font-wd);font-size:11px;font-weight:500;letter-spacing:.16em;
  text-transform:uppercase;color:var(--white-40);
}

/* =========================================================
   REFERENCE-SITE FIDELITY PASS
   ========================================================= */

/* ---------------------------------------------------------
   Leadership: the portrait now fills the large image slot
   instead of sitting as a thumbnail beside the copy.
   --------------------------------------------------------- */
.journey-photo--person{
  position:relative;overflow:hidden;background:var(--dark);
  flex:1;height:640px;
}
.journey-photo--person img{
  width:100%;height:100%;object-fit:cover;object-position:50% 18%;
  transform:scale(1.02);transition:transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.journey-slide.active .journey-photo--person img{transform:none}
.person{padding-right:40px}
.person .info{max-width:420px}

/* ---------------------------------------------------------
   PROCESS - the reference site's mechanism exactly:
   the photo is sticky and pinned to the BOTTOM of the
   viewport, and each step is an opaque card with a hairline
   top rule that scrolls up and over it.
   --------------------------------------------------------- */
.process{background:var(--white)}
.process-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:0 40px;
  position:relative;align-items:start;
}
.process-media{
  position:sticky;
  top:calc(100vh - 33rem);
  align-self:flex-start;
  width:100%;height:auto;aspect-ratio:auto;
  overflow:visible;
}
.process-media::before{content:"";display:block;padding-top:76.7647%}
.process-media .ph{position:absolute;inset:0}
.process--static .process-media{position:relative;top:0}

.process-steps{position:relative;z-index:1}
.process-step{
  position:relative;z-index:1;background:var(--white);
  display:block;padding:0 26px 26px 112px;
  border-top:1px solid rgba(17,26,22,.14);border-bottom:0;
}
.process-step:first-child{border-top:1px solid rgba(17,26,22,.14)}
.process-num{
  position:absolute;left:0;top:44px;
  font-family:var(--font-wd);font-size:14px;font-weight:600;
  letter-spacing:.05em;text-transform:uppercase;color:var(--lime-deep);
}
.process-step h3{
  font-size:clamp(24px,2.7vw,38px);line-height:1.1;font-weight:400;
  letter-spacing:-.01em;padding-top:24px;padding-bottom:18px;margin:0;
}
.process-step p{font-size:14px;line-height:22px;color:var(--grey-text)}
.process-foot{position:relative;z-index:1;background:var(--white);padding-top:30px}
.process-foot .btn{width:100%;border-radius:0;height:56px}

@media (max-width:1100px){
  .process-grid{grid-template-columns:1fr;gap:0}
  .process-media{position:relative;top:0;order:-1;margin-bottom:34px}
  .process-step{padding:0 0 22px 62px}
  .process-num{top:26px}
  .process-step h3{padding-top:18px}
}
@media (max-width:540px){
  .process-step{padding-left:0;padding-top:22px}
  .process-num{position:relative;left:0;top:0;display:block;margin-bottom:10px;color:var(--grey-mute)}
  .process-step h3{padding-top:0}
}

/* ---------------------------------------------------------
   Frosted spec panel - the reference site's yacht card,
   applied to the three-stage slider. A blurred, gradient-lit
   plate over the image with hairline spec rules, a ghost
   button, and a ruler with a lime marker and a counter.
   --------------------------------------------------------- */
.stage-specs{
  width:520px;flex:none;position:relative;z-index:6;
  padding:38px 40px 30px;
  background:linear-gradient(150deg,rgba(22,33,30,.34) 0%,rgba(22,33,30,.62) 55%,rgba(16,25,22,.78) 100%);
  -webkit-backdrop-filter:blur(18px) saturate(115%);
  backdrop-filter:blur(18px) saturate(115%);
  border-top:1px solid rgba(237,241,232,.16);
  box-shadow:0 24px 70px rgba(8,14,12,.34);
}
.stage-specs .row{
  display:flex;align-items:baseline;justify-content:space-between;gap:24px;
  padding:14px 0;border-bottom:1px solid rgba(237,241,232,.22);
}
.stage-specs .row dt{
  font-family:var(--font-wd);font-size:clamp(13px,1.2vw,17px);font-weight:500;
  letter-spacing:.04em;text-transform:uppercase;color:var(--white);
}
.stage-specs .row dd{
  color:var(--white);text-align:right;font-size:clamp(13px,1.2vw,17px);
  letter-spacing:-.01em;margin:0;
}
.stage-specs .btn{
  margin-top:28px;width:100%;height:56px;border-radius:999px;
  border-color:rgba(237,241,232,.45);color:var(--white);
  font-size:13px;letter-spacing:.08em;
}
.stage-specs .btn:hover{background:var(--white);color:var(--dark);border-color:var(--white)}

/* ruler + marker, sitting under the plate.
   The rail runs the same track as the numbers beneath it - inset by
   --pad on the left and clearing the lime side rail on the right.
   Running it 0 to 0 put the ticks on a different scale from the
   01/02/03 stops, so the marker never landed on its number. */
.stages-ruler{
  position:absolute;left:var(--pad);right:90px;bottom:74px;z-index:5;height:16px;
  background-image:repeating-linear-gradient(90deg,
    rgba(237,241,232,.42) 0 1px,transparent 1px 16px);
  opacity:.8;pointer-events:none;
}
.stages-mark{
  position:absolute;z-index:6;bottom:54px;
  display:flex;flex-direction:column;align-items:center;gap:4px;
  /* main.js sets left to the centre of the number this marker belongs
     to, so the marker has to be centred on that point rather than
     starting from it */
  transform:translateX(-50%);
  transition:left .6s cubic-bezier(.22,.61,.36,1);pointer-events:none;
}
.stages-mark .tri{
  width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;
  border-top:7px solid var(--lime);
}
.stages-mark .bar{width:1px;height:20px;background:var(--white)}
.stages-mark .n{
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.1em;color:var(--white);
}

@media (max-width:1100px){
  .stage-specs{width:420px;padding:30px 28px 24px}
}
@media (max-width:900px){
  .stage-specs{width:100%;padding:26px 22px 20px}
  .stages-ruler{display:none}
  .stages-mark{display:none}
}

/* =========================================================
   GLASSMORPHISM PASS - matched to the reference recording
   ========================================================= */

/* ---------------------------------------------------------
   Spec plate: LIGHT frosted glass, not a dark scrim. The blur
   lives on a pseudo-element so the top edge can be feathered
   with a mask while the text above it stays crisp.
   --------------------------------------------------------- */
.stage-specs{
  width:540px;flex:none;position:relative;z-index:6;
  padding:46px 46px 34px;
  background:none;backdrop-filter:none;-webkit-backdrop-filter:none;
  border-top:0;box-shadow:none;color:var(--white);
}
.stage-specs::before{
  content:"";position:absolute;left:0;right:0;top:0;bottom:0;z-index:-1;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,.17) 100%);
  -webkit-backdrop-filter:blur(30px) saturate(125%) brightness(1.08);
  backdrop-filter:blur(30px) saturate(125%) brightness(1.08);
}
.stage-specs .row{
  display:flex;align-items:baseline;justify-content:space-between;gap:24px;
  padding:15px 0;border-bottom:1px solid rgba(255,255,255,.26);
}
.stage-specs .row dt{
  font-family:var(--font);font-size:clamp(15px,1.45vw,21px);font-weight:400;
  letter-spacing:.01em;text-transform:uppercase;color:rgba(255,255,255,.92);
}
.stage-specs .row dd{
  font-family:var(--font);color:#fff;text-align:right;
  font-size:clamp(15px,1.45vw,21px);letter-spacing:0;margin:0;
}
.stage-specs .btn{
  margin-top:30px;width:100%;height:72px;border-radius:999px;
  border:1px solid rgba(255,255,255,.5);color:#fff;background:none;
  font-family:var(--font);font-size:15px;font-weight:500;letter-spacing:.06em;
}
.stage-specs .btn:hover{background:rgba(255,255,255,.16);border-color:#fff}

/* ---------------------------------------------------------
   Process: full-bleed lime action bar, and steps that open
   one at a time as the section scrolls.
   --------------------------------------------------------- */
.process-foot{padding-top:0;background:none}
.process-bar{
  position:relative;z-index:2;
  display:flex;align-items:center;justify-content:center;
  width:100%;
  height:74px;background:var(--lime);color:var(--dark);
  font-family:var(--font);font-size:15px;font-weight:500;
  letter-spacing:.08em;text-transform:uppercase;
  transition:background .3s ease,color .3s ease;
}
.process-bar:hover{background:#5C7A24;color:rgba(255,255,255,.92)}

/* The contact bar at the foot of each service page: one line written for
   that page, and the whole bar is the way in, so it darkens on hover like
   the plain bar. "Talk it through" read as advice to go and talk to
   somebody else. */
.process-bar--connect{
  height:auto;min-height:74px;padding:16px var(--pad);
  flex-wrap:wrap;gap:12px 22px;text-align:center;
  font-size:clamp(16px,1.4vw,20px);font-weight:400;letter-spacing:-.005em;text-transform:none;
}

.process-step .body{
  display:grid;grid-template-rows:0fr;
  transition:grid-template-rows .55s cubic-bezier(.22,.61,.36,1),
             opacity .4s ease,padding-bottom .55s cubic-bezier(.22,.61,.36,1);
  opacity:0;padding-bottom:0;
}
/* `overflow:hidden` only - a `min-height:0` here would zero the 1fr track's
   content minimum and the row would never open. */
.process-step .body > div{overflow:hidden}
.process-step.on .body{grid-template-rows:1fr;opacity:1;padding-bottom:8px}
.process-step h3{
  transition:color .35s ease;color:var(--grey-mute);
}
.process-step.on h3{color:var(--dark)}
.process-step.on .process-num{color:var(--lime-deep)}
.process-num{color:var(--grey-mute);transition:color .35s ease}
@media (prefers-reduced-motion:reduce){
  .process-step .body{transition:none}
}

/* ---------------------------------------------------------
   Benefits: lime disc with a glyph, the way the reference
   draws them, instead of a numeral.
   --------------------------------------------------------- */
.bene3-ico{width:56px;height:56px}
.bene3-ico svg{width:24px;height:24px;stroke:var(--dark);fill:none;
  stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* ---------------------------------------------------------
   Intro split: the three features read as three columns with
   their own headings, not as a bulleted list.
   --------------------------------------------------------- */
.split-feats{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(20px,2.4vw,40px);margin-top:44px;
  border-top:1px solid var(--grey-line);padding-top:30px;
}
.split-feats li{display:block;padding:0;border:0}
.split-feats b{
  display:block;font-family:var(--font);font-size:clamp(20px,2.1vw,30px);
  /* body line-height is 20px; without its own, a two-line heading like
     "Cloud manufacturing" overflows its box and lands on the copy below */
  line-height:1.14;
  font-weight:400;letter-spacing:-.01em;text-transform:none;
  color:var(--dark);margin-bottom:12px;
}
.split-feats span{font-size:13px;line-height:20px;color:var(--grey-text)}
@media (max-width:700px){
  .split-feats{grid-template-columns:1fr;gap:24px}
}

/* =========================================================
   FIXES
   ========================================================= */

/* ---------------------------------------------------------
   The prompt note must never clip its own button: the prompt
   scrolls inside the box and the button is pinned below it.
   --------------------------------------------------------- */
.ph-note{display:flex;flex-direction:column;gap:10px;overflow:hidden}
.ph-prompt{flex:1 1 auto;min-height:0;overflow:auto;max-width:none}
.ph-copy{flex:none}
/* Small slots only have room for the label and the button. */
.svc-photo .ph-prompt,.lcard-media .ph-prompt{
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.svc-photo .ph-note,.lcard-media .ph-note{padding:14px 16px;gap:8px}

/* ---------------------------------------------------------
   Services: reserve the overhanging photo's column so the
   copy can never run underneath it between 1280 and 1500.
   --------------------------------------------------------- */
@media (min-width:1281px){
  .svc-body{padding-right:calc(var(--pad) + 380px)}
  .svc-body .map{margin-right:clamp(40px,7vw,130px)}
  .svc-body .copy{flex:0 1 340px;min-width:240px}
}

/* the ghost button needs a real edge once the row turns lime */
.svc-item.open .btn--ghost{border-color:rgba(16,17,21,.5);color:var(--dark)}
.svc-item.open .btn--ghost:hover{background:var(--dark);color:var(--white);border-color:var(--dark)}

/* ---------------------------------------------------------
   Assessment sign-up: the form lines up under the heading's
   column at every width. The fixed 340px it used to start at
   only matched the 25% column at 1440px.
   --------------------------------------------------------- */
.newsletter{overflow:visible}
.newsletter .sc-title{font-size:clamp(40px,7vw,92px);line-height:1.05}
.subscribe .spacer{width:25%}
/* with nothing after the form, the band closes on the site's section spacing */
.subscribe{padding-bottom:clamp(56px,6.5vw,104px)}

/* ---------------------------------------------------------
   Services, 1025–1280px: the row is still horizontal here but
   its fixed columns already total ~1100px, so the absolutely
   positioned photo used to land on top of the copy. Drop the
   photo into flow and let the copy shrink for this band down.
   --------------------------------------------------------- */
@media (max-width:1280px){
  .svc-photo{
    position:relative;inset:auto;width:100%;height:200px;
    margin:18px 0 0;opacity:1;transform:none;display:none;
  }
  .svc-item.open .svc-photo{display:block}
  .svc-body{flex-wrap:wrap;gap:clamp(20px,3vw,44px);padding-right:var(--pad)}
  .svc-body .map{margin-right:0}
  .svc-body .mid{flex:0 0 auto}
  .svc-body .copy{width:auto;flex:1 1 300px;min-width:260px;margin-left:0}
}

/* =========================================================
   SERVICES - matched to the reference row
   Map bleeds off the left edge for the full height of the open
   band; EXPLORE sits under the title; the copy sits right of it;
   the photo hangs below the band on the far right.
   ========================================================= */
.svc-item{overflow:visible}

.svc-map{
  position:absolute;left:0;top:0;bottom:0;z-index:2;
  width:clamp(150px,21%,300px);height:auto;
  opacity:0;transition:opacity .45s cubic-bezier(.22,.61,.36,1);
  pointer-events:none;
}
.svc-item.open .svc-map{opacity:1}
/* the map is decoration, so it carries a label rather than a prompt block */
.svc-map::after{
  content:attr(data-ph);position:absolute;inset:auto 0 18px 0;text-align:center;
  font-family:var(--font-wd);font-size:10px;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:rgba(16,17,21,.5);
}

/* the open band: EXPLORE aligned under the title, copy to its right */
.svc-body{
  display:flex;align-items:flex-start;
  gap:clamp(28px,5vw,90px);
  padding:0 calc(var(--pad) + 380px) 42px calc(var(--pad) + 340px);
}
.svc-body .mid{width:auto;flex:none;margin:0}
.svc-body .mid .btn{min-width:150px}
.svc-body .copy{width:auto;flex:0 1 360px;min-width:250px;margin:0}

/* the photo drops below the band on the right */
.svc-photo{
  top:0;bottom:clamp(-190px,-11vw,-70px);right:var(--pad);
  width:clamp(240px,24%,420px);height:auto;
}

@media (max-width:1280px){
  .svc-body{padding:0 var(--pad) 30px calc(var(--pad) + 200px)}
  .svc-map{width:170px}
  .svc-photo{position:relative;inset:auto;width:100%;height:200px;margin-top:18px}
}
@media (max-width:1024px){
  .svc-body{padding-left:var(--pad);flex-direction:column;gap:20px}
  .svc-map{display:none}
}

/* the map is a pale blue panel that carries the service label */
.svc-map.ph--map{
  background:
    repeating-linear-gradient(135deg,rgba(22,33,30,.04) 0 14px,transparent 14px 28px),
    linear-gradient(160deg,#E3ECF8 0%,#CBDDF0 58%,#BCD3EB 100%);
}
/* EXPLORE gets its own column so the copy lands near mid-row like the reference */
.svc-body{gap:0}
.svc-body .mid{width:340px;flex:none}
@media (max-width:1280px){
  .svc-body{gap:clamp(20px,3vw,44px)}
  .svc-body .mid{width:auto}
}

/* The right reserve must track the photo's own fluid width, and the copy must
   be free to shrink - a fixed min-width pushed it under the photo at ~1320. */
@media (min-width:1281px){
  .svc-body{
    padding-right:calc(var(--pad) * 2 + clamp(240px,24%,420px));
    padding-left:calc(var(--pad) + 340px);
  }
  .svc-body .mid{width:clamp(150px,20%,340px);flex:none}
  .svc-body .copy{flex:1 1 auto;min-width:0;width:auto;max-width:400px}
}

/* Proportions measured off the reference recording at 1274 CSS px:
   map 0–16%, title 26.3%, copy 52.4–71.4%, photo 74–98%. */
.svc-map{width:clamp(140px,16%,260px)}
@media (min-width:1281px){
  .svc-body .mid{width:clamp(160px,26%,380px)}
  .svc-body .copy{max-width:clamp(240px,20%,300px)}
}

/* =========================================================
   SERVICES - authoritative geometry
   The reference keeps the horizontal row down to 1100px (not
   1280), and its columns sit at fixed fractions of the
   viewport, so they are expressed in vw rather than px.
   map 0–16 | title 26.3 | copy 52.4–71.4 | photo 74–98
   ========================================================= */
@media (min-width:1101px){
  /* One number-column width for open and closed rows alike. It used
     to be 26.3vw closed and narrower open, so a title slid 119px
     left the moment the row opened. The floor is the decorative map
     panel the title has to clear. */
  :root{--svc-num-w:calc(16vw - var(--pad) + 30px)}
  .svc-num{width:var(--svc-num-w);flex:none}
  .svc-map{width:16vw}
  .svc-body{
    display:flex;align-items:flex-start;gap:0;flex-wrap:nowrap;
    padding:0 28vw 42px 26.3vw;
  }
  .svc-body .mid{width:26.1vw;flex:none;margin:0}
  .svc-body .copy{flex:1 1 auto;width:auto;min-width:0;max-width:none;margin:0}
  .svc-photo{
    position:absolute;top:0;bottom:clamp(-190px,-11vw,-70px);
    right:2vw;width:24vw;height:auto;display:block;opacity:0;
  }
  .svc-item.open .svc-photo{opacity:1}
}

/* An open row reads across rather than down. The heading keeps the
   left half and its detail stacks beside it, in the gap the title
   and the illustration already leave between them, instead of
   opening underneath the title. The panel keeps its own height
   animation, so the row still grows the way it did. */
@media (min-width:1101px){
  /* The heading column is sized to the heading. A fixed fraction had
     to be wide enough for "Center of Excellence", which left a short
     title like "Setup" trailing 250px of empty green before its
     detail began. Sizing to content puts the detail beside every
     title and hands the slack back to the copy. */
  .svc-item.open{
    display:grid;grid-template-columns:auto minmax(0,1fr);
    column-gap:clamp(32px,4vw,72px);align-items:start;
  }
  /* the head's own right padding was the last 40px the longest titles
     needed to stay on one line; the grid gap does that job here */
  .svc-item.open .svc-head{grid-column:1;grid-row:1;height:auto;align-items:flex-start;padding:26px 0 26px var(--pad)}
  .svc-item.open .svc-panel{grid-column:2;grid-row:1}
  /* Explore sits under its own heading rather than at the head of the
     detail column, so the title names the service and the button acts
     on it. The head becomes a small grid of its own: number, title,
     and the button under the title. It has to be a grid rather than a
     wrapped flex row - a 100% flex basis inside a column the grid is
     sizing to content is circular, and blew the heading out to 919px. */
  /* Closed rows hold the number in a 26.3vw column so every title
     starts on the same line. Open, that column is 339px of empty
     space carrying two digits, and it was the reason a long title
     left only 291px for its detail - too narrow for two columns of
     groups. Open rows let the number take its own width and hand the
     rest to the copy. */
  /* The number column still has to clear the decorative map panel,
     which is absolutely positioned at left:0 over the first 16vw and
     sits above the head. Collapsing the column to the number alone
     put the title and its Explore button underneath it, invisible.
     The floor is the map's width plus a gap; past that it takes only
     what the number needs. */
  .svc-item.open .svc-head{
    display:grid;
    grid-template-columns:minmax(var(--svc-num-w),auto) auto;
    align-items:start;
  }
  .svc-item.open .svc-head .svc-num{
    grid-column:1;grid-row:1;width:auto;
    padding-right:clamp(18px,1.8vw,34px);
  }
  .svc-item.open .svc-head .svc-title{grid-column:2;grid-row:1}
  .svc-item.open .svc-head .mid{grid-column:2;grid-row:2;width:auto;margin:18px 0 0;padding:0}
  .svc-item.open .svc-body{
    flex-direction:column;gap:16px;
    padding:26px 28vw 42px 0;
  }
  .svc-item.open .svc-body .mid{width:auto}
  .svc-item.open .svc-body .copy{width:auto;max-width:none}
  /* Named groups sit side by side where the copy column is wide
     enough for two readable columns, and fall to one where it is
     not - a short title leaves far more room than a long one. */
  /* A row with more than one named group runs them two across, fixed
     rather than flex-basis: leaving it to a basis meant a long title
     could shave the column below the threshold and drop five groups
     into one tall run. Single-group rows keep the full width. */
  .svc-item.open .svc-groups{margin-top:0;gap:24px clamp(20px,2.2vw,36px)}
  .svc-item.open .svc-groups:has(.svc-group:nth-child(2)){
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .svc-item.open .svc-group{min-width:0;max-width:none}
}

@media (max-width:1100px){
  .svc-map{display:none}
  .svc-body{
    display:flex;flex-wrap:wrap;flex-direction:row;
    gap:clamp(20px,3vw,44px);
    padding:0 var(--pad) 30px var(--pad);
  }
  .svc-body .mid{width:auto;flex:0 0 auto}
  .svc-body .copy{flex:1 1 300px;min-width:250px;max-width:none;width:auto}
  .svc-photo{
    position:relative;inset:auto;width:100%;height:200px;
    margin-top:18px;opacity:1;transform:none;display:none;
  }
  .svc-item.open .svc-photo{display:block}
}
@media (max-width:640px){
  .svc-body{flex-direction:column;gap:20px}
  .svc-body .copy{min-width:0;flex:1 1 auto}
}

/* ---------------------------------------------------------
   Prompt notes sit inside <a> cards on the listing pages. A
   press-and-drag there starts a link drag instead of selecting
   text, and can swallow the click on the copy button.
   --------------------------------------------------------- */
.ph-note{-webkit-user-drag:none;user-select:text;-webkit-user-select:text}
.ph-prompt{cursor:text}
.ph-copy{cursor:pointer;position:relative;z-index:2}
.lcard .ph-note,.lcard .ph-prompt,.lcard .ph-copy{-webkit-user-drag:none}

/* A closed row's photo is only faded out, so it stayed hit-testable at
   z-index 3 and covered the open row's copy button - clicks landed on an
   invisible element instead. Take faded placeholders out of hit testing. */
.svc-photo{pointer-events:none}
.svc-item.open .svc-photo{pointer-events:auto}

/* ---------------------------------------------------------
   Prompt fallback dialog - shown only when the browser refuses
   every programmatic copy. A real textarea, focused and fully
   selected, so ⌘C and right-click > Copy both work.
   --------------------------------------------------------- */
.prompt-box{
  position:fixed;inset:0;z-index:200;display:none;
  align-items:center;justify-content:center;padding:24px;
  background:rgba(12,21,18,.72);
}
.prompt-box.open{display:flex}
.prompt-box__inner{
  width:min(680px,100%);background:var(--white);padding:28px;
  display:flex;flex-direction:column;gap:16px;
  box-shadow:0 30px 90px rgba(8,14,12,.4);
}
.prompt-box__hint{
  font-family:var(--font-wd);font-size:12px;line-height:19px;
  letter-spacing:.04em;color:var(--grey-text);
}
.prompt-box textarea{
  width:100%;height:210px;resize:vertical;
  border:1px solid var(--grey-line);padding:16px;
  font-family:var(--font-wd);font-size:13px;line-height:20px;color:var(--dark);
  background:var(--tint);outline:none;
}
.prompt-box textarea:focus{border-color:var(--lime-deep)}
.prompt-box .btn{align-self:flex-end}

/* =========================================================
   STAGES - matched to the reference yacht panel
   ========================================================= */

/* the name is set light on the reference, not regular */
.stage-name{font-weight:300;letter-spacing:-.03em}

/* the slide's prompt note was spanning the whole section and running across
   the eyebrow; give it the same compact corner treatment the heroes use */
.stages-slides .ph-note{
  justify-content:flex-start;align-items:flex-end;text-align:right;gap:8px;
  padding:calc(var(--header-h) + 14px) var(--pad) 0;
}
.stages-slides .ph-prompt{
  max-width:34ch;font-size:11px;line-height:16px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.stages-slides .ph-copy{align-self:flex-end}
@media (max-width:900px){ .stages-slides .ph-prompt{display:none} }

/* the spec plate: roomier rows, closer to the reference proportions */
.stage-specs{padding:40px 44px 34px}
.stage-specs .row{padding:17px 0}
.stage-specs .btn{margin-top:26px;height:64px}

/* ruler numbers sit along the rail at each stop, the active one marked */
.stages-pagination{
  left:var(--pad);right:90px;bottom:22px;
  display:flex;justify-content:space-between;align-items:flex-end;
  gap:0;pointer-events:auto;
}
.stages-pagination button{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.12em;
  color:var(--white-40);padding:4px 6px;transition:color .3s ease;
}
.stages-pagination button:hover{color:var(--white)}
.stages-pagination button.active{color:var(--lime)}
/* the prompt must not stretch (it would push the button to the section floor,
   into the ruler) and must clear the lime side rail on the right */
.stages-slides .ph-note{
  justify-content:flex-start;
  padding-right:calc(var(--pad) + 60px);
}
.stages-slides .ph-prompt{flex:0 0 auto}
.stages-slides .ph-copy{margin-top:2px}

/* =========================================================
   SPEC PLATE - sized off the reference frame
   Measured on a 2000px-wide capture: the plate is 492px wide
   (24.6vw), inset 48px (2.4vw), rows on a 41px rhythm
   (2.05vw), labels ~17px (0.85vw), action 44px tall (2.2vw).
   Everything is expressed in vw so it holds that proportion,
   clamped so it stays usable at small and very large sizes.
   ========================================================= */
.stage-specs{
  width:clamp(268px,24.6vw,500px);
  padding:clamp(20px,2.8vw,46px) clamp(18px,2.4vw,38px) clamp(16px,1.9vw,32px);
}
/* the plate reads as one panel: the top edge is cut as cleanly as
   the bottom, so it no longer dissolves into the film above it */
.stage-specs::before{top:0}
.stage-specs .row{
  padding:clamp(6px,.55vw,11px) 0;
  gap:clamp(10px,1.2vw,20px);
}
.stage-specs .row dt,
.stage-specs .row dd{
  font-size:clamp(11px,.85vw,17px);
  line-height:1.25;
}
.stage-specs .row dt{letter-spacing:.02em}
.stage-specs .btn{
  margin-top:clamp(16px,2.1vw,34px);
  height:clamp(34px,2.2vw,48px);
  font-size:clamp(11px,.78vw,15px);
  letter-spacing:.05em;
}

/* =========================================================
   LIVE CONTENT EDITING - review build only
   Delete this block and the edit-mode.js tag to ship.
   ========================================================= */
[data-edit-path]{
  outline:1px dashed transparent;outline-offset:3px;
  transition:outline-color .15s,background .15s;border-radius:2px;
}
[data-edit-path]:hover{outline-color:rgba(51,105,15,.38)}
[data-edit-path]:focus{
  outline:2px solid var(--lime);outline-offset:3px;
  background:rgba(139,224,79,.10);
}
/* the dark grounds need the opposite wash to show the caret's field */
.dark-bg [data-edit-path]:focus,.footer [data-edit-path]:focus,
.cta [data-edit-path]:focus,.phero [data-edit-path]:focus,
.stages [data-edit-path]:focus{background:rgba(139,224,79,.16)}
[data-edit-path] a[href]{cursor:pointer}

.edit-hud{
  position:fixed;right:16px;bottom:16px;z-index:90;
  display:flex;align-items:center;gap:10px;
  padding:8px 10px 8px 12px;border-radius:999px;
  background:rgba(16,23,20,.92);color:var(--white);
  font-family:var(--font-wd);font-size:11px;font-weight:500;
  letter-spacing:.06em;text-transform:uppercase;
  box-shadow:0 10px 30px rgba(8,14,12,.34);
}
.edit-hud__dot{width:7px;height:7px;border-radius:50%;background:var(--lime)}
.edit-hud button{
  font:inherit;color:var(--white);cursor:pointer;
  padding:5px 10px;border-radius:999px;
  border:1px solid rgba(253,254,255,.28);background:none;
  transition:background .2s,color .2s,border-color .2s;
}
.edit-hud button:hover{background:var(--lime);color:var(--dark);border-color:var(--lime)}
@media print{.edit-hud{display:none}[data-edit-path]{outline:0!important;background:none!important}}

/* An open row's panel follows its Explore link (main.js), so the
   pointer should say so. The heading keeps the accordion cursor. */
.svc-item.open .svc-panel{cursor:pointer}
.svc-item.open .svc-panel a,
.svc-item.open .svc-panel button{cursor:pointer}

/* =========================================================
   SERVICE PAGE: WHY IT MATTERS / OFFERINGS / PROOF
   The service pages read hook, why it matters, approach,
   what we offer, proof, call to action. The approach reuses
   the existing .process block; these are the parts that had
   no pattern yet.
   ========================================================= */
/* The reasons are laid out as process steps - numbered, stacked, with
   a sticky film beside them - so the visual rules come from
   .process-step. What is left here is the list inside a step, which
   the process blocks elsewhere do not have. */
.process-step ul{list-style:none;margin:0;padding:0}
.process-step li{
  font-size:14px;line-height:21px;color:var(--grey-text);
  padding:9px 0;border-top:1px solid var(--grey-line);
}
.process-step li:first-child{border-top:0;padding-top:0}

/* The reasoning sits under the four phases, so it takes the same four
   tracks: each reason stacked under its own rule, lining up with the
   phase above it. Term beside definition only works in a narrow column,
   which this stopped being when it moved out from beside the drawing. */
.why-crit{margin-top:clamp(40px,4.5vw,64px)}
.why-crit h3{
  font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--grey-text);margin:0 0 22px;
}
.why-list{
  display:grid;gap:clamp(14px,1.5vw,24px);
  grid-template-columns:repeat(4,minmax(0,1fr));margin:0;
}
.why-list > div{padding-top:16px;border-top:1px solid rgba(51,105,15,.28)}
.why-list dt{
  font-size:clamp(15px,1.15vw,18px);line-height:1.25;
  letter-spacing:-.01em;color:var(--dark);margin-bottom:8px;
}
.why-list dd{margin:0;font-size:14px;line-height:20px;color:#5E6A63}

@media (max-width:1100px){
  .why-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  .why-list{grid-template-columns:minmax(0,1fr)}
}

/* ---------- what we offer ---------- */
.offer-grid{
  display:grid;gap:clamp(24px,4vw,72px);margin-top:clamp(40px,5vw,72px);
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}
.offer-col h3{
  font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--grey-text);margin-bottom:18px;
}
.offer-col ul{list-style:none;margin:0;padding:0}
.offer-col li{
  font-size:clamp(15px,1.15vw,18px);line-height:1.4;letter-spacing:-.01em;
  padding:14px 0;border-top:1px solid var(--grey-line);
}

/* ---------- proof of impact ----------
   Deliberately a placeholder: the firm is new and has nothing to
   claim yet, so the section states that rather than inventing it. */
.proof{margin-top:clamp(48px,6vw,90px);border-top:1px solid var(--grey-line);padding-top:26px}
.proof-note{margin-top:10px;font-size:clamp(17px,1.5vw,24px);line-height:1.3;color:var(--grey-mute);letter-spacing:-.01em}

/* Below the side-by-side breakpoint the groups have no illustration
   gutter to share and the row is narrow, so they need a real floor:
   without one, five groups flattened to 94px each on a phone. */
@media (max-width:1100px){
  .svc-groups{flex-wrap:wrap}
  .svc-group{flex:1 1 220px;min-width:220px}
}

/* The three reasons show their headings first and open their detail
   as the reader arrives at them. Same mechanism the process steps
   use - a 0fr/1fr grid row - but these stay open once reached rather
   than closing behind you, because they are read as a set. */
.why-card .body{
  display:grid;grid-template-rows:0fr;opacity:0;
  transition:grid-template-rows .55s cubic-bezier(.22,.61,.36,1),opacity .4s ease;
}
.why-card .body > div{overflow:hidden}
.why-card.on .body{grid-template-rows:1fr;opacity:1}
@media (prefers-reduced-motion:reduce){
  .why-card .body{transition:none;grid-template-rows:1fr;opacity:1}
}

/* This slot holds a film that carries its own titles, not a texture.
   The column's 3/4 portrait would crop away most of the frame, so the
   media takes the film's own 16/9 and cover then fits it exactly. */
.process-media--film{aspect-ratio:16/9}
.process-media--film::before{display:none}
/* and no Ken Burns drift: mediaDrift scales decorative footage 1.06 to
   1.14 and pans it, which on a film carrying its own titles would crop
   the text and then slide across what was left. */
.process-media--film .ph--dark.has-media > video{animation:none;transform:none}
@media (max-width:900px){
  .process-media--film{aspect-ratio:16/9}
}

/* One market figure per reason, sourced to nasscom so the claim carries
   an authority the reader can check. The figure sits on its own line: it
   counts up from zero, and a number growing beside its caption would
   push that caption around for the whole run. */
.why-stat{
  margin-top:18px;padding-top:14px;
  border-top:1px solid var(--grey-line);
}
.why-stat b{
  display:block;font-family:var(--font-wd);
  font-size:clamp(30px,2.8vw,40px);line-height:1;font-weight:500;
  letter-spacing:-.02em;color:var(--lime-deep);
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;
  margin-bottom:8px;
}
.why-stat span{display:block;font-size:13px;line-height:18px;color:#5E6A63}
.why-stat cite{
  display:block;font-style:normal;font-size:11px;letter-spacing:.09em;
  text-transform:uppercase;color:var(--grey-mute);margin-top:6px;
}

.why-source{
  margin-top:clamp(26px,3vw,40px);
  font-size:12px;line-height:17px;color:var(--grey-mute);
}
.why-source i{font-style:italic}

/* This page runs four sections of dense material back to back, and the
   default 115px above and below stacks into 230px of empty page between
   each pair. Scoped to the page rather than changed at the base, so the
   rest of the site keeps its rhythm. */
.page-setup .split,
.page-setup .process{
  padding-top:clamp(38px,4.4vw,64px);
  padding-bottom:clamp(38px,4.4vw,64px);
}

/* =========================================================
   APPROACH PHASES
   The four phases keep the framework drawing's look - rounded
   plates, a green rule, a kicker over the name and the detail
   set quietly beneath - but run as one line, left to right,
   with phase 2 a plate in the row rather than a hub the other
   three point into.
   ========================================================= */
.phase-flow{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(14px,1.5vw,24px);
  list-style:none;margin:clamp(36px,4.5vw,64px) 0 0;padding:0;
}
.phase-box{
  position:relative;
  display:flex;flex-direction:column;
  padding:clamp(20px,1.9vw,28px);
  background:var(--white);
  border:1.5px solid rgba(51,105,15,.5);
  border-radius:14px;
  transition:border-color .4s ease,background .4s ease;
}
.phase-box:hover{border-color:var(--lime-deep)}

/* an arrow in the gutter, the way the drawing joined its plates */
.phase-box::after{
  content:"";position:absolute;top:50%;
  right:calc(clamp(14px,1.5vw,24px) * -1);
  width:clamp(14px,1.5vw,24px);height:10px;
  transform:translateY(-50%);
  background:var(--grey-mute);
  clip-path:polygon(0 40%,56% 40%,56% 0,100% 50%,56% 100%,56% 60%,0 60%);
}
.phase-box:last-child::after{display:none}

/* phase 2 keeps the weight it had at the centre of the drawing */
.phase-box--core{
  background:rgba(139,224,79,.12);
  border-width:2px;border-color:var(--lime-deep);
}

.phase-kicker{
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;
  color:var(--lime-deep);margin:0 0 8px;
}

.phase-box h3{
  font-size:clamp(17px,1.45vw,21px);line-height:1.2;font-weight:400;
  letter-spacing:-.01em;margin:0 0 16px;
  padding-bottom:14px;border-bottom:1px solid rgba(51,105,15,.28);
}

.phase-box ul{list-style:none;margin:0;padding:0}
.phase-box ul li{
  font-size:14px;line-height:19px;color:#5E6A63;
  padding:7px 0;
}
.phase-box ul li:first-child{padding-top:0}

.phase-foot{
  margin:auto 0 0;padding-top:16px;
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--lime-deep);
}

/* Below about 1100px four across stops fitting the type; the run
   folds to two and then to one, keeping the same reading order. */
@media (max-width:1100px){
  .phase-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .phase-box:nth-child(2)::after{display:none}
}
@media (max-width:620px){
  .phase-flow{grid-template-columns:minmax(0,1fr)}
  .phase-box::after{display:none}
}

@media (prefers-reduced-motion:reduce){
  .phase-box{transition:none}
}

/* =========================================================
   OFFERING CARDS
   Each offering gets a card with a line-drawn mark, a name and
   a line on what it covers. The first is filled to set the
   entry point, the rest sit on the sage tint the site already
   uses for quiet panels.
   ========================================================= */
.offer-cards{
  display:flex;flex-wrap:wrap;gap:clamp(10px,1.1vw,18px);
  margin-top:clamp(36px,4.5vw,72px);
}
.offer-card{
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;justify-content:space-between;
  flex:1 1 280px;
  gap:clamp(18px,1.9vw,28px);
  min-height:clamp(178px,14.2vw,206px);
  padding:clamp(20px,2vw,30px);
  background:var(--tint);border-radius:4px;
  transition:background .42s cubic-bezier(.22,.61,.36,1),
             color .42s cubic-bezier(.22,.61,.36,1);
}

/* The cards arrive in reading order rather than all at once. The delay
   rides on --d so it applies to the entrance only: background and colour
   keep their own undelayed timing, which is what hover needs. */
.offer-card.fade-up{
  opacity:0;transform:translateY(18px);
  transition:opacity .8s cubic-bezier(.22,.61,.36,1) var(--d,0s),
             transform .8s cubic-bezier(.22,.61,.36,1) var(--d,0s),
             background .42s cubic-bezier(.22,.61,.36,1),
             color .42s cubic-bezier(.22,.61,.36,1);
}
.offer-card.fade-up.show{opacity:1;transform:none}
.offer-card:nth-child(1){--d:0s}
.offer-card:nth-child(2){--d:.07s}
.offer-card:nth-child(3){--d:.14s}
.offer-card:nth-child(4){--d:.21s}
.offer-card:nth-child(5){--d:.28s}
.offer-card:nth-child(6){--d:.35s}
.offer-card:nth-child(7){--d:.42s}

/* Lime is the one brand colour in this section, and it is spent on the
   card being read: a rule that draws across the foot, and the icon. */
.offer-card::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:var(--lime);
  transform:scaleX(0);transform-origin:left center;
  transition:transform .5s cubic-bezier(.22,.61,.36,1);
}
.offer-card:hover::after,
.offer-card:focus-within::after{transform:scaleX(1)}

.offer-card:hover,
.offer-card:focus-within{background:var(--dark);color:var(--white)}
.offer-card:hover p,
.offer-card:focus-within p{color:rgba(255,255,255,.7)}
.offer-card:hover .offer-icon,
.offer-card:focus-within .offer-icon{color:var(--lime)}


.offer-icon{
  display:block;width:clamp(52px,4.6vw,68px);color:var(--dark);
  transition:color .42s cubic-bezier(.22,.61,.36,1),
             transform .5s cubic-bezier(.22,.61,.36,1);
}
.offer-icon svg{width:100%;height:auto;display:block;stroke-linecap:round;stroke-linejoin:round}
.offer-card:hover .offer-icon,
.offer-card:focus-within .offer-icon{transform:translateY(-3px)}

.offer-card h3{
  font-size:clamp(18px,1.55vw,22px);line-height:1.22;font-weight:400;
  letter-spacing:-.01em;margin-bottom:10px;
}
.offer-card p{font-size:14px;line-height:20px;color:#5E6A63;margin:0}

@media (max-width:600px){
  .offer-card{min-height:0;gap:20px}
}
@media (prefers-reduced-motion:reduce){
  .offer-card,.offer-card.fade-up,.offer-icon,.offer-card::after{transition:none}
  .offer-card.fade-up{opacity:1;transform:none}
  .offer-card:hover .offer-icon{transform:none}
}
/* =========================================================
   OFFERING TRACKS
   Two engagements side by side, with the stage that follows
   both sitting underneath them.
   ========================================================= */
.tracks{margin-top:clamp(40px,5vw,72px)}
.tracks-lede{
  max-width:52ch;margin:0 0 clamp(24px,3vw,40px);
  font-size:clamp(17px,1.5vw,21px);line-height:1.4;
  letter-spacing:-.01em;color:var(--dark);
}
.tracks-pair{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(10px,1.1vw,18px);
}
.track{
  padding:clamp(20px,2vw,30px);
  border:1px solid var(--grey-line);border-radius:4px;
}
.track-kicker{
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;
  color:var(--lime-deep);margin:0 0 16px;
}
.track ul{list-style:none;margin:0;padding:0}
.track ul li{
  font-size:clamp(15px,1.25vw,17px);line-height:1.35;color:var(--dark);
  padding:13px 0;border-top:1px solid rgba(17,26,22,.1);
}
.track ul li:first-child{border-top:0;padding-top:0}

/* the stage that follows sits under both tracks, not beside them */
.track-after{
  margin-top:clamp(10px,1.1vw,18px);
  padding:clamp(18px,1.8vw,26px) clamp(20px,2vw,30px);
  background:var(--tint);border-radius:4px;
}
.track-after p{
  margin:0;font-size:clamp(15px,1.25vw,17px);line-height:1.35;color:var(--dark);
}
.track-after a{color:var(--lime-deep);text-decoration:underline;text-underline-offset:3px}
.track-after a:hover{color:var(--dark)}

@media (max-width:720px){
  .tracks-pair{grid-template-columns:minmax(0,1fr)}
}


/* =========================================================
   SCALE
   Its own visual language rather than Setup's: a dark band for
   why it matters, a rising staircase for the approach, and an
   editorial index for the offerings. The steps climb and darken
   because each stage hands the centre more ownership.
   ========================================================= */

/* ---- why it matters ---- */
.scale-why{
  background:var(--white);color:var(--dark);
  padding:clamp(56px,6.5vw,104px) 0;
}
.scale-why .section-top{padding-top:0}
.scale-claim{
  margin:0;max-width:24ch;
  font-size:clamp(26px,3vw,44px);line-height:1.16;font-weight:400;
  letter-spacing:-.018em;
}
.scale-gains-lead{
  margin:clamp(44px,5.5vw,80px) 0 0;
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--grey-text);
}
.scale-gains{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  list-style:none;margin:18px 0 0;padding:0;
  border-top:1px solid rgba(51,105,15,.28);
}
.scale-gains li{
  padding:clamp(20px,2vw,28px) clamp(14px,1.5vw,24px) 0 clamp(14px,1.5vw,24px);
  border-left:1px solid rgba(51,105,15,.28);
}
.scale-gains li:first-child{padding-left:0;border-left:0}
.scale-gains .n{
  display:block;margin-bottom:clamp(14px,1.6vw,22px);
  font-family:var(--font-wd);font-size:clamp(30px,2.8vw,44px);line-height:1;
  font-weight:500;letter-spacing:-.02em;color:var(--lime-deep);
}
.scale-gains p{margin:0;font-size:15px;line-height:22px;color:#4F5B54}

.scale-shift{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:22px clamp(24px,3vw,48px);
  margin-top:clamp(44px,5.5vw,80px);
  padding-top:clamp(24px,2.6vw,36px);
  border-top:1px solid rgba(51,105,15,.28);
}
.scale-shift p{
  margin:0;max-width:34ch;
  font-size:clamp(20px,2vw,28px);line-height:1.28;letter-spacing:-.012em;
  color:var(--dark);
}
.scale-shift .from{color:#7D8A81}
.scale-shift .to{
  color:var(--lime-deep);
  text-decoration:underline;text-decoration-color:var(--lime);text-decoration-thickness:2px;text-underline-offset:5px;
}

@media (max-width:1100px){
  .scale-gains{grid-template-columns:minmax(0,1fr)}
  .scale-gains li,
  .scale-gains li:first-child{
    display:grid;grid-template-columns:64px minmax(0,1fr);align-items:baseline;
    padding:16px 0;border-left:0;border-bottom:1px solid rgba(51,105,15,.28);
  }
  .scale-gains .n{margin:0;font-size:24px}
}
/* the assessment button carries a long label; on a phone it would hold
   one line past the screen edge and widen the page, so it wraps */
@media (max-width:520px){
  .scale-shift .btn{
    width:100%;height:auto;min-height:38px;padding:11px 22px;
    white-space:normal;text-align:center;
  }
}

/* ---- approach: the staircase ---- */
.scale-approach{background:var(--white);padding:clamp(56px,6.5vw,104px) 0}
/* three white sections run together here, so each opens on a rule */
.scale-approach .section-top{padding-top:clamp(20px,2.4vw,36px);border-top:1px solid var(--grey-line)}
.scale-approach-title{
  margin:0;max-width:30ch;
  font-size:clamp(22px,2.3vw,34px);line-height:1.2;font-weight:400;
  letter-spacing:-.015em;color:var(--dark);
}
/* Grid items stretch to the row, and a top margin shortens a stretched
   item from the top: so a stepped margin gives a true staircase with a
   shared floor, whatever the text in each step runs to. */
.scale-steps{
  --rise:clamp(30px,4.2vw,64px);
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(8px,.8vw,12px);align-items:stretch;
  list-style:none;margin:clamp(40px,5vw,72px) 0 0;padding:0;
}
.scale-step{
  display:flex;flex-direction:column;
  padding:clamp(20px,1.9vw,28px);
  border-radius:14px 14px 0 0;
}
.scale-step:nth-child(1){margin-top:calc(var(--rise) * 3);background:var(--tint)}
.scale-step:nth-child(2){margin-top:calc(var(--rise) * 2);background:#DCE9CD}
.scale-step:nth-child(3){margin-top:var(--rise);background:var(--lime-deep);color:var(--white)}
.scale-step:nth-child(4){background:var(--dark);color:var(--white)}

.scale-step-n{
  font-family:var(--font-wd);font-size:clamp(30px,2.8vw,44px);line-height:1;
  font-weight:500;letter-spacing:-.02em;color:var(--lime-deep);
  margin-bottom:clamp(16px,1.8vw,26px);
}
.scale-step:nth-child(3) .scale-step-n{color:var(--white)}
.scale-step:nth-child(4) .scale-step-n{color:var(--lime)}

.scale-step h3{
  margin:0 0 14px;
  font-size:clamp(17px,1.45vw,21px);line-height:1.2;font-weight:400;letter-spacing:-.01em;
}
.scale-step ul{list-style:none;margin:0;padding:0}
.scale-step ul li{
  padding:9px 0;border-top:1px solid rgba(17,26,22,.14);
  font-size:14px;line-height:20px;color:#4F5B54;
}
.scale-step:nth-child(3) ul li,
.scale-step:nth-child(4) ul li{color:rgba(255,255,255,.8);border-top-color:rgba(255,255,255,.2)}

/* the floor the steps stand on, running from where the centre starts to
   where it ends up */
.scale-axis{
  position:relative;display:flex;justify-content:space-between;gap:16px;
  padding-top:14px;border-top:2px solid var(--dark);
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--grey-text);
}
.scale-axis::after{
  content:"";position:absolute;right:0;top:-7px;
  width:12px;height:12px;background:var(--dark);
  clip-path:polygon(0 0,100% 50%,0 100%);
}
.scale-axis span:last-child{color:var(--dark)}

@media (max-width:900px){
  .scale-steps{grid-template-columns:minmax(0,1fr);gap:10px}
  /* stacked, the rise turns sideways: each step sits a little further in */
  .scale-step{border-radius:14px}
  .scale-step:nth-child(1){margin:0 36px 0 0}
  .scale-step:nth-child(2){margin:0 24px 0 12px}
  .scale-step:nth-child(3){margin:0 12px 0 24px}
  .scale-step:nth-child(4){margin:0 0 0 36px}
  .scale-axis{display:none}
}

/* ---- offerings: edge-to-edge tiles ---- */
.scale-offer{background:var(--white);padding:0 0 clamp(56px,6.5vw,104px)}
.scale-offer .section-top{padding-top:clamp(20px,2.4vw,36px);border-top:1px solid var(--grey-line)}

.otiles{display:flex;margin-top:clamp(30px,3.6vw,52px)}
.otile{
  --d:0s;
  flex:1 1 0;min-width:0;
  display:flex;flex-direction:column;justify-content:space-between;
  gap:clamp(40px,6vw,96px);
  min-height:clamp(320px,30vw,440px);
  padding:clamp(20px,2vw,32px);
  /* enters as a wipe from the left, one tile after another */
  clip-path:inset(0 100% 0 0);
  transition:clip-path .9s cubic-bezier(.65,0,.35,1) var(--d),
             flex-grow .65s cubic-bezier(.22,.61,.36,1);
}
.otile:nth-child(2){--d:.12s}
.otile:nth-child(3){--d:.24s}
.otile:nth-child(4){--d:.36s}
.otiles.show .otile{clip-path:inset(0 0 0 0)}

/* the tile under the pointer takes more of the row; the others give way.
   From 1280px only: narrower, a squeezed tile cannot hold a 9em title */
@media (hover:hover) and (min-width:1280px){
  .otiles:hover .otile{flex-grow:.82}
  .otiles .otile:hover{flex-grow:1.55}
}

/* the brand lime at half strength: a full field of #8BE04F shouts, and the
   site already reserves it for small accents and the contact bar */
.otile--lime{background:#C5EFA7;color:var(--dark)}
.otile--dark{background:var(--dark);color:var(--white)}
.otile--pale{background:#E4EBDA;color:var(--dark)}
.otile--deep{background:var(--lime-deep);color:var(--white)}

.otile-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.otile-icon{display:block;width:clamp(52px,4.4vw,68px);color:currentColor;opacity:.9}
.otile-icon svg{
  display:block;width:100%;height:auto;
  stroke-linecap:round;stroke-linejoin:round;
  transition:transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.otile:hover .otile-icon svg{transform:rotate(90deg)}
.otile-n{
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.1em;opacity:.7;
}
.otile-body h3{
  /* 9em wraps every title to two lines, narrower than a tile that has
     given way to its neighbour: so hovering one tile never reflows the
     titles in the others */
  margin:0 0 10px;max-width:9em;
  font-size:clamp(20px,1.7vw,26px);line-height:1.15;font-weight:400;letter-spacing:-.015em;
}
/* three lines reserved, so every title sits on the same line whatever
   its description runs to */
.otile-body p{margin:0;max-width:34ch;min-height:60px;font-size:14px;line-height:20px;opacity:.78}

@media (max-width:1024px){
  .otiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .otile{min-height:clamp(260px,40vw,340px)}
}
@media (max-width:600px){
  .otiles{grid-template-columns:minmax(0,1fr)}
  .otile{min-height:220px;gap:36px}
}

/* ---- the closing line: each word uncovered from under a block ---- */
.scale-close{
  position:relative;margin:clamp(44px,5.5vw,80px) 0 0;max-width:30ch;
  padding-top:clamp(22px,2.4vw,32px);
  font-size:clamp(24px,2.8vw,42px);line-height:1.2;
  letter-spacing:-.018em;color:var(--dark);
}
.scale-close::before{
  content:"";position:absolute;left:0;top:0;width:64px;height:3px;background:var(--lime);
}
/* the payoff phrase sits a tone lighter, still well above 3:1 at this size */
.scale-close .muted{color:#7D8A81}

.bw{position:relative;display:inline-block}
.bw::after{
  content:"";position:absolute;inset:.06em -.04em;
  background:var(--dark);
  transform-origin:right center;
  transition:transform .55s cubic-bezier(.65,0,.35,1) calc(var(--i) * 45ms);
}
.muted .bw::after{background:#D5DDCC}
.show .bw::after{transform:scaleX(0)}

@media (prefers-reduced-motion:reduce){
  .otile{clip-path:none;transition:none}
  .otile-icon svg{transition:none}
  .bw::after{display:none}
}

/* =========================================================
   TRANSFORM
   A third language again: a two-tone editorial list for why it
   matters, a scroll-filled rail for the five stages, and a list
   with a detail panel for the offerings. White throughout, the
   brand greens for accents, as on Setup and Scale.
   ========================================================= */

/* ---- why it matters ---- */
.tx-why{background:var(--white);padding:clamp(56px,6.5vw,104px) 0}
.tx-why .section-top{padding-top:0}
/* two lines, broken by hand after "change": no measure of its own */
.tx-claim{
  margin:0;
  font-size:clamp(28px,3.4vw,50px);line-height:1.12;font-weight:400;letter-spacing:-.02em;
}
.tx-why-grid{
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(30px,5vw,90px);align-items:start;
  margin-top:clamp(48px,6vw,90px);
}
.tx-risk{
  position:sticky;top:calc(var(--header-h) + 40px);
  margin:0;font-size:15px;line-height:23px;color:#5E6A63;
}
.tx-risk-pair{
  display:block;margin-top:14px;
  font-size:clamp(26px,2.8vw,40px);line-height:1.14;letter-spacing:-.018em;color:var(--dark);
}
.tx-risk-pair .but{color:var(--lime-deep)}
/* the second half of the trap fades as it runs: the centre drifting out
   of relevance while it stays efficient */
.tx-risk-pair .bad{
  display:inline-block;
  background:linear-gradient(90deg,var(--dark) 0%,#C4CCC5 92%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
@supports not ((background-clip:text) or (-webkit-background-clip:text)){
  .tx-risk-pair .bad{color:#8A968E;background:none}
}

.tx-enables-lead{
  margin:0 0 14px;
  font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--grey-text);
}
.tx-enables{list-style:none;margin:0;padding:0}
.tx-enables li{
  position:relative;
  display:grid;grid-template-columns:clamp(40px,4vw,56px) minmax(0,1fr);align-items:baseline;
  padding:clamp(16px,1.7vw,22px) 0;border-top:1px solid rgba(51,105,15,.22);
}
.tx-enables li:last-child{border-bottom:1px solid rgba(51,105,15,.22)}
/* a lime rule draws across the top of the line being read */
.tx-enables li::before{
  content:"";position:absolute;left:0;right:0;top:-1px;height:2px;background:var(--lime);
  transform:scaleX(0);transform-origin:left center;
  transition:transform .5s cubic-bezier(.22,.61,.36,1);
}
.tx-enables li:hover::before{transform:scaleX(1)}
.tx-enables .n{
  font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.08em;color:var(--lime-deep);
}
.tx-enables p{
  margin:0;font-size:clamp(18px,1.6vw,24px);line-height:1.3;letter-spacing:-.01em;
  color:#6E7A72;transition:color .4s ease;
}
.tx-enables b{font-weight:400;color:var(--dark)}
.tx-enables li:hover p{color:#4F5B54}

.tx-engine{
  margin:clamp(48px,6vw,88px) 0 0;
  padding:clamp(28px,3.4vw,52px) clamp(24px,3vw,48px);
  background:#C5EFA7;border-radius:14px;
  font-size:clamp(22px,2.4vw,36px);line-height:1.2;letter-spacing:-.015em;color:#3E4A43;
}
.tx-engine b{font-weight:400;color:var(--dark)}

@media (max-width:900px){
  .tx-why-grid{grid-template-columns:minmax(0,1fr)}
  .tx-risk{position:static}
}

/* ---- approach: the rail ---- */
.tx-approach{background:var(--white);padding:0 0 clamp(56px,6.5vw,104px)}
.tx-tl-wrap{
  display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.6fr);
  gap:clamp(30px,5vw,90px);align-items:start;
  padding-top:clamp(20px,2.4vw,36px);border-top:1px solid var(--grey-line);
}
.tx-tl-side{position:sticky;top:calc(var(--header-h) + 36px)}
.tx-tl-count{
  display:flex;align-items:baseline;gap:10px;margin:clamp(28px,4vw,56px) 0 0;
  font-size:clamp(64px,8vw,128px);line-height:.9;letter-spacing:-.04em;color:var(--dark);
}
.tx-tl-count .of{
  font-family:var(--font-wd);font-size:14px;font-weight:600;letter-spacing:.08em;color:var(--grey-text);
}
.tx-tl-name{margin:14px 0 0;font-size:clamp(17px,1.4vw,21px);color:var(--lime-deep)}

.tx-tl{
  --pad:clamp(40px,4vw,64px);--gap-top:clamp(28px,4vw,56px);--f:0;
  position:relative;list-style:none;margin:0;padding:var(--gap-top) 0 0 var(--pad);
}
/* the rail, and the length of it already travelled */
.tx-tl::before,
.tx-tl::after{content:"";position:absolute;left:9px;width:2px;top:calc(var(--gap-top) + 8px)}
.tx-tl::before{bottom:8px;background:var(--grey-line)}
.tx-tl::after{
  height:calc((100% - var(--gap-top) - 16px) * var(--f));
  background:var(--lime-deep);
}
.tx-stage{position:relative;padding-bottom:clamp(40px,5vw,72px)}
.tx-stage:last-child{padding-bottom:0}
.tx-stage-dot{
  position:absolute;left:calc(3px - var(--pad));top:1px;
  width:14px;height:14px;border-radius:50%;
  background:var(--white);border:2px solid #C4CCC5;
  transition:background .4s ease,border-color .4s ease,box-shadow .4s ease;
}
.tx-stage-n{
  display:block;margin-bottom:10px;
  font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.1em;color:var(--lime-deep);
  transition:color .5s ease;
}
.tx-stage h3{
  margin:0 0 18px;
  font-size:clamp(26px,3vw,44px);line-height:1.1;font-weight:400;letter-spacing:-.02em;color:var(--dark);
  transition:color .6s ease;
}
.tx-stage ul{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(20px,2.4vw,40px);
  list-style:none;margin:0;padding:0;
}
.tx-stage ul li{
  padding:12px 0;border-top:1px solid rgba(51,105,15,.22);
  font-size:15px;line-height:23px;color:#4F5B54;transition:color .6s ease;
}
/* Only once script is driving the rail do unreached stages sit in grey:
   without it every stage simply reads as reached. */
.tx-tl.is-live .tx-stage:not(.lit) .tx-stage-n,
.tx-tl.is-live .tx-stage:not(.lit) h3,
.tx-tl.is-live .tx-stage:not(.lit) ul li{color:#B8C0BA}
.tx-stage.lit .tx-stage-dot{
  background:var(--lime);border-color:var(--lime-deep);
  box-shadow:0 0 0 5px rgba(139,224,79,.22);
}

@media (max-width:900px){
  .tx-tl-wrap{grid-template-columns:minmax(0,1fr);gap:0}
  .tx-tl-side{position:static}
  .tx-tl-count,.tx-tl-name{display:none}
  .tx-stage ul{grid-template-columns:minmax(0,1fr)}
}

/* ---- offerings: a list and its panel ---- */
.tx-offer{background:var(--white);padding:0 0 clamp(56px,6.5vw,104px)}
.tx-offer .section-top{padding-top:clamp(20px,2.4vw,36px);border-top:1px solid var(--grey-line)}
.tx-offers{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:clamp(30px,5vw,90px);
  list-style:none;margin:clamp(30px,3.6vw,52px) 0 0;padding:0;
}
/* each item gives its button to the list column and its detail to the
   panel column, where all six share one cell and one shows at a time */
.tx-o{display:contents}
.tx-o-btn{
  grid-column:1;grid-row:var(--r);
  display:grid;grid-template-columns:clamp(44px,4vw,64px) minmax(0,1fr) 28px;align-items:center;
  width:100%;padding:clamp(16px,1.8vw,24px) 0;
  background:none;border:0;border-top:1px solid var(--grey-line);
  font:inherit;text-align:left;color:#6E7A72;cursor:pointer;
  transition:color .35s ease;
}
.tx-o:last-child .tx-o-btn{border-bottom:1px solid var(--grey-line)}
.tx-o-btn .n{
  font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.1em;color:#9AA59E;
  transition:color .35s ease;
}
.tx-o-btn .t{font-size:clamp(20px,2vw,30px);line-height:1.15;letter-spacing:-.015em}
.tx-o-btn .arr{
  position:relative;justify-self:end;width:22px;height:2px;background:var(--lime-deep);
  transform:scaleX(0);transform-origin:left center;transition:transform .35s ease;
}
.tx-o-btn .arr::after{
  content:"";position:absolute;right:-1px;top:-4px;width:8px;height:10px;background:var(--lime-deep);
  clip-path:polygon(0 0,100% 50%,0 100%);
}
.tx-o-btn:hover{color:var(--dark)}
.tx-o-btn:focus-visible{outline:2px solid var(--lime-deep);outline-offset:4px}
.tx-o.is-active .tx-o-btn{color:var(--dark)}
.tx-o.is-active .tx-o-btn .n{color:var(--lime-deep)}
.tx-o.is-active .tx-o-btn .arr{transform:scaleX(1)}

.tx-o-detail{
  grid-column:2;grid-row:1 / span 6;
  display:flex;flex-direction:column;
  padding:clamp(26px,3vw,44px);background:var(--tint);border-radius:14px;
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .45s ease,transform .45s cubic-bezier(.22,.61,.36,1),visibility 0s linear .45s;
}
.tx-o.is-active .tx-o-detail{
  opacity:1;visibility:visible;transform:none;
  transition:opacity .45s ease,transform .45s cubic-bezier(.22,.61,.36,1),visibility 0s;
}
.tx-o-big{
  margin:0;font-size:clamp(72px,9vw,140px);line-height:.85;letter-spacing:-.045em;color:var(--lime-deep);
}
.tx-o-name{
  margin:clamp(14px,1.6vw,22px) 0 0;max-width:16ch;
  font-size:clamp(22px,2.2vw,32px);line-height:1.12;letter-spacing:-.015em;color:var(--dark);
}
.tx-o-detail dl{margin:auto 0 0;padding-top:clamp(28px,3.4vw,48px)}
.tx-o-detail dl > div{padding:14px 0;border-top:1px solid rgba(51,105,15,.22)}
.tx-o-detail dt{
  margin-bottom:6px;
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--grey-text);
}
.tx-o-detail dd{margin:0;font-size:16px;line-height:24px;color:#3E4A43}
.tx-o-detail .out dt{color:var(--lime-deep)}
.tx-o-detail .out dd{font-size:clamp(19px,1.8vw,26px);line-height:1.25;letter-spacing:-.01em;color:var(--dark)}

@media (max-width:900px){
  .tx-offers{display:block}
  .tx-o{display:block}
  .tx-o-detail{
    display:none;margin:0 0 18px;padding:20px 22px;
    opacity:1;visibility:visible;transform:none;transition:none;
  }
  .tx-o.is-active .tx-o-detail{display:block}
  .tx-o-big,.tx-o-name{display:none}
  .tx-o-detail dl{padding-top:0}
  .tx-o-detail dl > div:first-child{border-top:0;padding-top:0}
}

@media (prefers-reduced-motion:reduce){
  .tx-enables li::before,.tx-enables p,.tx-stage-dot,.tx-stage-n,.tx-stage h3,.tx-stage ul li,
  .tx-o-btn,.tx-o-btn .n,.tx-o-btn .arr,.tx-o-detail{transition:none}
}

/* =========================================================
   POST M&A
   Why it matters carried by structure rather than paragraphs:
   four places the value leaks, then the three questions. The
   offerings open one by one to say what we do; no process.
   ========================================================= */
.pm-why{background:var(--white);padding:clamp(56px,6.5vw,104px) 0}
.pm-why .section-top{padding-top:0}
.pm-claim{
  margin:0;max-width:20ch;
  font-size:clamp(28px,3.4vw,50px);line-height:1.12;font-weight:400;letter-spacing:-.02em;
}
.pm-leak-lead{
  max-width:52ch;margin:clamp(44px,5.5vw,80px) 0 0;
  font-size:clamp(16px,1.35vw,19px);line-height:1.45;color:#4F5B54;
}
.pm-leaks{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  list-style:none;margin:clamp(22px,2.6vw,36px) 0 0;padding:0;
  border-top:2px solid var(--dark);
}
.pm-leaks li{
  padding:clamp(20px,2.2vw,30px) clamp(16px,1.8vw,28px) 0;
  border-left:1px solid var(--grey-line);
}
.pm-leaks li:first-child{padding-left:0;border-left:0}
.pm-leak-ico{
  display:block;width:clamp(40px,3.4vw,48px);margin-bottom:clamp(16px,1.8vw,24px);
  color:var(--dark);transition:color .35s ease,transform .5s cubic-bezier(.22,.61,.36,1);
}
.pm-leak-ico svg{display:block;width:100%;height:auto;stroke-linecap:round;stroke-linejoin:round}
.pm-leaks li:hover .pm-leak-ico{color:var(--lime-deep);transform:translateY(-3px)}
.pm-leaks h3{
  margin:0 0 8px;font-size:clamp(18px,1.55vw,22px);line-height:1.2;font-weight:400;letter-spacing:-.01em;
}
.pm-leaks p{margin:0;font-size:14px;line-height:21px;color:#5E6A63}

.pm-questions{
  display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,2fr);gap:clamp(20px,3vw,48px);
  align-items:start;margin-top:clamp(48px,6vw,88px);
  padding:clamp(26px,3vw,44px);background:var(--tint);border-radius:14px;
}
.pm-q-lead{
  margin:0;font-family:var(--font-wd);font-size:11px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--lime-deep);line-height:18px;
}
.pm-questions ol{list-style:none;margin:0;padding:0;counter-reset:q}
.pm-questions li{
  counter-increment:q;
  display:grid;grid-template-columns:clamp(34px,3vw,44px) minmax(0,1fr);align-items:baseline;
  padding:12px 0;border-top:1px solid rgba(51,105,15,.22);
  font-size:clamp(20px,2.1vw,30px);line-height:1.2;letter-spacing:-.015em;color:var(--dark);
}
.pm-questions li:first-child{border-top:0;padding-top:0}
.pm-questions li::before{
  content:counter(q,decimal-leading-zero);
  font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.08em;color:var(--lime-deep);
}

@media (max-width:900px){
  .pm-leaks{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}
  .pm-leaks li:nth-child(3){padding-left:0;border-left:0}
  .pm-questions{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:520px){
  .pm-leaks{grid-template-columns:minmax(0,1fr)}
  .pm-leaks li{padding-left:0;border-left:0}
}

/* ---- offerings ---- */
.pm-offer{background:var(--white);padding:0 0 clamp(56px,6.5vw,104px)}
.pm-offer .section-top{padding-top:clamp(20px,2.4vw,36px);border-top:1px solid var(--grey-line)}
.pm-offers{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(30px,5vw,80px);align-items:start;
  margin-top:clamp(30px,3.6vw,52px);
}
.pm-o{border-top:1px solid var(--grey-line)}
.pm-o:nth-last-child(-n+2){border-bottom:1px solid var(--grey-line)}
.pm-o summary{
  display:grid;grid-template-columns:clamp(40px,3.6vw,56px) minmax(0,1fr) 24px;align-items:center;
  padding:clamp(18px,2vw,26px) 0;cursor:pointer;list-style:none;
}
.pm-o summary::-webkit-details-marker{display:none}
.pm-o summary:focus-visible{outline:2px solid var(--lime-deep);outline-offset:4px}
.pm-o .n{
  font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.1em;color:#9AA59E;
  transition:color .3s ease;
}
.pm-o .t{
  font-size:clamp(19px,1.8vw,26px);line-height:1.18;letter-spacing:-.015em;color:#4F5B54;
  transition:color .3s ease;
}
.pm-o summary:hover .t,.pm-o[open] .t{color:var(--dark)}
.pm-o[open] .n{color:var(--lime-deep)}
/* a plus that turns into a cross as the offering opens */
.pm-x{position:relative;justify-self:end;width:16px;height:16px;transition:transform .35s cubic-bezier(.22,.61,.36,1)}
.pm-x::before,.pm-x::after{content:"";position:absolute;left:0;top:7px;width:16px;height:2px;background:var(--lime-deep)}
.pm-x::after{transform:rotate(90deg)}
.pm-o[open] .pm-x{transform:rotate(45deg)}
.pm-o p{
  margin:0;padding:0 24px clamp(20px,2.2vw,28px) clamp(40px,3.6vw,56px);
  font-size:15px;line-height:24px;color:#4F5B54;max-width:52ch;
}

@media (max-width:900px){
  .pm-offers{grid-template-columns:minmax(0,1fr)}
  .pm-o:nth-last-child(-n+2){border-bottom:0}
  .pm-o:last-child{border-bottom:1px solid var(--grey-line)}
}
@media (prefers-reduced-motion:reduce){
  .pm-leak-ico,.pm-x,.pm-o .n,.pm-o .t{transition:none}
}

/* =========================================================
   PEOPLE AND CULTURE
   Plain sentences for the roadblocks, one index on the sage band
   for the offerings, each marked by a circle, and Scale's
   edge-to-edge tiles for the three talent programmes, lightest to
   darkest from school students to high-potential talent.
   ========================================================= */
.pc-why{background:var(--white);padding:clamp(56px,6.5vw,104px) 0}
.pc-why .section-top,.pc-offer .section-top,.pc-path .section-top{padding-top:0}
.pc-claim{
  margin:0;max-width:22ch;
  font-size:clamp(28px,3.4vw,50px);line-height:1.12;font-weight:400;letter-spacing:-.02em;
}

/* ---- roadblocks: one sentence to a line ---- */
.pc-blocks{
  list-style:none;margin:clamp(32px,4vw,56px) 0 0;padding:0;
  border-top:1px solid var(--grey-line);
}
.pc-blocks li{
  padding:clamp(16px,1.7vw,22px) 0;border-bottom:1px solid var(--grey-line);
  font-size:clamp(19px,1.85vw,27px);line-height:1.3;letter-spacing:-.012em;color:var(--dark);
}

/* ---- offerings: one index on the sage band ---- */
.pc-offer{background:var(--tint);padding:clamp(56px,6.5vw,104px) 0}
.pc-index{list-style:none;margin:0;padding:0;border-top:1px solid rgba(17,26,22,.12)}
/* mark | name | what it does, with a programme's name under the last */
.pc-index li{
  display:grid;grid-template-columns:52px minmax(0,1fr) minmax(0,1.15fr);
  column-gap:clamp(16px,2.2vw,36px);align-items:start;
  padding:clamp(18px,2vw,26px) 0;border-bottom:1px solid rgba(17,26,22,.12);
}
.pc-mark{
  grid-row:span 2;display:grid;place-items:center;
  width:52px;height:52px;border-radius:50%;background:var(--white);color:var(--dark);
}
.pc-mark svg{width:28px;height:28px;stroke-linecap:round;stroke-linejoin:round}
.pc-index h3{
  margin:0;padding-top:13px;
  font-size:clamp(19px,1.6vw,23px);line-height:1.25;font-weight:400;letter-spacing:-.01em;
}
.pc-index p{margin:0;padding-top:15px;max-width:40ch;font-size:15px;line-height:22px;color:#4F5B54}
.pc-pills{grid-column:3;display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.pc-pill{
  display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:999px;
  border:1px solid rgba(51,105,15,.4);color:var(--lime-deep);
  font-size:13px;font-weight:500;line-height:1;text-decoration:none;
  transition:background .25s ease,border-color .25s ease;
}
.pc-pill:hover{background:#C5EFA7;border-color:#C5EFA7}
.pc-pill:focus-visible{outline:2px solid var(--lime-deep);outline-offset:3px}
@media (max-width:760px){
  .pc-index li{grid-template-columns:44px minmax(0,1fr)}
  .pc-mark{grid-row:span 3;width:44px;height:44px}
  .pc-mark svg{width:24px;height:24px}
  .pc-index h3{padding-top:9px}
  .pc-index p{grid-column:2;padding-top:8px}
  .pc-pills{grid-column:2}
}

/* ---- talent pathways: Scale's edge-to-edge tiles, one per programme ---- */
.pc-path{background:var(--white);padding:clamp(56px,6.5vw,104px) 0;scroll-margin-top:var(--header-h)}
.pc-lead{
  margin:clamp(18px,2vw,26px) 0 0;max-width:46ch;
  font-size:clamp(16px,1.35vw,19px);line-height:1.45;color:#4F5B54;
}
.pc-path .otile{scroll-margin-top:calc(var(--header-h) + 24px)}
/* the programme's kind, under its name: a line of copy in the tile's own
   accent, without the three lines .otile-body p reserves for a description */
.otile-body .otile-k{min-height:0;max-width:none;margin:0 0 12px;font-size:14px;font-weight:500;opacity:1}
.otile--lime .otile-k{color:var(--lime-deep)}
.otile--deep .otile-k{color:#C5EFA7}
.otile--dark .otile-k{color:var(--lime)}
/* Scale reserves three lines so every title sits level; these run to five */
.pc-path .otile-body p:not(.otile-k){min-height:100px}
/* three tiles in the two-up grid: the last, Mini CXO, takes the full row,
   as Innovation Hub's fifth does */
@media (min-width:601px) and (max-width:1024px){
  .pc-path .otile:last-child{grid-column:1 / -1}
}
@media (prefers-reduced-motion:reduce){
  .pc-pill{transition:none}
}

/* =========================================================
   CENTER OF EXCELLENCE
   Four reasons converging on one result; what it takes to set
   one up, drawn as a cycle with a highlight that moves through
   it; and the four kinds of center we build.
   ========================================================= */
.coe-why,.coe-take,.coe-offer{background:var(--white)}
.coe-why{padding:clamp(56px,6.5vw,104px) 0}
.coe-why .section-top{padding-top:0}
.coe-claim,.coe-take-title{
  margin:0;max-width:22ch;
  font-size:clamp(28px,3.4vw,50px);line-height:1.12;font-weight:400;letter-spacing:-.02em;
}
/* the claim runs the full column in two even lines, not three short ones */
.coe-claim{max-width:none;text-wrap:balance}

/* ---- four reasons, one result ---- */
.coe-reasons{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.1vw,16px);
  list-style:none;margin:clamp(44px,5.5vw,80px) 0 0;padding:0;
}
.coe-reasons li{
  position:relative;padding:clamp(20px,2.2vw,30px);background:var(--tint);border-radius:14px 14px 0 0;
}
/* each reason points down into the result beneath */
.coe-reasons li::after{
  content:"";position:absolute;left:50%;bottom:-13px;width:14px;height:13px;transform:translateX(-50%);
  background:var(--tint);clip-path:polygon(0 0,100% 0,50% 100%);
}
.coe-reasons .n{font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.1em;color:var(--lime-deep)}
.coe-reasons h3{margin:clamp(22px,2.6vw,36px) 0 8px;font-size:clamp(20px,1.8vw,26px);line-height:1.12;font-weight:400;letter-spacing:-.015em}
.coe-reasons p{margin:0;font-size:14px;line-height:21px;color:#4F5B54}
.coe-result{
  display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 18px;
  margin:22px 0 0;padding:clamp(20px,2.4vw,32px) clamp(22px,2.6vw,36px);
  background:var(--dark);color:var(--white);border-radius:0 0 14px 14px;
  font-size:clamp(20px,2.1vw,30px);line-height:1.2;letter-spacing:-.015em;
}
.coe-result-l{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--lime);
}

@media (max-width:900px){
  .coe-reasons{grid-template-columns:repeat(2,minmax(0,1fr))}
  .coe-reasons li{border-radius:14px}
  .coe-reasons li::after{display:none}
  .coe-result{border-radius:14px;margin-top:10px}
}
@media (max-width:520px){
  .coe-reasons{grid-template-columns:minmax(0,1fr)}
}

/* ---- what it takes: the cycle ---- */
.coe-take{padding:0 0 clamp(56px,6.5vw,104px)}
.coe-take .section-top{padding-top:clamp(20px,2.4vw,36px);border-top:1px solid var(--grey-line)}
.coe-cycle{--disc:clamp(96px,9vw,132px);--beat:1.4s;margin-top:clamp(40px,5vw,72px)}
.coe-steps{
  position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  list-style:none;margin:0;padding:0;
}
/* the line the five discs sit on */
.coe-steps::before{
  content:"";position:absolute;left:10%;right:10%;top:calc(var(--disc) / 2);height:2px;background:var(--grey-line);
}
.coe-step{position:relative;padding:0 clamp(8px,1.2vw,20px);text-align:center}
.coe-disc{
  position:relative;z-index:1;
  width:var(--disc);height:var(--disc);margin:0 auto;border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  box-shadow:0 0 0 8px var(--white);
}
.coe-disc svg{width:clamp(38px,3.6vw,52px);height:auto;stroke-linecap:round;stroke-linejoin:round}
.coe-n{font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.1em}
.coe-step--1 .coe-disc{background:#E4EBDA;color:var(--dark)}
.coe-step--2 .coe-disc{background:#C5EFA7;color:var(--dark)}
.coe-step--3 .coe-disc{background:var(--dark);color:var(--white)}
.coe-step--4 .coe-disc{background:#AEB8B1;color:var(--dark)}
.coe-step--5 .coe-disc{background:var(--lime);color:var(--dark)}
.coe-step h3{
  margin:clamp(18px,2vw,26px) 0 8px;
  font-size:clamp(17px,1.45vw,21px);line-height:1.18;font-weight:400;letter-spacing:-.01em;
}
.coe-step p{margin:0 auto;max-width:24ch;font-size:14px;line-height:21px;color:#4F5B54}

/* the return: out of step 5 and back into step 1 */
.coe-loop{position:relative;height:56px;margin-top:clamp(16px,2vw,24px)}
.coe-loop svg{display:block;width:100%;height:40px;overflow:visible}
.coe-loop-path,.coe-loop-head{
  fill:none;stroke:#C4CCC5;stroke-width:2;vector-effect:non-scaling-stroke;
  stroke-linecap:round;stroke-linejoin:round;
}
.coe-loop-path{stroke-dasharray:6 7}
.coe-loop-l,.coe-loop-m{
  font-family:var(--font-wd);font-size:11px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--lime-deep);
}
.coe-loop-l{position:absolute;left:10%;right:10%;bottom:0;text-align:center}
/* the phone's words for the arrow, which only the phone layout lacks */
.coe-loop-m{display:none}

/* The motion, once the cycle is on screen: steps 1 to 5 light in turn and
   the return lights last, on one shared period of six beats, so the
   highlight runs 1, 2, 3, 4, 5, back to 1, for good. */
@keyframes coeTurn{
  0%,17.5%,100%{transform:scale(1);box-shadow:0 0 0 8px var(--white)}
  2.5%,14%{transform:scale(1.07);box-shadow:0 0 0 6px var(--white),0 0 0 9px var(--lime-deep)}
}
@keyframes coeReturn{
  0%,17.5%,100%{stroke:#C4CCC5}
  2.5%,14%{stroke:var(--lime-deep)}
}
@keyframes coeFlow{to{stroke-dashoffset:-26}}
.coe-cycle.show .coe-step--1 .coe-disc{animation:coeTurn calc(var(--beat) * 6) ease 0s infinite}
.coe-cycle.show .coe-step--2 .coe-disc{animation:coeTurn calc(var(--beat) * 6) ease calc(var(--beat) * 1) infinite}
.coe-cycle.show .coe-step--3 .coe-disc{animation:coeTurn calc(var(--beat) * 6) ease calc(var(--beat) * 2) infinite}
.coe-cycle.show .coe-step--4 .coe-disc{animation:coeTurn calc(var(--beat) * 6) ease calc(var(--beat) * 3) infinite}
.coe-cycle.show .coe-step--5 .coe-disc{animation:coeTurn calc(var(--beat) * 6) ease calc(var(--beat) * 4) infinite}
.coe-cycle.show .coe-loop-path{
  animation:coeFlow 1.2s linear infinite,coeReturn calc(var(--beat) * 6) ease calc(var(--beat) * 5) infinite;
}
.coe-cycle.show .coe-loop-head{animation:coeReturn calc(var(--beat) * 6) ease calc(var(--beat) * 5) infinite}

/* stacked on a phone: discs down the left on a vertical line */
@media (max-width:900px){
  .coe-cycle{--disc:72px}
  .coe-steps{grid-template-columns:minmax(0,1fr);row-gap:22px}
  .coe-steps::before{left:calc(var(--disc) / 2 - 1px);right:auto;top:10px;bottom:10px;width:2px;height:auto}
  .coe-step{display:grid;grid-template-columns:var(--disc) minmax(0,1fr);column-gap:18px;align-items:center;padding:0;text-align:left}
  .coe-disc{grid-row:span 2;gap:2px}
  .coe-disc svg{width:26px}
  .coe-step h3{margin:0 0 4px;align-self:end}
  .coe-step p{margin:0;max-width:none;align-self:start}
  .coe-loop svg{display:none}
  .coe-loop{height:auto;margin-top:18px;padding-left:calc(var(--disc) + 18px)}
  .coe-loop-l,.coe-loop-m{position:static;display:inline;text-align:left}
  .coe-loop-m::before{content:"\21BB  "}
}

/* ---- the four centers we build ---- */
.coe-offer{padding:0 0 clamp(56px,6.5vw,104px)}
.coe-offer .section-top{padding-top:clamp(20px,2.4vw,36px);border-top:1px solid var(--grey-line)}
.coe-offers{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(30px,5vw,80px);
  margin-top:clamp(30px,3.6vw,52px);
}
.coe-o{
  position:relative;display:grid;grid-template-columns:clamp(40px,3.6vw,56px) minmax(0,1fr);
  padding:clamp(22px,2.4vw,32px) 0;border-top:1px solid var(--grey-line);
}
.coe-o:nth-last-child(-n+2){border-bottom:1px solid var(--grey-line)}
.coe-o::before{
  content:"";position:absolute;left:0;right:0;top:-1px;height:2px;background:var(--lime);
  transform:scaleX(0);transform-origin:left center;transition:transform .5s cubic-bezier(.22,.61,.36,1);
}
.coe-o:hover::before{transform:scaleX(1)}
.coe-o .n{grid-row:span 2;font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.1em;color:var(--lime-deep);padding-top:8px}
.coe-o h3{margin:0 0 10px;font-size:clamp(22px,2.2vw,32px);line-height:1.1;font-weight:400;letter-spacing:-.018em}
.coe-o p{margin:0;max-width:46ch;font-size:15px;line-height:23px;color:#4F5B54}

@media (max-width:900px){
  .coe-offers{grid-template-columns:minmax(0,1fr)}
  .coe-o:nth-last-child(-n+2){border-bottom:0}
  .coe-o:last-child{border-bottom:1px solid var(--grey-line)}
}

@media (prefers-reduced-motion:reduce){
  .coe-cycle.show .coe-disc,.coe-cycle.show .coe-loop-path,.coe-cycle.show .coe-loop-head{animation:none}
  .coe-o::before{transition:none}
}

/* =========================================================
   INNOVATION HUB
   HARTS as the navigator between a need and the capability that
   meets it: why that connection is the hard part, then the kinds
   of partner HARTS brings in as Scale's coloured tiles, six of them
   in a grid.
   ========================================================= */
.ih-why,.ih-offer{background:var(--white)}

/* ---- why it matters: the connection gap ---- */
/* the first section under the hero, so it opens on space, not a rule */
.ih-why{padding:clamp(56px,6.5vw,104px) 0}
.ih-why .section-top{padding-top:0}
.ih-claim{
  margin:0;text-wrap:balance;
  font-size:clamp(28px,3.4vw,50px);line-height:1.12;font-weight:400;letter-spacing:-.02em;
}
/* the answer, in the dark band the Center of Excellence page closes on */
.ih-bottom{
  margin:clamp(44px,5.5vw,80px) 0 0;padding:clamp(20px,2.4vw,32px) clamp(22px,2.6vw,36px);
  background:var(--dark);color:var(--white);border-radius:14px;
  font-size:clamp(20px,2.1vw,30px);line-height:1.2;letter-spacing:-.015em;
}

/* ---- what we facilitate: the kinds of partner, six tiles ---- */
/* white under white, so it opens on a rule, as the other pages' second
   sections do */
.ih-offer{padding:0 0 clamp(56px,6.5vw,104px)}
.ih-offer .section-top{padding-top:clamp(20px,2.4vw,36px);border-top:1px solid var(--grey-line)}
.ih-intro{
  margin:0;max-width:36ch;
  font-size:clamp(20px,2vw,28px);line-height:1.3;letter-spacing:-.012em;color:var(--dark);
}
.otile--sage{background:#AEB8B1;color:var(--dark)}
/* one row of six, edge to edge; a grid rather than Scale's flex row, so no
   tile widens under the pointer */
.otiles--six{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.otiles--six .otile{min-height:clamp(300px,26vw,380px)}
/* a size down from Scale's tiles, so the longest title ("Service providers")
   holds one line and all six titles stay level */
.otiles--six .otile-body h3{max-width:none;font-size:clamp(18px,1.45vw,22px)}
.otiles--six .otile:nth-child(5){--d:.48s}
.otiles--six .otile:nth-child(6){--d:.6s}
/* static under the pointer: no icon turns */
.otiles--six .otile:hover .otile-icon svg{transform:none}

/* six in a row gets too narrow on a tablet: two rows of three there */
@media (max-width:1024px){
  .otiles--six{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:600px){
  .otiles--six{grid-template-columns:minmax(0,1fr)}
}


/* =========================================================
   AI STRATEGY
   Its own language, drawn from the hero's server lights: work as
   a grid of cells, lit where AI is in use. The three stages of the
   journey light more of it, scattered, then clusters, then all of
   it; the offerings sit on a white panel, each with an indicator.
   ========================================================= */
.ai-why{background:var(--white);padding:clamp(56px,6.5vw,104px) 0}
.ai-why .section-top{padding-top:0}
.ai-claim{
  margin:0;max-width:22ch;
  font-size:clamp(28px,3.4vw,50px);line-height:1.12;font-weight:400;letter-spacing:-.02em;
}
.ai-lead{
  margin:clamp(18px,2vw,26px) 0 0;max-width:46ch;
  font-size:clamp(16px,1.35vw,19px);line-height:1.45;color:#4F5B54;
}

/* ---- the journey: three stages, each lighting more of the grid ---- */
.ai-stages{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3.2vw,56px);
  list-style:none;margin:clamp(40px,5vw,72px) 0 0;padding:0;
}
.ai-stage:nth-child(2){--s:.35s}
.ai-stage:nth-child(3){--s:.7s}
.ai-cells{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;
  max-width:280px;margin-bottom:clamp(22px,2.4vw,32px);
}
.ai-cells i{
  --c:0s;aspect-ratio:1;border-radius:3px;background:#E4EBDA;
  transition:background .5s ease calc(var(--s,0s) + var(--c));
}
/* the lights come on column by column, one stage after another */
.ai-cells i:nth-child(6n+2){--c:.06s}
.ai-cells i:nth-child(6n+3){--c:.12s}
.ai-cells i:nth-child(6n+4){--c:.18s}
.ai-cells i:nth-child(6n+5){--c:.24s}
.ai-cells i:nth-child(6n){--c:.3s}
.ai-stages.show .ai-cells i.on{background:var(--lime-deep)}
.ai-stage .n{
  display:block;margin-bottom:10px;
  font-family:var(--font-wd);font-size:12px;font-weight:600;letter-spacing:.1em;color:var(--lime-deep);
}
.ai-stage h3{
  margin:0 0 10px;
  font-size:clamp(20px,1.8vw,26px);line-height:1.2;font-weight:400;letter-spacing:-.012em;
}
.ai-stage p{margin:0;max-width:36ch;font-size:15px;line-height:23px;color:#4F5B54}

/* ---- the question moves on: the old one set back, the new one forward ---- */
.ai-question{
  margin-top:clamp(48px,6vw,88px);padding-top:clamp(24px,2.6vw,36px);
  border-top:1px solid var(--grey-line);
}
.ai-question .was{margin:0;font-size:clamp(18px,1.7vw,24px);line-height:1.3;color:#7D8A81}
.ai-question .now{
  margin:8px 0 0;max-width:28ch;
  font-size:clamp(26px,3vw,44px);line-height:1.16;letter-spacing:-.018em;color:var(--dark);
}

/* ---- offerings: a white panel of four, split by hairlines ---- */
/* white under white, so it opens on a rule, as the other pages' second
   sections do */
.ai-offer{background:var(--white);padding:0 0 clamp(56px,6.5vw,104px)}
.ai-offer .section-top{padding-top:clamp(20px,2.4vw,36px);border-top:1px solid var(--grey-line)}
.ai-offers{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;
  margin-top:clamp(36px,4.5vw,64px);
  background:var(--grey-line);border:1px solid var(--grey-line);
}
/* the light sits to the left of its offering, the words beside it */
.ai-o{
  display:flex;align-items:flex-start;gap:clamp(18px,1.8vw,26px);
  padding:clamp(28px,3.2vw,48px) clamp(22px,2.6vw,40px);background:var(--white);
}
/* lit in the same deep green as the journey's cells above; centred on the
   title's first line (its size times its 1.15 line height) */
.ai-led{
  flex:none;width:10px;height:10px;border-radius:50%;
  margin-top:calc((clamp(22px,2vw,30px) * 1.15 - 10px) / 2);
  background:var(--lime-deep);box-shadow:0 0 0 5px rgba(139,224,79,.3);
}
.ai-o h3{
  margin:0 0 10px;max-width:18ch;
  font-size:clamp(22px,2vw,30px);line-height:1.15;font-weight:400;letter-spacing:-.015em;color:var(--dark);
}
.ai-o p{margin:0;max-width:40ch;font-size:15px;line-height:23px;color:#4F5B54}

@media (max-width:900px){
  .ai-stages{grid-template-columns:minmax(0,1fr)}
  .ai-cells{max-width:220px}
}
@media (max-width:700px){
  .ai-offers{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){
  .ai-cells i{transition:none}
}

/* =========================================================
   MATURITY ASSESSMENT
   What the assessment does and the five levels it measures
   against (the onion diagram, unchanged) in one section, then the
   five things it leaves you with, side by side on the sage band.
   ========================================================= */
/* the first section under the hero: what the assessment does, then the
   five levels it measures against, the one leading into the other */
.ma-levels{padding:clamp(56px,6.5vw,104px) 0}
.ma-levels .section-top,.ma-gives .section-top{padding-top:0}
/* the statement heads the section on its own, with the instruction beside it */
.ma-lead{
  margin:0;max-width:40ch;
  font-size:clamp(20px,1.9vw,27px);line-height:1.35;font-weight:400;letter-spacing:-.012em;color:var(--dark);
}
.ma-levels .sc-suptitle{margin-top:0}
.ma-claim{
  text-wrap:balance;
  margin:0;max-width:22ch;
  font-size:clamp(28px,3.4vw,50px);line-height:1.12;font-weight:400;letter-spacing:-.02em;
}

/* ---- what the assessment gives you: five columns on the sage band ---- */
.ma-gives{background:var(--tint);padding:clamp(56px,6.5vw,104px) 0}
.ma-gives-list{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  list-style:none;margin:clamp(36px,4.5vw,64px) 0 0;padding:0;
  border-top:1px solid rgba(51,105,15,.28);
}
.ma-gives-list li{
  padding:clamp(20px,2vw,28px) clamp(14px,1.5vw,24px) 0;
  border-left:1px solid rgba(51,105,15,.28);
}
.ma-gives-list li:first-child{padding-left:0;border-left:0}
.ma-gives-list h3{
  margin:0 0 12px;
  font-size:clamp(18px,1.5vw,22px);line-height:1.2;font-weight:400;letter-spacing:-.01em;
}
.ma-gives-list p{margin:0;font-size:15px;line-height:22px;color:#4F5B54}
/* narrower, the five columns become rows: name, then what it gives */
@media (max-width:1100px){
  .ma-gives-list{grid-template-columns:minmax(0,1fr)}
  .ma-gives-list li,.ma-gives-list li:first-child{
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);column-gap:24px;align-items:baseline;
    padding:18px 0;border-left:0;border-bottom:1px solid rgba(51,105,15,.28);
  }
  .ma-gives-list h3{margin:0}
}
@media (max-width:600px){
  .ma-gives-list li,.ma-gives-list li:first-child{grid-template-columns:minmax(0,1fr);row-gap:6px}
}

/* =========================================================
   HOMEPAGE: WHERE TO START
   Its own section after the services, for the reader who does not
   yet know which one they need. White, like the services above it,
   and set apart from them by space rather than colour: the Maturity
   Assessment's five-level diagram in the left half, on its own
   without the read-out, and the question, one line and a way in
   on the homepage's half-width column.
   ========================================================= */
/* the room above is what opens the section after the last service row */
.start{background:var(--white);color:var(--dark);padding:clamp(88px,10vw,150px) 0 clamp(56px,6.5vw,104px)}
.start .section-top{padding-top:0;align-items:center}
.start .rings{display:block;margin:0;padding-right:clamp(24px,4vw,64px)}
.start .rings-stage{max-width:520px;margin:0}
/* stacked, the question comes first and the diagram follows it */
@media (max-width:1024px){
  .start .sc-center{order:-1}
  .start .rings{padding-right:0}
  .start .rings-stage{max-width:460px;margin:clamp(16px,4vw,32px) auto 0}
}
.start-title{
  margin:0;max-width:16ch;text-wrap:balance;
  font-size:clamp(32px,4.2vw,60px);line-height:1.08;font-weight:400;letter-spacing:-.02em;
}
.start-lede{
  margin:clamp(16px,1.8vw,24px) 0 clamp(26px,2.8vw,36px);max-width:40ch;
  font-size:clamp(16px,1.35vw,19px);line-height:1.45;color:#4F5B54;
}
/* the label is long for a pill: on a phone it would run past the screen
   edge on one line, so there it wraps */
@media (max-width:520px){
  .start .btn{
    height:auto;min-height:38px;padding:11px 22px;
    white-space:normal;text-align:center;
  }
}


/* =========================================================
   WHO WE ARE: THE OPENING LINE
   One sentence for what the firm does, over the firm's mark,
   on the same column as the headings further down the page.
   ========================================================= */
.ab-intro{padding:clamp(70px,8vw,120px) 0}
.ab-intro .section-top{padding-top:0}
/* the fins fill the whole section behind the line, edge to edge, rather
   than sitting off to the right as the generic mark does */
.ab-intro .mark{
  top:0;right:0;bottom:0;left:0;transform:none;
  width:100%;height:100%;min-width:0;object-fit:cover;
}
.ab-statement{
  margin:0;max-width:26ch;text-wrap:balance;
  font-size:clamp(28px,3.4vw,50px);line-height:1.12;font-weight:400;letter-spacing:-.02em;
}

/* Who We Are: the offices follow Leadership directly, the gap between
   them being Leadership's own bottom padding. Below, the page's usual
   section spacing before the footer. */
.ab-where{padding-top:0;padding-bottom:clamp(56px,6.5vw,104px)}
.ab-where .section-top{padding-top:0}
/* stacked, Leadership's padding shrinks with the screen, so a little is added back */
@media (max-width:1024px){.ab-where{padding-top:28px}}

/* =========================================================
   SERVICE HEROES: THE HOMEPAGE FILMS
   Each service page opens on the film its homepage row plays: green
   shapes on black, whole and uncropped in the right half, on a hero painted
   the film's own black so its edges disappear. The words sit on the
   left, centred top to bottom like every hero but the homepage's. No scrim: they already sit on black, and
   a wash would only dull the film.
   ========================================================= */
/* a video is a replaced element: given only left and right it sizes to its
   own frame and ignores the right edge, so its width is set outright */
.phero-film{
  position:absolute;top:0;bottom:0;right:0;
  width:50%;height:100%;object-fit:contain;object-position:center;display:block;
}
/* the words keep to the left half, clear of the film */
.phero--film h1{max-width:min(15ch,40vw)}
.phero--film h1.wide{max-width:min(22ch,40vw)}
.phero--film .phero-foot{max-width:40vw}
/* stacked, the film runs across the top under the header and the words
   centre in the space below it */
@media (max-width:900px){
  .phero--film{padding-top:calc(var(--header-h) + min(56vw,44vh) + 20px)}
  .phero-film{left:0;right:0;top:var(--header-h);bottom:auto;width:100%;height:min(56vw,44vh)}
  .phero--film h1{max-width:15ch}
  .phero--film h1.wide{max-width:22ch}
  .phero--film .phero-foot{max-width:none}
}

/* =========================================================
   LEADERSHIP: LINKEDIN
   Each leader's profile, as a round icon: beside "Talk to us" on the
   homepage slider, the same height as that button, and closing each
   card on Who We Are. Drawn like the ghost button it sits with.
   ========================================================= */
.journey-actions{display:flex;align-items:center;gap:10px;margin-top:24px}
.journey-left .journey-actions .btn{margin-top:0}
.li-link{
  display:inline-grid;place-items:center;flex:none;
  width:38px;height:38px;border-radius:50%;
  border:1px solid var(--grey-line);color:var(--dark);
  transition:background .3s,color .3s,border-color .3s;
}
.li-link svg{width:15px;height:15px}
.li-link:hover{background:var(--dark);color:var(--white);border-color:var(--dark)}
.li-link:focus-visible{outline:2px solid var(--lime-deep);outline-offset:3px}
.li-link--sm{width:32px;height:32px;margin-top:14px}
.li-link--sm svg{width:13px;height:13px}

/* =========================================================
   LANGUAGES
   The last item in the header: the current language's flag, opening onto
   the five languages, each written in its own script; every one leads to
   this same page in that language. In the mobile menu, the five sit as a
   row under the links. The translated sites are built from the English by
   tools/i18n.js into de/, fr/, es/ and ja/.
   ========================================================= */
.nav > li > a,.nav > li > button{white-space:nowrap}
/* the Spanish labels are the longest; that header takes the menu button
   a little sooner than the others, before its links reach the logo */
@media (max-width:1120px){
  :lang(es) .nav{display:none}
  :lang(es) .burger{display:flex}
}
/* just above the menu-button breakpoint the header links sit a little
   closer, so the row keeps clear of the logo in every language */
@media (min-width:1025px) and (max-width:1199px){
  .nav{gap:22px}
}
/* every submenu opens for the keyboard too, not only under the pointer */
.nav > li:focus-within .submenu{opacity:1;visibility:visible;transform:none}
.nav > li:focus-within .caret{transform:rotate(180deg)}

/* The language menu is one rounded surface. Closed, it is a small pill:
   the current language's flag and a down arrow. Opened, it draws out to
   the left (the code fades in, the arrow turns up and crosses to the left
   of the flag), then drops open onto the other languages, which fade in
   one after another. Closing runs the other way round: the list folds
   away first, a beat on the current language alone, then the pill draws
   back in to the flag.
   The pill sits over the page, so opening it never moves the header. */
.nav-lang{
  position:relative;width:66px;height:40px;
  --lp-bg:rgba(253,254,255,.1);--lp-open:#24322D;--lp-ink:var(--white);
  --lp-hover:rgba(253,254,255,.08);--lp-line:rgba(253,254,255,.12);--lp-edge:rgba(253,254,255,.14);
  --lp-ease:cubic-bezier(.4,0,.2,1);
}
.header.is-light .nav-lang{
  --lp-bg:#EEF1EC;--lp-open:#EEF1EC;--lp-ink:var(--dark);
  --lp-hover:rgba(17,26,22,.06);--lp-line:rgba(17,26,22,.1);--lp-edge:rgba(17,26,22,.1);
}
.lang-pill{
  position:absolute;top:0;right:0;z-index:5;
  display:grid;grid-template-rows:40px 0fr;
  width:66px;border-radius:12px;overflow:hidden;
  background:var(--lp-bg);color:var(--lp-ink);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  transition:grid-template-rows .3s var(--lp-ease),width .3s var(--lp-ease) .4s,
             background-color .3s ease .4s,box-shadow .3s ease .4s;
}
.nav-lang.is-open .lang-pill{
  width:132px;grid-template-rows:40px 1fr;background:var(--lp-open);
  box-shadow:0 16px 36px rgba(10,16,14,.22);
  transition:width .3s var(--lp-ease),grid-template-rows .34s var(--lp-ease) .22s,
             background-color .2s ease,box-shadow .3s ease;
}

/* the current language: code on the left, then the arrow, then the flag */
.lang-toggle{position:relative;display:block;width:100%;height:40px;color:inherit;cursor:pointer;border-radius:12px}
.lang-toggle:focus-visible{outline:2px solid var(--lime);outline-offset:2px}
.lang-toggle .lang-code{
  position:absolute;left:14px;top:0;line-height:40px;
  font-family:var(--font-wd);font-size:13px;font-weight:600;letter-spacing:.06em;
  opacity:0;transition:opacity .16s ease .4s;
}
.lang-flag{
  display:block;width:24px;height:16px;border-radius:3px;object-fit:cover;
  box-shadow:0 0 0 1px var(--lp-edge);
}
.lang-toggle .lang-flag{
  position:absolute;right:14px;top:12px;
  transform:translateX(-16px);transition:transform .3s var(--lp-ease) .4s;
}
.lang-chev{
  position:absolute;right:48px;top:17px;z-index:1;width:10px;height:6px;opacity:.75;
  transform:translateX(36px);transition:transform .3s var(--lp-ease) .4s;
}
.nav-lang.is-open .lang-code{opacity:1;transition:opacity .2s ease .12s}
.nav-lang.is-open .lang-toggle .lang-flag{transform:none;transition-delay:0s}
.nav-lang.is-open .lang-chev{transform:rotate(180deg);transition-delay:0s}

/* the other languages; the current one is the row above them */
.lang-list{min-height:0;overflow:hidden;visibility:hidden;transition:visibility 0s .3s}
.nav-lang.is-open .lang-list{visibility:visible;transition-delay:0s}
.lang-list::before{content:"";display:block;height:1px;margin:0 12px 4px;background:var(--lp-line)}
.lang-list::after{content:"";display:block;height:4px}
.lang-list li:has(> a[aria-current="true"]){display:none}
.lang-list a{
  display:flex;align-items:center;justify-content:space-between;
  height:38px;margin:0 4px;padding:0 10px;border-radius:8px;
  font-family:var(--font-wd);font-size:13px;font-weight:600;letter-spacing:.06em;color:inherit;
  opacity:0;transform:translateY(-6px);
  transition:opacity .14s ease,transform .14s ease,background-color .2s ease;
}
.lang-list a:hover,.lang-list a:focus-visible{background:var(--lp-hover);outline:none}
.nav-lang.is-open .lang-list a{
  opacity:1;transform:none;
  transition:opacity .26s ease var(--d,.3s),transform .3s var(--lp-ease) var(--d,.3s),background-color .2s ease;
}
.lang-list li:nth-child(1) a{--d:.30s}
.lang-list li:nth-child(2) a{--d:.34s}
.lang-list li:nth-child(3) a{--d:.38s}
.lang-list li:nth-child(4) a{--d:.42s}
.lang-list li:nth-child(5) a{--d:.46s}
@media (prefers-reduced-motion:reduce){
  .lang-pill,.lang-pill *{transition-duration:0s!important;transition-delay:0s!important}
}

/* In the mobile menu the five languages sit as a row of the same pills */
.mobile-lang{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px;--lp-edge:rgba(253,254,255,.14)}
.mobile-menu .mobile-lang a{
  display:inline-flex;align-items:center;gap:10px;padding:10px 14px 10px 10px;
  border:0;border-radius:12px;background:rgba(253,254,255,.08);
  font-family:var(--font-wd);font-size:13px;font-weight:600;letter-spacing:.06em;
}
.mobile-menu .mobile-lang a[aria-current="true"]{background:rgba(253,254,255,.18);box-shadow:inset 0 0 0 1px rgba(139,224,79,.55)}

/* Japanese: the site's faces carry no Japanese, so Noto Sans JP (loaded
   on the Japanese pages only) sets it, with the Latin still in DM Sans */
html[lang="ja"]{
  --font:"DM Sans","Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;
  --font-wd:"Archivo","Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;
}
html[lang="ja"] body{line-break:strict}
/* German, French and Spanish run longer: headings may break a long word
   at a proper hyphen rather than overflow their column */
:lang(de) h1,:lang(de) h2,:lang(de) h3,
:lang(fr) h1,:lang(fr) h2,:lang(fr) h3,
:lang(es) h1,:lang(es) h2,:lang(es) h3{hyphens:auto;overflow-wrap:break-word}

/* =========================================================
   PAGE NOT FOUND (404.html, built by tools/i18n.js)
   ========================================================= */
.nf-link{color:var(--lime);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.nf-link:hover{text-decoration-thickness:2px}

/* =========================================================
   TOUCH AND SMALL SCREENS
   ========================================================= */
/* A value's heading keeps its full width on a small phone: beside the
   number badge, a long word (COMMUNICATION, KOMMUNIKATION) ran past the
   screen edge. */
@media (max-width:480px){
  .benefit{flex-direction:column;gap:16px}
}
/* Small links get a finger-sized touch area on touch screens. The
   padding is taken back by a negative margin, so nothing moves: the
   footer lists and the breadcrumb keep exactly their spacing. */
@media (max-width:1024px){
  .footer-mid a,.footer-address a{display:inline-block;padding:5px 0;margin:-5px 0}
  .crumb a{display:inline-block;padding:7px 0;margin:-7px 0}
}
/* A button whose words are longer than the screen is wide (French and
   German run long) wraps onto a second line instead of being cut off.
   A button that fits keeps its one line and its height. */
.btn--block{white-space:normal;height:auto;min-height:64px;padding-top:12px;padding-bottom:12px;text-align:center}
@media (max-width:600px){
  .btn{white-space:normal;height:auto;min-height:38px;padding-top:10px;padding-bottom:10px;text-align:center}
}
/* On the narrowest phones the big section and stage titles scale with the
   screen, so one long word (Capacidades, Transformación) still fits; from
   about 415px up they stay at 56px. */
@media (max-width:480px){
  .sc-title,.stage-name,.journey-left .jname{font-size:min(56px,13.5vw);line-height:1.1}
}
/* The Maturity Assessment request sits on lime. It uses the contact form's
   fields, with the greys and greens they use on the pale tint taken to the
   dark ink, so they read on lime; its messages are dark too, with a heavier
   underline, rather than red on green. */
.subscribe .lc-field span{color:rgba(17,26,22,.7)}
.subscribe .lc-field input{border-bottom-color:rgba(17,26,22,.5);color:var(--dark)}
.subscribe .lc-field input::placeholder{color:rgba(17,26,22,.5);opacity:1}
.subscribe .lc-field input:focus{border-bottom-color:var(--dark)}
.subscribe .lc-foot{margin-top:4px}
.subscribe .lc-consent{color:rgba(17,26,22,.75)}
.subscribe .lc-consent a{color:var(--dark)}
.subscribe .lc-consent input{accent-color:var(--dark)}
/* the dark button turns lime on hover elsewhere, which would vanish here */
.subscribe .btn--dark:hover{background:var(--white);color:var(--dark)}
.subscribe .form-error{color:var(--dark);font-weight:600}
.subscribe .lc-field [aria-invalid="true"]{border-bottom:2px solid var(--dark)}
.subscribe .lc-consent input[aria-invalid="true"]{outline-color:var(--dark)}
