/* ============================================================
   Homepage: white throughout, with orange for the strategy section
   and periwinkle for the testimonial
   ============================================================ */

/* Hero sits in the page flow so the pathways follow it directly */
.home-visible-strategy .hero {
  position: relative;
  inset: auto;
  display: block;
  min-height: 0;
  padding: clamp(150px, 21vh, 220px) var(--pad) clamp(110px, 15vw, 230px);
  background: var(--white);
  color: var(--black);
}
.home-visible-strategy .hero,
.vs-pathways,
.hero-start { transition: background-color .7s var(--ease), color .7s var(--ease); }
.home-visible-strategy .hero-spacer { display: none; }
.home-visible-strategy .page-lift {
  background: var(--white);
  color: var(--black);
  border-top: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.home-visible-strategy .hero-inner {
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.home-visible-strategy .hero-headline {
  max-width: 16ch;
  font-size: clamp(2.6rem, 4.5vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
  color: inherit;
}
.home-visible-strategy .hero-copy {
  max-width: 78ch;
  margin-top: clamp(26px, 3vw, 40px);
  font-size: 16px;
  line-height: 1.45;
  color: inherit;
}
.hero-copy strong { font-weight: 600; }
.hero-start {
  margin-top: clamp(32px, 3.6vw, 52px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}
.hero-start:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }


/* ---------- Pathways ---------- */
.vs-pathways {
  /* 1px overlap hides the hairline between hero and pathways */
  margin-top: -1px;
  padding: 1px var(--pad) clamp(90px, 10vw, 150px);
  background: var(--white);
  scroll-margin-top: 96px;
}
.vs-pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 30px);
  max-width: 1180px;
  margin-inline: auto;
}
.vs-pathway {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 50px) clamp(24px, 3vw, 44px) clamp(64px, 7vw, 104px);
  scroll-margin-top: 96px;
}
.vs-pathway-fix { --folder: var(--green); color: var(--white); --pathway-line: rgba(255,255,242,.55); }
.vs-pathway-growth { --folder: var(--cobalt); color: var(--white); --pathway-line: rgba(255,255,242,.6); }
.vs-pathway-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.vs-pathway-pill {
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.2;
}
.vs-pathway h2 {
  max-width: 15ch;
  margin-top: clamp(36px, 4.4vw, 62px);
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.vs-pathway-links { margin-top: clamp(40px, 6vw, 84px); }
.vs-pathway-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--pathway-line);
  font-size: 14px;
  line-height: 1.45;
}
.vs-pathway-links strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.vs-pathway-arrow { font-size: 20px; line-height: 1; transition: transform .2s; }
.vs-pathway-links a:hover .vs-pathway-arrow { transform: translate(3px, -3px); }
.vs-pathway a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* ---------- Proof strip: clients ---------- */
.home-visible-strategy .client-marquee img { opacity: .5; }

/* ---------- Strategy gap + framework map ---------- */
.home-visible-strategy .vs-manifesto { padding-block: clamp(90px, 10vw, 160px); border-bottom: 0; }
.strategy-gap-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 90px);
  align-items: end;
}
.strategy-gap-lead h2 {
  max-width: 22ch;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.strategy-gap-figure {
  display: block;
  margin: 4px 0 clamp(18px, 2vw, 30px) -.04em;
  font-size: clamp(5rem, 11vw, 11rem);
  line-height: .9;
  letter-spacing: -.05em;
}
.vs-map-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.vs-map-step {
  padding-top: 22px;
  border-top: 2px solid var(--periwinkle);
}
.vs-map-step-fix { border-top-color: var(--sage); }
.vs-map-step h3 { font-size: clamp(1.7rem, 2.4vw, 2.4rem); line-height: 1; }
.vs-map-step p {
  max-width: 24ch;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,242,.68);
}
.vs-map-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.vs-map-path {
  padding: 14px 16px;
  color: var(--black);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.vs-map-path-fix { background: var(--sage); }
.vs-map-path-growth { grid-column: span 2; background: var(--periwinkle); }
.vs-map-path:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.field select { width: 100%; cursor: pointer; }
.form-route-hint { margin-top: 10px; font-size: var(--t-body); line-height: 1.5; color: var(--grey); }
.form-route-hint a { color: var(--black); border-bottom: 1px solid currentColor; }
.contact-form .form-intro .form-intro-fix { margin-top: 18px; }
.form-intro-fix a { color: var(--black); border-bottom: 1px solid currentColor; }


/* ---------- Work: three case studies + links to the rest ---------- */
.vs-work-more {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-top: clamp(60px, 7vw, 100px);
  padding-top: 26px;
  border-top: 1px solid var(--black);
  font-size: 16px;
}
.vs-work-more .vs-label { padding-top: 0; color: var(--grey); }
.vs-work-more a { padding-bottom: 3px; border-bottom: 1px solid currentColor; }

/* ---------- Team: three partners ---------- */
.home-team { padding: clamp(100px, 11vw, 170px) var(--pad); scroll-margin-top: 40px; }
.home-team .vs-section-intro { margin-bottom: clamp(56px, 6vw, 90px); }
.home-team .vs-section-intro h2 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.6vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.045em;
}
.home-team .vs-section-intro p { max-width: 46ch; }
.home-team .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-team .team-info h3 { font-size: clamp(1.7rem, 2.5vw, 2.5rem); }

@media (max-width: 900px) {
  .vs-pathway-grid { grid-template-columns: 1fr; }
  .strategy-gap-top { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 650px) {
  .home-visible-strategy .hero { padding: 116px 20px 72px; }
  .home-visible-strategy .hero-headline { font-size: clamp(2.2rem, 10vw, 3rem); }
  .home-visible-strategy .hero-copy { max-width: none; font-size: 15px; }
  .vs-pathways { padding: 0 20px 72px; }
  .vs-pathway { padding: 24px 22px 44px; }
  .vs-pathway-pill { font-size: 15px; }
  .vs-map-steps,
  .vs-map-paths { grid-template-columns: 1fr; }
  .vs-map-steps { gap: 26px; }
  .vs-map-path-growth { grid-column: auto; }
  .home-team { padding: 84px 20px; }
  .home-team .team-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .home-team .team-card { flex-direction: row; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .home-team .team-portrait { flex: 0 0 96px; aspect-ratio: 1; }
  .home-team .team-info { flex: 1; flex-direction: column; gap: 6px; padding-top: 0; border-top: 0; }
  .home-team .team-info h3,
  .home-team .team-info p { max-width: none; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .home-visible-strategy .hero,
  .vs-pathways,
  .hero-start,
  .vs-pathway-arrow { transition: none; }
}

/* ---------- Even text rhythm ----------
   One gap between a heading, its paragraph and its link; a smaller one
   inside cards. Paragraphs share one line height. */
.home-visible-strategy {
  --text-gap: clamp(20px, 2.2vw, 28px);
  --text-gap-sm: 12px;
}
.home-visible-strategy .hero-copy,
.home-visible-strategy .vs-section-intro p,
.home-visible-strategy .vs-section-intro .vs-text-link,
.home-visible-strategy .strategy-gap-source { margin-top: var(--text-gap); }
.home-visible-strategy .hero-start { margin-top: calc(var(--text-gap) * 1.5); }
.home-visible-strategy .strategy-gap-figure { margin-bottom: var(--text-gap); }
.home-visible-strategy .hero-copy,
.home-visible-strategy .vs-section-intro p,
.home-visible-strategy .contact-form .form-intro p,
.home-visible-strategy .vs-map-step p { line-height: 1.6; }
.home-visible-strategy .vs-map-step p { margin-top: var(--text-gap-sm); }
.home-visible-strategy .vs-map-paths { margin-top: var(--text-gap); }
.home-visible-strategy .vs-map-steps { margin-top: var(--text-gap); }
.home-visible-strategy .vs-pathway-links strong { margin-bottom: 4px; }
.home-visible-strategy .contact-form .form-intro h2 { margin-bottom: var(--text-gap); }
.home-visible-strategy .contact-form .form-intro .form-intro-fix { margin-top: 0; }
.home-visible-strategy .contact-form .form-intro p + p { margin-top: var(--text-gap); }

/* ---------- White page, one colour block ---------- */
.home-visible-strategy { background: var(--white); color: var(--black); }
.home-visible-strategy .client-marquee { background: var(--white); border-bottom: 1px solid rgba(24,24,24,.12); }
.home-visible-strategy .client-marquee img { opacity: .45; filter: grayscale(1) brightness(0); }

.home-visible-strategy .vs-manifesto { background: var(--orange); color: var(--black); }
.home-visible-strategy .vs-manifesto .vs-label { color: rgba(24,24,24,.65); }
.home-visible-strategy .vs-manifesto .vs-map-step { border-top-color: var(--black); }
.home-visible-strategy .vs-manifesto .vs-map-step p { color: rgba(24,24,24,.75); }
.home-visible-strategy .vs-manifesto .strategy-gap-source { color: rgba(24,24,24,.7); border-bottom-color: rgba(24,24,24,.45); }
.home-visible-strategy .vs-manifesto .strategy-gap-source:hover { color: var(--black); }
.home-visible-strategy .vs-manifesto .vs-map-path:focus-visible { outline-color: var(--black); }

.home-visible-strategy .vs-work { background: var(--white); color: var(--black); }
.home-visible-strategy .vs-work .vs-label,
.home-visible-strategy .home-team .vs-label { color: var(--grey); }
.home-visible-strategy .vs-work .vs-section-intro p,
.home-visible-strategy .home-team .vs-section-intro p { color: var(--grey); }
.home-visible-strategy .vs-work-more { border-top-color: rgba(24,24,24,.2); }

.home-visible-strategy .home-team { background: var(--white); color: var(--black); border-top: 1px solid rgba(24,24,24,.12); }
.home-visible-strategy .home-team .team-info { border-top-color: rgba(24,24,24,.18); }
.home-visible-strategy .home-team .team-info p { color: var(--grey); }

.home-visible-strategy .proof-section { background: var(--periwinkle); color: var(--black); border: 0; }
@media (max-width: 650px) {
  .home-visible-strategy .home-team .team-grid { border-top-color: rgba(24,24,24,.18); }
  .home-visible-strategy .home-team .team-card { border-bottom-color: rgba(24,24,24,.18); }
}
.home-visible-strategy #work { background: var(--white); color: var(--black); }
.home-visible-strategy #work .work-card,
.home-visible-strategy #work .work-card h4 { color: var(--black); }
.home-visible-strategy #work .work-card .tags span { color: var(--grey); }

/* ---------- Pathway cards as file folders ----------
   Each card is a folder: a tab with an angled shoulder, a coloured body, and
   deliverable sheets tucked behind it. Hover (or keyboard focus) brings a
   folder forward, fades the other and slides its sheets up. Touch screens
   show the sheets peeking. */
.vs-pathways { padding-top: clamp(70px, 9vw, 120px); }
.vs-folder { position: relative; display: flex; flex-direction: column; padding: 0; background: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.vs-folder-tab {
  position: relative; z-index: 2; align-self: flex-start;
  display: flex; align-items: baseline; gap: 14px;
  width: min(56%, 340px); height: 56px; padding: 14px 64px 0 clamp(24px, 3vw, 44px);
  margin-bottom: -1px; background: var(--folder); color: var(--white);
  clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 100%, 0 100%);
}
.vs-folder-num { font-size: 11px; font-weight: 600; letter-spacing: .08em; opacity: .75; }
.vs-folder-name { font-family: 'Season Serif', 'Times New Roman', Times, serif; font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.vs-folder-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 44px) clamp(56px, 6vw, 96px); background: var(--folder); }
.vs-folder .vs-pathway-top { margin-top: 0; }

.vs-folder-docs { position: absolute; z-index: 1; top: 56px; left: 42%; right: 4%; height: 0; pointer-events: none; }
.vs-doc {
  position: absolute; bottom: 0; width: 40%; height: 150px; padding: 12px;
  background: var(--white); color: var(--black); border: 1px solid rgba(24,24,24,.18);
  box-shadow: 0 6px 18px rgba(24,24,24,.12);
  transform: translateY(calc(100% - 14px)) rotate(0deg);
  transition: transform .5s var(--ease);
}
.vs-doc-1 { left: 0; }
.vs-doc-2 { left: 30%; }
.vs-doc-3 { left: 60%; }
.vs-doc-title { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vs-doc i { display: block; font-style: normal; }
.vs-doc-bars i { height: 6px; margin-bottom: 7px; background: var(--sage); }
.vs-doc-list i { padding: 4px 0; border-top: 1px solid rgba(24,24,24,.15); font-size: 9px; color: var(--grey); }
.vs-doc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vs-doc-cols i { height: 70px; padding-top: 6px; border-top: 2px solid var(--black); font-size: 10px; }
.vs-doc-table { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vs-doc-table i { height: 18px; background: var(--periwinkle); opacity: .7; }
.vs-doc-screen { display: grid; gap: 6px; padding: 6px; border: 1px solid rgba(24,24,24,.2); border-radius: 4px; }
.vs-doc-screen i { height: 14px; background: var(--grey-bg); }
.vs-doc-screen i:first-child { height: 30px; background: var(--periwinkle); }
.vs-doc-lines i { height: 5px; margin-bottom: 9px; background: rgba(24,24,24,.18); }
.vs-doc-lines i:nth-child(2n) { width: 70%; }

@media (hover: hover) {
  .vs-pathway-grid:has(.vs-folder:hover) .vs-folder:not(:hover) { opacity: .55; }
  .vs-folder:hover { transform: translateY(-6px); }
  .vs-folder:hover .vs-doc-1 { transform: translateY(8%) rotate(-5deg); }
  .vs-folder:hover .vs-doc-2 { transform: translateY(-4%) rotate(1deg); transition-delay: .05s; }
  .vs-folder:hover .vs-doc-3 { transform: translateY(10%) rotate(6deg); transition-delay: .1s; }
}
.vs-folder:focus-within .vs-doc-1 { transform: translateY(8%) rotate(-5deg); }
.vs-folder:focus-within .vs-doc-2 { transform: translateY(-4%) rotate(1deg); }
.vs-folder:focus-within .vs-doc-3 { transform: translateY(10%) rotate(6deg); }
@media (hover: none) {
  .vs-doc { transform: translateY(calc(100% - 46px)) rotate(0deg); }
  .vs-doc-1 { transform: translateY(calc(100% - 40px)) rotate(-4deg); }
  .vs-doc-3 { transform: translateY(calc(100% - 40px)) rotate(4deg); }
}
@media (max-width: 650px) {
  .vs-folder-tab { width: 72%; height: 50px; padding-top: 12px; }
  .vs-folder-docs { top: 50px; left: 34%; right: 3%; }
  .vs-doc { height: 120px; width: 40%; }
  .vs-folder-body { padding: 24px 22px 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .vs-folder, .vs-doc { transition: none; }
}
