/* Apex Accountancy – main site styles (home, learn, ecosystem, faq).
   Moved out of the pages unchanged; edit here and every main page follows. */
/* ==============================================================
   APEX ACCOUNTANCY
   Design system. Everything visual is decided in this file.

   Hierarchy comes from typography, photography, space, motion
   and contrast, not from icons, boxes or gradients.
   ============================================================== */

:root{
  /* ---- palette -------------------------------------------------
     Built from the Apex identity: plum #48254F and gold #F6AC45.
     The darks are aubergine rather than neutral black, so the
     brand colour is in the surface itself, not just the accents.
     ---------------------------------------------------------- */
  --plum:       #48254F;   /* brand purple, sampled from the logo  */
  --plum-deep:  #2E1633;   /* plum pushed down for large surfaces  */
  --gold:       #F6AC45;   /* brand gold, sampled from the logo    */
  --gold-deep:  #C97F1E;   /* gold that survives on warm white     */
  --gold-ink:   #A9670F;   /* gold pushed down far enough to pass
                              contrast as display type on paper   */

  --ink:        #140A18;   /* aubergine black, the dark ground    */
  --ink-2:      #1E1024;   /* one step up, for banded dark areas   */
  --paper:      #F5F3EF;   /* warm off-white                       */
  --paper-2:    #EBE7E1;   /* warm off-white, one step down        */
  --grey:       #A9A1AE;   /* soft grey, faintly violet            */
  --grey-deep:  #5F5765;   /* body copy on light                   */

  /* ONE accent, resolved by context: gold on dark, plum on light.
     `.dark` re-points --accent, so components never choose. */
  --accent:     var(--plum);

  --line-dark:  rgba(245,243,239,.16);
  --line-light: rgba(20,10,24,.14);

  /* ---- rhythm -------------------------------------------------- */
  --gut:  clamp(22px, 5vw, 84px);
  --sect: clamp(78px, 4.5vw, 162px);
  --max:  1560px;

  /* ---- easing -------------------------------------------------- */
  --ease: cubic-bezier(.16,.84,.3,1);
  --slow: 1.15s;
}

*,*::before,*::after{box-sizing:border-box}

/* keyboard focus is always visible; mouse clicks stay clean */
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:1px}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  background:var(--paper);
  color:var(--grey-deep);
  font-family:"Manrope","Inter",-apple-system,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size:16px;
  font-weight:400;
  line-height:1.7;
  letter-spacing:-.005em;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}

.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}

/* ---- typography ------------------------------------------------ */
h1,h2,h3,h4{
  margin:0;color:var(--ink);font-weight:700;
  letter-spacing:-.035em;line-height:1.02;
}
.d1{font-size:clamp(2rem,7.2vw,6.4rem);overflow-wrap:break-word}      /* hero + closing   */
.d2{font-size:clamp(1.75rem,4.9vw,4.3rem);line-height:1.06}
.d3{font-size:clamp(1.5rem,2.9vw,2.5rem);line-height:1.12}
.lead{font-size:clamp(1rem,1.35vw,1.2rem);line-height:1.65;font-weight:400}

.eyebrow{
  font-size:11px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  color:var(--grey-deep);margin:0 0 clamp(24px,3vw,44px);
}
.eyebrow.blue{color:var(--accent)}

/* dark mode blocks */
.dark{background:var(--ink);color:var(--grey);--accent:var(--gold)}
/* every dark ground resolves the accent to gold, light grounds to plum */
.hero,.talk,.foot,.sheet{--accent:var(--gold)}
.dark h1,.dark h2,.dark h3,.dark h4{color:var(--paper)}
.dark .eyebrow{color:var(--grey)}
.sect{padding:var(--sect) 0}

/* ---- buttons: sharp edges, never pills ------------------------- */
.btn{
  display:inline-flex;align-items:center;gap:12px;
  padding:17px 30px;border:1px solid var(--ink);color:var(--ink);
  font-size:12px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;
  position:relative;overflow:hidden;transition:color .5s var(--ease);
}
.btn span{position:relative;z-index:2}
/* every button rests in gold and sweeps to plum, the two brand colours
   changing places. One gesture, used everywhere. */
.btn::before{
  content:"";position:absolute;inset:0;background:var(--plum);z-index:1;
  transform:translateY(101%);transition:transform .6s var(--ease);
}
.btn:hover::before,.btn:focus-visible::before{transform:translateY(0)}

/* resting states */
.btn{border-color:var(--gold);color:var(--ink)}           /* outlined, light ground */
.btn.solid{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.btn.ghost{border-color:var(--gold);color:var(--gold)}    /* outlined, dark ground */
/* secondary CTA: the same gold, filled. Hierarchy comes from order and
   from the hairline inset rather than from a different colour. */
.btn.solid.alt{
  background:var(--gold);border-color:var(--gold);color:var(--ink);
  box-shadow:inset 0 0 0 1px rgba(20,10,24,.28);
}

/* hover, declared after the variants and matched at equal or higher
   specificity, so every button lands on plum with paper text */
.btn:hover,.btn:focus-visible,
.btn.solid:hover,.btn.solid:focus-visible,
.btn.ghost:hover,.btn.ghost:focus-visible{color:var(--paper);border-color:var(--plum)}


/* hero kicker, a full sentence, so it stays sentence case */
.kicker{
  font-size:clamp(12.5px,1.05vw,15px);font-weight:500;letter-spacing:.005em;
  color:rgba(245,243,239,.66);margin:0 0 clamp(22px,2.6vw,34px);max-width:44ch;
  line-height:1.5;
}
.kicker b{color:var(--accent);font-weight:600}

/* a fixed header needs every anchor target to stop clear of it, or a
   jump lands with the heading tucked underneath the bar */
section[id],div[id]{scroll-margin-top:clamp(96px,11vh,132px)}

/* ==============================================================
   HEADER
   ============================================================== */
.hdr{
  position:fixed;top:0;left:0;right:0;z-index:90;
  transition:background .6s var(--ease),border-color .6s var(--ease),transform .5s var(--ease);
  border-bottom:1px solid transparent;
}
.hdr-in{
  display:flex;align-items:center;justify-content:space-between;gap:30px;
  /* the same measure as .wrap, so the logo and the CTA line up with the
     content beneath them. Without the cap the header ran to the full
     viewport while the page stopped at 1560, and past about 1600px the
     stat panel and the Book a consultation button drifted apart. */
  max-width:var(--max);margin:0 auto;
  padding:26px var(--gut);transition:padding .5s var(--ease);
}
.logo{display:block;line-height:0}
.logo img{
  width:clamp(178px,14.5vw,232px);height:auto;
  filter:drop-shadow(0 2px 14px rgba(20,10,24,.55));
}
.nav{display:none;gap:34px}
.nav a{
  font-size:13px;font-weight:500;color:var(--paper);position:relative;padding:4px 0;
  transition:color .4s var(--ease);
}
.nav a::after{
  content:"";position:absolute;left:0;right:100%;bottom:0;height:1px;
  background:var(--accent);transition:right .5s var(--ease);
}
.nav a:hover::after{right:0}
.hdr .btn{padding:13px 22px;font-size:11px}
.hdr-cta{display:none}

/* solid state after the hero */
.hdr.solid{background:rgba(20,10,24,.94);backdrop-filter:blur(14px);border-bottom-color:var(--line-dark)}
.hdr.solid .hdr-in{padding-top:16px;padding-bottom:16px}
.hdr.up{transform:translateY(-100%)}
/* a sub page opens on content rather than on a photograph, so the header
   has to carry its own background from the first pixel, or the heading
   underneath shows straight through it */
.sub .hdr{background:rgba(20,10,24,.94);backdrop-filter:blur(14px);
  border-bottom-color:var(--line-dark)}

.burger{
  width:26px;height:14px;position:relative;background:none;border:0;padding:0;cursor:pointer;
}
.burger i{position:absolute;left:0;right:0;height:1.5px;background:var(--paper);transition:.4s var(--ease)}
.burger i:nth-child(1){top:0}
.burger i:nth-child(2){top:6.5px}
.burger i:nth-child(3){top:13px}
@media(min-width:1080px){
  .nav{display:flex}
  .hdr-cta{display:inline-flex}
  .burger{display:none}
}

/* mobile sheet */
.sheet{
  position:fixed;inset:0;background:var(--ink);z-index:95;padding:100px var(--gut) 40px;
  display:flex;flex-direction:column;justify-content:center;
  clip-path:inset(0 0 100% 0);transition:clip-path .7s var(--ease);
}
.sheet.open{clip-path:inset(0 0 0 0)}
.sheet a{
  display:block;padding:16px 0;border-bottom:1px solid var(--line-dark);
  font-size:24px;font-weight:600;letter-spacing:-.03em;color:var(--paper);
}
.sheet .x{
  position:absolute;top:28px;right:var(--gut);background:none;border:0;cursor:pointer;
  color:var(--paper);font-size:12px;letter-spacing:.18em;text-transform:uppercase;
}

/* ==============================================================
   HERO
   ============================================================== */
.hero{position:relative;min-height:100svh;display:flex;align-items:flex-end;overflow:hidden;background:var(--ink)}
.hero-bg{position:absolute;inset:-4% 0 -4% 0;z-index:0}
.hero-bg picture{position:absolute;inset:0;display:block}
.hero-bg img{
  width:100%;height:100%;object-fit:cover;object-position:56% 44%;
  transform:scale(1.07);opacity:0;
  transition:transform 3.4s var(--ease),opacity 1.6s ease;
}
.hero.ready .hero-bg img{transform:scale(1);opacity:1}


/* ---- the hero moves ------------------------------------------------
   No footage of the building exists, so the movement is done to the
   still itself. Two things run once the entry has settled: a very slow
   push in and out, drifting around the same point the crop is centred
   on, and a wide, faint reflection passing across the glass. Between
   them the frame never sits still, which is what reads as film rather
   than as a photograph.

   The push runs on the <img>, not on .hero-bg, because the scroll
   parallax writes a transform onto .hero-bg every frame and would
   overwrite it.
   -------------------------------------------------------------------- */
.hero-bg img{transform-origin:56% 44%}
.hero.live .hero-bg img{
  transition:opacity 1.6s ease;
  animation:heroPush 34s cubic-bezier(.37,0,.63,1) infinite alternate;
}
@keyframes heroPush{
  from{transform:scale(1) translate3d(0,0,0)}
  to{transform:scale(1.105) translate3d(-1.8%,-1.1%,0)}
}

.hero-sheen{
  position:absolute;inset:-25% -45%;z-index:1;pointer-events:none;opacity:0;
  background:linear-gradient(104deg,
    rgba(255,255,255,0) 38%,
    rgba(255,238,210,.085) 47%,
    rgba(255,255,255,0) 58%);
  transition:opacity 2s ease;
}
.hero.live .hero-sheen{opacity:1;animation:heroSheen 30s linear infinite}
@keyframes heroSheen{
  from{transform:translate3d(-40%,0,0)}
  to{transform:translate3d(40%,0,0)}
}

/* off the first screen there is nothing to watch, so stop paying for it */
.hero.rest .hero-bg img,.hero.rest .hero-sheen{animation-play-state:paused}

@media(prefers-reduced-motion:reduce){
  .hero.live .hero-bg img{animation:none;transform:scale(1)}
  .hero.live .hero-sheen{animation:none;opacity:0}
}

.hero-veil{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(to bottom,rgba(20,10,24,.50) 0%,rgba(20,10,24,.20) 40%,rgba(20,10,24,.90) 100%),
    radial-gradient(120% 90% at 8% 34%,rgba(20,10,24,.80),rgba(20,10,24,0) 62%),
    radial-gradient(70% 46% at 99% 4%,rgba(20,10,24,.78),rgba(20,10,24,0) 66%),
    linear-gradient(100deg,rgba(72,37,79,.42),rgba(20,10,24,0) 56%),
    linear-gradient(300deg,rgba(246,172,69,.10),rgba(20,10,24,0) 40%);
}
.hero-in{
  position:relative;z-index:2;width:100%;
  padding-bottom:clamp(124px,14vh,196px);padding-top:150px;
}
.hero-copy{min-width:0}

/* ---- hero copy ---- */
.hero h1{color:var(--paper);max-width:16ch}
.hero h1 .gold{color:var(--gold)}
.hero .lead{color:rgba(245,243,239,.72);max-width:46ch;margin:clamp(24px,3vw,38px) 0 0}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:clamp(30px,4vw,48px)}
.hero .eyebrow{color:rgba(245,243,239,.6)}
.hero .eyebrow b{color:var(--accent);font-weight:600}

/* ---- scroll readout ------------------------------------------------
   A running percentage of the document, on every page. Set as a small
   glass chip so it holds against both the paper sections and the ink
   ones without needing two treatments.
   -------------------------------------------------------------------- */
/* No panel, no border, no blur: a hairline and a number sitting on
   whatever is behind them. The colours flip with the ground, which the
   script works out by reading the section under the readout, so it
   never looks like a chip stuck on top of the page. */
.prog{
  position:fixed;z-index:80;right:var(--gut);bottom:clamp(18px,2.4vw,30px);
  display:none;align-items:center;gap:12px;pointer-events:none;
  opacity:0;transform:translateY(6px);
  transition:opacity .5s var(--ease),transform .5s var(--ease);
}
.prog.on{opacity:1;transform:none}
.prog u{
  display:block;width:clamp(44px,4vw,64px);height:1px;position:relative;
  background:rgba(20,10,24,.16);transition:background .5s var(--ease);
}
.prog u i{
  position:absolute;left:0;top:0;height:1px;width:0;background:var(--gold-deep);
  transition:width .18s linear,background .5s var(--ease);
}
.prog b{
  font-size:9.5px;font-weight:700;letter-spacing:.18em;
  color:var(--grey-deep);font-variant-numeric:tabular-nums;
  min-width:30px;text-align:right;transition:color .5s var(--ease);
}
/* over an ink section the same two marks simply invert */
.prog.on-dark u{background:rgba(245,243,239,.2)}
.prog.on-dark u i{background:var(--gold)}
.prog.on-dark b{color:rgba(245,243,239,.62)}
@media(min-width:900px){.prog{display:flex}}
@media(prefers-reduced-motion:reduce){
  .prog{transition:none}
  .prog u i{transition:none}
}

}

/* film grain, hides upscaling and adds a filmic surface */
.grain{
  position:absolute;inset:0;z-index:2;pointer-events:none;opacity:.16;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ---- stat rail ------------------------------------------------
   Desktop: a small ticker pinned to the far right of the hero,
   just under the header. Mobile: a 2x2 block under the buttons.
   --------------------------------------------------------------- */
.rail{display:grid;grid-template-columns:1fr 1fr;gap:22px 20px;margin-top:clamp(34px,5vw,52px)}
.rail-item b{
  display:block;font-size:1.45rem;font-weight:700;letter-spacing:-.03em;line-height:1;
  color:var(--gold);font-variant-numeric:tabular-nums;
}
.rail-item span{
  display:block;margin-top:6px;font-size:8.5px;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;color:rgba(246,172,69,.8);
}

@media(min-width:1024px){
  .hero-in{
    display:flex;flex-direction:column;justify-content:flex-end;
    min-height:100svh;
    /* bottom-anchored, but never allowed to rise under the fixed header
       on a short window, which is what pushed the kicker into the logo */
    padding-top:clamp(158px,15vh,190px);
  }
  .rail{
    position:absolute;z-index:4;
    top:clamp(104px,11vh,138px);
    /* the right edge sits on the gutter, which is where the header's
       Book a consultation button ends, so the two line up */
    right:var(--gut);
    /* the panel takes the Book a consultation button's own box: the
       script measures the button and writes --cta-w, so the two share a
       left edge and a right edge at any width. The clamp is only the
       fallback for the moment before the script runs. */
    display:block;margin:0;text-align:right;
    width:var(--cta-w,clamp(214px,17vw,262px));
    /* a slate behind the figures: the photograph underneath changes
       from dusk sky to lit glass, and unbacked type could not hold
       against both. The panel is glass, not a box. */
    padding:clamp(18px,1.5vw,24px) clamp(18px,1.6vw,26px);
    background:linear-gradient(180deg,rgba(20,10,24,.46),rgba(20,10,24,.30));
    -webkit-backdrop-filter:blur(9px) saturate(115%);
    backdrop-filter:blur(9px) saturate(115%);
    border:1px solid rgba(245,243,239,.10);
  }
  .rail-item{margin-bottom:22px}
  .rail-item:last-child{margin-bottom:0}
  .rail-item b{
    font-size:clamp(22px,1.9vw,28px);font-weight:700;letter-spacing:-.02em;
    color:var(--gold);
    text-shadow:0 2px 16px rgba(20,10,24,.7);
  }
  .rail-item span{
    margin-top:5px;font-size:8.5px;letter-spacing:.24em;
    color:rgba(246,172,69,.78);
    text-shadow:0 1px 8px rgba(20,10,24,.7);
    /* a measure on the label, so a longer one wraps instead of
       stretching the glass panel across the photograph */
    max-width:100%;margin-left:auto;line-height:1.55;
  }
}


/* ---- reveals that arrive from above rather than below ---- */
.u.down{transform:translateY(-30px)}
.u.down.in{transform:none}
/* the rail lands top figure first, then each one below it */
.rail.down .rail-item{
  opacity:0;transform:translateY(-22px);
  transition:opacity .8s ease,transform 1s var(--ease);
}
.rail.down.in .rail-item{opacity:1;transform:none}
.rail.down.in .rail-item:nth-child(1){transition-delay:.10s}
.rail.down.in .rail-item:nth-child(2){transition-delay:.24s}
.rail.down.in .rail-item:nth-child(3){transition-delay:.38s}
.rail.down.in .rail-item:nth-child(4){transition-delay:.52s}

/* ---- the hero clears out of the way as you scroll past it ---- */
.hero-copy,.rail{will-change:opacity,transform}

@media(prefers-reduced-motion:reduce){
  .rail.down .rail-item{opacity:1;transform:none;transition:none}
  .hero-copy,.rail{opacity:1!important;transform:none!important}
}

/* ==============================================================
   BRAND STATEMENT, words light up on scroll
   ============================================================== */
.statement{background:var(--paper);padding:clamp(60px,13vw,60px) 0}
.st-head{display:grid;gap:clamp(34px,4vw,56px);margin-top:clamp(18px,2vw,26px)}
@media(min-width:900px){
  /* the statement holds the left, the compliance panel fills what used
     to be an empty right-hand half. Both start on the same line. */
  .st-head{grid-template-columns:1.06fr .94fr;gap:clamp(46px,5vw,88px);align-items:start}
}
/* ---- the compliance year, as a dial ---------------------------------
   Twelve months round a ring with the fixed statutory dates marked, and
   the four Making Tax Digital quarters alongside them in a second
   colour. Pointing at any marker turns the hub into a readout, so the
   detail lives in the middle rather than crowding the rim.
   -------------------------------------------------------------------- */
.cwork{align-self:start}
.dial{width:100%;height:auto;display:block;overflow:visible}

.dl-ring{fill:none;stroke:var(--line-light);stroke-width:1.5}
.dl-tick{stroke:var(--line-light);stroke-width:1.5}
.dl-month{font-size:31px;font-weight:700;letter-spacing:.04em;fill:var(--grey)}

/* the tax year, 6 April to 5 April, drawn as one continuous arc */
.dl-year{
  fill:none;stroke:var(--gold-deep);stroke-width:3.5;stroke-linecap:round;
  stroke-dasharray:1;stroke-dashoffset:1;
}
.cwork.in .dl-year{transition:stroke-dashoffset 2.4s var(--ease) .25s;stroke-dashoffset:0}

/* ---- the markers ---- */
.dl-mark{opacity:0;cursor:pointer}
.cwork.in .dl-mark{opacity:1;transition:opacity .7s ease var(--t)}
.dl-mark:focus{outline:none}
.dl-hit{fill:transparent}
.dl-dot{fill:var(--gold-deep);stroke:var(--paper);stroke-width:4;transition:fill .3s ease}
.dl-mark.k-mtd .dl-dot{fill:var(--plum)}
.dl-ring2{
  fill:none;stroke:var(--gold-deep);stroke-width:2;
  opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.55);
  transition:opacity .4s ease,transform .5s var(--ease);
}
.dl-mark.k-mtd .dl-ring2{stroke:var(--plum)}
.dl-mark.on .dl-ring2,.dl-mark:hover .dl-ring2,.dl-mark:focus-visible .dl-ring2{
  opacity:1;transform:none;
}
.dl-lead{
  fill:none;stroke:var(--line-light);stroke-width:1.4;
  transition:stroke .3s ease;
}
.dl-lab{
  font-size:27px;font-weight:800;letter-spacing:.05em;fill:var(--ink);
  transition:fill .3s ease;
}
.dl-cap{
  font-size:23px;font-weight:500;letter-spacing:.005em;fill:var(--grey-deep);
  transition:fill .3s ease;
}
.dl-mark.on .dl-lead,.dl-mark:hover .dl-lead,.dl-mark:focus-visible .dl-lead{
  stroke:var(--gold-deep);stroke-width:2;
}
.dl-mark.k-mtd.on .dl-lead,.dl-mark.k-mtd:hover .dl-lead,
.dl-mark.k-mtd:focus-visible .dl-lead{stroke:var(--plum)}
.dl-mark.on .dl-cap,.dl-mark:hover .dl-cap,.dl-mark:focus-visible .dl-cap{fill:var(--ink)}

/* ---- the hub, which reports whatever you are pointing at ---- */
.dl-hub{fill:none;stroke:var(--line-light);stroke-width:1.5}
.dl-hub-k{font-size:22px;font-weight:700;letter-spacing:.2em;fill:var(--gold-deep)}
.dl-hub-n{font-size:70px;font-weight:800;letter-spacing:-.03em;fill:var(--ink)}
.dl-hub-s{font-size:23px;font-weight:500;letter-spacing:.01em;fill:var(--grey-deep)}
.dl-hub-d{font-size:21px;font-weight:500;fill:var(--grey-deep)}

/* ---- the legend ---- */
.dl-key .k-a{fill:var(--gold-deep)}
.dl-key .k-b{fill:var(--plum)}
.dl-keyt{
  font-size:22px;font-weight:600;letter-spacing:.02em;fill:var(--grey-deep);
}

@media(max-width:899px){
  .dl-lab{font-size:31px}
  .dl-cap{font-size:26px}
  .dl-keyt{font-size:26px}
  .dl-hub-d{font-size:24px}
}
@media(prefers-reduced-motion:reduce){
  .cwork.in .dl-year{transition:none;stroke-dashoffset:0}
  .dl-mark,.cwork.in .dl-mark{opacity:1;transition:none}
  .dl-ring2{transition:none}
}



.fill{
  font-size:clamp(2rem,5vw,4.2rem);font-weight:700;line-height:1.08;
  letter-spacing:-.038em;color:var(--paper-2);max-width:19ch;margin:0;
}
  .fill .w{color:#D6D1D8;transition:color .3s linear}
.fill .w.on{color:#49264f}
.fill .w.ac.on{color:var(--gold)}
/* the grid column sets the measure on wide screens; a second cap here
   only forced extra line breaks and made the section taller */
@media(min-width:900px){.fill{max-width:none}}
/* the supporting copy now sits in the right-hand column of the head,
   where the dial used to be, so it starts on the statement's first line */
.statement .after{
  display:grid;gap:clamp(20px,2.6vw,30px);margin-top:clamp(30px,4vw,44px);
  border-top:1px solid var(--line-light);padding-top:clamp(26px,3vw,38px);
}
@media(min-width:900px){
  .statement .after{margin-top:8px;border-top:0;padding-top:0}
}
.statement .after p{margin:0;max-width:54ch}

/* ==============================================================
   THE YEAR, PROACTIVE AND REACTIVE
   The same walking rail as Switching to Apex, because it is the same
   kind of thing: a sequence with a marker moving through it. The
   argument is carried by colour rather than by apparatus. Gold runs
   across the half of the year a decision can still change; plum runs
   across the half that only reports it. The year end stands exactly
   on the third dot, because that is the stage it begins.

   The columns carry no gap. Their spacing is padding on each stage
   instead, so a column starts at exactly 0, 25, 50 and 75 per cent
   of the rail and the marker can be positioned in percentages with
   nothing to measure. DOT is the half-width of a stage dot, which is
   the only offset in the whole component.
   ============================================================== */
.yr{--dot:4.5px;
  margin-top:clamp(54px,7vw,96px);border-top:1px solid var(--line-light);
  padding-top:clamp(34px,4.5vw,58px)}
.yr-top{display:grid;gap:clamp(16px,2vw,28px)}
@media(min-width:900px){
  .yr-top{grid-template-columns:1.35fr .65fr;align-items:end;gap:clamp(40px,5vw,90px)}
}
.yr-top .eyebrow{margin:0 0 12px}
.yr-top h3{margin:0;color:var(--ink)}
.yr-note{margin:0;font-size:.86rem;line-height:1.65;color:var(--grey-deep);max-width:42ch}

.yr-walk{position:relative;margin-top:clamp(58px,7vw,104px)}

/* ---- the rail: gold while the period is open, plum once it closes ---- */
.yr-rail{position:absolute;left:0;right:0;top:7px;height:1px;
  background:var(--line-light);pointer-events:none}
.yr-run{position:absolute;top:-1px;height:3px;width:0}
.yr-run.a{left:0;background:var(--gold-deep);transition:width 1.1s var(--ease) .15s}
.yr-run.b{left:calc(50% + var(--dot));background:var(--plum);
  transition:width 1.1s var(--ease) 1s}
.yr.in .yr-run.a{width:calc(50% + var(--dot))}
.yr.in .yr-run.b{width:calc(50% - var(--dot))}

/* ---- the year end, standing on the third dot ----------------------
   Set centred over the dot with a hairline dropping onto it, so the
   label points at the moment rather than floating beside it. It picks
   up the plum once the marker has crossed.
   ------------------------------------------------------------------- */
.yr-close{position:absolute;left:calc(50% + var(--dot));top:-56px;height:63px;
  transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;
  text-align:center;line-height:1.3;pointer-events:none;
  opacity:0;transition:opacity .6s var(--ease) 1.1s}
.yr.in .yr-close{opacity:1}
.yr-close i{display:block;font-style:normal;font-size:9px;font-weight:700;
  letter-spacing:.22em;text-transform:uppercase;color:var(--grey);
  transition:color .6s var(--ease)}
.yr-close em{display:block;margin-top:5px;font-style:normal;font-size:12.5px;
  font-weight:800;letter-spacing:-.01em;color:var(--ink);white-space:nowrap;
  transition:color .6s var(--ease)}
.yr-close::after{content:"";width:1px;flex:1;margin-top:9px;background:var(--line-light);
  transition:background .6s var(--ease)}
.yr.crossed .yr-close em{color:var(--plum)}
.yr.crossed .yr-close i{color:var(--plum)}
.yr.crossed .yr-close::after{background:var(--plum)}

/* ---- the marker ---- */
.yr-pip{position:absolute;left:0;top:0;width:13px;height:13px;
  margin:-6.5px 0 0 calc(var(--dot) - 6.5px);
  border-radius:50%;background:var(--gold-deep);z-index:4;opacity:0;pointer-events:none;
  box-shadow:0 0 0 5px rgba(201,127,30,.14),0 6px 18px -4px rgba(201,127,30,.5);
  transition:left 1.05s var(--ease),opacity .6s ease,background .6s ease,box-shadow .6s ease}
.yr.walking .yr-pip{opacity:1}
/* the marker turns once it has crossed the year end */
.yr-pip.re{background:var(--plum);
  box-shadow:0 0 0 5px rgba(72,37,79,.13),0 6px 18px -4px rgba(72,37,79,.5)}
.yr-pip::after{content:"";position:absolute;inset:0;border-radius:50%;
  border:1px solid var(--gold-deep)}
.yr-pip.re::after{border-color:var(--plum)}
.yr.walking .yr-pip::after{animation:pipRing 2.1s var(--ease) infinite}

/* ---- the four stages ---- */
.yr-steps{display:grid;position:relative;z-index:2;align-items:start}
/* a button centres its own content by default, which pulled the four
   stages out of line with each other. Make each one a column box. */
.yr-step{position:relative;display:flex;flex-direction:column;align-items:flex-start;
  text-align:left;background:none;border:0;padding:0;cursor:pointer;
  font:inherit;color:inherit}
.yr-step::before{content:"";position:absolute;width:9px;height:9px;background:var(--paper);
  border:1px solid var(--line-light);z-index:3;
  transition:background .55s var(--ease),border-color .55s var(--ease),transform .6s var(--ease)}
.yr-step.done::before,.yr-step.on::before{background:var(--gold-deep);border-color:var(--gold-deep)}
.yr-step.k-re.done::before,.yr-step.k-re.on::before{background:var(--plum);border-color:var(--plum)}
.yr-step.on::before{transform:scale(1.3)}

.yr-step i{display:block;font-style:normal;font-size:10px;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;color:var(--grey);margin-bottom:12px;
  transition:color .5s var(--ease)}
.yr-step.done i,.yr-step.on i{color:var(--gold-deep)}
.yr-step.k-re.done i,.yr-step.k-re.on i{color:var(--plum)}
.yr-step b{position:relative;display:inline-block;
  font-size:clamp(1.15rem,1.7vw,1.45rem);font-weight:700;letter-spacing:-.03em;
  color:var(--ink);margin-bottom:9px;transition:color .5s var(--ease)}
.yr-step b::after{content:"";position:absolute;left:0;bottom:-3px;height:1px;width:100%;
  background:var(--gold-deep);transform:scaleX(0);transform-origin:left;
  transition:transform .65s var(--ease)}
.yr-step.k-re b::after{background:var(--plum)}
.yr-step.on b{color:var(--gold-deep)}
.yr-step.k-re.on b{color:var(--plum)}
.yr-step.on b::after{transform:scaleX(1)}
.yr-step p{margin:0;font-size:13.5px;line-height:1.75;color:var(--grey-deep)}

.yr-foot{margin:clamp(40px,4.5vw,64px) 0 0;font-size:.94rem;line-height:1.7;
  color:var(--ink);max-width:70ch}
.yr-foot span{display:block;margin-top:8px;font-size:.78rem;color:var(--grey)}

/* horizontal rail on wide screens. No column gap: the breathing room
   is padding inside each stage, which keeps the column edges on exact
   quarters of the rail. */
@media(min-width:760px){
  .yr-steps{grid-template-columns:repeat(4,1fr);gap:0}
  .yr-step{padding:34px clamp(24px,3vw,52px) 0 0}
  .yr-step::before{left:0;top:3px}
}

/* vertical rail when the stages stack, so the walk still reads */
@media(max-width:759px){
  .yr-walk{padding-left:30px;margin-top:clamp(40px,6vw,64px)}
  .yr-rail{left:4px;right:auto;top:6px;bottom:6px;width:1px;height:auto}
  /* stacked, the label is simply a row between the two halves, so it
     never has to guess where the halves divide, and the rail stays a
     plain hairline: the dots and the labels carry which half you are in */
  .yr-run{display:none}
  .yr-close{position:static;height:auto;transform:none;text-align:left;
    align-items:flex-start;padding-top:16px;border-top:1px solid var(--line-light);
    opacity:1}
  .yr-close::after{display:none}
  .yr-steps{gap:34px}
  .yr-step::before{left:-30px;top:4px}
}

@media(prefers-reduced-motion:reduce){
  .yr-run,.yr-close,.yr-step::before,.yr-step i,.yr-step b,.yr-step b::after{transition:none}
  .yr.in .yr-run.a{width:calc(50% + var(--dot))}
  .yr.in .yr-run.b{width:calc(50% - var(--dot))}
  .yr-close{opacity:1}
  .yr-pip{display:none}
}

/* ==============================================================
   WHAT WE DO, four editorial columns, hairline separators
   ============================================================== */
.pillars{display:grid;margin-top:clamp(40px,6vw,80px);border-top:1px solid var(--line-dark)}
@media(min-width:760px){.pillars{grid-template-columns:1fr 1fr}}
/* room under the grid so an open panel never has to be pulled up
   over the stage's own copy to stay inside the section */
@media(min-width:900px){.pillars{margin-bottom:clamp(84px,7.5vw,120px)}}
@media(min-width:1180px){.pillars{grid-template-columns:repeat(4,1fr)}}
.pil{
  position:relative;padding:clamp(30px,3.4vw,50px) clamp(22px,2.4vw,38px) clamp(40px,5vw,72px) 0;
  border-bottom:1px solid var(--line-dark);
}
@media(min-width:760px){
  .pil{border-right:1px solid var(--line-dark);padding-left:clamp(22px,2.4vw,38px)}
  .pil:nth-child(2n){border-right:0}
}
@media(min-width:1180px){
  .pil{border-bottom:0;border-right:1px solid var(--line-dark)}
  .pil:nth-child(2n){border-right:1px solid var(--line-dark)}
  .pil:last-child{border-right:0}
  .pil:first-child{padding-left:0}
}
.pil::after{
  content:"";position:absolute;left:0;bottom:-1px;width:0;height:1px;
  background:var(--accent);transition:width .7s var(--ease);
}
.pil:hover::after{width:100%}
.pil i{
  display:block;font-style:normal;font-size:10.5px;font-weight:600;letter-spacing:.22em;
  color:var(--grey);margin-bottom:clamp(40px,7vw,90px);transition:color .45s var(--ease);
}
.pil h3{
  font-size:clamp(1.55rem,2.4vw,2.1rem);letter-spacing:-.04em;margin-bottom:16px;
  color:rgba(245,243,239,.82);transition:color .45s var(--ease),transform .55s var(--ease);
}
.pil p{margin:0;font-size:14.5px;line-height:1.75;color:var(--grey);max-width:32ch;
  opacity:.62;transition:opacity .55s var(--ease),transform .55s var(--ease)}
.pil:hover h3{color:var(--paper);transform:translateX(6px)}
.pil:hover i{color:var(--accent)}
.pil:hover p{opacity:1;transform:translateX(6px)}

/* ==============================================================
   SECTORS, list left, one photograph right
   ============================================================== */
.sec-grid{display:grid;gap:clamp(28px,5vw,80px);margin-top:clamp(40px,5vw,72px)}
@media(max-width:999px){.sec-media{order:-1;aspect-ratio:3/2}}
@media(min-width:1000px){.sec-grid{grid-template-columns:1.05fr .95fr;align-items:start}}
.sec-list{border-top:1px solid var(--line-light)}
.sec-item{
  display:flex;align-items:baseline;gap:18px;width:100%;text-align:left;cursor:pointer;
  background:none;border:0;border-bottom:1px solid var(--line-light);
  padding:clamp(16px,1.7vw,24px) 0;position:relative;
}
.sec-item i{
  font-style:normal;font-size:10px;font-weight:600;letter-spacing:.18em;color:var(--grey);
  transition:color .4s var(--ease);min-width:26px;
}
.sec-item b{
  font-size:clamp(1.25rem,2.3vw,2rem);font-weight:700;letter-spacing:-.038em;color:var(--ink);
  transition:transform .5s var(--ease),color .4s var(--ease);
}
.sec-item::after{
  content:"";position:absolute;left:0;bottom:-1px;width:0;height:1px;background:var(--accent);
  transition:width .6s var(--ease);
}
.sec-item.on::after{width:100%}
.sec-item.on b{color:var(--accent);transform:translateX(10px)}
.sec-item.on i{color:var(--accent)}
.sec-media{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--paper-2)}
@media(min-width:1000px){.sec-media{position:sticky;top:110px}}
.sec-media img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transform:scale(1.06);
  transition:opacity .9s var(--ease),transform 1.4s var(--ease);
}
.sec-media img.on{opacity:1;transform:scale(1)}
.sec-cap{
  position:absolute;left:0;bottom:0;z-index:3;background:var(--paper);
  padding:18px 26px;font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--ink);
}

/* ==============================================================
   HERITAGE
   ============================================================== */
.her-grid{display:grid;gap:clamp(36px,5vw,80px);align-items:center}
@media(min-width:960px){.her-grid{grid-template-columns:1fr 1fr}}
.her-media{position:relative;overflow:hidden;aspect-ratio:4/5}
.her-media img{width:100%;height:116%;object-fit:cover;position:absolute;top:-8%;left:0}
.tl{list-style:none;margin:clamp(30px,4vw,48px) 0 0;padding:0;position:relative}
.tl::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;background:var(--line-dark)}
.tl li{position:relative;padding:0 0 26px 30px}
.tl li:last-child{padding-bottom:0}
.tl li::before{
  content:"";position:absolute;left:-3px;top:8px;width:7px;height:7px;background:var(--accent);
}
.tl b{display:block;color:var(--paper);font-size:14px;font-weight:700;letter-spacing:-.01em;margin-bottom:4px}
.tl span{font-size:14px;color:var(--grey)}

/* ==============================================================
   TEAM, large portraits, staggered, colour returns on hover
   ============================================================== */
.team{display:grid;gap:clamp(22px,2.4vw,34px);margin-top:clamp(44px,5vw,80px)}
@media(min-width:560px){.team{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.team{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1240px){.team{grid-template-columns:repeat(7,1fr);gap:clamp(10px,1.1vw,18px)}}

/* ---- the two directors take the first row on their own and the rest
   of the team follows underneath. Bigger portraits above, a six-wide
   grid below, and no stagger on the pair, which would otherwise drop
   one of them out of line with the other. --------------------------- */
.team-lead{margin-bottom:clamp(34px,4vw,62px)}
.team-lead .mem:nth-child(even){margin-top:0}
@media(min-width:560px){.team-lead{grid-template-columns:1fr 1fr}}
@media(min-width:900px){
  .team-lead{grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:min(100%,660px);gap:clamp(22px,2.6vw,40px)}
  .team-lead .mem b{font-size:clamp(1.2rem,1.7vw,1.55rem)}
}
@media(min-width:1240px){
  .team-rest{grid-template-columns:repeat(6,1fr)}
}

.mem{position:relative}
.mem figure{
  margin:0 0 20px;overflow:hidden;aspect-ratio:4/5;background:var(--ink-2);
  position:relative;
}
.mem figure img{
  width:100%;height:100%;object-fit:cover;
  filter:grayscale(1) contrast(1.05);
  transform:scale(1.02);
  transition:filter .9s var(--ease),transform 1.4s var(--ease);
}
.mem:hover figure img{filter:grayscale(0) contrast(1);transform:scale(1.05)}
.mem figure::after{
  content:"";position:absolute;inset:auto 0 0 0;height:38%;
  background:linear-gradient(to top,rgba(20,10,24,.5),rgba(20,10,24,0));
  opacity:.9;transition:opacity .7s var(--ease);
}
.mem:hover figure::after{opacity:.4}

/* the member without a portrait yet, a monogram, not a broken card */
.mem.noimg figure{
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line-dark);background:var(--ink-2);
}
.mem.noimg figure em{
  font-style:normal;font-size:clamp(2rem,3vw,2.6rem);font-weight:700;
  letter-spacing:-.03em;color:rgba(245,243,239,.2);
}
.mem.noimg figure::after{display:none}
/* once a real photograph loads it takes over from the monogram */
.mem:not(.noimg) figure em{display:none}

.mem i{
  display:block;font-style:normal;font-size:10px;font-weight:600;letter-spacing:.2em;
  color:var(--grey);margin-bottom:10px;transition:color .45s var(--ease);
}
.mem b{
  display:block;font-size:clamp(1.05rem,1.35vw,1.25rem);font-weight:700;letter-spacing:-.032em;
  color:var(--paper);margin-bottom:6px;
}
.mem span{
  display:block;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--grey);
}
.mem:hover i{color:var(--accent)}

/* stagger, every second portrait drops, so the row is not a straight line */
@media(min-width:900px){
  .mem:nth-child(even){margin-top:clamp(26px,3.4vw,58px)}
}

/* ==============================================================
   SWITCH, horizontal process line
   ============================================================== */
/* ---- switching to Apex ---------------------------------------------
   The five stages are not a static list. A marker walks the rail from
   Discovery to Advice, filling the line behind it and lighting each
   stage as it arrives, then holds and starts again. Hovering a stage
   takes the marker there and stops the walk so you can read.
   -------------------------------------------------------------------- */
.proc{position:relative;margin-top:clamp(44px,6vw,84px)}
.proc-line{position:absolute;background:var(--line-light);pointer-events:none}
.proc-line u{display:block;background:var(--accent)}

/* the marker that does the walking */
.proc-pip{
  position:absolute;left:0;top:0;width:13px;height:13px;margin:-6.5px 0 0 -6.5px;
  border-radius:50%;background:var(--accent);z-index:4;opacity:0;pointer-events:none;
  box-shadow:0 0 0 5px rgba(72,37,79,.13), 0 6px 18px -4px rgba(72,37,79,.6);
  transition:transform 1.05s var(--ease),opacity .6s ease;
}
.proc.walking .proc-pip{opacity:1}
/* a soft echo that leaves the marker each time it lands */
.proc-pip::after{
  content:"";position:absolute;inset:0;border-radius:50%;border:1px solid var(--accent);
}
.proc.walking .proc-pip::after{animation:pipRing 2.1s var(--ease) infinite}
@keyframes pipRing{
  0%{transform:scale(1);opacity:.65}
  100%{transform:scale(3.1);opacity:0}
}

.steps{display:grid;position:relative;z-index:2}
.step{position:relative}
.step::before{
  content:"";position:absolute;width:9px;height:9px;background:var(--paper);
  border:1px solid var(--line-light);z-index:3;
  transition:background .55s var(--ease),border-color .55s var(--ease),transform .6s var(--ease);
}
.step.done::before,.step.now::before{background:var(--accent);border-color:var(--accent)}
.step.now::before{transform:scale(1.25)}

.step i{
  display:block;font-style:normal;font-size:10px;font-weight:600;letter-spacing:.2em;
  color:var(--grey);margin-bottom:12px;transition:color .5s var(--ease);
}
.step.done i,.step.now i{color:var(--accent)}
.step b{
  position:relative;display:inline-block;
  font-size:clamp(1.05rem,1.5vw,1.3rem);font-weight:700;letter-spacing:-.03em;
  color:var(--ink);margin-bottom:8px;transition:color .5s var(--ease);
}
/* a rule that draws under the stage the marker is on */
.step b::after{
  content:"";position:absolute;left:0;bottom:-3px;height:1px;width:100%;
  background:var(--accent);transform:scaleX(0);transform-origin:left;
  transition:transform .65s var(--ease);
}
.step.now b{color:var(--accent)}
.step.now b::after{transform:scaleX(1)}
.step p{margin:0;font-size:13.5px;line-height:1.7;max-width:26ch}

/* horizontal rail on wide screens */
@media(min-width:760px){
  .proc-line{left:0;right:0;top:7px;height:1px}
  /* the filled part is thicker than the track, so progress reads at a glance */
  .proc-line u{height:3px;margin-top:-1px;width:0;transition:width 1.05s var(--ease)}
  .steps{grid-template-columns:repeat(5,1fr);gap:clamp(16px,2vw,26px)}
  .step{padding-top:34px}
  .step::before{left:0;top:3px}
}

/* vertical rail when the stages stack, so the walk still reads */
@media(max-width:759px){
  .proc{padding-left:30px}
  .proc-line{left:4px;top:6px;bottom:6px;width:1px}
  .proc-line u{width:3px;margin-left:-1px;height:0;transition:height 1.05s var(--ease)}
  .steps{gap:30px}
  .step{padding-left:0}
  .step::before{left:-30px;top:4px}
}

@media(prefers-reduced-motion:reduce){
  .proc-line u{width:100%;height:100%;transition:none}
  .proc-line{right:0!important;bottom:0!important}
  .proc-pip{display:none}
  .step::before,.step i,.step b,.step b::after{transition:none}
  .step::before{background:var(--accent);border-color:var(--accent)}
  .step i{color:var(--accent)}
}

/* ==============================================================
   INSIGHTS
   ============================================================== */
.arts{display:grid;gap:clamp(34px,3.4vw,52px);margin-top:clamp(40px,5vw,72px)}
@media(min-width:700px){.arts{grid-template-columns:1fr 1fr}}
.art{display:block}
.art figure{margin:0;overflow:hidden;aspect-ratio:16/11;background:var(--paper-2)}
.art img{width:100%;height:100%;object-fit:cover;transition:transform 1.5s var(--ease)}
.art:hover img{transform:scale(1.05)}
.art i{
  display:block;font-style:normal;font-size:10px;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;color:var(--grey);margin:22px 0 12px;
}
.art h3{font-size:clamp(1.1rem,1.7vw,1.45rem);letter-spacing:-.032em;line-height:1.22;max-width:26ch}
.art u{
  display:inline-block;text-decoration:none;margin-top:16px;font-size:11px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink);
  border-bottom:1px solid var(--line-light);padding-bottom:3px;transition:border-color .4s,color .4s;
}
.art:hover u{color:var(--accent);border-color:var(--accent)}

/* ==============================================================
   LET'S TALK
   ============================================================== */
.talk{position:relative;overflow:hidden;background:var(--ink)}
.talk > img{position:absolute;inset:0;width:100%;height:112%;object-fit:cover;opacity:.2}
.talk::after{content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,rgba(20,10,24,.94),rgba(20,10,24,.72))}
.talk .wrap{position:relative;z-index:3}
.talk h2{font-size:clamp(3.2rem,11vw,9rem);letter-spacing:-.055em;line-height:.9;color:var(--paper)}
.talk-grid{display:grid;gap:clamp(34px,4vw,60px);margin-top:clamp(40px,5vw,70px);
  border-top:1px solid var(--line-dark);padding-top:clamp(30px,4vw,50px)}
@media(min-width:860px){.talk-grid{grid-template-columns:1.2fr .9fr .9fr}}
.talk-grid h4{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;
  color:var(--grey);margin-bottom:16px}
.talk-grid p{margin:0;color:rgba(245,243,239,.8);font-size:15px;line-height:1.8}
.talk-grid a:hover{color:var(--accent)}

/* ==============================================================
   FOOTER
   ============================================================== */
/* the footer is rebuilt at the end of this file */

/* ==============================================================
   MOTION PRIMITIVES
   ============================================================== */
.u{opacity:0;transform:translateY(26px);transition:opacity 1s ease,transform var(--slow) var(--ease)}
.u.in{opacity:1;transform:none}
.u.d1x{transition-delay:.09s}
.u.d2x{transition-delay:.18s}
.u.d3x{transition-delay:.27s}

.mask{overflow:hidden;display:block}
.mask > span{display:block;transform:translateY(104%);transition:transform 1.25s var(--ease)}
.mask.in > span,.in > .mask > span{transform:none}

.rule{height:1px;background:var(--line-light);transform:scaleX(0);transform-origin:left;
  transition:transform 1.5s var(--ease)}
.dark .rule{background:var(--line-dark)}
.rule.in{transform:scaleX(1)}

[data-par]{will-change:transform}

@media(prefers-reduced-motion:reduce){
  .u,.mask > span,.rule,.hero-bg img{transition:none!important;opacity:1!important;transform:none!important}
  .fill .w{color:var(--ink)}
  .fill .w.ac{color:var(--gold)}
  .proc-line u{width:100%;transition:none}
  .field .arc{stroke-dashoffset:0;transition:none}
}

/* ==============================================================
   TEAM BIO PANELS
   Hover a portrait on desktop; tap it on touch. The panel is a
   child of the card, so moving the cursor into it keeps it open.
   ============================================================== */
.team-hint{
  margin:18px 0 0;font-size:11px;font-weight:600;letter-spacing:.18em;
  text-transform:uppercase;color:var(--grey);opacity:.7;
}
.team{overflow:visible}
.on-tap{display:none}
.mem{--bio-x:0}

.bio{
  position:absolute;top:34%;left:0;z-index:40;
  width:min(420px,86vw);
  background:var(--ink-2);border:1px solid var(--line-dark);
  border-top:2px solid var(--accent);
  padding:clamp(24px,2.2vw,32px);
  box-shadow:0 40px 90px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(20,10,24,.6);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translate(var(--bio-x),12px);
  transition:opacity .45s var(--ease),transform .55s var(--ease),visibility 0s linear .45s;
}
.mem:hover .bio,.mem:focus-within .bio,.mem.open .bio{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translate(var(--bio-x),0);
  transition:opacity .45s var(--ease),transform .55s var(--ease),visibility 0s;
}
.bio-name{
  display:block;font-size:clamp(1.05rem,1.35vw,1.25rem);font-weight:700;letter-spacing:-.032em;
  color:var(--paper);margin-bottom:8px;
}
.bio-role{
  display:block;font-size:10px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;
  color:var(--accent);margin-bottom:10px;
}
.bio-mail{
  display:inline-block;font-size:12.5px;font-weight:500;color:var(--paper);
  border-bottom:1px solid var(--line-dark);padding-bottom:2px;margin-bottom:18px;
  transition:color .35s,border-color .35s;word-break:break-all;
}
.bio-mail:hover{color:var(--accent);border-color:var(--accent)}
.bio p{
  margin:0;font-size:13px;line-height:1.78;color:var(--grey);
  max-height:min(46vh,420px);overflow:auto;
}
.bio p::-webkit-scrollbar{width:3px}
.bio p::-webkit-scrollbar-thumb{background:var(--line-dark)}

/* raise the hovered card above its neighbours */
.mem:hover,.mem:focus-within,.mem.open{z-index:45}

/* touch and narrow screens: the panel sits under the card and pushes nothing */
@media(max-width:899px){
  .bio-name{display:none}
  .bio{
    position:static;width:auto;transform:none;margin-top:16px;
    box-shadow:none;transition:opacity .4s ease,max-height .55s var(--ease),padding .4s;
    max-height:0;padding-top:0;padding-bottom:0;overflow:hidden;
  }
  .mem.open .bio{max-height:1200px;padding-top:26px;padding-bottom:26px;transform:none}
  .mem:hover .bio{opacity:0;visibility:hidden}
  .mem.open .bio{opacity:1;visibility:visible}
  .on-hover{display:none}
  .on-tap{display:inline}
}

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

/* ==============================================================
   TESTIMONIALS, two rows drifting in opposite directions,
   each card bobbing slightly so the wall never feels rigid
   ============================================================== */
.testi{padding:var(--sect) 0 calc(var(--sect) - 20px)}
.tmarq{overflow:hidden;margin-top:clamp(44px,5vw,72px);padding:14px 0}
.tmarq:first-of-type{margin-top:clamp(50px,6vw,86px)}
.ttrack{display:flex;width:max-content}
.tmarq.left  .ttrack{animation:drift-l 68s linear infinite}
.tmarq.right .ttrack{animation:drift-r 78s linear infinite}
.tmarq:hover .ttrack{animation-play-state:paused}
@keyframes drift-l{to{transform:translateX(-50%)}}
@keyframes drift-r{from{transform:translateX(-50%)}to{transform:translateX(0)}}
.tset{display:flex;gap:clamp(18px,1.8vw,28px);padding-right:clamp(18px,1.8vw,28px)}

.tq{
  margin:0;flex:0 0 auto;width:clamp(290px,27vw,420px);
  background:var(--ink-2);border:1px solid var(--line-dark);
  padding:clamp(26px,2.4vw,36px);position:relative;
  animation:bob 7s ease-in-out infinite alternate;
  transition:border-color .5s var(--ease),transform .5s var(--ease);
}
.tq:nth-child(2n){animation-duration:9s;animation-delay:-2s}
.tq:nth-child(3n){animation-duration:11s;animation-delay:-4s}
.tq:hover{border-color:var(--gold)}
@keyframes bob{from{transform:translateY(-7px)}to{transform:translateY(7px)}}

.tq::before{
  content:"”";position:absolute;top:6px;right:22px;
  font-size:76px;line-height:1;color:var(--gold);opacity:.22;
}
.tq blockquote{
  margin:0 0 22px;font-size:clamp(14px,1.05vw,15.5px);line-height:1.72;
  color:rgba(245,243,239,.88);font-weight:400;
}
.tq figcaption b{
  display:block;font-size:12.5px;font-weight:700;letter-spacing:-.01em;
  color:var(--paper);margin-bottom:4px;
}
.tq figcaption span{
  font-size:10px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--grey);
}

/* ==============================================================
   LEARN WITH US
   ============================================================== */
.learn{background:var(--paper-2)}
.lgrid{display:grid;gap:1px;background:var(--line-light);margin-top:clamp(44px,5vw,76px);
  border:1px solid var(--line-light)}
@media(min-width:720px){.lgrid{grid-template-columns:1fr 1fr}}
@media(min-width:1120px){.lgrid{grid-template-columns:repeat(3,1fr)}}

.lcard{
  background:var(--paper);padding:clamp(26px,2.3vw,34px);position:relative;overflow:hidden;
  display:flex;flex-direction:column;
}
.lcard::after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--gold);
  transition:width .7s var(--ease);
}
a.lcard:hover::after{width:100%}
.lcard i{
  display:block;font-style:normal;font-size:10px;font-weight:600;letter-spacing:.22em;
  color:var(--grey);margin-bottom:clamp(26px,2.8vw,38px);transition:color .45s var(--ease);
}
a.lcard:hover i{color:var(--plum)}
.lcard h3{
  font-size:clamp(1.1rem,1.5vw,1.35rem);letter-spacing:-.032em;line-height:1.2;
  margin-bottom:14px;max-width:20ch;
}
.lcard p{margin:0 0 18px;font-size:13.5px;line-height:1.7;max-width:34ch}
.lcard ul{
  list-style:none;margin:0 0 20px;padding:0;border-top:1px solid var(--line-light);
}
.lcard li{
  padding:7.5px 0 7.5px 16px;border-bottom:1px solid var(--line-light);position:relative;
  font-size:12.5px;color:var(--grey-deep);
}
.lcard li::before{
  content:"";position:absolute;left:0;top:17px;width:6px;height:1px;background:var(--plum);
}
.lcard u{
  display:inline-block;text-decoration:none;margin-top:auto;font-size:11px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--plum);
  border-bottom:1px solid var(--line-light);padding-bottom:3px;
  transition:color .4s,border-color .4s;
}
a.lcard:hover u{color:var(--gold-deep);border-color:var(--gold-deep)}

/* the closing tile is a prompt, not a link */
.lcard.lcta{background:var(--ink);--accent:var(--gold)}
.lcard.lcta h3{color:var(--paper)}
.lcard.lcta p{color:var(--grey)}
.lcard.lcta i{color:var(--grey)}
.lcard.lcta .btn{margin-top:auto;align-self:flex-start}

@media(prefers-reduced-motion:reduce){
  .tmarq.left .ttrack,.tmarq.right .ttrack{animation:none}
  .tq{animation:none}
}

/* ==============================================================
   THE ECOSYSTEM
   Five ventures on a ring, ordered by stage of the founder
   journey. The centre holds the active stage, no person sits
   at the middle of it.
   ============================================================== */
.eco{
  /* the same aubergine ground as every other dark band, lifted toward
     plum behind the ring. One accent only: brand gold. */
  background:var(--ink);color:rgba(245,243,239,.74);
  padding:var(--sect) 0 calc(var(--sect) - 18px);
  --accent:var(--gold);
  --c:var(--gold);
  --line-dark:rgba(245,243,239,.16);
  position:relative;overflow:hidden;
}
.eco::before{           /* a plum bloom behind the ring, not a white one */
  content:"";position:absolute;left:50%;top:56%;width:min(1020px,96vw);aspect-ratio:1;
  transform:translate(-50%,-50%);pointer-events:none;
  background:radial-gradient(circle,rgba(72,37,79,.85),rgba(72,37,79,.28) 46%,rgba(72,37,79,0) 70%);
}
.eco::after{            /* a whisper of gold, low and wide */
  content:"";position:absolute;left:50%;top:62%;width:min(720px,80vw);aspect-ratio:1.6;
  transform:translate(-50%,-50%);pointer-events:none;
  background:radial-gradient(ellipse,rgba(246,172,69,.07),rgba(246,172,69,0) 66%);
}
.eco h2{color:var(--paper)}
.eco .eyebrow{color:rgba(245,243,239,.6)}
.eco .wrap{position:relative;z-index:2}
.eco-intro{max-width:56ch;margin-top:24px;color:rgba(245,243,239,.74)}

.estack{display:grid;gap:1px;background:rgba(245,243,239,.13);margin-top:clamp(36px,5vw,60px);
  border:1px solid rgba(245,243,239,.16)}
.estack-item{background:var(--ink-2);padding:26px 24px;display:flex;gap:18px;align-items:flex-start}
.estack-item i{
  font-style:normal;font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--gold);
  padding-top:4px;min-width:24px;
}
.estack-item .estage{
  display:block;font-size:9.5px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  color:rgba(245,243,239,.55);margin-bottom:8px;
}
.estack-item b{display:block;font-size:1.05rem;font-weight:700;letter-spacing:-.03em;
  color:var(--paper);margin-bottom:10px}
.estack-item p{margin:0;font-size:13.5px;line-height:1.7;color:rgba(245,243,239,.72)}

/* ---- the hierarchy -------------------------------------------------
   Rohit at the top, the three businesses beneath him, the two channels
   beneath those. The connectors are drawn by script from the real node
   positions, so the chart survives any breakpoint, and a gold marker
   travels each branch to show the flow down the hierarchy.
   -------------------------------------------------------------------- */
.tree{
  position:relative;margin-top:clamp(44px,5.5vw,78px);
  display:flex;flex-direction:column;align-items:center;
  gap:clamp(44px,5vw,76px);
}
.tree-lines{
  position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1;
}
.tier{display:flex;justify-content:center;gap:clamp(14px,2.6vw,44px);width:100%;flex-wrap:nowrap}
.tier-1{position:relative;z-index:2}
.tier-2,.tier-3{position:relative;z-index:2}
.tier-3{gap:clamp(14px,3vw,52px)}

.tnode{
  position:relative;z-index:2;
  flex:0 1 clamp(158px,17.5vw,268px);
  background:linear-gradient(180deg,#241430,#190D1F);
  border:1px solid rgba(245,243,239,.14);
  color:var(--paper);cursor:pointer;text-align:left;
  padding:clamp(15px,1.5vw,20px) clamp(15px,1.5vw,21px);
  display:flex;flex-direction:column;gap:5px;
  transition:border-color .5s var(--ease),background .5s var(--ease),
             transform .6s var(--ease),box-shadow .6s var(--ease);
}
.tnode i{
  font-style:normal;font-size:8.5px;font-weight:700;letter-spacing:.22em;
  text-transform:uppercase;color:var(--grey);transition:color .45s var(--ease);
}
.tnode b{
  font-size:clamp(13px,1.06vw,15.5px);font-weight:700;letter-spacing:-.025em;line-height:1.24;
}
.tnode span{
  font-size:10.5px;line-height:1.45;color:rgba(245,243,239,.56);
  transition:color .45s var(--ease);
}
.tnode.lead{
  flex:0 1 clamp(214px,23vw,330px);
  background:linear-gradient(180deg,#2E1B3C,#1E1026);
  border-color:rgba(246,172,69,.34);
}
.tnode.lead{align-items:center;text-align:center}
.tnode.lead b{font-size:clamp(15px,1.32vw,19px)}
.tnode.small{flex:0 1 clamp(158px,18vw,278px)}

.tnode:hover,.tnode:focus-visible{
  border-color:rgba(246,172,69,.65);transform:translateY(-3px);
  box-shadow:0 26px 50px -26px rgba(0,0,0,.9);
}
.tnode.on{
  border-color:var(--gold);
  background:linear-gradient(180deg,#3A2412,#241429);
  box-shadow:0 0 0 1px rgba(246,172,69,.25), 0 26px 56px -26px rgba(246,172,69,.4);
}
.tnode.on i{color:var(--gold)}
.tnode.on span{color:rgba(245,243,239,.78)}
a.tnode{text-decoration:none}
.tout{
  position:absolute;right:clamp(13px,1.1vw,16px);top:clamp(13px,1.1vw,16px);
  width:9px;height:9px;opacity:.45;transition:opacity .4s var(--ease),transform .5s var(--ease);
}
.tout::before,.tout::after{
  content:"";position:absolute;background:var(--gold);
}
.tout::before{right:0;top:0;width:9px;height:1.4px}
.tout::after{right:0;top:0;width:1.4px;height:9px}
a.tnode:hover .tout,a.tnode:focus-visible .tout{opacity:1;transform:translate(2px,-2px)}
.tnode:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
/* the web address, printed under the node rather than hidden behind the
   click, so you can see where a card actually goes */
.tnode .turl{
  margin-top:3px;font-style:normal;font-size:9.5px;font-weight:600;
  letter-spacing:.055em;color:rgba(246,172,69,.72);
  transition:color .45s var(--ease);word-break:break-word;
}
.tnode:hover .turl,.tnode:focus-visible .turl,.tnode.on .turl{color:var(--gold)}

/* the destinations under each card, in the panel */
.elinks{display:flex;flex-wrap:wrap;gap:10px 22px;margin:16px 0 0}
.elinks a{
  font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold);border-bottom:1px solid rgba(246,172,69,.35);padding-bottom:3px;
  transition:border-color .35s var(--ease),color .35s var(--ease);
}
.elinks a:hover{border-color:var(--gold);color:var(--paper)}

/* the connectors */
.tl-line{
  fill:none;stroke:rgba(245,243,239,.20);stroke-width:1.4;
  stroke-dasharray:1;stroke-dashoffset:1;
  transition:stroke .5s var(--ease),stroke-width .4s var(--ease);
}
.tree.in .tl-line{
  stroke-dashoffset:0;
  transition:stroke-dashoffset 1.25s var(--ease) var(--t),
             stroke .5s var(--ease),stroke-width .4s var(--ease);
}
.tl-line.hot{stroke:var(--gold);stroke-width:2.2}
.tl-dot{fill:var(--gold);opacity:0;offset-rotate:0deg}
.tree.in .tl-dot{animation:tlFlow 4.6s cubic-bezier(.55,0,.45,1) infinite}
@keyframes tlFlow{
  0%{offset-distance:0%;opacity:0}
  12%{opacity:.9}
  80%{opacity:.9}
  100%{offset-distance:100%;opacity:0}
}

/* ---- the description that swaps under the chart ---- */
.eco-read{position:relative;margin-top:clamp(46px,5.5vw,80px);padding-top:clamp(26px,3vw,38px);
  border-top:1px solid rgba(245,243,239,.13)}
.epanels{position:relative;min-height:clamp(180px,15vw,208px)}
@media(max-width:859px){.epanels{min-height:250px}}
.epanel{
  position:absolute;inset:0;opacity:0;transform:translateY(12px);pointer-events:none;
  transition:opacity .5s var(--ease),transform .6s var(--ease);
  display:grid;gap:6px;
}
@media(min-width:860px){
  .epanel{grid-template-columns:1fr 1.5fr;gap:clamp(24px,4vw,64px);align-items:start}
}
.epanel.on{opacity:1;transform:none;pointer-events:auto}
.estage{
  display:block;font-size:10px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
  color:var(--gold);margin-bottom:14px;
}
.epanel h3{
  font-size:clamp(1.4rem,2.4vw,2.05rem);letter-spacing:-.038em;color:var(--paper);margin:0;
}
.epanel p{margin:0;font-size:clamp(14px,1.05vw,15.5px);line-height:1.75;
  color:rgba(245,243,239,.76);max-width:52ch}
.ehint{
  margin:clamp(20px,2.4vw,30px) 0 0;
  font-size:10px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(245,243,239,.4);
}

/* ---- small screens: the chart stacks, the list takes over ---- */
@media(max-width:759px){
  .tree,.eco-read{display:none}
}
@media(min-width:760px){
  .estack{display:none}
}

@media(prefers-reduced-motion:reduce){
  .tnode,.epanel,.tl-line{transition:none}
  .tree.in .tl-line{stroke-dashoffset:0;transition:none}
  .tree.in .tl-dot{animation:none;opacity:0}
}


/* five gold stars above each quote */
.tq-stars{
  color:var(--gold);font-size:11px;letter-spacing:.28em;line-height:1;margin-bottom:16px;
}


/* ==============================================================
   OUR REACH
   A Miller-projection world map drawn from Natural Earth data.
   The arcs draw outward from London when the section arrives.
   Hovering a city in the list beside it lights that market on
   the map, and the other way round, so the two read as one thing.
   ============================================================== */
.reach{background:var(--paper-2)}

.reach-head{display:grid;gap:24px}
@media(min-width:900px){
  .reach-head{grid-template-columns:1.35fr .85fr;gap:var(--gut);align-items:end}
}
.reach h2 em{font-style:normal;color:var(--gold)}
.reach-intro{max-width:44ch;margin:0}

.rmap-wrap{margin-top:clamp(26px,4.5vw,58px);position:relative}
.rmap{width:100%;height:auto;display:block;overflow:visible}

.rp-land{fill:rgba(20,10,24,.085)}

/* ---- arcs: drawn, not faded ---- */
.rp-arc{
  fill:none;stroke:var(--plum);stroke-width:2.2;stroke-linecap:round;
  opacity:0;stroke-dashoffset:1;pointer-events:none;
  transition:opacity .5s ease,stroke-width .35s ease;
}
.rmap-wrap.in .rp-arc{
  opacity:.40;stroke-dashoffset:0;
  transition:stroke-dashoffset 1.7s var(--ease) var(--t),
             opacity .7s ease var(--t),
             stroke-width .35s ease;
}
.rmap-wrap.in .rp-arc.hot{opacity:1;stroke-width:3.6}

/* ---- a slow pulse along the long-haul routes ---- */
.rp-pulse{fill:var(--gold);opacity:0;offset-rotate:0deg;pointer-events:none}
.rmap-wrap.in .rp-pulse{animation:rpFly 6.5s cubic-bezier(.5,0,.5,1) infinite}
@keyframes rpFly{
  0%{offset-distance:0%;opacity:0}
  10%{opacity:.95}
  78%{opacity:.95}
  100%{offset-distance:100%;opacity:0}
}

/* ---- client markets ---- */
.rp-city{cursor:default}
.rp-halo{fill:transparent}
.rp-dot{
  fill:var(--ink);opacity:0;
  transform-box:fill-box;transform-origin:center;transform:scale(.2);
}
.rmap-wrap.in .rp-dot{
  opacity:1;transform:none;
  transition:opacity .5s ease var(--t),transform .8s var(--ease) var(--t),fill .3s ease;
}
.rp-lab{
  font-size:19px;font-weight:700;letter-spacing:.17em;fill:var(--grey-deep);
  opacity:0;transition:opacity .4s ease;pointer-events:none;
}
.rmap-wrap.in .rp-city.fixed .rp-lab{opacity:1;transition:opacity .6s ease var(--t)}

.rp-city.hot .rp-dot{fill:var(--accent);transform:scale(1.75)}
.rp-city.hot .rp-lab{opacity:1;fill:var(--accent)}
.rp-city.hot .rp-halo{fill:rgba(72,37,79,.09)}

/* ---- London ---- */
.rp-hub{fill:var(--gold);stroke:var(--ink);stroke-width:3.5}
.rp-ring{
  fill:none;stroke:var(--gold);stroke-width:2.5;opacity:0;
  transform-box:fill-box;transform-origin:center;
}
.rmap-wrap.in .rp-ring{animation:rpRing 4.2s ease-out infinite}
.rmap-wrap.in .rp-ring.r2{animation-delay:2.1s}
@keyframes rpRing{
  0%{transform:scale(.55);opacity:.65}
  100%{transform:scale(3.6);opacity:0}
}
.rp-home .rp-lab.home{font-size:22px;fill:var(--ink);opacity:0}
.rmap-wrap.in .rp-home .rp-lab.home{opacity:1;transition:opacity .8s ease .5s}
.rp-sub{
  font-size:14px;font-weight:700;letter-spacing:.26em;fill:var(--gold-deep);opacity:0;
}
.rmap-wrap.in .rp-sub{opacity:1;transition:opacity .8s ease .7s}
.rp-home.hot .rp-hub{stroke:var(--accent)}

/* ---- the closing statement and the market list ---- */
.reach-foot{display:grid;gap:46px;margin-top:clamp(34px,5vw,64px)}
@media(min-width:900px){
  .reach-foot{grid-template-columns:.95fr 1.45fr;gap:var(--gut);align-items:start}
}
.reach-say h3{margin:16px 0 0;color:var(--ink);letter-spacing:-.022em}
.reach-note{margin-top:20px;max-width:40ch;font-size:.93rem}
.reach-key{
  display:flex;align-items:center;margin-top:28px;
  font-size:9.5px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--grey-deep);
}
.reach-key i{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:9px}
.reach-key .k-home{background:var(--gold);box-shadow:0 0 0 1.5px var(--ink)}
.reach-key .k-city{background:var(--ink);margin-left:22px}

.reach-cols{display:grid;grid-template-columns:repeat(2,1fr);gap:32px 24px}
@media(min-width:760px){.reach-cols{grid-template-columns:repeat(4,1fr)}}
.rcol h4{
  margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid var(--line-light);
  font-size:9.5px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--accent);
}
.rcol ul{list-style:none;margin:0;padding:0}
.rcol li{
  padding:7px 0;font-size:.95rem;color:var(--ink);cursor:default;
  transition:color .3s ease,padding-left .5s var(--ease);
}
.rcol li[data-k]:hover,.rcol li.hot{color:var(--accent);padding-left:9px}
.rcol li.plain{color:var(--grey-deep)}

/* ---- small screens: the list carries the names, the map stays a graphic ---- */
@media(max-width:899px){
  /* the map is only a few hundred pixels wide here, so every mark has
     to grow in viewBox units just to stay visible */
  .rp-lab,.rp-sub{display:none}
  .rp-dot{r:20}
  .rp-hub{r:26}
  .rp-halo{r:52}
  .rp-arc,.rmap-wrap.in .rp-arc{stroke-width:9}
  .rp-ring{stroke-width:8}
  .rp-pulse{r:14}
  .rmap-wrap{margin-left:calc(var(--gut) * -0.5);margin-right:calc(var(--gut) * -0.5)}
}

@media(prefers-reduced-motion:reduce){
  .rp-arc,.rmap-wrap.in .rp-arc{opacity:.4;stroke-dashoffset:0;transition:none}
  .rp-dot,.rmap-wrap.in .rp-dot{opacity:1;transform:none;transition:none}
  .rmap-wrap.in .rp-city.fixed .rp-lab,
  .rmap-wrap.in .rp-home .rp-lab.home,
  .rmap-wrap.in .rp-sub{opacity:1;transition:none}
  .rmap-wrap.in .rp-ring{animation:none}
  .rmap-wrap.in .rp-pulse{animation:none;opacity:0}
}


/* ==============================================================
   FAQ
   A plain accordion. The rule under each question draws in gold
   as it opens, so the open row is obvious without a coloured box.
   ============================================================== */
.faq{background:var(--paper)}
.faq-grid{display:grid;gap:clamp(38px,5vw,58px)}
@media(min-width:1000px){
  .faq-grid{grid-template-columns:.82fr 1.35fr;gap:var(--gut);align-items:start}
  .faq-side{position:sticky;top:calc(var(--sect) * .34)}
}
.faq-note{margin-top:24px;max-width:34ch}
.faq-side .btn{margin-top:30px}

.faq-list{border-top:1px solid var(--line-light)}
.faq-item{position:relative;border-bottom:1px solid var(--line-light)}
.faq-item::after{
  content:"";position:absolute;left:0;bottom:-1px;width:0;height:1px;
  background:var(--accent);transition:width .8s var(--ease);
}
.faq-item.open::after{width:100%}

.faq-q{
  width:100%;background:none;border:0;cursor:pointer;text-align:left;
  display:grid;grid-template-columns:auto 1fr auto;align-items:start;
  gap:clamp(16px,2vw,30px);
  padding:clamp(22px,2.4vw,30px) 0;color:var(--ink);
}
.faq-q i{
  font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.2em;
  color:var(--grey-deep);padding-top:.55em;transition:color .4s var(--ease);
}
.faq-q span{
  font-size:clamp(1.02rem,1.45vw,1.28rem);font-weight:700;line-height:1.32;
  letter-spacing:-.028em;transition:color .4s var(--ease);
}
/* a plus that becomes a minus, drawn rather than iconographic */
.faq-q u{
  position:relative;display:block;width:15px;height:15px;margin-top:.45em;flex:none;
}
.faq-q u::before,.faq-q u::after{
  content:"";position:absolute;left:0;top:7px;width:15px;height:1.5px;
  background:var(--ink);transition:transform .5s var(--ease),background .4s var(--ease);
}
.faq-q u::after{transform:rotate(90deg)}
.faq-item.open .faq-q u::after{transform:rotate(0deg)}
.faq-item.open .faq-q u::before,.faq-item.open .faq-q u::after{background:var(--accent)}
.faq-item.open .faq-q i,.faq-item.open .faq-q span{color:var(--accent)}
.faq-q:hover span{color:var(--accent)}

.faq-a{overflow:hidden}
.faq-a p{
  margin:0;padding:0 clamp(30px,4vw,56px) clamp(26px,2.8vw,34px) clamp(44px,5.2vw,68px);
  max-width:62ch;font-size:.97rem;
}

@media(prefers-reduced-motion:reduce){
  .faq-item::after,.faq-q u::before,.faq-q u::after{transition:none}
}


/* ---- the service lines inside each stage ---------------------------
   The stage itself lifts and warms on hover; the panel rises out of it
   with a gold hairline drawing across the top and the service lines
   arriving one after another rather than all at once.
   ------------------------------------------------------------------ */
.pil-hint{
  margin-top:26px;font-size:10px;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;color:var(--grey);
}
.pil-hint .on-touch{display:none}
@media(hover:none),(max-width:899px){
  .pil-hint .on-hover{display:none}
  .pil-hint .on-touch{display:inline}
}

.pil{outline-offset:6px;transition:background .6s var(--ease)}
/* a warm wash behind the stage you are reading */
.pil::before{
  content:"";position:absolute;inset:0 0 0 calc(var(--gut) * -0.12);
  background:linear-gradient(180deg,rgba(246,172,69,.055),rgba(246,172,69,0) 62%);
  opacity:0;transition:opacity .6s var(--ease);pointer-events:none;
}
.pil:hover::before,.pil:focus-within::before,.pil.open::before{opacity:1}

/* the plus, drawn, rotating into a minus */
.pil-cue{
  position:absolute;right:clamp(22px,2.4vw,38px);top:clamp(30px,3.4vw,50px);
  width:14px;height:14px;opacity:.4;
  transition:opacity .45s var(--ease),transform .6s var(--ease);
}
.pil-cue::before,.pil-cue::after{
  content:"";position:absolute;left:0;top:6px;width:14px;height:1.5px;background:var(--grey);
  transition:background .45s var(--ease),transform .6s var(--ease);
}
.pil-cue::after{transform:rotate(90deg)}
.pil:hover .pil-cue,.pil:focus-within .pil-cue,.pil.open .pil-cue{opacity:1;transform:rotate(180deg)}
.pil:hover .pil-cue::before,.pil:hover .pil-cue::after,
.pil:focus-within .pil-cue::before,.pil:focus-within .pil-cue::after,
.pil.open .pil-cue::before,.pil.open .pil-cue::after{background:var(--accent)}
.pil:hover .pil-cue::after,.pil:focus-within .pil-cue::after,.pil.open .pil-cue::after{transform:rotate(0deg)}
.pil:last-child .pil-cue{right:0}

.pil-more{
  position:absolute;left:var(--pop-x,0);top:var(--pop-y,58%);z-index:30;
  width:min(348px,86vw);
  background:linear-gradient(180deg,#241430,#1A0E20);
  border:1px solid rgba(245,243,239,.09);
  padding:24px 26px 10px;
  box-shadow:0 50px 90px -34px rgba(0,0,0,.92), 0 0 0 1px rgba(0,0,0,.35);
  opacity:0;visibility:hidden;
  transform:translateY(16px) scale(.975);transform-origin:top left;
  transition:opacity .42s var(--ease),transform .62s var(--ease),visibility 0s .42s;
}
/* the gold hairline that draws across the top of the panel */
.pil-more::before{
  content:"";position:absolute;left:0;top:-1px;height:2px;width:0;
  background:var(--gold);transition:width .7s var(--ease) .12s;
}
.pil:hover .pil-more,.pil:focus-within .pil-more,.pil.open .pil-more{
  opacity:1;visibility:visible;transform:none;
  transition:opacity .42s var(--ease),transform .62s var(--ease),visibility 0s;
}
.pil:hover .pil-more::before,.pil:focus-within .pil-more::before,.pil.open .pil-more::before{width:100%}

.pil-more-lead{
  margin:0 0 4px;font-size:9.5px;font-weight:700;letter-spacing:.22em;
  text-transform:uppercase;color:var(--gold);opacity:1;max-width:none;
}
.pil-more ul{list-style:none;margin:0;padding:0}
.pil-more li{
  position:relative;padding:14px 0 14px 22px;
  border-top:1px solid rgba(245,243,239,.09);
  font-size:13.5px;line-height:1.5;color:rgba(245,243,239,.88);
  opacity:0;transform:translateX(-10px);
  transition:opacity .45s var(--ease),transform .55s var(--ease);
}
/* the tick sits on the optical centre of the FIRST line, so a service
   name that wraps to two lines still reads as one item */
.pil-more li::before{
  content:"";position:absolute;left:0;top:calc(14px + .75em);
  width:9px;height:1px;background:var(--gold);
  transform:scaleX(0);transform-origin:left;transition:transform .5s var(--ease);
}
.pil:hover .pil-more li,.pil:focus-within .pil-more li,.pil.open .pil-more li{
  opacity:1;transform:none;
}
.pil:hover .pil-more li::before,.pil:focus-within .pil-more li::before,.pil.open .pil-more li::before{
  transform:scaleX(1);
}
.pil-more li:nth-child(1){transition-delay:.16s}
.pil-more li:nth-child(2){transition-delay:.26s}
.pil-more li:nth-child(3){transition-delay:.36s}
.pil-more li:nth-child(1)::before{transition-delay:.22s}
.pil-more li:nth-child(2)::before{transition-delay:.32s}
.pil-more li:nth-child(3)::before{transition-delay:.42s}

@media(prefers-reduced-motion:reduce){
  .pil-more,.pil-cue,.pil-cue::before,.pil-cue::after,
  .pil-more::before,.pil-more li,.pil-more li::before{transition:none}
  .pil-more li{opacity:1;transform:none}
  .pil-more li::before{transform:scaleX(1)}
}

/* ==============================================================
   FOOTER
   A paper band of accreditations, then the brand block on the same
   aubergine the header uses when it goes solid, so the page opens and
   closes on the same colour.
   ============================================================== */
.foot{background:var(--ink)}

/* ---- accreditations, on paper ---- */
.certs-band{background:var(--paper);padding:clamp(34px,4vw,54px) 0}
.certs-lead{
  margin:0 0 clamp(20px,2.2vw,28px);
  font-size:9.5px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
  color:var(--grey-deep);
}
.certs-row{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:clamp(18px,2.2vw,30px);align-items:center;
}
@media(min-width:640px){.certs-row{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.certs-row{grid-template-columns:repeat(6,1fr)}}
.cert{
  display:flex;align-items:center;justify-content:center;
  min-height:clamp(72px,6.4vw,92px);padding:8px 10px;
  transition:transform .5s var(--ease),opacity .5s var(--ease);
  opacity:.9;
}
.cert:hover{opacity:1;transform:translateY(-2px)}
/* every mark is drawn about 45 per cent larger than it was, which is
   what it takes to hold the band rather than float in it */
.cert img{max-width:100%;max-height:calc(var(--mh,42px) * 1.45);width:auto;height:auto;display:block}
.cert em{display:block;font-style:normal;line-height:1.2;text-align:center}
.cert.has-art em{display:none}
.cert b{
  display:block;font-size:clamp(14px,1.15vw,17px);font-weight:800;letter-spacing:-.03em;
  color:var(--brand,var(--ink));
}
.cert i{
  display:block;font-style:normal;margin-top:3px;
  font-size:7.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--grey-deep);
}

/* ---- the gold brand block ---- */
.foot-main{
  background:var(--ink);color:var(--paper);
  padding:clamp(48px,6vw,86px) 0 clamp(30px,3vw,44px);
}
.foot-brand{display:grid;justify-items:start;gap:clamp(18px,2vw,26px)}
.foot .logo img{width:clamp(230px,24vw,340px);filter:none}
.foot-tag{
  margin:0;font-size:clamp(1.05rem,1.7vw,1.5rem);font-weight:700;letter-spacing:-.03em;
  color:var(--gold);
}

/* the social row */
.social{display:flex;flex-wrap:wrap;gap:12px;list-style:none;margin:0;padding:0}
.social a{
  display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  background:var(--brand,var(--ink));color:#fff;
  transition:transform .45s var(--ease),box-shadow .45s var(--ease);
}
.social svg{width:21px;height:21px;fill:currentColor;display:block}
.social a:hover,.social a:focus-visible{
  transform:translateY(-3px);box-shadow:0 12px 26px -10px rgba(0,0,0,.7);
}
.social a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

.foot-nav{
  display:flex;flex-wrap:wrap;gap:14px 30px;
  margin-top:clamp(34px,4vw,54px);padding-top:clamp(24px,2.6vw,34px);
  border-top:1px solid rgba(245,243,239,.20);
}
.foot-nav a{
  font-size:12.5px;font-weight:600;color:var(--paper);
  border-bottom:1px solid transparent;padding-bottom:2px;
  transition:border-color .35s var(--ease),color .35s var(--ease);
}
.foot-nav a:hover{color:var(--gold);border-color:var(--gold)}
.foot-nav a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

.foot-legal{
  margin:clamp(26px,3vw,40px) 0 0;max-width:78ch;
  font-size:11.5px;line-height:1.75;color:rgba(245,243,239,.72);
}

@media(min-width:900px){
  .foot-brand{
    grid-template-columns:auto 1fr;align-items:center;
    gap:clamp(26px,3vw,48px) clamp(34px,4vw,66px);
  }
  .foot-brand .logo{grid-row:1 / span 2}
  .foot-tag{align-self:end}
  .social{align-self:start}
}


/* ==============================================================
   SUB PAGES
   Learn, FAQ and the Ecosystem each stand alone now. They share the
   header, footer and stylesheet with the homepage; all they need is
   room under the fixed header and a way back to it.
   ============================================================== */
.sub .crumb{background:var(--ink);padding:clamp(128px,13vh,160px) 0 clamp(18px,2vw,26px)}
.crumb .wrap{display:flex;align-items:center;gap:12px;
  font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.crumb a{color:var(--grey);transition:color .35s var(--ease)}
.crumb a:hover{color:var(--gold)}
.crumb span{color:rgba(245,243,239,.3)}
.crumb b{color:var(--paper);font-weight:700}

/* the first section on a sub page opens the document, so it carries the
   top padding the homepage hero used to provide */
.sub .sub-first{padding-top:clamp(30px,4vw,56px)}
.sub .eco.sub-first{padding-top:clamp(30px,4vw,56px)}

/* the crumb sits on ink, so a light first section needs a clean join */
.sub .sect.sub-first{background:var(--paper)}
.sub .faq.sub-first{background:var(--paper)}


/* ==============================================================
   KEY DATES AND HMRC GUIDES
   Two blocks on the Learn page. Everything here is a fixed date or a
   fixed rule, so it is set as reference material rather than marketing.
   ============================================================== */
.kd-intro{max-width:56ch;margin-top:24px}

/* the dial, now on Learn where a calendar of dates belongs */
.dialsec .cwork{max-width:880px;margin:clamp(34px,4.5vw,64px) auto 0}
.kd-grid{
  display:grid;gap:clamp(30px,3.4vw,52px);margin-top:clamp(44px,5vw,74px);
}
@media(min-width:720px){.kd-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1180px){.kd-grid{grid-template-columns:repeat(3,1fr)}}

.kd-group h3{
  margin:0 0 6px;font-size:10px;font-weight:700;letter-spacing:.22em;
  text-transform:uppercase;color:var(--gold);
}
.kd-group ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line-dark)}
.kd-group li{padding:14px 0;border-bottom:1px solid var(--line-dark)}
.kd-group b{
  display:block;font-size:clamp(14px,1.15vw,16px);font-weight:700;letter-spacing:-.02em;
  color:var(--paper);margin-bottom:5px;
}
.kd-group span{display:block;font-size:13px;line-height:1.65;color:var(--grey)}

/* ---- accounts and VAT, set against each other -----------------------
   Both are counted from the day a period ends, so they are laid out as
   one grid: a label column and a column each. Row by row they line up,
   which is the whole point of showing them together. On a phone the
   header row goes and each cell names itself instead.
   -------------------------------------------------------------------- */
.kd-pair{
  margin-top:clamp(44px,5vw,72px);padding-top:clamp(34px,4vw,52px);
  border-top:1px solid var(--line-dark);
}
.kd-pair-head{max-width:64ch}
.kd-pair-head .eyebrow{margin:0}
.kd-pair-head h3{margin:14px 0 16px;color:var(--paper);letter-spacing:-.03em}
.kd-pair-head p{margin:0;font-size:14px;line-height:1.75;color:var(--grey);max-width:56ch}

.kdp{display:grid;grid-template-columns:1fr;margin-top:clamp(30px,3.4vw,46px)}
.kdp-h{display:none}
.kdp-l{
  padding:26px 0 10px;font-size:10px;font-weight:700;letter-spacing:.22em;
  text-transform:uppercase;color:var(--gold);border-top:1px solid var(--line-dark);
}
.kdp-c{padding:0 0 16px}
.kdp-c::before{
  content:attr(data-h);display:block;margin-bottom:6px;
  font-size:9.5px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  color:var(--grey-deep);
}
.kdp-c b{
  display:block;font-size:clamp(14px,1.15vw,16px);font-weight:700;letter-spacing:-.02em;
  line-height:1.5;color:var(--paper);
}
.kdp-c em{
  display:block;margin-top:8px;font-style:normal;font-size:13px;line-height:1.6;
  color:var(--gold);padding-left:14px;position:relative;
}
.kdp-c em::before{
  content:"";position:absolute;left:0;top:9px;width:7px;height:1px;background:var(--gold);
}
@media(min-width:900px){
  .kdp{grid-template-columns:150px 1fr 1fr;column-gap:clamp(26px,3vw,54px)}
  .kdp-h{
    display:block;padding-bottom:14px;border-bottom:1px solid var(--line-dark);
    font-size:10px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
    color:var(--gold);
  }
  .kdp-l{
    padding:22px 0;border-top:0;border-bottom:1px solid var(--line-dark);
    color:var(--grey);letter-spacing:.2em;
  }
  .kdp-c{padding:22px 0;border-bottom:1px solid var(--line-dark)}
  .kdp-c::before{display:none}
}

/* the phased thresholds */
.mtd{
  margin-top:clamp(44px,5vw,72px);padding-top:clamp(34px,4vw,52px);
  border-top:1px solid var(--line-dark);display:grid;gap:clamp(28px,3.4vw,52px);
}
@media(min-width:960px){.mtd{grid-template-columns:.85fr 1.15fr;gap:clamp(40px,5vw,86px)}}
.mtd-head h3{margin:14px 0 16px;color:var(--paper);letter-spacing:-.03em}
.mtd-head p{margin:0;font-size:14px;line-height:1.75;color:var(--grey);max-width:44ch}
.mtd-steps{list-style:none;margin:0;padding:0;display:grid;gap:1px;background:var(--line-dark)}
.mtd-steps li{
  background:var(--ink);padding:clamp(18px,2vw,24px) 0;
  display:grid;grid-template-columns:auto 1fr;gap:4px clamp(20px,2.4vw,34px);align-items:baseline;
}
.mtd-steps b{
  font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);
  grid-row:1 / span 2;padding-top:6px;min-width:9ch;
}
.mtd-steps em{
  font-style:normal;font-size:clamp(1.3rem,2.2vw,1.9rem);font-weight:800;letter-spacing:-.03em;
  color:var(--paper);
}
.mtd-steps span{font-size:13.5px;line-height:1.6;color:var(--grey)}

/* ---- the guide cards ---- */
.ggrid{display:grid;gap:1px;background:var(--line-light);margin-top:clamp(40px,4.6vw,68px);
  border:1px solid var(--line-light)}
@media(min-width:700px){.ggrid{grid-template-columns:1fr 1fr}}
@media(min-width:1080px){.ggrid{grid-template-columns:repeat(3,1fr)}}
.gcard{
  background:var(--paper);padding:clamp(24px,2.6vw,34px);display:block;
  transition:background .45s var(--ease);
}
.gcard:hover{background:var(--paper-2)}
.gcard b{
  display:block;font-size:clamp(1rem,1.35vw,1.18rem);font-weight:700;letter-spacing:-.028em;
  color:var(--ink);margin-bottom:10px;
}
.gcard span{display:block;font-size:13.5px;line-height:1.7;color:var(--grey-deep);max-width:34ch}
.gcard u{
  display:inline-block;margin-top:18px;text-decoration:none;
  font-size:9.5px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
  color:var(--accent);border-bottom:1px solid rgba(72,37,79,.35);padding-bottom:3px;
  transition:border-color .35s var(--ease);
}
.gcard:hover u{border-color:var(--accent)}

.kd-note{
  margin-top:clamp(34px,4vw,54px);max-width:72ch;
  font-size:12.5px;line-height:1.8;color:var(--grey-deep);
}


/* ==============================================================
   ONE SITE, FOUR PAGES
   The header tells you where you are, and every page fades in rather
   than flashing, so moving between them reads as one continuous thing
   rather than four separate documents.
   ============================================================== */
.hdr nav a.here,.sheet a.here{color:var(--gold)}
.hdr nav a.here{position:relative}
.hdr nav a.here::after{
  content:"";position:absolute;left:0;right:0;bottom:-7px;height:1px;background:var(--gold);
}

/* the page arrives, rather than appearing */
body{opacity:1}
body.turning{opacity:0;transition:opacity .28s ease}
@media(prefers-reduced-motion:no-preference){
  body{animation:pageIn .45s var(--ease) both}
}
@keyframes pageIn{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
  body,body.turning{animation:none;opacity:1;transition:none}
}


/* ==============================================================
   SERVICES DROP-DOWN (added by the CMS: lists every service page)
   ============================================================== */
.nav-dd{position:relative;display:inline-flex;align-items:center;padding-right:14px}
.nav-dd::after{content:"";position:absolute;right:0;top:50%;width:5px;height:5px;border-right:1.5px solid var(--paper);border-bottom:1.5px solid var(--paper);transform:translateY(-75%) rotate(45deg);pointer-events:none}
.nav-dd-panel{position:absolute;top:100%;left:-24px;margin-top:18px;min-width:320px;padding:8px 24px;
  background:rgba(20,10,24,.97);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--line-dark);
  display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s}
.nav-dd-panel::before{content:"";position:absolute;left:0;right:0;top:-20px;height:20px}
.nav-dd:hover .nav-dd-panel,.nav-dd:focus-within .nav-dd-panel{opacity:1;visibility:visible;transform:none}
.nav .nav-dd-panel a{padding:11px 0;white-space:nowrap;border-bottom:1px solid var(--line-dark)}
.nav .nav-dd-panel a:last-child{border-bottom:0}
.nav .nav-dd-panel a::after{display:none}
.nav .nav-dd-panel a:hover{color:var(--gold)}

/* ==============================================================
   MOBILE MENU – off-canvas drawer (added by the CMS)
   ============================================================== */
.sheet{inset:0 0 0 auto;width:min(88vw,400px);clip-path:none;transform:translateX(100%);visibility:hidden;
  transition:transform .55s var(--ease),visibility .55s;justify-content:flex-start;overflow-y:auto;overscroll-behavior:contain;
  padding:84px 28px 40px;border-left:1px solid var(--line-dark);box-shadow:-30px 0 60px rgba(0,0,0,.35)}
.sheet.open{transform:none;visibility:visible;clip-path:none}
.sheet a{font-size:20px;padding:14px 0}
.sheet .x{top:28px;right:28px}
.sheet-bg{position:fixed;inset:0;z-index:94;background:rgba(10,5,12,.62);opacity:0;visibility:hidden;transition:opacity .45s,visibility .45s}
.sheet.open + .sheet-bg{opacity:1;visibility:visible}
.sheet-grp{border-bottom:1px solid var(--line-dark)}
.sheet-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sheet .sheet-row a{border-bottom:0;flex:1}
.sheet-tg{flex:none;width:40px;height:40px;border:1px solid var(--line-dark);border-radius:50%;background:none;cursor:pointer;position:relative;color:var(--paper);transition:color .3s,border-color .3s}
.sheet-tg::before,.sheet-tg::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:1.5px;background:currentColor;transform:translate(-50%,-50%);transition:transform .3s var(--ease)}
.sheet-tg::after{transform:translate(-50%,-50%) rotate(90deg)}
.sheet-grp.open .sheet-tg{color:var(--gold);border-color:var(--gold)}
.sheet-grp.open .sheet-tg::after{transform:translate(-50%,-50%) rotate(0)}
.sheet-sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--ease)}
.sheet-grp.open .sheet-sub{grid-template-rows:1fr}
.sheet-sub > div{overflow:hidden}
.sheet-sub > div > span{display:block;margin:0 0 14px;padding-left:14px;border-left:1px solid var(--line-dark)}
.sheet .sheet-sub a{font-size:15px;font-weight:500;letter-spacing:0;padding:8px 0;border-bottom:0;color:var(--grey)}
.sheet .sheet-sub a:hover{color:var(--gold)}

/* ==============================================================
   HERO SLIDER, PAGE BANNERS AND ENQUIRY FORM (added by the CMS)
   ============================================================== */
/* home hero: extra photos crossfade over the first one, with the same
   entry, slow push and parallax as the original still */

/* home hero with the enquiry form: copy and figures left, form right */
.hero-form{position:relative;margin-top:clamp(40px,7vw,56px);padding:clamp(22px,2.3vw,32px);
  background:linear-gradient(180deg,rgba(20,10,24,.74),rgba(20,10,24,.6));
  -webkit-backdrop-filter:blur(12px) saturate(115%);backdrop-filter:blur(12px) saturate(115%);
  border:1px solid rgba(245,243,239,.12);color:var(--paper)}
@media(min-width:1024px){
  .hero-in.has-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,430px);
    grid-template-areas:"copy form" "rail form";column-gap:clamp(40px,6vw,110px);align-items:end;align-content:end}
  .has-form .hero-copy{grid-area:copy}
  .has-form .hero-form{grid-area:form;margin-top:0}
  .hero-in.has-form .rail{grid-area:rail;position:static;display:grid;grid-template-columns:repeat(4,auto);justify-content:start;
    gap:clamp(22px,3vw,48px);width:auto;margin:clamp(34px,4.4vw,56px) 0 0;padding:0;text-align:left;
    background:none;border:0;-webkit-backdrop-filter:none;backdrop-filter:none}
  .hero-in.has-form .rail-item{margin:0}
  .hero-in.has-form .rail-item span{margin-left:0;max-width:15ch}
}
.qf-k{font-size:10px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--gold)}
.qf-h{margin:10px 0 0;font-size:clamp(1.3rem,1.8vw,1.7rem);font-weight:700;letter-spacing:-.025em;line-height:1.15;color:var(--paper)}
.qf-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin-top:22px}
.qf-grid .full{grid-column:1/-1}
@media(max-width:480px){.qf-grid{grid-template-columns:1fr}}
.qf label{display:block}
.qf label > span{display:block;margin-bottom:6px;font-size:9.5px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:rgba(245,243,239,.62)}
.qf input,.qf select,.qf textarea{display:block;width:100%;font:inherit;font-size:15px;line-height:1.4;color:var(--paper);
  background:rgba(245,243,239,.06);border:1px solid rgba(245,243,239,.16);border-radius:0;padding:11px 12px;outline:none;
  transition:border-color .3s var(--ease),background .3s var(--ease)}
.qf textarea{resize:vertical;min-height:86px}
.qf select{-webkit-appearance:none;appearance:none;padding-right:36px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F6AC45' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 13px center}
.qf select option{color:#140A18;background:#fff}
.qf input::placeholder,.qf textarea::placeholder{color:rgba(245,243,239,.35)}
.qf input:focus,.qf select:focus,.qf textarea:focus{border-color:var(--gold);background:rgba(245,243,239,.1)}
.qf .bad{border-color:#e98f7c}
.qf-note{margin-top:14px;font-size:11.5px;line-height:1.6;color:rgba(245,243,239,.58)}
.qf .btn{margin-top:18px;width:100%;justify-content:center}
.qf .btn[disabled]{opacity:.6;cursor:progress}
.qf-msg{margin-top:12px;font-size:13.5px;line-height:1.55}
.qf-msg:empty{display:none}
.qf-msg.ok{color:var(--gold);font-size:15px}
.qf-msg.err{color:#f2a897}
.qf-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* photo banner at the top of Learn, Ecosystem and FAQ */
.pbanner{position:relative;overflow:hidden;min-height:clamp(420px,64vh,640px);display:flex;align-items:flex-end;background:var(--ink)}
.pb-bg{position:absolute;inset:0;z-index:0}
.pb-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;
  opacity:0;transform:scale(1.06);transition:opacity 1.6s ease,transform 9s ease-out}
.pb-bg img.on{opacity:1;transform:scale(1)}
.pb-veil{position:absolute;inset:0;z-index:1;background:
  linear-gradient(to bottom,rgba(20,10,24,.62) 0%,rgba(20,10,24,.28) 38%,rgba(20,10,24,.92) 100%),
  radial-gradient(120% 90% at 8% 74%,rgba(20,10,24,.82),rgba(20,10,24,0) 62%),
  linear-gradient(100deg,rgba(72,37,79,.42),rgba(20,10,24,0) 56%)}
.pb-in{position:relative;z-index:3;width:100%;padding-top:clamp(150px,17vh,190px);padding-bottom:clamp(40px,6vw,76px)}
.pbanner .eyebrow{color:rgba(245,243,239,.6)}
.pbanner h1{margin-top:16px;max-width:17ch;color:var(--paper);font-size:clamp(2.4rem,5.4vw,5rem);line-height:1;letter-spacing:-.04em;font-weight:700}
.pbanner h1 .gold{color:var(--gold)}
.pb-lead{margin-top:clamp(18px,2.4vw,28px);max-width:54ch;color:rgba(245,243,239,.74)}
.sub .pbanner + .crumb{padding-top:clamp(18px,2vw,26px)}
@media(prefers-reduced-motion:reduce){.pb-bg img{transition:none;transform:none}}

/* with the form in the hero the copy and figures stay put while scrolling,
   so they never fade out above a form that is still on screen */
.hero-in.has-form .hero-copy,.hero-in.has-form .rail{opacity:1!important;transform:none!important}
@media(min-width:1024px){
  .hero-in.has-form .rail-item span{max-width:17ch}
  .hero-form{padding:clamp(20px,2vw,28px)}
  .hero-form .qf-grid{gap:12px 14px;margin-top:18px}
  .hero-form .qf textarea{min-height:66px}
  .hero-form .qf input,.hero-form .qf select,.hero-form .qf textarea{padding:10px 12px}
  .hero-form .qf-note{margin-top:12px}
  .hero-form .qf .btn{margin-top:14px}
}

/* ==============================================================
   BLOG (added by the CMS) – list, cards, article
   ============================================================== */
.bcats{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 clamp(30px,4vw,48px)}
.bcats a{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;padding:10px 16px;border:1px solid rgba(20,10,24,.16);color:var(--ink);transition:border-color .35s var(--ease),color .35s var(--ease),background .35s var(--ease)}
.bcats a:hover{border-color:var(--gold-deep);color:var(--gold-ink)}
.bcats a[aria-current]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.bgrid{display:grid;gap:clamp(28px,3vw,44px) clamp(20px,2.4vw,36px)}
@media(min-width:700px){.bgrid{grid-template-columns:1fr 1fr}}
@media(min-width:1080px){.bgrid{grid-template-columns:repeat(3,1fr)}}
.bcard{display:flex;flex-direction:column;min-width:0}
.bcard-img{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--ink)}
.bcard-img img{width:100%;height:100%;object-fit:cover;filter:saturate(.9);transition:transform 1.1s var(--ease),filter .6s var(--ease)}
.bcard:hover .bcard-img img{transform:scale(1.04);filter:none}
.bcard-b{padding-top:20px;display:flex;flex-direction:column;flex:1}
.bcard-k{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--grey-deep)}
.bcard-k a{color:var(--gold-ink)}
.bcard h3{margin-top:12px;font-size:clamp(1.15rem,1.5vw,1.4rem);font-weight:700;letter-spacing:-.02em;line-height:1.25}
.bcard h3 a{color:var(--ink);transition:color .35s var(--ease)}
.bcard h3 a:hover{color:var(--gold-ink)}
.bcard-x{margin-top:10px;font-size:15px;line-height:1.65;color:var(--grey-deep)}
.bcard-more{margin-top:auto;padding-top:16px;align-self:flex-start;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);border-bottom:1px solid var(--gold-deep)}
.bcard-more:hover{color:var(--gold-ink)}
.bempty{font-size:18px;color:var(--grey-deep);padding:20px 0 40px}
.bpager{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:clamp(40px,5vw,64px)}
.bpager a,.bpager b{min-width:42px;height:42px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;border:1px solid rgba(20,10,24,.16);color:var(--ink)}
.bpager a:hover{border-color:var(--gold-deep);color:var(--gold-ink)}
.bpager b{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.post-hero h1{max-width:22ch;font-size:clamp(2.1rem,4.6vw,4.2rem)}
.post-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:clamp(18px,2.4vw,26px);font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:rgba(245,243,239,.66)}
.post-meta a{color:var(--gold)}
.prose{max-width:70ch;font-size:clamp(16.5px,1.15vw,18.5px);line-height:1.78;color:var(--ink)}
.prose > * + *{margin-top:1.15em}
.prose .post-lead{font-size:clamp(1.2rem,1.7vw,1.5rem);line-height:1.5;font-weight:600;letter-spacing:-.015em}
.prose h2{margin-top:2em;font-size:clamp(1.5rem,2.3vw,2.1rem);font-weight:700;letter-spacing:-.03em;line-height:1.15}
.prose h3{margin-top:1.8em;font-size:clamp(1.2rem,1.6vw,1.45rem);font-weight:700;letter-spacing:-.02em;line-height:1.25}
.prose h4{margin-top:1.6em;font-size:1.05em;font-weight:700}
.prose h2 + *,.prose h3 + *,.prose h4 + *{margin-top:.6em}
.prose a{color:var(--gold-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.prose a:hover{color:var(--ink)}
.prose strong{font-weight:700}
.prose ul,.prose ol{padding-left:1.3em}
.prose ul{list-style:disc}.prose ol{list-style:decimal}
.prose li + li{margin-top:.45em}
.prose li::marker{color:var(--gold-deep)}
.prose blockquote{border-left:2px solid var(--gold);padding:.2em 0 .2em 1.2em;font-size:1.12em;font-weight:600;letter-spacing:-.01em}
.prose figure img{width:100%;height:auto;display:block}
.prose figcaption{margin-top:10px;font-size:13px;color:var(--grey-deep)}
.prose hr{border:0;border-top:1px solid rgba(20,10,24,.14);margin:2.2em 0}
.prose code{font-size:.9em;background:rgba(20,10,24,.06);padding:.1em .35em}
.post-foot{max-width:70ch;display:flex;flex-wrap:wrap;justify-content:space-between;gap:18px;align-items:center;margin-top:clamp(40px,5vw,64px);padding-top:24px;border-top:1px solid rgba(20,10,24,.12)}
.post-back,.post-share a{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink)}
.post-back:hover,.post-share a:hover{color:var(--gold-ink)}
.post-share{display:flex;gap:18px;align-items:center}
.post-share span{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-deep)}
.post-rel{background:var(--paper);padding-top:0}
.post-rel .eyebrow{margin-bottom:clamp(22px,3vw,34px)}
.bcta .lead{margin-top:18px;max-width:46ch;color:rgba(245,243,239,.72)}
.bcta-b{margin-top:clamp(26px,3vw,40px)}
.prose figure{margin-left:0;margin-right:0}
.post-hero + .crumb .wrap{min-width:0}
.post-hero + .crumb b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-hero + .crumb a{white-space:nowrap}
@media(max-width:600px){.post-hero + .crumb b,.post-hero + .crumb span:last-of-type{display:none}}

/* post FAQs (added by the CMS) */
.post-faq{max-width:70ch;margin-top:clamp(48px,6vw,80px)}
.post-faq h2{font-size:clamp(1.5rem,2.3vw,2.1rem);font-weight:700;letter-spacing:-.03em;line-height:1.15;margin-bottom:clamp(14px,2vw,22px)}
.pfaq{border-top:1px solid rgba(20,10,24,.14)}
.pfaq:last-child{border-bottom:1px solid rgba(20,10,24,.14)}
.pfaq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:20px 0;
  font-size:clamp(1.02rem,1.3vw,1.15rem);font-weight:700;letter-spacing:-.01em;line-height:1.4;color:var(--ink);transition:color .35s var(--ease)}
.pfaq summary::-webkit-details-marker{display:none}
.pfaq summary::after{content:"";flex:none;width:11px;height:11px;margin-top:6px;border-right:1.5px solid var(--gold-deep);border-bottom:1.5px solid var(--gold-deep);transform:rotate(45deg);transition:transform .35s var(--ease)}
.pfaq[open] summary::after{transform:rotate(-135deg);margin-top:10px}
.pfaq summary:hover{color:var(--gold-ink)}
.pfaq-a{padding:0 0 22px;font-size:clamp(16px,1.1vw,17.5px);line-height:1.75;color:var(--grey-deep)}
.pfaq-a p + p{margin-top:.9em}
.pfaq-a a{color:var(--gold-ink);text-decoration:underline;text-underline-offset:3px}
.prose blockquote{margin-left:0;margin-right:0}

/* slider dots on the home hero and the page banners */
.slide-dots{position:absolute;z-index:5;left:50%;bottom:clamp(16px,2.6vw,30px);transform:translateX(-50%);display:flex;gap:8px}
.slide-dots button{width:26px;height:3px;border:0;padding:0;background:rgba(245,243,239,.35);cursor:pointer;transition:background .3s var(--ease),width .3s var(--ease)}
.slide-dots button:hover{background:rgba(245,243,239,.75)}
.slide-dots button.on{background:var(--gold);width:38px}
@media(min-width:1024px){.hero .slide-dots{left:auto;right:var(--gut);transform:none}}

/* home hero slider: a normal sliding slider, no zoom (replaces the fade + slow push) */
.hero .hero-bg img{transform:none!important;animation:none!important;transition:opacity 1.2s ease!important}
.hero-bg .hs-slide{position:absolute;inset:0;transform:translate3d(100%,0,0)}
.hero-bg .hs-slide img{width:100%;height:100%;object-fit:cover;object-position:56% 44%}
.hero-bg .hs-pane{transition:transform .9s cubic-bezier(.65,0,.35,1);will-change:transform}
.hero-bg .hs-pane.hs-still{transition:none}
.hs-nav{align-items:center}
@media(prefers-reduced-motion:reduce){.hero-bg .hs-pane{transition:none}}

/* home hero: nothing moves except the photos sliding on their own
   (no fade-in, no parallax, no sheen, no text reveals, no count-up) */
.hero .hero-bg{transform:none!important}
.hero .hero-bg img{opacity:1!important;transition:none!important}
.hero-sheen{display:none!important}
.hero .mask > span,.hero .u,.hero .u.down,.hero .rail.down .rail-item{opacity:1!important;transform:none!important;transition:none!important}
