/* ============================================================================
   website-v3 design layer — ported from the ui_kits/website-v3 prototype
   (claude.ai/design "Inventur Design System"). Server-rendered equivalent of
   the React primitives in blocks.jsx / chrome.jsx / pages.jsx. Tokens reused
   from design-system.css. No inline scripts (strict CSP); behaviours in
   js/site-v3.js and js/motion-v3.js.
   ========================================================================== */

/* ---- layout primitives ---------------------------------------------------- */
.v3 { background: #fff; color: var(--text-strong); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
.v3-container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(20px, 4.5vw, 56px); box-sizing: border-box; }
.v3-section { padding-block: clamp(64px, 8vw, 110px); }
.v3-section--sm { padding-block: clamp(44px, 5vw, 70px); }
.v3-page { background: var(--surface-page); border-top: 1px solid var(--border-subtle); }
.v3-white { background: #fff; border-top: 1px solid var(--border-subtle); }
.v3-ink { background: var(--ink); color: #fff; position: relative; overflow: hidden; }

/* ---- type -----------------------------------------------------------------*/
.v3-kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.v3-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; flex: none; }
.v3-kicker--on-dark { color: var(--purple-300); }
.v3-mega { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--text-strong); text-wrap: balance; }
.v3-mega--on-dark { color: #fff; }
.v3-lead { margin: 18px 0 0; font-size: 1.08rem; line-height: 1.62; color: var(--text-muted); max-width: 620px; text-wrap: pretty; }
.v3-lead--on-dark { color: rgba(255,255,255,0.7); }

.v3-sectionhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(34px, 4vw, 56px); }
.v3-sectionhead > div { max-width: 680px; }
.v3-sectionhead .v3-kicker { margin-bottom: 18px; }

/* ---- pill button ----------------------------------------------------------*/
.v3-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; background: var(--ink); color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .25s cubic-bezier(.2,.7,.2,1), transform .25s cubic-bezier(.2,.7,.2,1); }
.v3-pill:hover { background: var(--action); transform: translateY(-1px); }
.v3-pill svg { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.v3-pill:hover svg { transform: translateX(3px); }
.v3-pill--brand { background: var(--action); } .v3-pill--brand:hover { background: var(--action-hover); }
.v3-pill--light { background: #fff; color: var(--ink); border-color: var(--border-default); } .v3-pill--light:hover { background: var(--purple-50); }
.v3-pill--ghost { background: rgba(255,255,255,0.04); color: #fff; border-color: rgba(255,255,255,0.32); } .v3-pill--ghost:hover { background: rgba(255,255,255,0.12); }
.v3-pill--sm { height: 40px; padding: 0 18px; font-size: 0.875rem; }
.v3-pill--lg { height: 58px; padding: 0 32px; font-size: 1.05rem; }
.v3-pill--full { width: 100%; }

.v3-arrowlink { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem; color: var(--text-strong); text-decoration: none; transition: color .2s; }
.v3-arrowlink span { border-bottom: 1.5px solid var(--purple-300); padding-bottom: 2px; }
.v3-arrowlink:hover { color: var(--action); }
.v3-arrowlink svg { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.v3-arrowlink:hover svg { transform: translateX(4px); color: var(--accent); }
.v3-arrowlink--back { margin-bottom: 20px; }

/* ---- evidence chip --------------------------------------------------------*/
.v3-ev { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; white-space: nowrap; }
.v3-ev::before { content: ""; width: 5px; height: 5px; border-radius: 50%; flex: none; background: currentColor; }
.v3-ev--sourced { background: var(--success-50); color: var(--success-700); }
.v3-ev--analysis { background: var(--purple-50); color: var(--purple-700); }
.v3-ev--hypothesis { background: var(--warning-50); color: var(--warning-700); }
.v3-ev--on-dark { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

/* ---- reveal-on-scroll + count (js/site-v3.js toggles .in) -----------------*/
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@keyframes v3-pf { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pagefade { animation: v3-pf .6s cubic-bezier(.2,.7,.2,1); }
@keyframes v3-heroup { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
.heroup { opacity: 0; animation: v3-heroup 1.1s cubic-bezier(.2,.7,.2,1) forwards; }

/* ---- motion canvas layer --------------------------------------------------*/
.v3-motion { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.v3-motion canvas { display: block; }
.v3-ink-veil { position: absolute; inset: 0; pointer-events: none; }

/* ---- grids ---------------------------------------------------------------*/
.v3-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v3-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v3-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 64px); align-items: center; }
.v3-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 20px; padding: 26px 24px; height: 100%; box-sizing: border-box; }
.v3-card__ic { width: 48px; height: 48px; border-radius: 14px; background: var(--purple-50); border: 1px solid var(--purple-100); display: flex; align-items: center; justify-content: center; color: var(--purple-600); margin-bottom: 40px; }
.v3-card__t { font-family: var(--font-display); font-size: 1.14rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.v3-card__b { margin: 0; font-size: 0.9rem; line-height: 1.58; color: var(--text-muted); }

/* image placeholder panel (no real photos — branded gradient + motion) */
.v3-imgslot { position: relative; border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 0 26px 60px -26px rgba(23,17,33,0.4); }
.v3-imgslot__label { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); }
.v3-imgslot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.v3-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.v3-stat .v3-ev { margin-top: 14px; }

@media (prefers-reduced-motion: reduce) { .rv, .heroup { opacity: 1 !important; transform: none !important; } }
@media (max-width: 980px) { .v3-g3, .v3-g4 { grid-template-columns: 1fr 1fr; } .v3-split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .v3-g3, .v3-g4 { grid-template-columns: 1fr; } }

/* ---- nav (sticky, dropdowns, mobile) -------------------------------------- */
.v3-nav { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,0.88); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.v3-nav.is-scrolled { border-bottom-color: var(--border-subtle); }
.v3-nav__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.v3-nav__logo { background: none; border: 0; padding: 0; cursor: pointer; display: flex; text-decoration: none; }
.v3-nav__logo img { height: 36px; display: block; }
.v3-nav__links { display: flex; align-items: center; gap: 28px; }
.v3-nav__link, .v3-navtrigger { background: none; border: none; cursor: pointer; padding: 24px 2px; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; color: var(--text-muted); transition: color .2s; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.v3-nav__link:hover, .v3-navtrigger:hover, .v3-nav__link.is-active { color: var(--text-strong); }
.v3-navdrop { position: relative; }
.v3-navpanel { position: absolute; top: 100%; left: -14px; z-index: 70; width: 290px; background: #fff; border: 1px solid var(--border-subtle); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(23,17,33,0.25); padding: 8px; }
.v3-navpanel a { display: block; text-decoration: none; border-radius: 12px; padding: 11px 14px; }
.v3-navpanel a:hover { background: var(--purple-50); }
.v3-navpanel__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text-strong); }
.v3-navpanel__desc { display: block; font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.v3-nav__burger { display: none; background: none; border: none; cursor: pointer; color: var(--text-strong); padding: 6px; }
.v3-mobilenav { position: fixed; inset: 72px 0 0; background: var(--ink); z-index: 79; overflow-y: auto; }
.v3-mobilenav a, .v3-mobilenav button { display: block; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.1); cursor: pointer; padding: 17px 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
@media (max-width: 980px) { .v3-nav__links { display: none; } .v3-nav__burger { display: inline-flex; } }
@media (min-width: 981px) { .v3-mobilenav { display: none; } }

/* ---- hero ---------------------------------------------------------------- */
.v3-hero { position: relative; background: var(--ink); color: #fff; min-height: min(92vh, 900px); display: flex; flex-direction: column; overflow: hidden; }
.v3-hero__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(23,17,33,0.3) 0%, rgba(23,17,33,0.1) 45%, rgba(23,17,33,0.82) 100%); }
.v3-hero__inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: clamp(36px, 5vh, 64px); }
.v3-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 60px; margin-top: clamp(30px, 5vh, 56px); }
.v3-hero__lead { margin: 0; max-width: 480px; font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.62; color: rgba(255,255,255,0.75); text-wrap: pretty; }
.v3-herocard { display: flex; align-items: center; gap: 18px; text-align: left; width: 380px; max-width: 100%; background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.22); border-radius: 18px; padding: 18px 20px; cursor: pointer; color: #fff; text-decoration: none; transition: background .3s, transform .3s cubic-bezier(.2,.7,.2,1); flex: none; }
.v3-herocard:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.v3-herocard__k { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple-300); margin-bottom: 7px; }
.v3-herocard__t { display: block; font-size: 0.94rem; line-height: 1.5; color: rgba(255,255,255,0.85); }
.v3-herocard__ic { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.12); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---- client strip -------------------------------------------------------- */
.v3-clients { background: #fff; border-bottom: 1px solid var(--border-subtle); padding-block: 24px; }
.v3-clients__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; }
.v3-clients__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-subtle); }
.v3-clients__name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--neutral-400); }

/* ---- intro band ---------------------------------------------------------- */
.v3-intro { margin: 0; max-width: 980px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.7vw, 2.1rem); font-weight: 500; line-height: 1.32; letter-spacing: -0.02em; color: var(--text-strong); text-wrap: pretty; }
.v3-intro__hl { color: var(--text-brand); }

/* ---- carousel ------------------------------------------------------------ */
.v3-carousel__quote { margin: 0; max-width: 900px; font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.018em; color: var(--text-strong); text-wrap: pretty; }
.v3-carousel__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 26px; }
.v3-carousel__org { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }
.v3-carousel__sub { font-family: var(--font-mono); font-size: 12px; color: var(--text-subtle); }
.v3-cbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-default); background: #fff; color: var(--text-strong); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.v3-cdot { width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; cursor: pointer; background: var(--border-default); transition: width .35s cubic-bezier(.2,.7,.2,1); }
.v3-cdot[aria-current="true"] { width: 26px; background: var(--action); }
.v3-carousel__nav { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.v3-cdots { display: flex; gap: 7px; margin-left: 8px; }

/* ---- expertise cards (home trio) ----------------------------------------- */
.v3-expgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.v3-expcard { position: relative; height: 440px; border-radius: 22px; overflow: hidden; cursor: pointer; background: var(--ink); text-decoration: none; display: block; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; box-shadow: 0 10px 30px -18px rgba(23,17,33,0.3); }
.v3-expcard:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -22px rgba(23,17,33,0.45); }
.v3-expcard__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(185deg, rgba(23,17,33,0.05) 30%, rgba(23,17,33,0.9) 88%); }
.v3-expcard__body { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #fff; }
.v3-expcard__aud { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--purple-300); margin-bottom: 9px; }
.v3-expcard__t { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.v3-expcard__strap { font-size: 0.88rem; color: rgba(255,255,255,0.65); margin-top: 8px; }

/* ---- stats band ---------------------------------------------------------- */
.v3-stat { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 22px; }
.v3-stat__v { font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.v3-stat__l { font-size: 1rem; font-weight: 600; margin-top: 12px; color: rgba(255,255,255,0.92); }
.v3-stat__s { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 5px; }
.v3-statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(26px, 3.5vw, 44px); }
@media (max-width: 980px) { .v3-statgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .v3-statgrid { grid-template-columns: 1fr; } }

/* ---- news / research grid ------------------------------------------------ */
.v3-newsgrid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.v3-newsrow { display: flex; align-items: center; gap: 16px; text-align: left; background: #fff; border: none; border-bottom: 1px solid var(--border-subtle); padding: 18px 22px; cursor: pointer; text-decoration: none; width: 100%; }
.v3-newsrow:hover { background: var(--surface-page); }
.v3-newsrow__k { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 6px; }
.v3-newsrow__t { display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--text-strong); }
@media (max-width: 980px) { .v3-newsgrid { grid-template-columns: 1fr; } }

/* ---- fact row + expertise page ------------------------------------------- */
.v3-factrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v3-fact { background: #fff; border: 1px solid var(--border-subtle); border-radius: 18px; padding: 22px 24px; height: 100%; box-sizing: border-box; }
.v3-fact__v { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; color: var(--text-strong); line-height: 1; }
.v3-fact__l { font-size: 0.9rem; line-height: 1.5; color: var(--text-muted); margin: 10px 0 12px; }
.v3-feat { border-top: 2px solid var(--purple-200); padding-top: 20px; }
.v3-feat__n { font-family: var(--font-mono); font-size: 11px; color: var(--purple-400); margin-bottom: 10px; }
.v3-feat__t { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 9px; }
.v3-feat__b { margin: 0; font-size: 0.94rem; line-height: 1.6; color: var(--text-muted); }
.v3-check { display: flex; align-items: flex-start; gap: 11px; }
.v3-check__i { width: 22px; height: 22px; border-radius: 50%; background: var(--purple-50); border: 1px solid var(--purple-200); color: var(--purple-600); display: inline-flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }

/* ---- packages ------------------------------------------------------------ */
.v3-pkg { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; background: var(--surface-page); color: var(--text-strong); border: 1px solid var(--border-subtle); border-radius: 22px; padding: 28px; position: relative; overflow: hidden; }
.v3-pkg--flag { background: var(--ink); color: #fff; border-color: transparent; }
.v3-pkg__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 14px; }
.v3-pkg--flag .v3-pkg__k { color: var(--purple-300); }
.v3-pkg__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.v3-pkg__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text-brand); }
.v3-pkg--flag .v3-pkg__price { color: #fff; }
.v3-pkg__dur { font-family: var(--font-mono); font-size: 12px; color: var(--text-subtle); }
.v3-pkg__note { display: flex; flex-wrap: wrap; gap: 10px 30px; padding: 18px 24px; border-radius: 16px; background: var(--surface-soft); border: 1px solid var(--purple-100); font-size: 0.9rem; color: var(--text-body); }

/* ---- contact band + footer + overlay ------------------------------------- */
.v3-contactband { background: #fff; border-top: 1px solid var(--border-subtle); padding-block: clamp(64px, 9vw, 120px); text-align: center; }
.v3-footer { background: var(--ink); color: #fff; padding-block: clamp(56px, 7vw, 84px) 30px; }
.v3-footer__grid { display: grid; grid-template-columns: minmax(220px, 1.3fr) repeat(4, 1fr); gap: 40px; padding-bottom: 46px; }
.v3-footer__col h2 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--purple-300); margin: 0 0 16px; }
.v3-footer__col a { display: block; color: rgba(255,255,255,0.72); font-size: 0.94rem; text-decoration: none; padding: 5px 0; }
.v3-footer__col a:hover { color: #fff; }
.v3-footer__legal { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; display: flex; flex-direction: column; gap: 8px; color: rgba(255,255,255,0.48); font-size: 0.8rem; }
.v3-footer__soc { display: flex; gap: 10px; margin-top: 22px; }
.v3-footer__soc a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
@media (max-width: 980px) { .v3-footer__grid { grid-template-columns: 1fr; } }

.v3-overlay { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff; overflow-y: auto; }
.v3-overlay__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(28px, 4vw, 56px); }
.v3-overlay__field { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; padding: 13px 15px; color: #fff; font-size: 0.95rem; outline: none; width: 100%; box-sizing: border-box; font-family: var(--font-sans); }
.v3-overlay__chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.25); background: transparent; color: #fff; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.v3-overlay__chip[aria-pressed="true"] { border-color: var(--purple-400); background: rgba(124,58,237,0.25); }
.v3-overlay__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 780px) { .v3-overlay__grid { grid-template-columns: 1fr; } }

/* ============================================================================
   v3 — class layer replacing inline styles. The site runs a strict CSP
   (style-src 'self', no 'unsafe-inline'), so every style below MUST live in a
   class, not a style="" attribute. Values are ported verbatim from the
   ui_kits/website-v3 prototype (blocks/chrome/home/pages/company .jsx).
   ========================================================================== */
/* ---- utilities ---- */
.v3-relative { position: relative; }
.v3-mt-22 { margin-top: 22px; }
.v3-btnrow { display: flex; flex-wrap: wrap; gap: 12px; }
.v3-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-kicker--mb { margin-bottom: 18px; }
.v3-kicker--mb16 { margin-bottom: 16px; }
.v3-kicker--mb20 { margin-bottom: 20px; }
.v3-kicker--mb22 { margin-bottom: 22px; }
.heroup-1 { animation-delay: 0.1s; }
.heroup-2 { animation-delay: 0.32s; }

/* ---- Mega size variants (base .v3-mega set family/weight/tracking/colour) ---- */
.v3-mega--hero { max-width: 13ch; font-size: clamp(2.7rem, 7.2vw, 6rem); line-height: 0.98; letter-spacing: -0.04em; }
.v3-mega--sub { max-width: 900px; font-size: clamp(2.5rem, 5.8vw, 4.6rem); }
.v3-mega--page { max-width: 860px; font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.v3-mega--page-narrow { max-width: 820px; font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.v3-mega--split { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.v3-mega--founder { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.v3-mega--overlay { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.v3-mega--contact { max-width: 760px; margin-inline: auto; font-size: clamp(1.9rem, 4.4vw, 3.3rem); }
.v3-lead--lg { font-size: 1.1rem; }
.v3-lead--sub { max-width: 620px; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.v3-lead--mb24 { margin-bottom: 24px; }

/* ---- home hero internals ---- */
.v3-herocard__txt { flex: 1; }
.v3-introchips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 34px; }
.v3-introchips__lbl { font-size: 0.94rem; font-weight: 600; color: var(--text-muted); }
.v3-carousel__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }

/* ---- home "Discover. Think. Plan. Deliver." process band ---- */
.v3-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v3-flowstep { position: relative; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--border-subtle); border-radius: 20px; padding: 26px 24px; text-decoration: none; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.v3-flowstep:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(23,17,33,0.28); border-color: var(--purple-200); }
.v3-flowstep__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--purple-400); }
.v3-flowstep__t { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text-strong); }
.v3-flowstep__b { font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); }
.v3-flowstep:not(:last-child)::after { content: "\2192"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--purple-300); font-size: 18px; z-index: 1; }
@media (max-width: 980px) { .v3-flow { grid-template-columns: 1fr 1fr; } .v3-flowstep::after { display: none !important; } }
@media (max-width: 560px) { .v3-flow { grid-template-columns: 1fr; } }
.v3-evink-analysis { color: var(--purple-500); }
.v3-evink-sourced { color: var(--warning-500); }
.v3-evink-hypothesis { color: var(--warning-500); }
.v3-expcard__cta { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.14); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* ---- home featured research panel ---- */
.v3-bg-white { background: #fff; }
.v3-newslist { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border-subtle); border-radius: 22px; overflow: hidden; }
.v3-newsrow__txt { flex: 1; }
.v3-homefeat { height: auto; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.v3-homefeat__body { position: relative; padding: 28px; }
.v3-homefeat__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.v3-homefeat__kind { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-300); }
.v3-homefeat__t { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.14; color: #fff; max-width: 520px; }
.v3-homefeat__lead { margin: 12px 0 0; font-size: 0.92rem; line-height: 1.55; color: rgba(255,255,255,0.65); max-width: 480px; }

/* ---- page hero (packages / research / team) ---- */
.v3-pagehero { background: var(--surface-page); padding-top: 130px; padding-bottom: clamp(40px, 5vw, 64px); }

/* ---- subpage hero + split ---- */
.v3-subhero { min-height: 58vh; display: flex; align-items: flex-end; }
.v3-subhero__inner { position: relative; padding-top: 140px; padding-bottom: clamp(36px, 5vh, 60px); }
.v3-inkveil--top { background: linear-gradient(180deg, rgba(23,17,33,0.25), rgba(23,17,33,0.8)); }
.v3-inkveil--left { background: linear-gradient(90deg, rgba(23,17,33,0.85) 30%, rgba(23,17,33,0.3)); }
.v3-g3--wide { gap: clamp(24px, 3vw, 44px); }
.v3-splitbody { margin: 16px 0 22px; font-size: 1.02rem; line-height: 1.65; color: var(--text-muted); }
.v3-bullets { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.v3-check__t { font-size: 0.98rem; color: var(--text-body); line-height: 1.5; }
.v3-imgslot--43 { aspect-ratio: 4 / 3.4; }
.v3-imgslot--portrait { aspect-ratio: 4 / 4.6; background: var(--surface-sunken); }

/* ---- packages card internals ---- */
.v3-pkg__body { position: relative; display: flex; flex-direction: column; height: 100%; }
.v3-pkg__row { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 14px; }
.v3-pkg__tag { margin: 0 0 20px; font-size: 0.95rem; line-height: 1.55; color: var(--text-muted); }
.v3-pkg--flag .v3-pkg__tag { color: rgba(255,255,255,0.72); }
.v3-pkg__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.v3-pkg__li { display: flex; gap: 10px; align-items: flex-start; }
.v3-pkg__li > svg { color: var(--purple-500); margin-top: 3px; flex: none; }
.v3-pkg--flag .v3-pkg__li > svg { color: var(--purple-300); }
.v3-pkg__litext { font-size: 0.9rem; line-height: 1.45; color: var(--text-body); }
.v3-pkg--flag .v3-pkg__litext { color: rgba(255,255,255,0.85); }
.v3-pkg__cta { margin-top: auto; }

/* ---- package detail page ---- */
.v3-pkgd__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin-top: 18px; }
.v3-pkgd__price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text-brand); }
.v3-pkgd__dur { font-family: var(--font-mono); font-size: 13px; color: var(--text-subtle); }
.v3-pkgd__aside { background: var(--surface-page); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 26px 28px; display: flex; flex-direction: column; gap: 16px; }
.v3-pkgd__asiderow { display: flex; flex-direction: column; gap: 3px; }
.v3-pkgd__asiderow + .v3-pkgd__asiderow { border-top: 1px solid var(--border-subtle); padding-top: 16px; }
.v3-pkgd__asidek { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-subtle); }
.v3-pkgd__asidev { font-size: 0.98rem; color: var(--text-body); line-height: 1.5; }
.v3-weekrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.v3-week { background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; padding: 20px; }
.v3-week__l { font-family: var(--font-mono); font-size: 12px; color: var(--purple-500); margin-bottom: 8px; }
.v3-week__d { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.v3-faqs { display: flex; flex-direction: column; max-width: 820px; }
.v3-faq { border-top: 1px solid var(--border-subtle); padding: 22px 0; }
.v3-faq:last-child { border-bottom: 1px solid var(--border-subtle); }
.v3-faq__q { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.v3-faq__a { margin: 0; font-size: 0.96rem; line-height: 1.6; color: var(--text-muted); max-width: 720px; }

/* ---- research featured + cards ---- */
.v3-rfeat { height: auto; padding: clamp(26px, 4vw, 46px); margin-bottom: 22px; display: block; }
.v3-rfeat__body { position: relative; max-width: 640px; }
.v3-rfeat__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.v3-rfeat__kind { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-300); }
.v3-rfeat__t { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; color: #fff; }
.v3-rfeat__lead { margin: 14px 0 0; font-size: 0.98rem; line-height: 1.6; color: rgba(255,255,255,0.7); }
.v3-rcard { background: var(--surface-page); border: 1px solid var(--border-subtle); border-radius: 18px; padding: 24px; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; text-decoration: none; }
.v3-rcard__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 12px; }
.v3-rcard__t { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.25; margin-bottom: 10px; color: var(--text-strong); }
.v3-rcard__b { margin: 0 0 16px; font-size: 0.88rem; line-height: 1.55; color: var(--text-muted); flex: 1; }

/* ---- team split + entity cards + hire band ---- */
.v3-split--team { grid-template-columns: 0.9fr 1.1fr; }
.v3-bio { margin: 16px 0 20px; font-size: 1.02rem; line-height: 1.68; color: var(--text-muted); }
.v3-creds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.v3-cred { padding: 7px 14px; border-radius: 999px; background: var(--purple-50); border: 1px solid var(--purple-100); color: var(--purple-700); font-family: var(--font-mono); font-size: 12px; }
.v3-card--pad26 { padding: 26px; }
.v3-entcard__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 12px; }
.v3-entcard__t { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; }
.v3-entcard__addr { margin: 0 0 10px; font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); }
.v3-entcard__does { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--text-body); font-weight: 500; }
.v3-hireband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; background: var(--ink); color: #fff; border-radius: 20px; padding: clamp(24px, 3vw, 36px); }
.v3-hireband__t { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; }
.v3-hireband__b { margin: 8px 0 0; font-size: 0.95rem; color: rgba(255,255,255,0.65); max-width: 520px; }

/* ---- chrome: nav / mobile / contact band / footer / overlay ---- */
.v3-nav__cta { display: flex; align-items: center; gap: 14px; }
.v3-nav__signin { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; color: var(--text-muted); text-decoration: none; transition: color .2s; white-space: nowrap; }
.v3-nav__signin:hover { color: var(--text-strong); }
@media (max-width: 980px) { .v3-nav__signin { display: none; } }
.v3-mobilenav__inner { display: flex; flex-direction: column; padding-block: 28px; }
.v3-mobilenav__cta { margin-top: 26px; }
.v3-contactband__lead { margin: 18px auto 30px; max-width: 480px; font-size: 1.06rem; line-height: 1.6; color: var(--text-muted); }
.v3-footer__tag { margin: 16px 0 0; max-width: 320px; color: rgba(255,255,255,0.6); font-size: 0.94rem; line-height: 1.6; }
.v3-footer__legalrow { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; }
.v3-footer__init { display: flex; align-items: center; gap: 10px; padding-top: 6px; }
.v3-footer__init img { height: 18px; width: auto; opacity: 0.75; }
.v3-footer__init span { font-size: 0.76rem; color: rgba(255,255,255,0.4); }
.v3-footer__legallink { color: inherit; }
.v3-footer__col button { display: block; width: 100%; text-align: left; background: none; border: none; padding: 5px 0; cursor: pointer; color: rgba(255,255,255,0.72); font-size: 0.94rem; }
.v3-footer__col button:hover { color: #fff; }
.v3-overlay__inner { position: relative; min-height: 100%; display: flex; flex-direction: column; }
.v3-overlay__top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.v3-overlay__grid-fill { flex: 1; }
.v3-overlay__lead { margin: 20px 0 28px; font-size: 1.08rem; line-height: 1.62; color: rgba(255,255,255,0.68); max-width: 460px; }
.v3-overlay__lead strong { color: #fff; }
.v3-overlay__chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-overlay__meta { margin-top: 34px; font-family: var(--font-mono); font-size: 12.5px; color: rgba(255,255,255,0.5); display: flex; flex-direction: column; gap: 6px; }
.v3-overlay__form { display: flex; flex-direction: column; gap: 12px; }
.v3-overlay__2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v3-overlay__field--area { resize: vertical; }
.v3-overlay__submit { margin-top: 8px; }
.v3-overlay__fine { margin: 0; font-size: 0.78rem; color: rgba(255,255,255,0.4); text-align: center; }
