/* ==========================================================================
   Arthflow Advisory: site styles
   ========================================================================== */

:root {
  /* brand palette: muted taupe and mocha taken from the Arthflow logo */
  --espresso: #14100d;
  --cocoa: #1c1713;
  --cocoa-2: #26201b;
  --brown: #6b5a4e;
  --bronze: #8a7666;
  --taupe: #a3907f;
  --taupe-2: #c2b3a4;
  --taupe-3: #e4dbd1;
  --cream: #f4f1ec;
  --paper: #faf8f5;
  --bone: #ebe6df;
  --ink: #1b1714;
  --ink-2: #3a332e;
  --muted: #5c534c;
  --line: rgba(27, 23, 20, .12);
  --line-2: rgba(27, 23, 20, .2);
  --line-d: rgba(228, 219, 209, .14);
  --line-d2: rgba(228, 219, 209, .26);
  --on-dark: #ece6df;
  --on-dark-2: rgba(236, 230, 223, .8);
  --accent-light: #7b6556;

  --serif: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --label: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;  /* small caps-style labels */
  --logo: 'Bodoni Moda', Didot, 'Bodoni 72', Georgia, serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --container: 1320px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --radius: 24px;
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis { scroll-padding-top: 0; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--taupe-2); color: var(--espresso); }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; border-radius: 6px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  padding: 10px 16px; border-radius: 999px; background: var(--taupe-2); color: var(--espresso); font-weight: 600;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 13vw, 180px) 0; }
.dark { background: var(--espresso); color: var(--on-dark); }

/* subtle film grain on dark surfaces */
.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dark > * { position: relative; z-index: 1; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--label); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-light);
}
.dark .eyebrow { color: var(--taupe-2); }
.eyebrow--num span {
  display: inline-grid; place-items: center; min-width: 36px; height: 26px; padding: 0 9px;
  border: 1px solid currentColor; border-radius: 999px; font-size: .78rem; letter-spacing: .06em; opacity: .9;
}
.mono { font-family: var(--label); font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }

.h2 {
  font-family: var(--serif); font-weight: 510; font-variation-settings: 'opsz' 60;
  font-size: clamp(2.3rem, 4.8vw, 4.6rem); line-height: 1.08; letter-spacing: -.016em;
  margin-top: 22px; text-wrap: balance;
}
.h3 {
  font-family: var(--serif); font-weight: 550; font-variation-settings: 'opsz' 48;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.008em; text-wrap: balance;
}
.h2 em, .h3 em, .hero__title em, .manifesto em, .contact__rotator, .footer__cta em {
  font-style: normal; font-weight: inherit; color: var(--accent-light);
}
.dark .h2 em, .dark .h3 em, .hero__title em, .footer__cta em { color: var(--taupe-2); }

.section-head {
  display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(32px, 6vw, 110px); align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.section-head__aside { color: var(--muted); font-size: 1.1rem; max-width: 34em; }
.dark .section-head__aside { color: var(--on-dark-2); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), gap .4s var(--ease);
}
.link-arrow:hover { gap: 16px; background-size: 30% 1px; }
.link-arrow--sm { font-size: .88rem; margin-top: 10px; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: .97rem; letter-spacing: -.005em; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--hover-bg, var(--espresso));
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .ico { transition: transform .45s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { --bg: linear-gradient(135deg, var(--taupe-3), var(--taupe-2) 55%, var(--taupe)); --fg: var(--espresso); --bd: transparent; --hover-bg: #f7f3ee; box-shadow: 0 12px 34px -18px rgba(0, 0, 0, .55); }
.btn--primary:hover { box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); }
.btn--line-light { --fg: var(--on-dark); --bd: var(--line-d2); --hover-bg: var(--on-dark); }
.btn--line-light:hover { color: var(--espresso); border-color: var(--on-dark); }
.btn--dark { --bg: var(--espresso); --fg: var(--cream); --bd: var(--espresso); --hover-bg: var(--brown); }
.btn--wa { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); --hover-bg: #1f7a4d; }
.btn--wa:hover { color: #fff; border-color: #1f7a4d; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .88rem; }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 1.05rem; }

.pulse-dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--taupe-2); flex: none;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-d2);
  font-size: .8rem; color: var(--on-dark-2);
}
.chips--light span { border-color: var(--line-2); color: var(--ink-2); background: rgba(255, 255, 255, .45); }

/* spotlight hover (cursor-following glow) */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(194, 179, 164, .16)), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.spot:hover::after { opacity: 1; }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader { display: none; }
.is-anim:not(.no-preload) .preloader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 900;
  background: var(--espresso); color: var(--on-dark);
}
.preloader__inner { display: grid; justify-items: center; gap: 22px; width: min(420px, 80vw); }
.preloader__mark { width: 54px; height: 98px; }
.preloader__word {
  display: flex; overflow: hidden; font-family: var(--logo); font-weight: 700; font-variation-settings: 'opsz' 9;
  font-size: clamp(2.4rem, 7vw, 3.6rem); letter-spacing: .04em; line-height: 1; color: var(--taupe-3);
}
.preloader__word span { display: inline-block; }
.preloader__meta { display: flex; justify-content: space-between; width: 100%; font-family: var(--label); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.preloader__count { color: var(--taupe-2); font-variant-numeric: tabular-nums; }
.preloader__line { width: 100%; height: 1px; background: var(--line-d); overflow: hidden; }
.preloader__line i { display: block; height: 100%; background: linear-gradient(90deg, var(--bronze), var(--taupe-2)); transform: scaleX(0); transform-origin: left; }
.preloader__curtain { position: absolute; inset: 0; background: var(--taupe-2); transform: translateY(100%); }

/* ==========================================================================
   Scroll progress
   ========================================================================== */

.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--bronze), var(--taupe-2), var(--taupe-3)); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 110;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 0;
  transition: transform .7s var(--ease);
}
.header.is-hidden { transform: translateY(-120%); }
.header__bar {
  max-width: calc(var(--container) + 40px); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 64px; padding: 0 10px 0 20px; border-radius: 999px;
  border: 1px solid transparent; color: var(--on-dark);
  transition: background-color .6s var(--ease), border-color .6s var(--ease), backdrop-filter .6s, box-shadow .6s;
}
.header.is-scrolled .header__bar {
  background: rgba(20, 16, 13, .72); border-color: var(--line-d);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); }
.brand__mark { width: 22px; height: 40px; flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__text b { font-family: var(--logo); font-weight: 700; font-variation-settings: 'opsz' 9; font-size: 1.32rem; letter-spacing: .01em; color: var(--taupe-3); }
.brand__text i { font-style: normal; font-family: var(--sans); font-weight: 600; font-size: .62rem; letter-spacing: .45em; margin-top: 5px; color: var(--taupe-2); }
.brand--lg .brand__mark { width: 32px; height: 58px; }
.brand--lg .brand__text b { font-size: 1.9rem; }
.brand--lg .brand__text i { font-size: .72rem; letter-spacing: .66em; margin-top: 7px; }

.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 8px 14px; border-radius: 999px;
  font-size: .9rem; color: var(--on-dark-2); transition: color .35s, background-color .35s;
}
.nav a:hover { color: var(--on-dark); }
.nav a.is-active { color: var(--espresso); background: var(--taupe-2); }
.header__actions { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d2); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--on-dark); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 105; background: var(--espresso); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 46px) 46px); visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu__nav { display: grid; gap: 6px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 7.6vw, 3rem); line-height: 1.15; letter-spacing: -.012em;
  opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.menu__nav a span { font-family: var(--label); font-size: .8rem; letter-spacing: .06em; color: var(--taupe-2); }
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu-open .menu__nav a:nth-child(6) { transition-delay: .5s; }
.menu__foot { display: grid; gap: 6px; color: var(--on-dark-2); font-size: .95rem; border-top: 1px solid var(--line-d); padding-top: 24px; }
.menu__foot p { margin-top: 6px; font-size: .85rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 60px) 0 0;
  background:
    radial-gradient(70% 60% at 72% 46%, rgba(138, 118, 102, .22), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(107, 90, 78, .25), transparent 70%),
    var(--espresso);
}
.hero__globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; cursor: grab; }
.hero__globe.is-dragging { cursor: grabbing; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 16, 13, .82) 0%, rgba(20, 16, 13, .45) 38%, transparent 62%),
              linear-gradient(0deg, rgba(20, 16, 13, .9) 0%, transparent 28%);
}
.hero__inner { position: relative; z-index: 2; pointer-events: none; padding-bottom: clamp(36px, 5vw, 64px); }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__eyebrow { color: var(--taupe-2); }
.hero__title {
  margin: 26px 0 0; font-family: var(--serif); font-weight: 480; font-variation-settings: 'opsz' 60;
  font-size: clamp(2.6rem, 5.6vw, 5.8rem); line-height: 1.04; letter-spacing: -.02em; color: var(--on-dark);
}
.hero__line { display: block; }
.hero__title em { font-weight: inherit; }
.hero__row { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; margin-top: clamp(28px, 4vw, 44px); max-width: 620px; }
.hero__lead { max-width: 33em; font-size: clamp(1.02rem, 1.25vw, 1.16rem); color: var(--on-dark-2); }
.hero__lead strong { color: var(--on-dark); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

.hero__foot {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line-d);
  font-family: var(--label); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2);
}
.hero__tags { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hero__tags li { display: flex; align-items: center; gap: 10px; }
.hero__tags li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--taupe); }
.hero__scroll { display: grid; justify-items: center; gap: 8px; }
.hero__scroll i { width: 1px; height: 38px; background: var(--line-d2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--taupe-2); animation: scrollcue 2s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
.hero__coords { justify-self: end; }


/* ==========================================================================
   About / manifesto
   ========================================================================== */
.about { background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.about__grid .eyebrow { margin-top: 18px; }
.manifesto {
  font-family: var(--serif); font-weight: 500; font-variation-settings: 'opsz' 60;
  font-size: clamp(1.7rem, 3.4vw, 3.1rem); line-height: 1.3; letter-spacing: -.012em; color: var(--ink);
  text-wrap: pretty;
}
.manifesto .mw { transition: none; }
.about__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); margin-top: clamp(72px, 9vw, 130px); align-items: start; }
.about__lead { font-size: clamp(1.9rem, 3.4vw, 3rem); max-width: 14em; }
.about__copy p { color: var(--muted); font-size: 1.06rem; margin-bottom: 26px; max-width: 36em; }
.about__copy { padding-top: .4em; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line-2); }
.stats li { padding: 32px 26px 0 0; border-right: 1px solid var(--line); }
.stats li + li { padding-left: 26px; }
.stats li:last-child { border-right: 0; }
.stats b {
  display: block; font-family: var(--serif); font-weight: 480; font-variation-settings: 'opsz' 60;
  font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.025em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stats p { margin-top: 14px; color: var(--muted); font-size: .95rem; max-width: 18em; }

/* ==========================================================================
   Bridge (two practices)
   ========================================================================== */
.bridge { background: var(--paper); border-top: 1px solid var(--line); overflow: hidden; }
.bridge__diagram { position: relative; display: grid; grid-template-columns: minmax(250px, 340px) 1fr minmax(250px, 340px); align-items: center; gap: 40px; }
.bridge__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.bridge__lines path { fill: none; stroke-linecap: round; }
.bridge__lines .b-base { stroke: rgba(138, 118, 102, .3); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease), stroke .4s; }
.bridge__lines .b-flow { stroke: var(--taupe); stroke-width: 2; stroke-dasharray: 2 14; opacity: 0; animation: flow 1.4s linear infinite; transition: opacity .8s .8s, stroke .4s; }
.bridge.is-in .b-base { stroke-dashoffset: 0; }
.bridge.is-in .b-flow { opacity: .85; }
.bridge__lines .is-hot { stroke: var(--bronze); }
.bridge__lines .b-flow.is-hot { stroke: var(--brown); stroke-width: 2.6; }
@keyframes flow { to { stroke-dashoffset: -32; } }

.bridge__col { position: relative; z-index: 1; }
.bridge__label { font-family: var(--label); font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 16px; }
.bridge__col--fin .bridge__label { text-align: right; }
.bridge__col ul { display: grid; gap: 10px; }
.bridge__col li {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .98rem;
  box-shadow: 0 10px 30px -22px rgba(27, 23, 20, .35);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease), background-color .4s;
}
.bridge__col li .ico { width: 26px; height: 26px; color: var(--bronze); stroke-width: 1.5; }
.bridge__col--fin li { flex-direction: row-reverse; text-align: right; }
.bridge__col li:hover, .bridge__col li.is-hot { border-color: rgba(138, 118, 102, .55); box-shadow: 0 18px 40px -22px rgba(107, 90, 78, .55); background: #fdfcfa; }
.bridge__col--ops li:hover, .bridge__col--ops li.is-hot { transform: translateX(8px); }
.bridge__col--fin li:hover, .bridge__col--fin li.is-hot { transform: translateX(-8px); }

.bridge__core { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.bridge__orb {
  position: relative; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #332a24, var(--espresso) 70%);
  box-shadow: 0 0 0 1px rgba(194, 179, 164, .35), 0 30px 80px -20px rgba(107, 90, 78, .7), inset 0 0 40px rgba(194, 179, 164, .15);
}
.bridge__mark { width: 30%; height: 54%; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .4)); }
.bridge__ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(138, 118, 102, .45); animation: spin 26s linear infinite; }
.bridge__ring--2 { inset: -30px; border-style: solid; border-color: rgba(138, 118, 102, .16); animation-duration: 40s; animation-direction: reverse; }
.bridge__ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--taupe); box-shadow: 0 0 14px var(--taupe); }
@keyframes spin { to { transform: rotate(360deg); } }
.bridge__core-title { margin-top: 44px; font-family: var(--logo); font-weight: 700; font-variation-settings: 'opsz' 9; font-size: 1.4rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); }
.bridge__core-sub { font-family: var(--label); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.outcomes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(56px, 6vw, 80px); }
.outcomes li {
  display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  background: var(--espresso); color: var(--on-dark); font-weight: 500;
}
.outcomes span { color: var(--taupe-2); }

/* ==========================================================================
   Supply chain services: horizontal
   ========================================================================== */
.sc { position: relative; overflow: hidden; background: radial-gradient(80% 60% at 80% 20%, rgba(138, 118, 102, .18), transparent 70%), var(--espresso); }
.sc__pin { position: relative; padding: clamp(96px, 12vw, 150px) 0 clamp(56px, 7vw, 80px); }
.sc__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sc__viewport::-webkit-scrollbar { display: none; }
.sc__track { display: flex; align-items: stretch; gap: 22px; width: max-content; padding: 0 var(--gutter); }
.sc__intro { width: min(560px, 84vw); flex: none; padding-right: clamp(20px, 4vw, 70px); display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; }
.sc__intro .h2 { font-size: clamp(2.3rem, 4.2vw, 4.1rem); }
.sc__tagline { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--taupe-2); }
.sc__text { margin-top: 14px; color: var(--on-dark-2); max-width: 30em; }
.sc__hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; font-family: var(--label); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe-2); }
.sc__hint .ico { animation: nudge 1.8s var(--ease-io) infinite; }
.sc__hint-desk { display: none; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.sc-card {
  --spot: rgba(194, 179, 164, .14);
  flex: none; width: clamp(290px, 27vw, 400px); min-height: 500px; scroll-snap-align: start;
  display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 250, 244, .07), rgba(255, 250, 244, .02));
  border: 1px solid var(--line-d);
  transition: border-color .5s var(--ease), transform .6s var(--ease), background-color .5s;
}
.sc-card:hover { border-color: rgba(194, 179, 164, .45); transform: translateY(-6px); }
.sc-card__top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: clamp(36px, 6vh, 64px); }
.sc-card__num { font-family: var(--serif); font-weight: 480; font-size: 2.6rem; line-height: .9; color: rgba(194, 179, 164, .62); font-variant-numeric: lining-nums; }
.sc-card__icon { width: 54px; height: 54px; fill: none; stroke: var(--taupe-2); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.sc-card h3 { font-family: var(--serif); font-weight: 540; font-variation-settings: 'opsz' 48; font-size: 1.75rem; line-height: 1.08; letter-spacing: -.008em; color: var(--on-dark); }
.sc-card > p { margin: 14px 0 20px; color: var(--on-dark-2); font-size: 1rem; line-height: 1.6; }
.sc-card ul { display: grid; gap: 0; margin-top: auto; border-top: 1px solid var(--line-d); }
.sc-card li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-d); font-size: .94rem; color: var(--on-dark); }
.sc-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--taupe-2); flex: none; }
.sc__end { flex: none; width: min(420px, 80vw); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding: 0 clamp(10px, 4vw, 60px); scroll-snap-align: start; }
.sc__end .h3 { color: var(--on-dark); }

.sc__progress { display: flex; align-items: center; gap: 20px; margin-top: 44px; font-family: var(--label); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.sc__count b { color: var(--taupe-2); font-weight: 500; }
.sc__bar { flex: 1; height: 1px; background: var(--line-d2); overflow: hidden; }
.sc__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--bronze), var(--taupe-2)); transform: scaleX(0); transform-origin: left; }

/* pinned desktop mode (enabled by JS) */
.sc.is-h .sc__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: var(--header-h) 0 0; }
.sc.is-h .sc__viewport { overflow: visible; scroll-snap-type: none; }
.sc.is-h .sc__track { will-change: transform; }
.sc.is-h .sc-card { width: clamp(330px, 29vw, 400px); min-height: min(540px, calc(100vh - 230px)); }
@media (max-height: 860px) {
  .sc.is-h .sc-card { padding: 24px 26px; }
  .sc.is-h .sc-card__top { padding-bottom: 22px; }
  .sc.is-h .sc-card__num { font-size: 2.2rem; }
  .sc.is-h .sc-card__icon { width: 46px; height: 46px; }
  .sc.is-h .sc-card h3 { font-size: 1.55rem; }
  .sc.is-h .sc-card > p { margin: 10px 0 14px; font-size: .95rem; line-height: 1.55; }
  .sc.is-h .sc-card li { padding: 8px 0; font-size: .9rem; }
  .sc.is-h .sc__intro .h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
}
.sc.is-h .sc__progress { margin-top: clamp(20px, 4vh, 44px); }
.sc.is-h .sc__hint-desk { display: inline; }
.sc.is-h .sc__hint-touch { display: none; }

/* ==========================================================================
   Audit / Tax / Accounting
   ========================================================================== */
.advisory { background: var(--bone); }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card {
  --spot: rgba(163, 144, 127, .16);
  display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s;
}
.adv-card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(27, 23, 20, .45); border-color: rgba(138, 118, 102, .35); }
.adv-card--feature { background: var(--espresso); color: var(--on-dark); border-color: var(--espresso); --spot: rgba(194, 179, 164, .18); }
.adv-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; color: var(--muted); }
.adv-card--feature .adv-card__head { color: var(--on-dark-2); }
.adv-card__icon { width: 50px; height: 50px; fill: none; stroke: var(--bronze); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--ease); }
.adv-card--feature .adv-card__icon { stroke: var(--taupe-2); }
.adv-card:hover .adv-card__icon { transform: rotate(-8deg) scale(1.08); }
.adv-card h3 { font-family: var(--serif); font-weight: 540; font-variation-settings: 'opsz' 48; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.01em; }
.adv-card > p { margin: 14px 0 26px; color: var(--muted); }
.adv-card--feature > p { color: var(--on-dark-2); }
.adv-card ul { flex: 1; margin-bottom: 30px; border-top: 1px solid var(--line); }
.adv-card--feature ul { border-color: var(--line-d); }
.adv-card li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; transition: padding .4s var(--ease), color .3s; }
.adv-card--feature li { border-color: var(--line-d); }
.adv-card li .ico { color: var(--bronze); width: 18px; height: 18px; }
.adv-card--feature li .ico { color: var(--taupe-2); }
.adv-card li:hover { padding-left: 8px; }
.adv-card .link-arrow { align-self: flex-start; }

/* ==========================================================================
   Approach
   ========================================================================== */
.approach { background: radial-gradient(60% 50% at 0% 100%, rgba(138, 118, 102, .2), transparent 70%), var(--espresso); }
.approach__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.approach__side { position: sticky; top: 130px; }
.approach__intro { margin-top: 24px; color: var(--on-dark-2); font-size: 1.06rem; max-width: 26em; }
.approach__big { display: flex; align-items: baseline; gap: 12px; margin-top: clamp(40px, 6vw, 80px); font-family: var(--serif); }
.approach__big-num { display: inline-block; font-weight: 380; font-variation-settings: 'opsz' 60; font-size: clamp(6rem, 13vw, 11rem); line-height: .8; letter-spacing: -.06em; color: var(--taupe-2); font-variant-numeric: tabular-nums; }
.approach__big-of { font-family: var(--label); font-size: .84rem; letter-spacing: .08em; color: var(--on-dark-2); }

.steps { position: relative; display: grid; gap: 0; padding-left: 40px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line-d2); }
.steps::after { background: linear-gradient(180deg, var(--taupe-2), var(--bronze)); transform-origin: top; transform: scaleY(var(--prog, 0)); }
.step { position: relative; padding: 10px 0 clamp(56px, 7vw, 96px); opacity: .72; transition: opacity .6s var(--ease); }
.step:last-child { padding-bottom: 10px; }
.step.is-active, .no-steps .step { opacity: 1; }
.step::before { content: ""; position: absolute; left: -45px; top: 16px; width: 11px; height: 11px; border-radius: 50%; background: var(--espresso); border: 1px solid var(--taupe-2); z-index: 1; transition: background .5s, box-shadow .5s; }
.step.is-active::before { background: var(--taupe-2); box-shadow: 0 0 0 6px rgba(194, 179, 164, .15), 0 0 20px rgba(194, 179, 164, .6); }
.step__num { font-family: var(--label); font-size: .8rem; letter-spacing: .08em; color: var(--taupe-2); }
.step h3 { font-family: var(--serif); font-weight: 510; font-variation-settings: 'opsz' 60; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.1; letter-spacing: -.012em; margin: 8px 0 14px; }
.step p { color: var(--on-dark-2); font-size: 1.04rem; max-width: 30em; margin-bottom: 20px; }

/* ==========================================================================
   Industries
   ========================================================================== */
.industries { background: var(--cream); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.ind {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(26px, 2.6vw, 36px); min-height: 250px; display: flex; flex-direction: column;
  border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  transition: color .5s var(--ease);
}
.ind::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--espresso);
  clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease);
}
.ind:hover { color: var(--on-dark); }
.ind:hover::before { clip-path: inset(0 0 0 0); }
.ind__icon { width: 44px; height: 44px; fill: none; stroke: var(--bronze); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; transition: stroke .5s, transform .7s var(--ease); }
.ind:hover .ind__icon { stroke: var(--taupe-2); transform: translateY(-4px) rotate(-6deg); }
.ind h3 { margin-top: 40px; font-family: var(--serif); font-weight: 550; font-size: 1.32rem; line-height: 1.15; letter-spacing: -.005em; }
.ind p { margin-top: 8px; font-size: .98rem; color: var(--muted); transition: color .5s; }
.ind:hover p { color: var(--on-dark-2); }

/* ==========================================================================
   Leadership
   ========================================================================== */
.leader { background: var(--paper); border-top: 1px solid var(--line); }
.leader__item { max-width: 880px; }
.leader__item + .leader__item { margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.leader__name { font-family: var(--serif); font-weight: 510; font-variation-settings: 'opsz' 60; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1.04; letter-spacing: -.018em; }
.leader__name em { font-style: normal; color: var(--accent-light); }
.leader__role { margin-top: 14px; font-weight: 600; color: var(--accent-light); }
.leader__bio { margin-top: 22px; color: var(--muted); font-size: 1.06rem; max-width: 36em; }
.leader__quote { margin: 30px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--taupe); }
.leader__quote p { font-family: var(--serif); font-style: italic; font-weight: 490; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.leader__xp { margin-bottom: 22px; }
.leader__bio + .chips, .leader__bio + .leader__xp { margin-top: 26px; }
.leader__xp .mono { color: var(--muted); margin-bottom: 12px; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logos li { padding: 12px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 650; font-size: 1.02rem; letter-spacing: -.01em; color: var(--ink); box-shadow: 0 10px 24px -18px rgba(27, 23, 20, .4); }

/* ==========================================================================
   Why
   ========================================================================== */
.why { background: linear-gradient(160deg, #2f2722 0%, #1f1a16 45%, var(--espresso) 100%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-item {
  --spot: rgba(194, 179, 164, .16);
  padding: 32px; border-radius: 22px; border: 1px solid var(--line-d); background: rgba(255, 250, 244, .03);
  transition: border-color .5s, transform .6s var(--ease);
}
.why-item:hover { border-color: rgba(194, 179, 164, .4); transform: translateY(-6px); }
.why-item__n { display: block; font-family: var(--serif); font-weight: 480; font-size: 2.2rem; line-height: 1; color: rgba(194, 179, 164, .7); margin-bottom: 40px; }
.why-item h3 { font-family: var(--serif); font-weight: 550; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.005em; }
.why-item p { margin-top: 10px; color: var(--on-dark-2); font-size: 1rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--cream); }
.contact__head { margin-bottom: clamp(56px, 7vw, 90px); }
.contact__title, .contact__rotator {
  font-family: var(--serif); font-weight: 500; font-variation-settings: 'opsz' 60;
  font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1.06; letter-spacing: -.02em;
}
.contact__title { margin-top: 22px; }
.contact__rotator { display: block; }
.rot { position: relative; display: inline-grid; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.rot__word { grid-area: 1 / 1; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.rot__word.is-on { transform: none; opacity: 1; }
.rot__word.is-out { transform: translateY(-105%); opacity: 0; }
.contact__tag { margin-top: 20px; font-family: var(--label); font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
.info-card {
  display: flex; gap: 18px; padding: 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease);
}
.info-card:hover { border-color: rgba(138, 118, 102, .4); transform: translateX(6px); }
.info-card > .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--espresso); color: var(--taupe-2); stroke-width: 1.6; }
.info-card .mono { color: var(--accent-light); margin-bottom: 6px; }
.info-card p { color: var(--ink-2); }
.info-card a:not(.link-arrow) { transition: color .3s; }
.info-card a:not(.link-arrow):hover { color: var(--accent-light); }
.copy-row { display: flex; align-items: center; gap: 6px; }
.copy-row a { min-width: 0; overflow-wrap: anywhere; }
.copy { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: var(--muted); transition: background .3s, color .3s; }
.copy:hover { background: var(--bone); color: var(--ink); }
.copy .ico { width: 15px; height: 15px; }
.map { position: relative; height: 240px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bone); }
.map__fallback {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px;
  background:
    linear-gradient(rgba(138, 118, 102, .08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(138, 118, 102, .08) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--bone);
  color: var(--ink-2); font-size: .92rem;
}
.map__fallback > .ico { width: 34px; height: 34px; color: var(--bronze); }
.map iframe { position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.35) contrast(1.02) brightness(.98); transition: filter .6s; }
.map:hover iframe { filter: none; }

.form {
  padding: clamp(26px, 3.4vw, 44px); border-radius: 28px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 50px 100px -60px rgba(27, 23, 20, .45);
}
.form__head h3 { font-family: var(--serif); font-weight: 550; font-size: clamp(1.7rem, 2.4vw, 2.2rem); letter-spacing: -.008em; line-height: 1.1; }
.form__head p { margin-top: 8px; color: var(--muted); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper);
  font-size: 1rem; outline: none; resize: vertical; transition: border-color .3s, box-shadow .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; }
.field--select select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236f6259' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--bronze); background: #fff; box-shadow: 0 0 0 4px rgba(163, 144, 127, .14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-10px) scale(.76); color: var(--accent-light); }
.field__err { display: none; margin: 6px 4px 0; font-size: .875rem; color: #b04a35; }
.field.is-err input, .field.is-err textarea { border-color: #c96a55; }
.field.is-err .field__err { display: block; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form__note { margin-top: 16px; font-size: .875rem; line-height: 1.6; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { overflow: hidden; padding-top: clamp(90px, 11vw, 150px); background: radial-gradient(70% 50% at 50% 100%, rgba(138, 118, 102, .28), transparent 70%), var(--espresso); }
.footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: clamp(64px, 8vw, 110px); border-bottom: 1px solid var(--line-d); }
.footer__cta .h2 { max-width: 12em; margin: 0; }
.footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr 1.3fr; gap: 36px; padding: 64px 0; }
.footer__brand p { margin-top: 20px; color: var(--on-dark-2); max-width: 22em; font-size: .95rem; }
.footer__h { font-family: var(--label); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--taupe-2); margin-bottom: 18px; }
.footer__cols ul { display: grid; gap: 10px; }
.footer__cols li { color: var(--on-dark-2); font-size: .95rem; }
.footer__cols a { position: relative; transition: color .3s; }
.footer__cols a:hover { color: var(--on-dark); }
.footer__contact { word-break: break-word; }
.footer__word {
  display: flex; justify-content: center; gap: .04em; overflow: hidden;
  font-family: var(--logo); font-weight: 700; font-variation-settings: 'opsz' 9;
  font-size: clamp(2.6rem, 8vw, 7.2rem); line-height: .82; letter-spacing: .02em; padding-top: .06em;
  user-select: none;
}
.footer__word span {
  display: inline-block; padding-bottom: .04em;
  background: linear-gradient(180deg, var(--taupe-3) 10%, var(--bronze) 70%, rgba(138, 118, 102, .25)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 28px 0 32px; border-top: 1px solid var(--line-d); color: var(--on-dark-2); font-size: .85rem; }
.footer__tag { font-family: var(--serif); font-style: italic; color: var(--taupe-2); font-size: 1rem; }
.to-top { display: inline-flex; align-items: center; gap: 10px; }
.to-top .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--line-d2); transition: background .4s, color .4s, transform .5s var(--ease); }
.to-top:hover .ico { background: var(--taupe-2); color: var(--espresso); transform: translateY(-4px); }

/* ==========================================================================
   Floating WhatsApp + toast
   ========================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 100;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #1f7a4d; color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 18px 40px -14px rgba(31, 122, 77, .7);
  transform: translateY(140%); transition: transform .7s var(--ease), box-shadow .4s;
}
.wa-float.is-on { transform: none; }
.wa-float:hover { box-shadow: 0 22px 50px -12px rgba(31, 122, 77, .9); }
.wa-float .ico { width: 24px; height: 24px; }

.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 1002; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  padding: 14px 22px; border-radius: 999px; background: var(--espresso); color: var(--on-dark); font-size: .92rem;
  border: 1px solid var(--line-d2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  transition: transform .6s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); text-align: center;
}
.toast { transition: transform .6s var(--ease), visibility 0s .6s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease), visibility 0s; }

/* ==========================================================================
   Services dropdown (header)
   ========================================================================== */
.nav__item--drop { position: relative; }
.nav__drop-btn {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px 8px 14px; border-radius: 999px;
  font-size: .9rem; color: var(--on-dark-2); transition: color .35s, background-color .35s;
}
.nav__drop-btn .ico { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.nav__drop-btn:hover, .nav__item--drop.is-open .nav__drop-btn { color: var(--on-dark); }
.nav__drop-btn.is-active { color: var(--espresso); background: var(--taupe-2); }
.nav__item--drop:hover .nav__drop-btn .ico, .nav__item--drop.is-open .nav__drop-btn .ico { transform: rotate(180deg); }
.nav__sub {
  position: absolute; left: 50%; top: calc(100% + 12px); z-index: 2; display: grid; gap: 2px;
  width: 320px; padding: 8px; border-radius: 20px;
  background: rgba(20, 16, 13, .95); border: 1px solid var(--line-d);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .75);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .3s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* keeps hover alive across the gap */
.nav__item--drop:hover .nav__sub, .nav__item--drop.is-open .nav__sub {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s;
}
.header.is-hidden .nav__sub { opacity: 0; visibility: hidden; }
.nav .nav__sub a { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; color: var(--on-dark); }
.nav .nav__sub a b { font-weight: 600; font-size: .95rem; }
.nav .nav__sub a small { font-size: .8rem; line-height: 1.4; color: var(--on-dark-2); }
.nav .nav__sub a:hover, .nav .nav__sub a.is-active { background: rgba(228, 219, 209, .08); color: var(--on-dark); }

/* ==========================================================================
   Inner-page hero + breadcrumbs
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--label); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--on-dark); }
.crumbs span { opacity: .5; }
.crumbs + .eyebrow { margin-top: 18px; }

.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(84px, 11vw, 150px)) 0 clamp(72px, 8vw, 116px);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(138, 118, 102, .2), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(107, 90, 78, .22), transparent 70%),
    var(--espresso);
}
.page-hero__mark {
  position: absolute; z-index: 0; right: max(var(--gutter), calc((100vw - var(--container)) / 2)); top: 50%;
  width: clamp(110px, 14vw, 210px); aspect-ratio: 412 / 752; height: auto; transform: translateY(-38%); opacity: .12;
}
.page-hero__title {
  margin-top: 22px; max-width: 15em; font-family: var(--serif); font-weight: 500; font-variation-settings: 'opsz' 60;
  font-size: clamp(2.5rem, 5.4vw, 5.4rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance;
}
.page-hero__title em { font-style: normal; color: var(--taupe-2); }
.page-hero__lead { margin-top: 26px; max-width: 38em; font-size: clamp(1.02rem, 1.25vw, 1.16rem); color: var(--on-dark-2); }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* FP&A page: the horizontal services block opens the page */
.sc--hero .sc__pin { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px)); }
.sc--hero .sc__intro .crumbs { margin-bottom: 4px; }

/* ==========================================================================
   Home: the two practices as doorways
   ========================================================================== */
.svc-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.svc-link {
  --spot: rgba(163, 144, 127, .16);
  display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s;
}
.svc-link:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(27, 23, 20, .45); border-color: rgba(138, 118, 102, .35); }
.svc-link--dark { background: var(--espresso); color: var(--on-dark); border-color: var(--espresso); --spot: rgba(194, 179, 164, .16); }
.svc-link .mono { color: var(--accent-light); }
.svc-link--dark .mono { color: var(--taupe-2); }
.svc-link h3 { font-family: var(--serif); font-weight: 540; font-variation-settings: 'opsz' 48; font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.05; letter-spacing: -.01em; }
.svc-link p { color: var(--muted); max-width: 32em; }
.svc-link--dark p { color: var(--on-dark-2); }
.svc-link .link-arrow { margin-top: auto; align-self: flex-start; }

/* not found */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.notfound__code { font-family: var(--logo); font-weight: 700; font-size: clamp(5rem, 16vw, 11rem); line-height: .9; color: var(--taupe-2); opacity: .5; }

@media (max-width: 1023px) {
  .svc-links { grid-template-columns: 1fr; }
  .page-hero__mark { opacity: .07; }
}
@media (max-width: 720px) {
  .page-hero__ctas .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Animation initial states (only when JS + motion are on)
   ========================================================================== */
.is-anim [data-split] { visibility: hidden; }
.is-anim [data-split].is-split { visibility: visible; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .2em .14em; margin: 0 -.2em -.14em; }
.w-i { display: inline-block; will-change: transform; }
.is-anim [data-reveal]:not(.is-revealed), .is-anim [data-stagger] > :not(.is-revealed) { opacity: 0; }
.sc.is-h .sc-card { translate: calc(var(--tilt, 0) * 140px) 0; opacity: calc(1 - var(--tilt, 0) * .55); }
.is-anim [data-hero-fade], .is-anim .hero__foot, .is-anim .header__bar { opacity: 0; }
.is-anim .hero__globe { opacity: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 20px; }
  .about__grid .eyebrow { margin-top: 0; }
  .about__split { grid-template-columns: 1fr; }
  .bridge__diagram { grid-template-columns: 1fr; gap: 28px; }
  .bridge__lines { display: none; }
  .bridge__core { order: -1; }
  .bridge__core-title { margin-top: 40px; }
  .bridge__col ul { grid-template-columns: 1fr 1fr; }
  .bridge__col--fin .bridge__label { text-align: left; }
  .bridge__col--fin li { flex-direction: row; text-align: left; }
  .adv-grid { grid-template-columns: 1fr; }
  .approach__grid { grid-template-columns: 1fr; }
  .approach__side { position: relative; top: 0; }
  .approach__big { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 28px; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .header { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
  .header__bar { height: 58px; padding: 0 6px 0 16px; }
  .header__actions .btn { display: none; }
  .brand__text b { font-size: 1.15rem; }
  .brand__mark { width: 19px; height: 35px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__veil { background: linear-gradient(0deg, rgba(20, 16, 13, .96) 0%, rgba(20, 16, 13, .75) 45%, rgba(20, 16, 13, .25) 75%, rgba(20, 16, 13, .1) 100%); }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .hero__eyebrow { background: rgba(20, 16, 13, .78); padding: 7px 14px 7px 12px; border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__foot { grid-template-columns: 1fr; gap: 14px; }
  .hero__scroll, .hero__coords { display: none; }
  .stats b { font-size: 3rem; }
  .stats { grid-template-columns: 1fr; }
  .stats li { padding: 26px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .bridge__col ul { grid-template-columns: 1fr; }
  .sc-card { min-height: 470px; padding: 26px; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind { min-height: 0; }
  .ind h3 { margin-top: 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .form__actions .btn { flex: 1 1 100%; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); height: 52px; padding: 0 15px; }
  .wa-float span { display: none; }
  .footer__word { font-size: 11vw; }
  .info-card { padding: 20px; gap: 14px; }
  .info-card > .ico { width: 38px; height: 38px; padding: 9px; }
  .copy-row { font-size: .95rem; }
  .preloader__meta { font-size: .7rem; letter-spacing: .04em; }
  .contact__title, .contact__rotator { font-size: clamp(2.3rem, 10.5vw, 3.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html:not(.lenis) { scroll-behavior: auto; }
}
