/* ==========================================================================
   Shapley Solutions LLP — stylesheet v2
   Type: Instrument Serif (display) + Satoshi (text, UI)
   Colour: warm onyx, ivory, brand gold (#EBAA00) with champagne/bronze range
   ========================================================================== */

:root {
  --onyx: #1a1a24;   /* EY-style deep charcoal */
  --char: #23232f;
  --char-2: #2e2e38;
  --ivory: #f6f6fa;  /* EY light background */
  --paper: #ffffff;
  --text: #2e2e38;   /* EY body text */
  --mute: #747480;
  --line: rgba(46, 46, 56, .14);
  --line-d: rgba(247, 247, 245, .12);

  --gold: #ebaa00;
  --gold-hi: #f6d27a;
  --gold-deep: #8a6200;
  --gold-grad: linear-gradient(100deg, #f3c34f 0%, #ebaa00 50%, #d39300 100%);

  /* EY uses EYInterstate (licensed to EY only); Overpass is the closest free match, from the same highway-sign lineage */
  --serif: "Overpass", "Noto Sans", Arial, system-ui, sans-serif;
  --sans: "Overpass", "Noto Sans", Arial, system-ui, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --sec: clamp(96px, 12vw, 176px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --header-h: 84px;
  --header-hc: 64px; /* compact header after scrolling */
  --hdr: #2e2e38;    /* header bar, charcoal */
  --r-lg: 28px;
  --r-md: 20px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--onyx); scroll-padding-top: calc(var(--header-h) + 64px); }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- base ---------- */
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "kern";
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--onyx); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--onyx); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display, .h1, .h2 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--onyx);
  letter-spacing: normal;
  text-wrap: balance;
}
.display { font-size: clamp(2.6rem, 5.4vw, 4.75rem); line-height: 1.04; letter-spacing: normal; }
.h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: normal; }
.h2 { font-size: clamp(1.8rem, 3.1vw, 2.75rem); line-height: 1.12; }
.h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.3vw, 1.2rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--onyx);
}
.lead { font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.65; color: var(--text); max-width: 36em; }
.small { font-size: .92rem; }
.mute { color: var(--mute); }

.on-dark { color: rgba(247, 247, 245, .74); }
.on-dark .display, .on-dark .h1, .on-dark .h2, .on-dark .h3 { color: var(--ivory); }
.on-dark .lead { color: rgba(247, 247, 245, .74); }
.on-dark .mute { color: rgba(247, 247, 245, .5); }

.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 600; letter-spacing: .01em; color: var(--gold-deep); margin-bottom: 26px; }
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.on-dark .kicker { color: var(--gold); }

.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--gold); --c: var(--onyx);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 22px 0 26px; border-radius: 999px;
  background: var(--b); color: var(--c);
  font-family: var(--serif); font-weight: 600; font-size: .95rem; letter-spacing: normal;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), box-shadow .5s var(--ease), transform .7s var(--ease);
}
.btn::before {
  content: ""; position: absolute; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; z-index: -1;
  background: var(--onyx); border-radius: 50%;
  transform: translate(-50%, 0) scale(.2); transition: transform .65s var(--ease), top .65s var(--ease);
}
.btn:hover::before { top: -20%; transform: translate(-50%, 0) scale(1); }
.btn:hover { color: var(--ivory); }
.btn .node { position: relative; width: 22px; height: 22px; border-radius: 50%; background: rgba(17,18,20,.12); display: grid; place-items: center; transition: background-color .5s, transform .6s var(--ease); }
.btn .node::after { content: ""; width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: translateX(-1px) rotate(45deg); }
.btn:hover .node { background: var(--gold); color: var(--onyx); transform: rotate(-45deg); }
.btn--dark { --b: var(--onyx); --c: var(--ivory); }
.btn--dark::before { background: var(--gold); }
.btn--dark:hover { color: var(--onyx); }
.btn--dark .node { background: rgba(247,247,245,.14); }
.btn--dark:hover .node { background: var(--onyx); color: var(--gold); }
.btn--line { --b: transparent; --c: currentColor; box-shadow: inset 0 0 0 1px rgba(17,18,20,.35); }
.on-dark .btn--line { --c: var(--ivory); box-shadow: inset 0 0 0 1px rgba(247,247,245,.35); }
.btn--line::before { background: var(--gold); }
.btn--line:hover { color: var(--onyx); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--line .node { background: rgba(247,247,245,.12); }

.textlink { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--onyx); padding-bottom: 4px; }
.textlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.textlink:hover::after { transform: scaleX(0); }
.textlink:hover { color: var(--gold-deep); }
.on-dark .textlink { color: var(--ivory); }
.on-dark .textlink:hover { color: var(--gold); }

/* text roll used in nav links */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; line-height: 1.3; }
.roll > span { display: block; transition: transform .55s var(--ease); }
.roll > span + span { position: absolute; left: 0; top: 100%; }
a:hover > .roll > span, a:focus-visible > .roll > span { transform: translateY(-100%); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  background: var(--hdr); color: #fff;
  view-transition-name: site-header;
  transition: height .6s var(--ease), box-shadow .5s;
}
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1480px; }
.header.is-solid { height: var(--header-hc); box-shadow: 0 12px 30px -20px rgba(0,0,0,.65); }

/* brand: logo + tagline; tagline slides away and logo shrinks once scrolled */
.brand { display: flex; align-items: center; height: 64px; flex-shrink: 0; transition: height .6s var(--ease); }
/* logo always sits on a white panel (dark-lettered variant), never directly on the charcoal bar */
.brand-logo { height: 100%; width: auto; background: #fff; padding: 4px 9px; border-radius: 10px; }
.brand-tag {
  display: block; max-width: 160px; margin-left: 16px; overflow: hidden; white-space: nowrap;
  font-family: var(--serif); font-weight: 600; font-size: .86rem; line-height: 1.22; letter-spacing: normal; color: #fff;
  transition: opacity .4s var(--ease), transform .6s var(--ease), max-width .6s var(--ease), margin .6s var(--ease);
}
.header.is-solid .brand { height: 50px; }
.header.is-solid .brand-tag { opacity: 0; transform: translateX(-12px); max-width: 0; margin-left: 0; }

.nav { position: relative; display: flex; align-items: center; gap: 4px; }
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; }
.nav-links a { position: relative; z-index: 1; padding: 9px 15px; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.9); border-radius: 999px; transition: color .35s; }
.nav-links a[aria-current="page"] { color: var(--onyx) !important; }
.nav-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--gold); opacity: 0; transition: left .55s var(--ease), width .55s var(--ease), opacity .3s; pointer-events: none; }
.nav-pill.on { opacity: 1; }
.nav-links.hovering a[aria-current="page"]:not(:hover) { color: rgba(255,255,255,.9) !important; }
.nav-links a.pill-on { color: var(--onyx) !important; }
.nav .btn { height: 46px; padding: 0 18px 0 22px; margin-left: 14px; }

.menu-btn { display: none; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); position: relative; }
.menu-btn span { position: absolute; left: 16px; right: 16px; height: 1.6px; background: var(--onyx); border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 22px; }
.menu-btn span:nth-child(2) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { top: 25.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 25.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 85; background: var(--hdr); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 46px) 42px);
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu ul { display: grid; gap: 2px; }
.menu li a { display: flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-weight: 600; letter-spacing: normal; font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1.25; overflow: hidden; }
.menu li a span { display: block; transform: translateY(110%); transition: transform .9s var(--ease); }
.menu-open .menu li a span { transform: none; }
.menu li:nth-child(2) a span { transition-delay: .05s } .menu li:nth-child(3) a span { transition-delay: .1s }
.menu li:nth-child(4) a span { transition-delay: .15s } .menu li:nth-child(5) a span { transition-delay: .2s }
.menu li:nth-child(6) a span { transition-delay: .25s } .menu li:nth-child(7) a span { transition-delay: .3s }
.menu li a[aria-current="page"] { color: var(--gold); }
.menu .menu-foot { margin-top: 48px; display: grid; gap: 6px; }
.menu .menu-foot a { font-size: 1.05rem; color: rgba(247,247,245,.7); }
.menu .menu-foot a:hover { color: var(--gold); }
.menu-open { overflow: hidden; }
.menu-open .header { box-shadow: none; }

/* scroll progress */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 95; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   Page transitions
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .9s; }
::view-transition-old(root) { animation: vt-out .6s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .95s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-3vh) scale(.97); filter: blur(8px); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0 round 40px 40px 0 0); transform: translateY(6vh); } to { clip-path: inset(0 0 0 0 round 0); transform: none; } }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation-duration: .5s; }

/* fallback for browsers / file:// where cross-document transitions don't run */
.enter main, .enter .footer { animation: page-in .9s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.leaving main, .leaving .footer { transition: opacity .32s ease, transform .32s ease, filter .32s ease; opacity: 0; transform: translateY(-14px); filter: blur(6px); }

/* first-visit intro */
.intro { position: fixed; inset: 0; z-index: 150; background: var(--onyx); display: none; place-items: center; }
.has-intro .intro { display: grid; animation: intro-safety 0s 4.5s forwards; }
@keyframes intro-safety { to { visibility: hidden; } }
.intro-inner { display: grid; justify-items: center; gap: 26px; }
.intro svg { width: 74px; height: auto; }
.intro svg path { opacity: 0; transform-box: fill-box; transform-origin: center; animation: piece-in .9s var(--ease) both; }
.intro svg path:nth-child(1) { animation-delay: .05s } .intro svg path:nth-child(2) { animation-delay: .17s }
.intro svg path:nth-child(3) { animation-delay: .29s } .intro svg path:nth-child(4) { animation-delay: .41s }
@keyframes piece-in { from { opacity: 0; transform: translateY(14px) scale(.6); } to { opacity: 1; transform: none; } }
.intro-line { width: 140px; height: 1.5px; background: rgba(247,247,245,.14); overflow: hidden; }
.intro-line i { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; animation: line-fill 1.1s .2s var(--ease-io) both; }
@keyframes line-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.intro-word { font-family: var(--serif); font-weight: 500; font-size: .95rem; letter-spacing: .02em; color: var(--ivory); opacity: 0; animation: fade .8s .5s var(--ease) both; }
@keyframes fade { to { opacity: 1; } }
.intro-done .intro { transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s; clip-path: inset(0 0 100% 0); visibility: hidden; }
.intro-done .intro-inner { transition: transform 1.1s var(--ease-io), opacity .6s; transform: translateY(-12vh); opacity: 0; }

/* ==========================================================================
   Cursor bubble (only over project rows)
   ========================================================================== */
.cursor { position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none; }
.cursor .ring { position: absolute; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transform: scale(0); transition: transform .5s var(--ease); }
.cursor .ring b { font-family: var(--serif); font-size: 12px; font-weight: 600; color: var(--onyx); }
.cursor.is-view .ring { transform: scale(1); }

/* ==========================================================================
   Reveal primitives
   ========================================================================== */
.w { display: inline-block; vertical-align: top; }
.w > span { display: inline-block; }
.js [data-split] .w > span { opacity: 0; transform: translateY(.45em); filter: blur(10px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i) * 38ms + var(--d, 0ms)); }
.js [data-split].in .w > span { opacity: 1; transform: none; filter: blur(0); }

.js [data-unmask] { clip-path: inset(18% 8% 18% 8% round 40px); opacity: .001; transition: clip-path 1.4s var(--ease-io), opacity .6s; }
.js [data-unmask].in { clip-path: inset(0 0 0 0 round var(--r-lg)); opacity: 1; }
.js .phero-img[data-unmask].in { clip-path: inset(0 0 0 0 round 0); }
.js [data-unmask] img { transform: scale(1.22); transition: transform 2s var(--ease); }
.js [data-unmask].in img { transform: scale(1); }

.js [data-rise] { opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].in { opacity: 1; transform: none; filter: none; }

.js [data-draw] { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io); }
.js [data-draw].in { transform: scaleX(1); }

/* ==========================================================================
   Home hero carousel, sized like ey.com/en_in:
   >=1280px: full width, 2:1 (height 50vw), capped at 1920x960
   1024-1279: 640px tall · 768-1023: 600px · phones: 650px
   ========================================================================== */
.hc { --g: 68px; position: relative; margin-top: var(--header-h); background: var(--hdr); color: #fff; }
.hc-stage { position: relative; max-width: 1920px; margin: 0 auto; height: max(640px, 50vw); max-height: 960px; overflow: hidden; }
.hc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.hc-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.hc-media { position: absolute; inset: 0; }
.hc-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fp, 50% 50%); }
.hc-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.88) 100%), linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,0) 75%); }
.hc-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--g) 140px; z-index: 2; }
.hc-copy { max-width: 66%; transform: translateY(14px); opacity: 0; transition: transform .8s var(--ease) .15s, opacity .6s ease .15s; }
.hc-slide.is-active .hc-copy { transform: none; opacity: 1; }
.hc-eyebrow { font-size: 14px; line-height: 1.2; font-weight: 700; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.hc-title { font-family: var(--serif); font-size: 52px; line-height: 1.2; font-weight: 700; color: #fff; text-wrap: balance; }
.hc-title a { text-decoration: none; } /* no hover underline on slide headlines */
.hc-desc { margin-top: 10px; padding-left: 16px; border-left: 2px solid var(--gold); }
.hc-desc p { font-size: 20px; line-height: 24px; font-weight: 300; color: #fff; max-width: 42em; }
.hc-bar { position: absolute; left: var(--g); right: var(--g); bottom: 40px; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hc-tabs { display: flex; gap: 40px; min-width: 0; }
.hc-tab { position: relative; font-size: 16px; line-height: 24px; font-weight: 400; color: rgba(255,255,255,.6); white-space: nowrap; transition: color .3s; }
.hc-tab::before { content: ""; position: absolute; left: 0; top: -12px; width: 80px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.hc-tab:hover { color: #fff; }
.hc-tab.is-active { color: #fff; font-weight: 600; }
.hc-tab.is-active::before { transform: scaleX(1); }
.hc-controls { display: flex; gap: 8px; flex-shrink: 0; }
.hc-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--hdr); color: #fff; display: grid; place-items: center; transition: background-color .3s, color .3s; }
@media (hover: hover) { .hc-btn:hover { background: var(--gold); color: var(--onyx); } }
.hc-btn svg { width: 24px; height: 24px; }
.hc-toggle .i-play, .hc-toggle.is-paused .i-pause { display: none; }
.hc-toggle.is-paused .i-play { display: block; }

@media (max-width: 1279px) {
  .hc { --g: 60px; }
  .hc-stage { height: 640px; }
  .hc-title { font-size: 40px; }
  .hc-copy { max-width: 75%; }
}
@media (max-width: 1023px) {
  .hc { --g: 44px; }
  .hc-stage { height: 600px; }
  .hc-content { padding-bottom: 114px; }
  .hc-copy { max-width: 100%; }
  .hc-tabs { display: none; }
  .hc-bar { bottom: 30px; justify-content: flex-start; }
  .hc-media img { object-position: var(--fp-m, var(--fp, 50% 50%)); }
}
@media (max-width: 767px) {
  .hc { --g: 18px; }
  .hc-stage { height: 650px; }
  .hc-content { padding-bottom: 94px; }
  .hc-title { font-size: 36px; }
  .hc-desc p { font-size: 14px; line-height: 20px; }
  .hc-bar { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-copy { transform: none; }
}

/* "Who we are" with the brand collage (its paper background matches #eeeeed) */
.sec--paper { background: #eeeeed; }
.intro-sec--logo { align-items: center; }
.intro-sec--logo .intro-body { margin-top: 36px; }
.intro-logo img {
  width: 100%; height: auto;
  /* soften the paper-texture edge into the section (display only, image untouched) */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4.5%, #000 98.6%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 99.3%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 4.5%, #000 98.6%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 99.3%, transparent 100%);
  mask-composite: intersect;
}

/* ==========================================================================
   Interior page hero
   ========================================================================== */
.phero { background: var(--onyx); color: var(--ivory); padding: calc(var(--header-h) + clamp(70px, 11vw, 150px)) 0 0; position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 20%, rgba(235,170,0,.12), transparent 70%); pointer-events: none; }
.phero .wrap { position: relative; z-index: 2; }
.phero .crumb { display: flex; gap: 12px; align-items: center; font-size: .92rem; color: rgba(247,247,245,.55); margin-bottom: 30px; }
.phero .crumb a { transition: color .3s; }
.phero .crumb a:hover { color: var(--gold); }
.phero .crumb b { width: 18px; height: 1.5px; background: var(--gold); }
.phero .h1 { color: var(--ivory); max-width: 14em; }
.phero-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-top: clamp(36px, 5vw, 70px); padding-bottom: clamp(50px, 7vw, 90px); }
.phero-foot p { color: #b4b7bd; font-size: clamp(1rem, 1.2vw, 1.12rem); max-width: 34em; }
.phero-img { position: relative; height: clamp(260px, 46vw, 600px); overflow: hidden; }
.phero-img img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; }
.phero-mark { position: absolute; right: -6vw; top: 8vh; width: min(46vw, 620px); opacity: .06; z-index: 1; pointer-events: none; }

/* in-page jump bar */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(247,247,245,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: top .7s var(--ease); }
.header-compact .subnav { top: var(--header-hc); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; height: 38px; font-size: .88rem !important; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .4s, color .4s, box-shadow .4s; }
.subnav a:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.subnav a.on { background: var(--onyx); color: var(--ivory); box-shadow: none; }

/* ==========================================================================
   Sections
   ========================================================================== */
.sec { padding: var(--sec) 0; position: relative; }
.sec--white { background: var(--paper); }
.sec--dark { background: var(--onyx); color: #a7abb2; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head .lead { justify-self: end; }

/* stats */
.stats { background: var(--char); color: var(--ivory); border-top: 1px solid var(--line-d); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(34px, 4.6vw, 56px) 20px clamp(34px, 4.6vw, 56px) clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line-d); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(2.3rem, 3.8vw, 3.4rem); line-height: 1; letter-spacing: normal; color: var(--gold); }
.stat span { display: block; margin-top: 12px; font-size: .92rem; color: #9da1a8; max-width: 15em; line-height: 1.4; }

/* intro */
.intro-sec { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro-sec .h2 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); line-height: 1.2; }
.intro-body p + p { margin-top: 1.1em; }
.intro-body .textlink { margin-top: 34px; }

/* vision / purpose / mission */
.vpm { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.vpm > div { padding: clamp(28px, 3vw, 40px); border-radius: var(--r-lg); background: var(--ivory); position: relative; overflow: hidden; transition: transform .7s var(--ease); }
.vpm > div::before { content: ""; position: absolute; left: clamp(28px, 3vw, 40px); top: 0; width: 44px; height: 3px; background: var(--gold-grad); border-radius: 0 0 3px 3px; }
.vpm > div:hover { transform: translateY(-6px); }
.vpm h3 { margin-bottom: 18px; }
.vpm p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.5; letter-spacing: normal; color: var(--onyx); }

/* ---------- modern interactive asset scroller / carousel ("What we value") ---------- */
.hs { position: relative; background: var(--onyx); color: var(--ivory); padding: clamp(68px, 8.5vh, 112px) 0; overflow: hidden; }
.hs-container, .hs-sticky { position: relative; width: 100%; display: flex; flex-direction: column; }
.hs-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vh, 44px); }
.hs-head .kicker { color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.hs-top .h2 { color: var(--ivory); margin: 0; }
.hs-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 28px); }
.hs-count { font-size: 0.95rem; color: rgba(247,247,245,.55); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: 0.02em; }
.hs-count b { color: var(--gold); font-weight: 600; }
.hs-arrows { display: flex; gap: 10px; }
.hs-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247,247,245,.22); background: rgba(255,255,255,.05); color: var(--ivory); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s var(--ease); backdrop-filter: blur(8px); }
.hs-btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.hs-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--onyx); transform: scale(1.06); box-shadow: 0 4px 16px rgba(235,170,0,0.3); }
.hs-btn--prev:hover:not(:disabled) svg { transform: translateX(-2px); }
.hs-btn--next:hover:not(:disabled) svg { transform: translateX(2px); }
.hs-btn:disabled { opacity: 0.28; cursor: not-allowed; pointer-events: none; border-color: rgba(247,247,245,.1); }

.hs-track { display: flex; gap: clamp(18px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; --hs-pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-left: var(--hs-pad); padding-right: var(--hs-pad); scroll-padding-inline: var(--hs-pad); padding-top: 10px; padding-bottom: 14px; cursor: grab; }
.hs-track::-webkit-scrollbar { display: none; }
.hs-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }

.hs-card { position: relative; flex: 0 0 clamp(300px, 32vw, 440px); height: clamp(420px, 52vh, 520px); border-radius: var(--r-lg); overflow: hidden; background: var(--char); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 2.6vw, 36px); isolation: isolate; scroll-snap-align: start; border: 1px solid rgba(247,247,245,.08); transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.hs-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s var(--ease); filter: saturate(0.9) contrast(1.05); }
.hs-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,18,20,0.15) 0%, rgba(17,18,20,0.38) 42%, rgba(17,18,20,0.88) 78%, rgba(17,18,20,0.98) 100%); transition: opacity 0.45s var(--ease); }
.hs-card:hover { transform: translateY(-8px); border-color: rgba(235,170,0,0.4); box-shadow: 0 20px 42px rgba(0,0,0,0.5), 0 0 0 1px rgba(235,170,0,0.15); }
.hs-card:hover img { transform: scale(1.08); filter: saturate(1.05) contrast(1.08); }

.hs-badge { align-self: flex-start; margin-bottom: auto; font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); background: rgba(17,18,20,0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 5px 13px; border-radius: 999px; border: 1px solid rgba(235,170,0,0.3); transition: background 0.3s, border-color 0.3s; }
.hs-card:hover .hs-badge { background: rgba(235,170,0,0.18); border-color: var(--gold); }
.hs-card h3 { font-family: var(--serif); font-weight: 600; color: var(--ivory); font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.22; letter-spacing: normal; margin-bottom: 12px; transition: color 0.3s; }
.hs-card:hover h3 { color: #fff; }
.hs-card p { color: rgba(247,247,245,.82); font-size: .95rem; line-height: 1.52; max-width: 26em; }

.hs-card--type { background: var(--gold-grad); }
.hs-card--type::before { display: none; }
.hs-card--type h3 { color: var(--onyx); }
.hs-card--type p { color: rgba(17,18,20,.76); }
.hs-card--type .glyph { position: absolute; right: -40px; top: -40px; width: 260px; opacity: .14; z-index: -1; transition: transform 1.4s var(--ease); }
.hs-card--type:hover .glyph { transform: rotate(90deg) scale(1.05); }
.hs-card--black { background: var(--char-2); }
.hs-card--black h3 { color: var(--ivory); }
.hs-card--black p { color: rgba(247,247,245,.7); }
.hs-card--black .glyph { opacity: .5; }

.hs-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(24px, 3.5vh, 40px); }
.hs-progress { flex: 1; height: 2px; background: rgba(247,247,245,.14); border-radius: 2px; overflow: hidden; position: relative; }
.hs-progress i { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0.1667); transition: transform .6s var(--ease); }
.hs-dots { display: flex; align-items: center; gap: 8px; }
.hs-dot { width: 10px; height: 10px; border-radius: 999px; border: none; background: rgba(247,247,245,.25); padding: 0; cursor: pointer; transition: all 0.35s var(--ease); }
.hs-dot:hover { background: rgba(235,170,0,0.65); transform: scale(1.2); }
.hs-dot.is-active { width: 28px; background: var(--gold); border-radius: 999px; }

/* ---------- expandable rows ---------- */
.rows { border-top: 1px solid var(--onyx); }
.row { border-bottom: 1px solid var(--line); }
.row-btn { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 34px) 0; text-align: left; }
.row-btn .h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.3; letter-spacing: normal; transition: transform .7s var(--ease), color .4s; }
.row-btn:hover .h3 { transform: translateX(14px); color: var(--gold-deep); }
.row-plus { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17,18,20,.3); position: relative; flex-shrink: 0; transition: background-color .45s, box-shadow .45s, transform .7s var(--ease); }
.row-plus::before, .row-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.6px; margin: -.8px 0 0 -8px; background: var(--onyx); border-radius: 2px; transition: transform .6s var(--ease); }
.row-plus::after { transform: rotate(90deg); }
.row-btn[aria-expanded="true"] .row-plus { background: var(--gold); box-shadow: none; transform: rotate(180deg); }
.row-btn[aria-expanded="true"] .row-plus::after { transform: rotate(0); }
.row-btn:hover .row-plus { background: var(--gold); box-shadow: none; }
.row-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.row-panel > div { overflow: hidden; }
.row-btn[aria-expanded="true"] + .row-panel { grid-template-rows: 1fr; }
.row-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; gap: 20px 64px; padding: 0 0 clamp(26px, 3vw, 40px); opacity: 0; transform: translateY(-10px); transition: opacity .5s, transform .7s var(--ease); }
.row-btn[aria-expanded="true"] + .row-panel .row-inner { opacity: 1; transform: none; transition-delay: .12s; }
.row-inner p { max-width: 46em; line-height: 1.65; }
/* centre the first line of the description on the first row of chips (line 1.65rem vs chip 34px);
   nudging the text down rather than the chips up keeps the chips inside the panel's overflow clip */
@media (min-width: 821px) { .row-inner p { margin-top: calc((34px - 1.65rem) / 2); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: .85rem; color: var(--onyx); }
.sec--white .chip { background: rgba(247,247,245,.7); }

/* ---------- consultancy stages: 2 x 5 snake path ----------
   Ten wide tiles in two columns. The line runs 01 -> 02 across, drops to 03 on the right,
   runs back to 04, drops to 05 on the left, and so on. DOM order stays 1-10 for screen readers;
   placement is visual only. */
.stages { position: relative; --sgap: clamp(28px, 3vw, 48px); }
.stages-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--sgap) * .75) var(--sgap); counter-reset: none; max-width: 1160px; margin: 0 auto; }
.stage:nth-child(1) { grid-area: 1 / 1; }  .stage:nth-child(2) { grid-area: 1 / 2; }
.stage:nth-child(3) { grid-area: 2 / 2; }  .stage:nth-child(4) { grid-area: 2 / 1; }
.stage:nth-child(5) { grid-area: 3 / 1; }  .stage:nth-child(6) { grid-area: 3 / 2; }
.stage:nth-child(7) { grid-area: 4 / 2; }  .stage:nth-child(8) { grid-area: 4 / 1; }
.stage:nth-child(9) { grid-area: 5 / 1; }  .stage:nth-child(10) { grid-area: 5 / 2; }
.stage { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 20px; align-items: start;
  padding: clamp(20px, 2vw, 28px) clamp(20px, 2.2vw, 30px); border-radius: var(--r-md); background: var(--char); box-shadow: inset 0 0 0 1px rgba(247,247,245,.08);
  transition: box-shadow .45s var(--ease), transform .6s var(--ease), background-color .45s; }
.stage:hover { box-shadow: inset 0 0 0 1px rgba(235,170,0,.55); transform: translateY(-4px); background: #272734; }
.stage-dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--onyx); box-shadow: inset 0 0 0 1px rgba(235,170,0,.55);
  color: var(--gold); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; transition: background-color .45s, color .45s, box-shadow .45s, transform .6s var(--ease); }
.stage:hover .stage-dot, .stage.is-lit .stage-dot { background: var(--gold); color: var(--onyx); box-shadow: none; }
.stage:hover .stage-dot { transform: scale(1.06); }
.stage-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin: 2px 0 6px; }
.stage .h3 { color: var(--ivory); font-size: clamp(1.05rem, 1.3vw, 1.2rem); margin-bottom: 8px; }
.stage-body > p:last-child { font-size: .92rem; line-height: 1.6; color: #a9adb6; max-width: 46ch; }
/* the winding line runs behind the tiles, so it shows in the gaps and links each dot to the next */
.stages-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.stages-path path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stages-path-base { stroke: rgba(247,247,245,.14); }
.stages-path-gold { stroke: var(--gold); transition: stroke-dashoffset 2.4s var(--ease-io); }
@media (max-width: 900px) {
  .stages { --sgap: 36px; }
  .stages-list { grid-template-columns: 1fr; }
  .stage:nth-child(n) { grid-area: auto; }
}
@media (max-width: 560px) {
  .stage { grid-template-columns: 42px minmax(0, 1fr); gap: 0 14px; }
  .stage-dot { width: 42px; height: 42px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .stages-path-gold { transition: none; } }

/* ---------- consultancy flow ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: rgba(247,247,245,.16); }
.flow li { position: relative; padding-right: 26px; }
.flow .dotnum { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--onyx); box-shadow: inset 0 0 0 1px rgba(247,247,245,.3); color: var(--ivory); font-family: var(--serif); font-weight: 600; font-size: 1rem; margin-bottom: 28px; transition: background-color .5s, color .5s, box-shadow .5s, transform .6s var(--ease); }
.flow li:hover .dotnum { background: var(--gold); color: var(--onyx); box-shadow: none; transform: scale(1.08); }
.flow h3 { color: var(--ivory); margin-bottom: 12px; }
.flow p { font-size: .93rem; color: #9da1a8; }
.flow-line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--gold-grad); }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
/* two founders: side-by-side horizontal cards that fill the row (photo | details) */
.sec-link { justify-self: end; }
.people.people--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.people--duo .person { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: end;
  padding: clamp(12px, 1.2vw, 16px); border-radius: calc(var(--r-lg) + 6px); background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 24px 48px -36px rgba(26,26,36,.35);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.people--duo .person:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -34px rgba(26,26,36,.45); }
.people--duo .person-img::after { display: none; }
.people--duo .person-info { padding: 0 clamp(4px, 1vw, 12px) clamp(10px, 1.4vw, 20px) 0; }
.people--duo .person h3 { margin-top: 0; font-size: clamp(1.15rem, 1.5vw, 1.35rem); }
.person-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .9rem; font-weight: 600; color: var(--onyx); }
.person-more::after { content: ""; width: 26px; height: 1.5px; background: var(--gold); transition: width .5s var(--ease); }
.person:hover .person-more::after { width: 44px; }
@media (max-width: 1080px) { .people--duo .person { grid-template-columns: 1fr; align-items: start; } .people--duo .person-info { padding: 4px 6px 10px; } }
@media (max-width: 560px) {
  .people.people--duo { grid-template-columns: 1fr; }
  .sec-link { justify-self: start; }
}
.person { position: relative; display: block; }
.person-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #dedfe0; }
.person-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 1.3s var(--ease), filter .8s; filter: grayscale(.35) contrast(1.02); }
.person:hover .person-img img { transform: scale(1.05); filter: grayscale(0); }
.person-img::after { content: "View profile"; position: absolute; left: 18px; bottom: 18px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--ivory); color: var(--onyx); font-size: .88rem; font-weight: 600; display: flex; align-items: center; transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.person:hover .person-img::after { transform: none; opacity: 1; }
.person h3 { margin-top: 20px; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: normal; }
.person .role { color: var(--gold-deep); font-weight: 600; font-size: .92rem; margin-top: 2px; }

.profiles { display: grid; }
.profile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: start; padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.profile:first-child { border-top: 0; padding-top: 0; }
.profile:nth-child(even) .profile-img { order: 2; }
.profile-img { position: sticky; top: calc(var(--header-h) + 24px); border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 5; background: #dedfe0; }
.profile-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.profile .role { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; font-size: .86rem !important; border-radius: 999px; background: var(--gold); color: var(--onyx); font-weight: 600; font-size: .94rem; margin: 22px 0 30px; }
.profile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 30px; }
.profile-meta .role { margin: 0; }
.profile-link { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 16px 0 12px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  color: #0a66c2; background: rgba(10,102,194,.08); box-shadow: inset 0 0 0 1px rgba(10,102,194,.28); transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease); }
.profile-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.profile-link:hover { background: #0a66c2; color: #fff; box-shadow: none; transform: translateY(-2px); }
.profile .quals { font-size: .92rem; color: var(--onyx); font-weight: 500; padding: 18px 0; border-top: 1px solid var(--onyx); border-bottom: 1px solid var(--line); margin-bottom: 28px; line-height: 1.55; }
.profile .body p { font-size: 1rem; line-height: 1.8; }
.profile .body p + p { margin-top: 1em; }
.panels-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.mini { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center; background: var(--ivory); border-radius: var(--r-lg); padding: 16px; transition: transform .7s var(--ease); }
.mini:hover { transform: translateY(-6px); }
.mini img { width: 150px; height: 170px; object-fit: cover; object-position: center 18%; border-radius: var(--r-md); }
.mini h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: normal; }
.mini .role { color: var(--gold-deep); font-weight: 500; margin-top: 4px; }

/* senior management: three across; the wider team sits just below in the same card style */
.duo--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.duo--3 .mini { grid-template-columns: 120px 1fr; gap: 20px; }
.duo--3 .mini img { width: 120px; height: 140px; }
.team-sub { font-family: var(--serif); font-weight: 600; font-size: .95rem; letter-spacing: .02em; color: var(--mute); margin: clamp(36px, 4vw, 52px) 0 18px; display: flex; align-items: center; gap: 14px; }
.team-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.duo--team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.duo--team .mini { grid-template-columns: 120px 1fr; gap: 20px; }
.duo--team .mini img { width: 120px; height: 140px; }
/* associate valuer below the founders: same language as a profile, at a smaller scale */
.valuer { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.valuer-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: #dedfe0; }
.valuer-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.valuer .kicker { margin-bottom: 10px; }
.valuer .h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: normal; }
.valuer-role { color: var(--gold-deep); font-weight: 500; margin: 6px 0 16px; }
.valuer p:last-child { max-width: 62ch; line-height: 1.75; }
.assoc:has(> :only-child) { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 1100px) { .duo--3, .duo--team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .valuer { grid-template-columns: 1fr; } .valuer-img { max-width: 260px; } }
.assoc { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.assoc-card { background: var(--char); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); color: rgba(247,247,245,.72); display: flex; flex-direction: column; gap: 22px; box-shadow: inset 0 0 0 1px var(--line-d); transition: box-shadow .5s, transform .7s var(--ease); }
.assoc-card:hover { box-shadow: inset 0 0 0 1px rgba(235,170,0,.5); transform: translateY(-6px); }
.assoc-card h3 { color: var(--ivory); font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: normal; }
.assoc-top { display: flex; align-items: center; gap: 20px; }
.assoc-top .av { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--gold); }
.assoc-top .av img { width: 100%; height: 100%; object-fit: cover; }
.assoc-top .av--logo img { object-fit: contain; padding: 12px; }

/* ---------- logos ---------- */
.marquee { position: relative; overflow: hidden; padding: 26px 0 56px; margin: -20px 0 -50px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 60s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee .logo-tile { margin-right: 16px; }
.logo-tile { flex: 0 0 auto; width: 220px; height: 120px; border-radius: var(--r-md); background: #fff; display: grid; place-items: center; padding: 18px 24px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .4s; }
.logo-tile img { max-width: 100%; max-height: 70px; object-fit: contain; transition: transform .5s var(--ease); }
.logo-tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--gold); }
/* name tile for panels without a logo file */
.logo-word { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; line-height: 1.15; letter-spacing: -.01em; color: var(--onyx); text-align: center; text-wrap: balance; }
.logo-tile--text .logo-word::after { content: ""; display: block; width: 28px; height: 2px; margin: 10px auto 0; background: var(--gold); border-radius: 2px; }

/* ---------- panels & clients (home): centred header, labelled strips, bright hover pop ---------- */
.pc-head { max-width: 860px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.pc-head .kicker { margin-bottom: 18px; }
.pc-title { font-size: clamp(1.9rem, 3.2vw, 2.85rem); line-height: 1.16; max-width: 20em; }
.pc-sub { margin-top: 18px; max-width: 34em; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.6; color: var(--mute); }
.pc-label { display: flex; align-items: center; gap: 18px; max-width: var(--wrap); margin: 0 auto 18px; padding: 0 var(--gutter);
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.pc-label::before, .pc-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pc-label--second { margin-top: clamp(30px, 4vw, 44px); }
.pc-foot { margin-top: clamp(40px, 5vw, 60px); text-align: center; }
.marquee .logo-tile { position: relative; transition: transform .55s cubic-bezier(.2, 1.4, .4, 1), box-shadow .45s var(--ease), background .45s; }
.marquee .logo-tile:hover { z-index: 2; transform: translateY(-8px) scale(1.08);
  background: radial-gradient(120% 90% at 50% 110%, rgba(235,170,0,.16), #fff 62%);
  box-shadow: inset 0 0 0 2px var(--gold), 0 22px 44px -14px rgba(235,170,0,.55), 0 8px 18px -8px rgba(26,26,36,.25); }
.marquee .logo-tile:hover img { transform: scale(1.04); }
.marquee .logo-tile[data-name]::after { content: attr(data-name); position: absolute; left: 50%; bottom: -13px; transform: translate(-50%, 8px) scale(.85);
  opacity: 0; pointer-events: none; white-space: nowrap; padding: 5px 13px; border-radius: 999px; background: var(--gold); color: var(--onyx);
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; box-shadow: 0 8px 18px -6px rgba(235,170,0,.7);
  transition: opacity .3s ease, transform .45s cubic-bezier(.2, 1.4, .4, 1); }
.marquee .logo-tile:hover::after { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (max-width: 820px) { .pc-title { font-size: clamp(1.7rem, 6vw, 2.2rem); } }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-grid .logo-tile { width: auto; height: 150px; }
.logo-grid .logo-tile img { max-height: 84px; filter: none; opacity: 1; }
.logo-grid .logo-tile { position: relative; transition: transform .55s cubic-bezier(.2, 1.4, .4, 1), box-shadow .45s var(--ease), background .45s; }
.logo-grid .logo-tile:hover { transform: translateY(-8px) scale(1.04); background: radial-gradient(120% 90% at 50% 110%, rgba(235,170,0,.16), #fff 62%);
  box-shadow: inset 0 0 0 2px var(--gold), 0 22px 44px -14px rgba(235,170,0,.55), 0 8px 18px -8px rgba(26,26,36,.25); }
.logo-grid figcaption { font-size: .88rem; color: var(--mute); margin-top: 10px; text-align: center; }

/* ---------- projects list with floating preview ---------- */
.plist { position: relative; z-index: 0; border-top: 1px solid var(--onyx); }
.plist li { border-bottom: 1px solid var(--line); }
.plist-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(18px, 2.4vw, 28px) 0; position: relative; }
.plist-item .h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.2; letter-spacing: normal; transition: transform .7s var(--ease), color .4s; }
.plist-item .tag { color: var(--mute); font-size: .85rem; white-space: nowrap; padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: color .4s, background-color .4s, box-shadow .4s; }
.plist-item::before { content: ""; position: absolute; left: -1.6vw; right: -1.6vw; top: 0; bottom: 0; background: var(--onyx); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; border-radius: var(--r-md); }
.plist-item:hover::before { transform: scaleY(1); }
.plist-item:hover .h3 { transform: translateX(18px); color: var(--ivory); }
.plist-item:hover .tag { color: var(--onyx); background: var(--gold); box-shadow: none; }
.plist-thumb { display: none; }
/* hover card: photo + category + title + short description; sits beside the pointer (JS flips/clamps it) */
.preview { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; border-radius: 22px; overflow: hidden; pointer-events: none;
  background: var(--paper); box-shadow: 0 1px 0 rgba(26,26,36,.06), 0 34px 70px -24px rgba(26,26,36,.45), 0 0 0 1px rgba(26,26,36,.06);
  opacity: 0; transform: translate(var(--pv-x, 56px), -50%) scale(.92) rotate(-2deg); transform-origin: var(--pv-origin, left center);
  transition: opacity .3s ease, transform .55s cubic-bezier(.2, 1.2, .35, 1); }
.preview.on { opacity: 1; transform: translate(var(--pv-x, 56px), -50%) scale(1) rotate(0); }
.preview.flip { --pv-x: calc(-100% - 56px); --pv-origin: right center; }
.pv-media { position: relative; height: 196px; overflow: hidden; background: var(--char); }
.pv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity .45s, transform .9s var(--ease); }
.pv-media img.on { opacity: 1; transform: none; }
.pv-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,36,.28) 0%, rgba(26,26,36,0) 40%); }
.pv-metas { position: absolute; left: 14px; top: 14px; z-index: 1; display: grid; }
.pv-meta { grid-area: 1 / 1; justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--onyx);
  font-size: .7rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .4s var(--ease); }
.pv-meta.on { opacity: 1; transform: none; }
.pv-body { padding: 18px 20px 18px; }
.pv-texts { display: grid; }
.pv-text { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .45s var(--ease); }
.pv-text.on { opacity: 1; transform: none; }
.pv-title { font-family: var(--serif); font-weight: 700; font-size: 1.06rem; line-height: 1.3; color: var(--onyx); }
.pv-desc { margin-top: 6px; font-size: .86rem; line-height: 1.5; color: var(--mute); }
.pv-more { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--onyx); }
.pv-more::after { content: ""; width: 22px; height: 1.5px; background: var(--gold); }

/* asset types list */
.typegrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--onyx); }
.typegrid li { padding: 26px 22px 26px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.35; letter-spacing: normal; color: var(--onyx); transition: padding-left .6s var(--ease), color .4s; }
.typegrid li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; transition: width .6s var(--ease); }
.typegrid li:hover { padding-left: 10px; color: var(--gold-deep); }
.typegrid li:hover::before { width: 26px; border-radius: 9px; }

/* purpose cards */
.pgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.pcard { grid-column: span 2; background: var(--ivory); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 16px; min-height: 260px; font-size: .95rem; position: relative; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(46,46,56,.06);
  transition: transform .6s var(--ease), background-color .5s, box-shadow .6s var(--ease); }
.pcard:nth-child(7):nth-last-child(2), .pcard:nth-child(8):last-child { grid-column: span 3; }
.pcard h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.25; letter-spacing: normal; transition: color .4s; }
/* hover: lift onto white, gold bar sweeps across the top, soft gold spotlight follows the pointer */
.pcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(235,170,0,.14), rgba(235,170,0,0) 70%); transition: opacity .5s; }
.pcard:hover { transform: translateY(-6px); background: #fff; box-shadow: inset 0 0 0 1px rgba(235,170,0,.38), 0 26px 50px -30px rgba(26,26,36,.38); }
.pcard:hover::before { transform: scaleX(1); }
.pcard:hover::after { opacity: 1; }
.pcard:hover h3 { color: var(--onyx); }
.pcard .chip { transition: background-color .4s, color .4s, box-shadow .4s; }
.pcard:hover .chip { background: rgba(235,170,0,.12); color: var(--gold-deep); box-shadow: inset 0 0 0 1px rgba(235,170,0,.4); }
.pcard p { margin-top: auto; }

/* ---------- contact ---------- */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--onyx); }
.office { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.office:nth-child(3n+2), .office:nth-child(3n+3) { padding-left: 28px; border-left: 1px solid var(--line); }
.office h3 { margin-bottom: 10px; font-size: 1.12rem; }
.office-tag { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; background: rgba(235,170,0,.14); color: var(--gold); }
.office address { font-style: normal; line-height: 1.7; font-size: .95rem; }
.on-dark .offices { border-color: rgba(247,247,245,.5); }
.on-dark .office, .on-dark .office:nth-child(3n+2), .on-dark .office:nth-child(3n+3) { border-color: var(--line-d); }

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); }
.reach { display: grid; gap: 6px; margin-top: 34px; }
.reach a { font-family: var(--serif); font-weight: 600; letter-spacing: normal; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.4; color: var(--onyx); width: fit-content; background: linear-gradient(var(--gold), var(--gold)) 0 90% / 0 28% no-repeat; transition: background-size .6s var(--ease); }
.reach a:hover { background-size: 100% 28%; }
/* contact: icons beside phone numbers and email */
.reach { gap: 12px; }
.reach a { display: inline-flex; align-items: center; gap: 16px; background: none; }
.reach-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(235,170,0,.14); color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px rgba(235,170,0,.35); transition: background-color .35s, color .35s, transform .5s var(--ease); }
.reach-ic svg { width: 19px; height: 19px; }
.reach-tx { background: linear-gradient(var(--gold), var(--gold)) 0 90% / 0 28% no-repeat; transition: background-size .5s var(--ease); }
.reach a:hover .reach-tx { background-size: 100% 28%; }
.reach a:hover .reach-ic { background: var(--gold); color: var(--onyx); transform: rotate(-8deg) scale(1.05); }
/* contact: head office with a dropdown for the other offices */
.hq { margin-top: 34px; max-width: 34em; padding: 22px 24px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.hq-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.hq-label { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.hq-dot { color: var(--mute); }
.hq-pin { display: inline-grid; place-items: center; width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.hq-pin svg { width: 16px; height: 16px; }
.hq-addr { margin-top: 10px; font-style: normal; font-size: .98rem; line-height: 1.65; color: var(--text); }
.hq-second { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.hq-second .hq-label { color: var(--mute); }
.hq-second .hq-pin { color: var(--mute); }
.hq-toggle { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--onyx);
  box-shadow: inset 0 0 0 1px rgba(46,46,56,.22); transition: background-color .3s, box-shadow .3s; }
.hq-toggle:hover { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(235,170,0,.08); }
.hq-toggle[aria-expanded="true"] { background: var(--gold); box-shadow: none; }
.hq-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--onyx); color: #fff; font-size: .72rem; }
.hq-chev { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.hq-toggle[aria-expanded="true"] .hq-chev { transform: rotate(180deg); }
.hq-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility 0s linear .55s; }
.hq-panel > div { overflow: hidden; }
.hq-panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--ease); }
.hq-list { margin-top: 18px; border-top: 1px solid var(--line); }
.hq-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease); }
.hq-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.hq-panel.is-open .hq-list li { opacity: 1; transform: none; }
.hq-panel.is-open .hq-list li:nth-child(2) { transition-delay: .05s; }
.hq-panel.is-open .hq-list li:nth-child(3) { transition-delay: .1s; }
.hq-panel.is-open .hq-list li:nth-child(4) { transition-delay: .15s; }
.hq-list .hq-pin { margin-top: 2px; }
.hq-city { font-weight: 700; font-size: .95rem; color: var(--onyx); }
.hq-list address { font-style: normal; font-size: .9rem; line-height: 1.6; color: var(--mute); margin-top: 2px; }

.form { background: var(--paper); border-radius: 30px; padding: clamp(26px, 4vw, 52px); display: grid; gap: 22px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--onyx); }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(17,18,20,.25); background: transparent; padding: 11px 0; font-size: 1rem; border-radius: 0; transition: border-color .4s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230e0d0b' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.form-note { font-size: .9rem; color: var(--mute); }
.form-msg { font-weight: 500; color: var(--onyx); min-height: 1.5em; }
.form-msg.err { color: #a13a12; }

/* ---------- CTA ---------- */
.cta { background: var(--onyx); color: var(--ivory); padding: clamp(100px, 14vw, 200px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 60% at 80% 70%, rgba(235,170,0,.14), transparent 70%); }
.cta .wrap { position: relative; z-index: 2; }
.cta .display { color: var(--ivory); max-width: 13em; font-size: clamp(2.3rem, 4.8vw, 4.25rem); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 48px; }
.cta-row .phones { color: rgba(247,247,245,.66); }
.cta-row .phones a { color: var(--ivory); font-weight: 500; transition: color .3s; }
.cta-row .phones a:hover { color: var(--gold); }
.cta-mark { position: absolute; right: -8vw; bottom: -14vw; width: min(62vw, 780px); z-index: 1; pointer-events: none; }
.cta-mark svg { width: 100%; height: auto; }

/* ---------- footer ---------- */
.footer { background: var(--onyx); color: #8f939a; font-size: .93rem; padding: clamp(60px, 8vw, 100px) 0 36px; border-top: 1px solid var(--line-d); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer .lockup { width: 230px; background: #fff; padding: 14px 18px; border-radius: 14px; }
.footer h4 { color: var(--ivory); font-family: var(--serif); font-weight: 600; font-size: .95rem; margin-bottom: 18px; }
.footer li + li { margin-top: 8px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: clamp(50px, 7vw, 90px); padding-top: 26px; border-top: 1px solid var(--line-d); font-size: .9rem; }
.to-top { display: inline-flex; align-items: center; gap: 10px; color: var(--ivory); }
.to-top i { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: transform .6s var(--ease); }
.to-top:hover i { transform: translateY(-4px); }

/* ---------- helpers ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.media { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.stack > * + * { margin-top: 1.1em; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr; gap: 34px; }
  .flow::before, .flow-line { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; gap: 0 24px; padding-right: 0; }
  .flow .dotnum { margin-bottom: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  :root { --header-h: 72px; --header-hc: 60px; }
  body { font-size: 16px; }
  .brand { height: 52px; }
  .header.is-solid .brand { height: 44px; }
  .brand-tag { font-size: .74rem; margin-left: 12px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .intro-sec, .split, .contact-grid, .sec-head, .phero-foot, .row-inner, .profile { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .profile:nth-child(even) .profile-img { order: 0; }
  .profile-img { position: relative; top: 0; max-width: 460px; }
  .vpm { grid-template-columns: 1fr; }
  .typegrid { grid-template-columns: 1fr 1fr; }
  .offices { grid-template-columns: 1fr; }
  .office:nth-child(3n+2), .office:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .assoc, .duo, .duo--3, .duo--team { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .pcard, .pcard:nth-child(7):nth-last-child(2), .pcard:nth-child(8):last-child { grid-column: auto; min-height: 0; }
  .plist-item { grid-template-columns: 76px minmax(0, 1fr); gap: 16px 18px; }
  .plist-item .tag { grid-column: 2; justify-self: start; margin-top: -8px; }
  .plist-thumb { display: block; width: 76px; height: 76px; border-radius: 14px; object-fit: cover; grid-row: span 2; }
  .preview, .cursor { display: none; }
  .form .two { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid .logo-tile { height: 120px; }
  .hs { padding: var(--sec) 0; }
  .hs-card { flex-basis: 82vw; height: 440px; }
  .hs-bottom { flex-direction: column; gap: 16px; }
  .hs-progress { width: 100%; }
  .hs-dots { justify-content: center; }
}
@media (max-width: 560px) {
  .people { grid-template-columns: 1fr; }
  .typegrid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .mini { grid-template-columns: 110px 1fr; gap: 18px; }
  .mini img { width: 110px; height: 130px; }
  .btn { height: 52px; padding: 0 18px 0 22px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .js [data-split] .w > span, .js [data-rise], .js [data-unmask], .js [data-unmask] img, .js [data-draw] { transform: none !important; opacity: 1 !important; clip-path: none !important; filter: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { -webkit-mask: none; mask: none; }
  .marquee [aria-hidden="true"] { display: none; }
  .intro, .cursor { display: none !important; }
}
