/* "Two ways to work" as an edge-to-edge split with the logo V on the seam:
   the white stroke sits on the night half (Venture Studio), the blue triangle
   on the light half (Strategic Advisory), as in the logo. Clicking a side (or
   its part of the V) opens it: the studio widens to the left, advisory to the
   right, and the other half folds to a narrow tab. ways-split.js sets
   data-open="studio" | "adv" on .ws. */
section.vh-ways.ws-host { padding: 112px 0 0 !important; background: #fff; }   /* the title sits a little nearer the halves than the menu */
.ws-host .vh-wrap { max-width: none !important; }
.ws { --night: #09193E; --prussian: #1A4F9C; --sky: #7FAEF0; --ink: #09193E; --muted: #4F5B6E; --ease: cubic-bezier(.65, 0, .35, 1); }
.ws .ws-head { max-width: 1120px; margin: 0 auto 24px; padding: 0 32px; text-align: center; }
.ws .ws-kicker { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--prussian); margin: 0 0 14px; }
.ws .ws-title { font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -.02em; color: var(--ink); margin: 0; }

.ws .ws-band { position: relative; display: flex; min-height: 640px; overflow: hidden; }
.ws .ws-half { position: relative; flex: 0 0 50%; display: flex; flex-direction: column; justify-content: center; padding: 64px 0; cursor: pointer; transition: flex-basis .85s var(--ease); overflow: hidden; }
.ws .ws-half.studio { background: var(--night); color: #fff; align-items: flex-end; text-align: left; }
.ws .ws-half.adv { background: #F3F6FB; color: var(--ink); align-items: flex-start; }
.ws[data-open="studio"] .ws-half.studio, .ws[data-open="adv"] .ws-half.adv { flex-basis: 76%; cursor: default; }
.ws[data-open="studio"] .ws-half.adv, .ws[data-open="adv"] .ws-half.studio { flex-basis: 24%; }

/* Inner column: keeps clear of the V on the seam side. */
.ws .ws-inner { width: min(620px, 100%); box-sizing: border-box; transition: width .85s var(--ease), padding .85s var(--ease); }
/* Studio: full width, with its text start measured from the band's fixed width
   (cqw), not from the half (which widens while opening). Opening then slides
   the text straight to the left edge, with no drift and no jump. Same place
   as a 620px column against the V. */
.ws .ws-band { container-type: inline-size; }
.ws .studio .ws-inner { width: 100%; padding: 0 clamp(120px, 12vw, 170px) 0 max(clamp(28px, 5vw, 72px), calc(50cqw - 620px + clamp(28px, 5vw, 72px))); }
.ws .adv .ws-inner { padding: 0 clamp(28px, 5vw, 72px) 0 clamp(120px, 12vw, 170px); }
.ws[data-open="studio"] .studio .ws-inner, .ws[data-open="adv"] .adv .ws-inner { width: min(860px, 100%); }

/* The open half: its text fills the whole half, from the outer edge (with a
   gutter) to the V. Studio starts at the left edge and runs right to the V;
   advisory starts at the right edge and runs left to the V. No narrow column,
   no empty band on the outer side. */
@media (min-width: 861px) {
  /* (no change of alignment here: it cannot animate and made the studio text
     jump. The column stays anchored at the V side and widens to the edge.) */
  .ws[data-open="studio"] .studio .ws-inner, .ws[data-open="adv"] .adv .ws-inner { width: 100%; }
  .ws[data-open="studio"] .studio .ws-inner { padding: 0 clamp(150px, 12.5vw, 190px) 0 clamp(32px, 4.5vw, 80px); }
  .ws[data-open="adv"] .adv .ws-inner { padding: 0 clamp(32px, 4.5vw, 80px) 0 clamp(124px, 10vw, 150px); }
  .ws[data-open="studio"] .studio .ws-lead, .ws[data-open="adv"] .adv .ws-lead,
  .ws[data-open="studio"] .studio .ws-more p, .ws[data-open="adv"] .adv .ws-more p,
  .ws[data-open="studio"] .studio ul, .ws[data-open="adv"] .adv ul { max-width: 100%; }   /* 100%, not none, so the widening animates */
  .ws .studio ul { grid-template-columns: repeat(3, 1fr); }
}
.ws .ws-more p { font-size: clamp(15.5px, 1.15vw, 18px); }
.ws li { font-size: clamp(15px, 1.1vw, 17px); }

/* (numbers removed from the markup) */
.ws .ws-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; white-space: nowrap; }
.ws .studio .ws-num { color: var(--sky); } .ws .adv .ws-num { color: var(--prussian); }
/* The name stays on one line; folding scales and slides it (no reflow, no jump). */
.ws .ws-big { position: relative; left: 0; display: block; width: max-content; white-space: nowrap; font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: clamp(32px, 3.6vw, 54px); line-height: 1; letter-spacing: -.025em; margin: 0 0 16px; transform-origin: 50% 50%; transform: translateX(0) scale(1); transition: transform .85s var(--ease), left .85s var(--ease); }
.ws .ws-lead { font-size: 17px; line-height: 1.55; margin: 0 0 22px; max-width: 30rem; max-height: 8em; overflow: hidden; transition: opacity .45s ease, max-height .7s var(--ease), margin .7s var(--ease), max-width .85s var(--ease); }
.ws .studio .ws-lead { color: rgba(255, 255, 255, .82); } .ws .adv .ws-lead { color: var(--muted); }
.ws .ws-open { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; cursor: pointer; font: 700 12px 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; max-height: 3em; overflow: hidden; transition: opacity .35s ease, max-height .6s var(--ease); }
.ws .studio .ws-open { color: #fff; } .ws .adv .ws-open { color: var(--prussian); }
.ws .ws-open .ws-arrow { display: inline-block; transition: transform .3s ease; }
.ws .studio .ws-open:hover .ws-arrow { transform: translateX(-4px); }
.ws .adv .ws-open:hover .ws-arrow { transform: translateX(4px); }

/* Details: hidden until the half is open, then they slide in away from the seam. */
.ws .ws-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--ease), opacity .45s ease, transform .7s var(--ease); }
.ws .ws-more > div { overflow: hidden; }
.ws .studio .ws-more { transform: translateX(28px); } .ws .adv .ws-more { transform: translateX(-28px); }
.ws[data-open="studio"] .studio .ws-more, .ws[data-open="adv"] .adv .ws-more { grid-template-rows: 1fr; opacity: 1; transform: none; transition-delay: .2s, .35s, .2s; }
.ws[data-open="studio"] .studio .ws-open, .ws[data-open="adv"] .adv .ws-open { opacity: 0; max-height: 0; pointer-events: none; }
.ws .ws-tag { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: block; margin: 4px 0 10px; }
.ws .studio .ws-tag { color: rgba(255, 255, 255, .55); } .ws .adv .ws-tag { color: var(--muted); }
.ws h3 { font-family: 'Hanken Grotesk', sans-serif !important; font-weight: 600 !important; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.02em !important; margin: 0 0 12px; color: inherit; }
.ws .ws-more p { font-size: 15.5px; line-height: 1.62; margin: 0 0 18px; max-width: 40rem; transition: max-width .85s var(--ease); }
.ws .studio .ws-more p { color: rgba(255, 255, 255, .8); } .ws .adv .ws-more p { color: var(--muted); }
.ws ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; max-width: 46rem; transition: max-width .85s var(--ease); }
.ws li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; font-weight: 600; }
.ws li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; }
.ws .studio li::before { background: var(--sky); }
.ws .adv li::before { background: var(--prussian); clip-path: polygon(0 0, 100% 0, 25% 100%); }
.ws .ws-fine { font-size: 13px !important; opacity: .7; }
.ws .ws-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.ws a.vh-btn.vh-btn-w { background: var(--prussian) !important; color: #fff !important; border-color: var(--prussian) !important; }
.ws a.vh-btn.vh-btn-w:hover { background: #204780 !important; }
.ws a.vh-link { font-weight: 700; font-size: 15px; text-decoration: none; padding-bottom: 1px; }
.ws .studio a.vh-link { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.ws .adv a.vh-link { color: var(--prussian); border-bottom: 1px solid rgba(26, 79, 156, .35); }

/* The folded half: its number, name (one line, smaller, centred in the tab
   beside the V) and Open; the lead folds away. All animated, nothing jumps. */
.ws[data-open="studio"] .adv .ws-inner { width: 100%; padding: 0 16px 0 clamp(100px, 8.2vw, 128px); text-align: center; }
.ws[data-open="adv"] .studio .ws-inner { width: 100%; padding: 0 clamp(118px, 9.5vw, 146px) 0 16px; text-align: center; }
.ws[data-open="studio"] .adv .ws-big, .ws[data-open="adv"] .studio .ws-big { left: 50%; transform: translateX(-50%) scale(.48); }
.ws[data-open="studio"] .adv .ws-lead, .ws[data-open="adv"] .studio .ws-lead { opacity: 0; max-height: 0; margin-bottom: 0; }

/* The V on the seam: the logo's exact shape, drawn twice and clipped at the
   seam, white + light blue over the night half and navy + Prussian over the
   light half (as the logo appears on each). The seam sits where the triangle starts (56.4% of its width), so the triangle stays one colour. */
.ws .ws-v { position: absolute; top: 50%; left: 50%; width: clamp(150px, 15vw, 220px); transform: translate(-56.4%, -50%); z-index: 3; transition: left .85s var(--ease); pointer-events: none; }
.ws[data-open="studio"] .ws-v { left: 76%; }
.ws[data-open="adv"] .ws-v { left: 24%; }
.ws .ws-v svg { display: block; width: 100%; height: auto; overflow: visible; }
.ws .ws-v polygon { transition: transform .35s var(--ease), opacity .35s ease; transform-origin: 191px 169px; }
.ws .ws-v .hit { fill: transparent; pointer-events: all; cursor: pointer; }
.ws .ws-v:has(.hit-left:hover) .part-left, .ws .ws-v:has(.hit-right:hover) .part-right { transform: scale(1.04); }
.ws[data-open="studio"] .ws-v .part-right, .ws[data-open="adv"] .ws-v .part-left { opacity: .5; }

.ws .ws-half:focus-visible, .ws .ws-open:focus-visible { outline: 3px solid var(--sky); outline-offset: -6px; }

/* Phones: stacked; the V on top; each side opens downward. */
@media (max-width: 860px) {
  section.vh-ways.ws-host { padding-top: 104px !important; }   /* clear of the menu bar, nearer the halves */
  .ws .ws-head { padding: 0 20px; }
  .ws .ws-band { flex-direction: column; min-height: 0; }
  .ws .ws-half, .ws[data-open] .ws-half { flex-basis: auto; padding: 40px 22px; align-items: stretch; }
  .ws .ws-inner, .ws[data-open] .ws-inner, .ws .studio .ws-inner, .ws .adv .ws-inner,
  .ws[data-open="studio"] .adv .ws-inner, .ws[data-open="adv"] .studio .ws-inner { width: 100%; padding: 0; }
  .ws .ws-v, .ws[data-open] .ws-v { position: relative; top: auto; left: auto; transform: none; width: 120px; margin: 0 auto 26px; order: -1; }
  .ws .ws-more, .ws .studio .ws-more, .ws .adv .ws-more { transform: translateY(-10px); }
  .ws ul { grid-template-columns: 1fr; }
  .ws[data-open] .ws-half .ws-big { left: 0; transform: none; }
  .ws[data-open] .ws-half .ws-inner { text-align: left; }
  .ws[data-open="studio"] .adv .ws-lead, .ws[data-open="adv"] .studio .ws-lead { opacity: 1; max-height: 8em; margin-bottom: 22px; }
  .ws .ws-v .v-dark { display: none; }   /* on white: the light-background logo, whole */
  .ws .ws-v .v-light { clip-path: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ws .ws-half, .ws .ws-v, .ws .ws-more, .ws .ws-big { transition: none !important; }
}

/* Built from the hero's blocks (hero-v.js): on the homepage this section is
   pulled up under the pinned hero and stays invisible (.ws-wait) while the
   blocks build its picture; when the pin ends it is exactly in place and
   swaps in. */
html.hl-fusion section.ws-host { position: relative; z-index: 5; margin-top: -100vh; margin-top: -100svh; transition: opacity .2s ease; }
/* At least a full screen tall (the halves stretch): it covers the hero's last
   screen, so no strip of the dark hero shows under it on tall screens. */
html.hl-fusion section.ws-host { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
html.hl-fusion section.ws-host > .vh-wrap, html.hl-fusion section.ws-host .ws { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; }
html.hl-fusion section.ws-host .ws-band { flex: 1 0 auto; }
section.ws-host.ws-wait { opacity: 0 !important; pointer-events: none; }
section.ws-host.v-rise:not(.ws-wait) { opacity: 1 !important; }
html.hl-fusion section.ws-host { transform: translate3d(0, var(--ws-lift, 0px), 0) !important; }   /* held at the top during the pause (hero-v.js) */
/* A beat after the section arrives, its title rises in. */
html.hl-fusion section.ws-host .ws-title { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .9s cubic-bezier(.22, .61, .36, 1); }
html.hl-fusion section.ws-host:not(.ws-wait) .ws-title { opacity: 1; transform: none; transition-delay: .35s, .35s; }
