/* Shared by the redesigned pages (home, How it works): hero tile, gloss nav, outline buttons, title frames, engineers
   banner. Pages add their own section rules inline. Section title frames: sections listed below, or any .sec-xf. */
.hero-home{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;background:#fff}

/* Engineers banner: a sibling of the hero tile. Square, the same living labradorite texture (flow, hue cycle, refraction
   on hover via site.js), a centred scrim and grain under white copy, and the shared title frame (site.js adds .xf). */
.hp-team{position:relative;isolation:isolate;overflow:hidden;margin:clamp(56px,6vw,84px) 0 0;padding:clamp(64px,6.4vw,96px) clamp(28px,5vw,72px);border-radius:0;background:#3B3346;text-align:center;color:#fff;
  --xf-line:rgba(255,255,255,.18);--xf-faint:rgba(255,255,255,.06);--xf-cross:rgba(255,255,255,.55);--xf-x:clamp(24px,2.6vw,40px);--xf-y:clamp(24px,2.6vw,40px);--xf-b:clamp(24px,2.6vw,40px)}
.hp-team > .hpt-bg,.hp-team > .hpt-flow,.hp-team > .hpt-scrim{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.hp-team > .hpt-bg{z-index:-3;background:url('/v2/assets/textures/labradorite-plum.png') center/cover no-repeat}
.hp-team > .hpt-flow{z-index:-2;opacity:0;transition:opacity 1s ease}
.hp-team > .hpt-flow.on{opacity:1}
.hp-team > .hpt-scrim{z-index:-1;background:radial-gradient(70% 70% at 50% 50%,rgba(16,23,38,.5) 0%,rgba(16,23,38,.32) 60%,rgba(16,23,38,.18) 100%)}
.hp-team > .hpt-scrim::after{content:'';position:absolute;inset:0;background-image:var(--grain);background-size:140px;opacity:.16;mix-blend-mode:overlay}
.hp-team .hpt-copy{position:relative;margin:0}
.hp-team .hpt-copy b{display:block;max-width:820px;margin:0 auto;font-family:var(--serif);font-variant-numeric:normal;font-weight:400;font-size:clamp(24px,2.2vw,32px);line-height:1.2;letter-spacing:-.012em;color:#fff;text-wrap:balance}
.hp-team .hpt-copy small{display:block;max-width:68ch;margin:14px auto 0;font-size:16px;line-height:1.5;color:rgba(255,255,255,.72);text-wrap:balance}

/* Hero tile: the copy and the partner logos sit on the site's labradorite texture (the canvas's
   text-on-texture treatment, nat-scrim-dark, with a centred scrim). The texture rests still; on hover its
   atmosphere flows and the image refracts around the pointer (WebGL, src/scripts/site.js). The static
   texture stays underneath as the no-WebGL and reduced-motion state. */
.hero-home{padding-top:calc(clamp(36px,4vw,52px) + 3px)}
/* Nav bar on this page: gloss glass that reads over any surface. Opaque enough (about 75-90% white) that the dark
   nav text keeps strong contrast even over the navy band or the hero texture, with a frosted, saturated blur, a soft
   reflection brightest at the top, a crisp top highlight, and a hairline plus soft shadow underneath. */
.nav{background:linear-gradient(180deg,rgba(255,255,255,.9) 0%,rgba(252,252,253,.8) 50%,rgba(248,248,249,.76) 100%);
  -webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);border-bottom:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 1px 0 rgba(16,23,38,.06),0 10px 28px -20px rgba(16,23,38,.35)}
.hero-tile{position:relative;isolation:isolate;overflow:hidden;width:min(calc(var(--page) - 2*var(--gutter)),calc(100% - 2*var(--gutter)));margin:0 auto;border-radius:0;background:#3B3346;color:#fff;
  display:flex;flex-direction:column;min-height:clamp(378px,32.4vw,468px)}
.hero-tile > .bgimg,.hero-tile > .hero-flow{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block}
.hero-tile > .bgimg{background:url('/v2/assets/textures/labradorite-plum.png') center/cover no-repeat}
.hero-tile > .hero-flow{opacity:0;transition:opacity 1s ease}
.hero-tile > .hero-flow.on{opacity:1}
.hero-tile::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(70% 60% at 50% 42%,rgba(16,23,38,.46) 0%,rgba(16,23,38,.30) 55%,rgba(16,23,38,.14) 100%),linear-gradient(180deg,rgba(16,23,38,0) 62%,rgba(16,23,38,.34) 100%)}
.hero-tile::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background-image:var(--grain);background-size:140px;opacity:.16;mix-blend-mode:overlay}
.hero-tile > .hero-copy{position:relative;z-index:2}
.hero-copy{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding-block:clamp(56px,6vw,88px)}
.hero-copy .label{justify-content:center;margin:0 0 20px}
.hero-copy .h-hero{margin-inline:auto;max-width:22ch;color:#fff}
.hero-copy .lede{margin:22px auto 0;max-width:60ch;color:rgba(255,255,255,.82)}
.hero-copy .btn-row{justify-content:center;margin-top:26px}
.hero-logos{width:min(calc(var(--page) - 2*var(--gutter)),calc(100% - 2*var(--gutter)));margin:0 auto;padding-block:clamp(36px,4vw,52px) calc(clamp(36px,4vw,52px) + 3px)}
.hero-logos p{margin:0 0 24px;text-align:center;font-family:var(--serif);font-variant-numeric:normal;font-weight:400;font-size:18px;letter-spacing:-.012em;color:var(--ink-2)}
.hero-marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent)}
.hero-track{display:flex;width:max-content;animation:hero-marquee 48s linear infinite}
.hero-track .marks{flex-wrap:nowrap;gap:clamp(48px,6vw,88px);padding-right:clamp(48px,6vw,88px)}
.hero-marquee:hover .hero-track{animation-play-state:paused}
@keyframes hero-marquee{to{transform:translateX(-50%)}}
.hero-track .marks-black img{filter:grayscale(1) brightness(0);opacity:.88;height:30px}.hero-track .marks-black img[data-alt="Havas"]{height:36px}.hero-track .marks-black img[data-alt="Horizon Media"]{height:48px}.hero-track .marks-black img[data-alt="LG Ad Solutions"]{height:36px}.hero-track .marks-black img[data-alt="Mediaplus"]{height:22px}.hero-track .marks-black img[data-alt="Locality"]{height:40px}
@media (prefers-reduced-motion:reduce){.hero-track{animation:none;width:auto;justify-content:center}.hero-track .marks[aria-hidden]{display:none}.hero-track .marks{flex-wrap:wrap;justify-content:center;padding-right:0}}
@media (max-width:820px){.hero-tile{min-height:0;border-radius:0}.hero-copy{padding-block:56px}}

/* Home page buttons, nav bar included: 48px tall, fully rounded. */
:is(.nav,.hero-home,.sec,.cta) .btn{height:48px;padding-block:0;padding-inline:24px;border-radius:999px}
/* The nav's Request a demo matches the 38px Light/Dark segment control beside it. */
.nav .nav-right .btn{height:38px;padding-inline:18px}
/* Every button on the page is an outline with a hover sheen in the hero background's current hue
   (--sheen-1/2 are set live on :root by site.js). Dark ink on light grounds, white on dark ones. */
:root{--sheen-1:hsl(300 70% 72%);--sheen-2:hsl(260 80% 66%)}
:is(.nav,.hero-home,.sec,.cta) a.btn{position:relative;isolation:isolate;overflow:hidden;background:transparent;color:var(--ink-2);border:1px solid var(--ink-2);transition:border-color .3s,box-shadow .4s,background .3s,color .3s}
:is(.nav,.hero-home,.sec,.cta) a.btn::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  background:linear-gradient(105deg,transparent 18%,var(--sheen-1) 42%,var(--sheen-2) 58%,transparent 82%);background-size:260% 100%;background-position:115% 0;opacity:0;
  transition:opacity .35s ease,background-position 1s cubic-bezier(.2,.7,.2,1)}
:is(.nav,.hero-home,.sec,.cta) a.btn:hover{background:rgba(16,23,38,.03);border-color:var(--ink);color:var(--ink);box-shadow:0 0 28px -8px var(--sheen-1)}
:is(.nav,.hero-home,.sec,.cta) a.btn:hover::before{opacity:.5;background-position:-15% 0}
:is(.hero-copy,.cta,.field-dark,.nat-scrim-dark) a.btn{color:#fff;border-color:rgba(255,255,255,.88);background:transparent}
:is(.hero-copy,.cta,.field-dark,.nat-scrim-dark) a.btn:hover{background:rgba(255,255,255,.08);border-color:#fff;color:#fff;box-shadow:0 0 28px -6px var(--sheen-1),inset 0 0 0 1px rgba(255,255,255,.18)}
:is(.hero-copy,.cta,.field-dark,.nat-scrim-dark) a.btn:hover::before{opacity:.6}
:is(.nav,.hero-home,.sec,.cta) a.btn:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
:is(.hero-copy,.cta,.field-dark,.nat-scrim-dark) a.btn:focus-visible{outline-color:#fff}
@media (prefers-reduced-motion:reduce){:is(.nav,.hero-home,.sec,.cta) a.btn::before{transition:opacity .2s}}

/* Title frames: a hairline frame with corner diamonds and faint drifting lines around the hero copy and each section's
   title text (site.js adds the .xf class and the frame elements). Subtle motion: a sheen glides along one edge at a
   time and the diamond it reaches turns a quarter turn. */
.xf{position:relative;isolation:isolate;--xf-line:rgba(16,23,38,.09);--xf-faint:rgba(16,23,38,.04);--xf-cross:rgba(16,23,38,.32);--xf-x:-30px;--xf-y:-30px;--xf-b:-30px}
.hero-copy.xf{--xf-line:rgba(255,255,255,.18);--xf-faint:rgba(255,255,255,.06);--xf-cross:rgba(255,255,255,.55);--xf-x:clamp(28px,3vw,44px);--xf-y:clamp(28px,3vw,44px);--xf-b:clamp(28px,3vw,44px)}
/* The hero copy spans the whole tile so its frame sits the same distance from every edge; the text stays centred. */
.hero-tile > .hero-copy{align-self:stretch;width:100%;max-width:none;box-sizing:border-box}
:is(#work,#harness,#segments,#resources,.sec-xf) > .wrap > .grid:first-child > .xf{justify-self:start;width:fit-content;max-width:100%;box-sizing:border-box;padding:30px;--xf-x:0px;--xf-y:0px;--xf-b:0px}
/* Section title frames sit on the content container's edge (in line with the content below), with the title padded
   inside. */
:is(#work,#harness,#segments,#resources,.lst,.sec-xf) .xf-x::before{animation:xf-dot 16s ease infinite both}
:is(#work,#harness,#segments,#resources,.lst,.sec-xf) .xf-x[data-c="2"]::before{animation-delay:1.42s}
:is(#work,#harness,#segments,#resources,.lst,.sec-xf) .xf-x[data-c="3"]::before{animation-delay:5.42s}
:is(#work,#harness,#segments,#resources,.lst,.sec-xf) .xf-x[data-c="4"]::before{animation-delay:9.42s}
:is(#work,#harness,#segments,#resources,.lst,.sec-xf) .xf-x[data-c="1"]::before{animation-delay:-2.58s}
/* The coloured diamond follows the sheen: the corner it last reached holds the sheen colour until it reaches the next. */
@keyframes xf-dot{0%{background-color:var(--xf-cross)}1.5%,25%{background-color:var(--sheen-1)}26.5%,100%{background-color:var(--xf-cross)}}
/* Stats band frame: the same frame as the titles (light hairline edges, sheen, turning diamonds, the coloured diamond
   following the sheen), drawn on the band's outer edge. Its own drifting lines and centre divider stay. */
.lst-frame.xf{--xf-line:rgba(255,255,255,.14);--xf-cross:rgba(255,255,255,.42);--xf-x:0px;--xf-y:0px;--xf-b:0px}
.lst-frame.xf::before{content:none}
.hp-team.xf{--xf-line:rgba(255,255,255,.18);--xf-faint:rgba(255,255,255,.11);--xf-cross:rgba(255,255,255,.55);--xf-x:clamp(24px,2.6vw,40px);--xf-y:clamp(24px,2.6vw,40px);--xf-b:clamp(24px,2.6vw,40px)}
.hp-team.xf::before{z-index:0}

/* Closing banner buttons sit over the dot field: a solid navy fill (the banner's own colour) behind the white outline,
   so the field doesn't show through; the hover sheen still plays on top. */
#cta a.btn{background:var(--navy)}
#cta a.btn:hover{background:#18213a}
/* No drifting vertical lines inside the section title frames (the hero keeps them). */
:is(#work,#harness,#segments,#resources,.sec-xf) > .wrap > .grid:first-child > .xf::before{content:none}
@media (max-width:820px){:is(#work,#harness,#segments,#resources,.sec-xf) > .wrap > .grid:first-child > .xf{padding:20px}}
.xf::before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:var(--xf-y) var(--xf-x) var(--xf-b);
  background:repeating-linear-gradient(90deg,var(--xf-faint) 0 1px,transparent 1px 96px);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent);
  animation:xf-drift 70s linear infinite}
@keyframes xf-drift{to{background-position:96px 0}}
.xf-f{position:absolute;z-index:-1;pointer-events:none;inset:var(--xf-y) var(--xf-x) var(--xf-b)}
.xf-e{position:absolute;background:var(--xf-line)}
.xf-e[data-e="1"]{left:0;right:0;top:0;height:1px}
.xf-e[data-e="2"]{top:0;bottom:0;right:0;width:1px}
.xf-e[data-e="3"]{left:0;right:0;bottom:0;height:1px}
.xf-e[data-e="4"]{top:0;bottom:0;left:0;width:1px}
/* The sheen: a short gradient in the hero's current hue (the same --sheen-1/2 as the buttons) glides along one edge at a
   time, clockwise; the diamond it reaches turns. All edges stay visible underneath. */
.xf-e::after{content:'';position:absolute;inset:0;opacity:0;background-repeat:no-repeat;filter:drop-shadow(0 0 3px var(--sheen-1));
  animation:16s cubic-bezier(.45,0,.25,1) infinite both}
.xf-e:is([data-e="1"],[data-e="3"])::after{background-image:linear-gradient(90deg,transparent,var(--sheen-1) 40%,var(--sheen-2) 60%,transparent);background-size:38% 100%}
.xf-e:is([data-e="2"],[data-e="4"])::after{background-image:linear-gradient(180deg,transparent,var(--sheen-1) 40%,var(--sheen-2) 60%,transparent);background-size:100% 38%}
.xf-e[data-e="1"]::after{animation-name:xf-sheen-r}
.xf-e[data-e="2"]::after{animation-name:xf-sheen-d;animation-delay:4s}
.xf-e[data-e="3"]::after{animation-name:xf-sheen-l;animation-delay:8s}
.xf-e[data-e="4"]::after{animation-name:xf-sheen-u;animation-delay:12s}
@keyframes xf-sheen-r{0%{background-position:-62% 0;opacity:0}3%{opacity:1}14%{opacity:1}16%{background-position:162% 0;opacity:0}100%{background-position:162% 0;opacity:0}}
@keyframes xf-sheen-l{0%{background-position:162% 0;opacity:0}3%{opacity:1}14%{opacity:1}16%{background-position:-62% 0;opacity:0}100%{background-position:-62% 0;opacity:0}}
@keyframes xf-sheen-d{0%{background-position:0 -62%;opacity:0}3%{opacity:1}14%{opacity:1}16%{background-position:0 162%;opacity:0}100%{background-position:0 162%;opacity:0}}
@keyframes xf-sheen-u{0%{background-position:0 162%;opacity:0}3%{opacity:1}14%{opacity:1}16%{background-position:0 -62%;opacity:0}100%{background-position:0 -62%;opacity:0}}
.xf-x{position:absolute;width:13px;height:13px;animation:xf-turn 16s cubic-bezier(.2,.7,.2,1) infinite}
/* Corner marks are small diamonds, like the four in the Akkio mark. */
.xf-x::before{content:'';position:absolute;left:3px;top:3px;width:7px;height:7px;border-radius:1.5px;background:var(--xf-cross);transform:rotate(45deg)}
.xf-x[data-c="1"]{top:-6px;left:-6px;animation-delay:13.42s}
.xf-x[data-c="2"]{top:-6px;right:-6px;animation-delay:1.42s}
.xf-x[data-c="3"]{bottom:-6px;right:-6px;animation-delay:5.42s}
.xf-x[data-c="4"]{bottom:-6px;left:-6px;animation-delay:9.42s}
/* The turn starts the moment the sheen's bright front reaches the corner (1.42s into each 2.56s sweep). */
@keyframes xf-turn{0%{transform:rotate(0)}7%,100%{transform:rotate(90deg)}}
@media (max-width:820px){.xf{--xf-x:-14px;--xf-y:-22px;--xf-b:-22px}.hero-copy.xf{--xf-x:14px;--xf-y:18px;--xf-b:18px}}
@media (prefers-reduced-motion:reduce){.xf::before,.xf-e::after,.xf-x,.xf-x::before{animation:none}}

/* ═════ Motion: page changes, page-load intro, scroll reveal ═════ */
/* Moving between the redesigned pages cross-fades (browsers with cross-document view transitions); the nav bar stays
   put while the page under it changes. */
@view-transition{navigation:auto}
.nav{view-transition-name:site-nav}
::view-transition-old(root){animation:rv-out .28s cubic-bezier(.4,0,1,1) both}
::view-transition-new(root){animation:rv-page .55s cubic-bezier(.2,.7,.2,1) both}
@keyframes rv-out{to{opacity:0}}
@keyframes rv-page{from{opacity:0;transform:translateY(10px)}}

/* Pages with reveal (SiteLayout's reveal prop sets html.rv before the first paint; site.js adds .rv-in as each part
   scrolls in). The hero plays an intro on load: the texture settles in from a slight zoom, the copy rises in a
   stagger, and the title frame fades in with the texture. Sections then rise into place as they arrive (title frames move
   with their titles), with lists staggering card by card. Reduced motion never sets html.rv. */
@keyframes rv-up{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes rv-fade{from{opacity:0}to{opacity:1}}
@keyframes rv-settle{from{opacity:0;transform:scale(1.07)}to{opacity:1;transform:none}}
html.rv .hero-tile > .bgimg{animation:rv-settle 1.8s cubic-bezier(.2,.7,.2,1) both}
html.rv .hero-tile::before,html.rv .hero-tile::after{animation:rv-fade 1.2s ease both}
html.rv .hero-copy > :not(.xf-f){animation:rv-up 1s cubic-bezier(.2,.7,.2,1) both}
html.rv .hero-copy > :nth-child(1){animation-delay:.25s}
html.rv .hero-copy > :nth-child(2){animation-delay:.38s}
html.rv .hero-copy > :nth-child(3){animation-delay:.52s}
html.rv .hero-copy > :nth-child(4){animation-delay:.66s}
html.rv .hero-copy > .xf-f{animation:rv-fade 1.2s ease both}
html.rv .nav{animation:rv-fade .8s ease both}
/* Home: the partner logo strip under the hero rises in last. */
html.rv .hero-logos{animation:rv-up 1s .8s cubic-bezier(.2,.7,.2,1) both}
/* A live visual on the hero texture, under the copy (White-labeling's brand switch): rises in after the copy. */
html.rv .hero-vis{animation:rv-up 1.1s .8s cubic-bezier(.2,.7,.2,1) both}

/* Scroll reveal targets: each block in a section, each card of a list, and the closing banner's parts. Once a block has
   risen, site.js marks it .rv-done so the animation lets go and card hovers (lifts, sheens) work again. */
html.rv :is(.sec > .wrap > :not(.su,.pt,.seg3,.sp,.pc3), .pt > li, .seg3 > a, .sp > a, .pc3 > li, .cta > .wrap > :not(.hc-grid), .hc-grid > a):not(.rv-in),html.rv .su > li:not(.rv-in) > *{opacity:0}
/* The set-up grid's hairlines come from its own background, so its cells stay put and their contents rise. */
html.rv :is(.sec > .wrap > :not(.su,.pt,.seg3,.sp,.pc3), .pt > li, .seg3 > a, .sp > a, .pc3 > li, .cta > .wrap > :not(.hc-grid), .hc-grid > a).rv-in:not(.rv-done),html.rv .su > li.rv-in > *{animation:rv-up .95s cubic-bezier(.2,.7,.2,1) var(--rv-d,0s) both}
@media (prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}

/* ═════ Page parts shared by the redesigned pages (moved from How it works) ═════
   .hero-bleed: full-bleed hero tile. .su: spec grid. .cta .hc: the closing banner's part cards. */
:root{--hd-gap:clamp(40px,3.9vw,56px)}
.h2-lead{display:block;color:var(--ink-3)}
/* Full-bleed hero: the texture runs edge to edge from the nav to the first section. The copy and its title frame stay
   on the page's content width, so the frame lines up with the content below. */
.hero-bleed{padding:0}
.hero-bleed .hero-tile{width:100%;min-height:clamp(440px,38vw,560px)}
.hero-bleed .hero-tile > .hero-copy{max-width:var(--page);margin-inline:auto;--xf-x:var(--gutter);--xf-y:clamp(40px,4vw,56px);--xf-b:clamp(40px,4vw,56px);padding-block:clamp(88px,8vw,120px)}
.hero-copy .h-hero em{font-style:italic}
/* A visual inside the hero tile, under the copy and its frame, on the page's content width. */
.hero-tile > .hero-vis{position:relative;z-index:2;align-self:center;width:calc(100% - 2*var(--gutter));margin:0 auto clamp(56px,6vw,88px);box-sizing:border-box}

.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

/* Spec grid (.su): square cells in one hairline grid, like an engineered spec sheet. Each cell: a square icon tile in the
   part's colour, a mono index, the step, and what we do. A faint sheen in the hero's hue passes on hover. */
.su{list-style:none;margin:var(--hd-gap) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--rule);box-shadow:0 0 0 1px var(--rule)}
.su-s{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;padding:clamp(24px,2.4vw,32px);background:var(--paper);min-height:236px}
.su-s::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 18%,var(--sheen-1) 44%,var(--sheen-2) 56%,transparent 82%);background-size:260% 100%;background-position:115% 0;opacity:0;transition:opacity .45s ease,background-position 1.1s cubic-bezier(.2,.7,.2,1)}
.su-s:hover::before{opacity:.14;background-position:-15% 0}
.su-ic{width:40px;height:40px;display:grid;place-items:center}
.su-ic svg{width:20px;height:20px;color:#fff}
.su-n{position:absolute;top:clamp(24px,2.4vw,32px);right:clamp(24px,2.4vw,32px);font-size:12px;color:var(--ink-3)}
.su-s b{display:block;margin-top:auto;padding-top:28px;font-family:var(--serif);font-variant-numeric:normal;font-weight:400;font-size:clamp(21px,1.7vw,24px);line-height:1.2;letter-spacing:-.012em;color:var(--ink)}
.su-s p{margin:8px 0 0;font-size:15px;line-height:1.55;color:var(--ink-3);max-width:36ch;text-wrap:pretty}
@media(max-width:900px){.su{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.su{grid-template-columns:1fr}.su-s{min-height:0}}
@media(prefers-reduced-motion:reduce){.su-s::before{transition:opacity .2s}}

/* Numbered cards (.pt): square cards in a row, a mono "01 / 03" counter, a serif title, and what it means. */
.pt{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sec-xf .pt{margin-top:var(--hd-gap)}
.pt-s{display:flex;flex-direction:column;padding:clamp(24px,2.4vw,32px);background:var(--paper);box-shadow:0 0 0 1px var(--rule)}
.pt-n{font-size:12px;color:var(--ink-3)}
.pt-n b{font-weight:500;color:var(--blue)}
.pt-s h3{margin:clamp(24px,2.6vw,36px) 0 0;font-family:var(--serif);font-variant-numeric:normal;font-weight:400;font-size:clamp(26px,2.2vw,32px);line-height:1.1;letter-spacing:-.014em;color:var(--ink)}
.pt-s p{margin:12px 0 0;font-size:15.5px;line-height:1.55;color:var(--ink-2);max-width:38ch;text-wrap:pretty}
:root[data-theme="dark"] .pt-n b{color:var(--blue-lift)}
@media(max-width:860px){.pt{grid-template-columns:1fr}}

/* Closing banner: the home page's diamond field and buttons; the six parts below the buttons (one row, then 3×2, then 2×3). */
.cta .hc-grid{margin-top:clamp(40px,4vw,56px);grid-template-columns:repeat(6,minmax(0,1fr));max-width:1240px}
@media(max-width:1000px){.cta .hc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.cta .hc-grid{grid-template-columns:1fr 1fr}}
/* On a part's own page its card is left out, so five remain: one row; then 3 + 2 and 2 + 2 + 1, the short row centred. */
.cta .hc-grid:has(> .hc:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr));max-width:1160px}
@media(max-width:1000px){.cta .hc-grid:has(> .hc:nth-child(5):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}.cta .hc-grid:has(> .hc:nth-child(5):last-child) > .hc{grid-column:span 2}.cta .hc-grid:has(> .hc:nth-child(5):last-child) > .hc:nth-child(4){grid-column:2 / span 2}}
@media(max-width:640px){.cta .hc-grid:has(> .hc:nth-child(5):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}.cta .hc-grid:has(> .hc:nth-child(5):last-child) > .hc:nth-child(4){grid-column:span 2}.cta .hc-grid:has(> .hc:nth-child(5):last-child) > .hc:nth-child(5){grid-column:2 / span 2}}
/* The six cards: all equal, square, with the segment cards' hover: a sheen in the hero's live hue sweeps across, a
   soft glow in that hue, a small lift, and the icon tile fills with the same gradient. */
.cta .hc{position:relative;isolation:isolate;overflow:hidden;border-radius:0;transition:box-shadow .3s,transform .2s,background-color .3s}
.cta .hc::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 18%,var(--sheen-1) 44%,var(--sheen-2) 56%,transparent 82%);background-size:260% 100%;background-position:115% 0;opacity:0;transition:opacity .45s ease,background-position 1.1s cubic-bezier(.2,.7,.2,1)}
.cta a.hc:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.32),0 18px 44px -26px var(--sheen-1)}
.cta a.hc:hover::before{opacity:.18;background-position:-15% 0}
.cta .hc-ic{position:relative;isolation:isolate;overflow:hidden;border-radius:0;transition:box-shadow .3s}
.cta .hc-ic::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(120deg,var(--sheen-1),var(--sheen-2));opacity:0;transition:opacity .3s}
.cta a.hc:hover .hc-ic{box-shadow:inset 0 0 0 1px transparent}
.cta a.hc:hover .hc-ic::before{opacity:.55}
.cta a.hc:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.cta a.hc:hover{transform:none}.cta .hc::before{transition:opacity .2s}}

