/* ==========================================================================
   Blue Vision Capital — site styles
   Type, colour and spacing measured from the original Webflow build.
   ========================================================================== */

:root {
  --navy: #041f30;          /* headings, footer, button text */
  --navy-90: rgba(4, 31, 48, 0.9);
  --powder: #91b3c7;        /* hero panel, buttons, names, nav links */
  --powder-deep: #7fa3ba;
  --ink: rgba(9, 9, 9, 0.81);
  --ink-soft: rgba(9, 9, 9, 0.6);
  --line: #e6ecf0;
  --white: #ffffff;

  /* Lora at weight 400 matches the Adobe Fonts Lora the Webflow site used */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1170px;
  --container-narrow: 600px;
  --container-prose: 780px;
  --gutter: 24px;
  --nav-h: 114px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --img-hero: url("https://cdn.prod.website-files.com/65c3b83e34b413f0ebb1a24f/68a6ed58f5a13ba72b5a588b_HR_Buildings_joel-filipe-VuwAfoHpxgs-unsplash.jpg");
  --img-pylons: url("https://cdn.prod.website-files.com/65c3b83e34b413f0ebb1a24f/69d95407566420eb461af5de_Pylons_Darker-1920_1850_unsplash.jpg");
  --img-streaks: url("https://cdn.prod.website-files.com/65c3b83e34b413f0ebb1a24f/68a6edfcff28015ac9f7e4e3_HR_vimal-s-cPGMrfAuUSg-unsplash.png");
  --img-solar: url("https://cdn.prod.website-files.com/65bbca01c4727a5dc3fff311/65bc50399819c976b965dff7_pexels-damien-schnorhk-7440371.jpg");
}

/* Smooth cross-fade between pages (Chrome, Edge, Safari 18+; ignored elsewhere) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; animation-timing-function: ease; }

/* Shown only if a content file has a typo */
.content-error { background: #b00020; color: #fff; font: 500 15px/1.4 var(--sans); padding: 12px 24px; position: relative; z-index: 100; }

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--navy); text-wrap: balance; }
::selection { background: var(--powder); color: var(--navy); }
:focus-visible { outline: 2px solid var(--powder); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
.container--prose  { max-width: calc(var(--container-prose) + 2 * var(--gutter)); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Underline that draws in from the left on hover ------------------------- */
.nav__link, .footer__links a, .footer__contact a, .post-card__read, .article__back a, .contact__email a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: 0% 1px;
  transition: background-size 0.45s var(--ease-out), color 0.3s ease;
  padding-bottom: 2px;
}
.nav__link:hover, .footer__links a:hover, .footer__contact a:hover, .post-card__read:hover, .article__back a:hover, .contact__email a:hover,
.nav__link.is-active {
  background-size: 100% 1px;
  background-position: 0% 100%;
}

/* Button: colour wipes across, arrow exits and re-enters --------------- */
.btn {
  --wipe: var(--navy);
  --wipe-text: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 270px;
  min-height: 44px;
  padding: 10px 20px;
  overflow: hidden;
  isolation: isolate;
  background: var(--powder);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: color 0.45s var(--ease-out), transform 0.2s ease, box-shadow 0.45s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--wipe);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s var(--ease-in-out);
}
.btn:hover { color: var(--wipe-text); box-shadow: 0 14px 30px -16px rgba(4, 31, 48, 0.55); }
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn:hover svg { animation: arrow-swap 0.55s var(--ease-out); }
.btn.is-sending { pointer-events: none; opacity: 0.75; }
.btn.is-sending svg { animation: arrow-pulse 0.9s ease-in-out infinite; }

@keyframes arrow-swap {
  0%   { transform: translate(0, 0); opacity: 1; }
  45%  { transform: translate(12px, -12px); opacity: 0; }
  46%  { transform: translate(-12px, 12px); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes arrow-pulse { 50% { transform: translate(3px, -3px); opacity: 0.5; } }

/* Navigation: fixed; turns into a frosted navy bar once you scroll,
   tucks away when scrolling down and returns when scrolling up ----------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  view-transition-name: site-nav;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.5s var(--ease-out);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px;
  transition: padding 0.4s var(--ease-out);
}
.nav__brand img { width: 176px; height: auto; transition: width 0.4s var(--ease-out), opacity 0.3s ease; }
.nav__brand:hover img { opacity: 0.85; }
.nav__menu { display: flex; align-items: center; gap: 36px; }
.nav__link { font-size: 16px; letter-spacing: -0.02em; color: var(--powder); }
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.page-home .nav:not(.is-scrolled) .nav__link:hover { color: var(--navy); }

.nav.is-scrolled {
  background: var(--navy-90);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px -20px rgba(0, 0, 0, 0.6);
}
.nav.is-scrolled .nav__inner { padding-top: 12px; padding-bottom: 12px; }
.nav.is-scrolled .nav__brand img { width: 136px; }
.nav.is-hidden { transform: translateY(-100%); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Reading progress on articles */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 60;
  background: var(--powder);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Home: hero ------------------------------------------------------------ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100svh;
}
.hero__panel {
  display: flex;
  align-items: center;
  background: var(--powder);
  padding: 160px 60px 90px 70px;
}
.hero__content { max-width: 520px; }
.hero__title {
  font-size: clamp(56px, 7vw, 90px);
  line-height: 1.1;
  letter-spacing: -0.033em;
  color: var(--navy);
}
.hero__text {
  margin-top: 36px;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.041em;
  color: var(--ink);
}
.hero__media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: var(--powder);
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img-hero) no-repeat right top / cover;
  animation: hero-settle 2.4s var(--ease-out) both;
}

/* Words rise into place (set up by bvc.js) */
.rise-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.rise-word { display: inline-block; animation: rise 1s var(--ease-out) both; animation-delay: calc(140ms + var(--i, 0) * 70ms); }
.fade-in-late { animation: fade-up 1s var(--ease-out) both; animation-delay: 0.7s; }

@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-settle { from { transform: scale(1.08); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }

/* Home: thesis + logos -------------------------------------------------- */
.thesis {
  position: relative;
  overflow-x: clip;          /* hover boxes never push the page sideways */
  padding: 150px 0 170px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    var(--img-pylons) center / cover no-repeat;
}
.thesis__title {
  max-width: 910px;
  margin: 0 auto;
  font-size: clamp(34px, 4.7vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.042em;
  color: var(--white);
}
/* Words light up one after another as the heading scrolls into view */
.glow .glow-word { opacity: 0.2; transition: opacity 0.7s ease; transition-delay: calc(var(--i, 0) * 45ms); }
.glow.is-in .glow-word { opacity: 1; }

.logos {
  scroll-margin-top: 140px;   /* "Portfolio Companies" link lands with all logos in view */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px 40px;
  max-width: 900px;
  margin: 120px auto 0;
  align-items: center;
}
.logos__item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;            /* every cell the same height, so rows line up */
}
.logos__link { display: flex; align-items: center; justify-content: center; height: 100%; max-width: 100%; padding: 0 8px; outline-offset: 6px; }
/* Size set per logo by bvc.js (--w × --h) so each carries the same visual weight.
   An explicit box also stops Safari drawing size-less SVG logos at zero width. */
.logos__mark {
  --s: 1;
  display: block;
  width: calc(var(--w, 150) * var(--s) * 1px);
  height: calc(var(--h, 50) * var(--s) * 1px);
  max-width: 100%;           /* never wider than its column; the image scales down inside */
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}
.logos__mark img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.logos:hover .logos__mark, .logos:focus-within .logos__mark { opacity: 0.35; }
.logos .logos__item:hover .logos__mark, .logos .logos__item:focus-within .logos__mark { opacity: 1; transform: translateY(-4px); }

/* Hover box: what the company does */
.logo-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 4px);
  z-index: 5;
  width: 270px;
  padding: 18px 20px 20px;
  background: var(--white);
  color: var(--navy);
  text-align: left;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.3s ease, transform 0.45s var(--ease-out), visibility 0s linear 0.3s;
}
.logo-card::after {          /* small pointer towards the logo */
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 12px; height: 12px;
  background: var(--white);
  transform: translate(-50%, -6px) rotate(45deg);
}
.logo-card::before {         /* powder rule that draws in once the card is open */
  content: "";
  position: absolute;
  left: 20px; right: 20px; top: 0;
  height: 2px;
  background: var(--powder);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-out) 0.1s;
}
.logos__item:hover .logo-card, .logos__item:focus-within .logo-card {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.3s ease, transform 0.45s var(--ease-out), visibility 0s;
}
.logos__item:hover .logo-card::before, .logos__item:focus-within .logo-card::before { transform: scaleX(1); }
/* Top row opens downward, over the (dimmed) row below, so the box never
   covers the headline above the logos. */
@media (hover: hover) {
  .logos__item:nth-child(-n + 3) .logo-card { bottom: auto; top: calc(100% - 4px); transform: translate(-50%, -10px); }
  .logos__item:nth-child(-n + 3) .logo-card::after { top: auto; bottom: 100%; transform: translate(-50%, 6px) rotate(45deg); }
  .logos__item:nth-child(-n + 3):hover .logo-card, .logos__item:nth-child(-n + 3):focus-within .logo-card { transform: translate(-50%, 0); }
}
.logo-card__sector { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--powder-deep); }
.logo-card__name { display: block; margin-top: 8px; font-family: var(--serif); font-size: 21px; line-height: 1.15; letter-spacing: -0.03em; }
.logo-card__text { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }

/* Home: team ------------------------------------------------------------ */
.team { padding: 110px 0 60px; }
.team__title {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.062em;
  margin-bottom: 30px;
}
.team__group-title { text-align: center; margin: 70px 0 30px; }
.people--untitled { margin-top: 56px; }
.people--untitled + .people--untitled { margin-top: 15px; }
.team .container { max-width: calc(960px + 2 * var(--gutter)); }
.team__title { max-width: 620px; }
/* Three equal columns on every row, so the partners' row and the advisors' row line up */
.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.person {
  background: var(--white);
  box-shadow: 0 2px 6px rgba(4, 31, 48, 0.08);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.person:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(4, 31, 48, 0.45); }
.person__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #dfe7ec; }
.person__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.3);
  transition: transform 1.2s var(--ease-out), filter 0.6s ease;
}
.person:hover .person__photo img { transform: scale(1.05); filter: grayscale(0); }
.person__body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px 22px; }
.person__name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.023em;
  color: var(--powder);
  transition: color 0.4s ease;
}
.person:hover .person__name { color: var(--navy); }
.person__name { min-width: 0; }
/* Role sits over the bottom of the photo and slides up on hover */
.person__role {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 56px 22px 18px;
  background: linear-gradient(to top, rgba(4, 31, 48, 0.88) 0%, rgba(4, 31, 48, 0.55) 55%, rgba(4, 31, 48, 0) 100%);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.55s var(--ease-out);
}
.person__role::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 10px;
  background: var(--powder);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-out) 0.12s;
}
/* Title appears only while pointing at the photo (or after tapping it on a phone) */
.person__photo.is-revealed .person__role, .person:focus-within .person__role { opacity: 1; transform: none; }
.person__photo.is-revealed .person__role::before, .person:focus-within .person__role::before { transform: scaleX(1); }
@media (hover: hover) {
  .person__photo:hover .person__role { opacity: 1; transform: none; }
  .person__photo:hover .person__role::before { transform: scaleX(1); }
}
.person__linkedin { display: inline-block; flex: none; transition: transform 0.35s var(--ease-out), opacity 0.3s ease; opacity: 0.9; }
.person__linkedin:hover { transform: translateY(-2px); opacity: 1; }
.person__linkedin svg { border-radius: 3px; }

/* Home: closing --------------------------------------------------------- */
.closing {
  position: relative;
  padding: 230px 0 250px;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    var(--img-streaks) left center / cover no-repeat;
}
.closing__title {
  font-size: clamp(36px, 4.7vw, 60px);
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--white);
  margin-bottom: 60px;
}
.closing .btn, .thesis .btn { --wipe: var(--white); --wipe-text: var(--navy); }

/* Footer ---------------------------------------------------------------- */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0 60px;
  font-size: 15px;
}
.footer .container { max-width: var(--container); }
/* Logo | Explore | Email — both text columns share the same label row and
   the same link row, so everything lines up on two common baselines. */
.footer__row {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-between;   /* logo, links and contact on one line */
  align-items: center;
  column-gap: 56px;
  row-gap: 28px;
}
.footer__brand img { width: 176px; transition: opacity 0.3s ease; }
.footer__brand:hover img { opacity: 0.8; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__label { color: var(--powder); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; }
.footer__links { display: flex; flex-wrap: nowrap; gap: 28px; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.footer__copy {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.5);
}

/* Interior page hero (Our Point of View, posts) -------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 120px;
  color: var(--white);
  text-align: center;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(4, 31, 48, 0.55), rgba(4, 31, 48, 0.55)),
    var(--hero-image, var(--img-solar)) center / cover no-repeat;
  animation: hero-settle 2.4s var(--ease-out) both;
}
.page-hero--solar { --hero-image: var(--img-solar); }
.page-hero__title {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--white);
}
.page-hero__title--left { text-align: left; font-size: clamp(34px, 4.7vw, 60px); letter-spacing: -0.04em; max-width: 1000px; }
.page-hero--post { text-align: left; padding: 200px 0 110px; }
.page-hero__date {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--powder);
  margin-bottom: 20px;
}

/* Post list ------------------------------------------------------------- */
.posts { padding: 90px 0 120px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 40px; }
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), border-color 0.4s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(4, 31, 48, 0.45); border-color: transparent; }
.post-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.post-card:only-child .post-card__media { aspect-ratio: auto; min-height: 320px; }
.post-card:only-child .post-card__body { padding: 44px 48px; justify-content: center; }
.post-card:only-child .post-card__title { font-size: clamp(26px, 2.6vw, 34px); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe7ec; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__date { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.post-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}
.post-card__title a { transition: color 0.3s ease; }
.post-card__title a:hover { color: var(--powder-deep); }
.post-card__summary { font-size: 16px; color: var(--ink-soft); }
.post-card__read { align-self: flex-start; margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; color: var(--navy); }
.post-card__read span { display: inline-block; transition: transform 0.4s var(--ease-out); }
.post-card:hover .post-card__read span { transform: translateX(5px); }
.posts__empty { text-align: center; color: var(--ink-soft); }

/* Article --------------------------------------------------------------- */
.article { padding: 80px 0 120px; }
.prose { font-size: 17px; line-height: 1.65; letter-spacing: -0.011em; color: var(--ink); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -0.035em; margin-top: 2.2em; }
.prose h3 { font-family: var(--sans); font-weight: 400; font-size: 28px; line-height: 1.25; letter-spacing: -0.03em; color: var(--navy); margin-top: 2.4em; }
.prose h4 { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-top: 3em; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--powder-deep); }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--powder); transition: text-decoration-color 0.3s ease; }
.prose a:hover { text-decoration-color: var(--navy); }
.prose strong { color: var(--navy); font-weight: 600; }
.prose em { color: var(--ink-soft); }
.prose img { margin: 2em 0; }
.article__back { margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); font-weight: 600; color: var(--navy); }

/* Contact --------------------------------------------------------------- */
.contact { padding: calc(var(--nav-h) + 90px) 0 120px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.contact__title { font-size: clamp(44px, 5.5vw, 72px); line-height: 1.05; letter-spacing: -0.04em; }
.contact__text { margin-top: 28px; font-size: 20px; line-height: 1.55; letter-spacing: -0.03em; }
.contact__email { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.contact__email a { font-size: 20px; color: var(--navy); background-size: 100% 1px; background-position: 0 100%; }
.contact__email a:hover { color: var(--powder-deep); }
.contact--thanks { text-align: center; }
.contact--thanks .btn { margin-top: 36px; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form__field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.form__field > span:first-child { transition: color 0.3s ease; }
.form__field:focus-within > span:first-child { color: var(--powder-deep); }
.form__field input, .form__field select, .form__field textarea {
  font: 400 17px/1.4 var(--sans);
  letter-spacing: -0.01em;
  color: var(--navy);
  padding: 13px 14px;
  border: 1px solid #c9d6de;
  border-radius: 0;
  background: #f7fafc;
  width: 100%;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.form__field input:hover, .form__field select:hover, .form__field textarea:hover { border-color: var(--powder-deep); }
.form__field textarea { resize: vertical; min-height: 150px; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(145, 179, 199, 0.45);
}
.form__hidden { display: none; }
.form .btn { align-self: flex-start; }

/* Pitch page ------------------------------------------------------------ */
.page-hero--pitch { --hero-image: var(--img-pylons); text-align: left; padding: 200px 0 100px; }
.page-hero__lead { max-width: 640px; margin-top: 26px; font-size: 20px; line-height: 1.55; letter-spacing: -0.025em; color: rgba(255, 255, 255, 0.86); }

.pitch { padding: 80px 0 120px; background: #f5f8fa; }
.pitch__grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 64px; align-items: start; }

.pitch__aside { align-self: stretch; display: flex; flex-direction: column; gap: 16px; }
/* Only the step list follows you down the page; the panels above it scroll away */
.pitch__steps { position: sticky; top: 110px; }
.pitch__panel { background: var(--white); padding: 22px 24px; border-left: 2px solid var(--powder); font-size: 15px; line-height: 1.55; letter-spacing: -0.01em; }
.pitch__panel p { color: var(--ink); }
.pitch__panel a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--powder); text-underline-offset: 3px; word-break: break-word; }
.pitch__panel--deck { border-left-color: var(--navy); }
.pitch__aside-title { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.pitch__checks { display: flex; flex-direction: column; gap: 9px; }
.pitch__checks li { position: relative; padding-left: 22px; color: var(--ink); }
.pitch__checks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 5px; border-left: 2px solid var(--powder-deep); border-bottom: 2px solid var(--powder-deep); transform: rotate(-45deg); }

.pitch__steps { display: flex; flex-direction: column; margin-top: 8px; padding: 14px 0 6px; border-top: 1px solid #dde6ec; }
.pitch__step { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14.5px; color: var(--ink-soft); transition: color 0.3s ease; }
.pitch__step span {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border: 1px solid #c9d6de; border-radius: 50%;
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.pitch__step:hover { color: var(--navy); }
.pitch__step.is-current { color: var(--navy); font-weight: 500; }
.pitch__step.is-current span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.pitch__step.is-done span { border-color: var(--powder-deep); background: var(--powder); color: var(--navy); }

.pitch__form { gap: 0; }
.pitch__draft { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }
.pitch__section {
  border: 0; margin: 0 0 20px; padding: 34px 36px 36px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(4, 31, 48, 0.05);
  display: flex; flex-direction: column; gap: 22px;
  scroll-margin-top: 100px;
  min-width: 0;
}
.pitch__legend { float: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 4px; font-family: var(--serif); font-size: 28px; line-height: 1.2; letter-spacing: -0.03em; color: var(--navy); }
.pitch__legend + * { clear: both; }
.pitch__num { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--powder-deep); font-variant-numeric: tabular-nums; }
.form__field em { font-style: normal; font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--ink-soft); margin-left: 4px; }
.form__field input::placeholder, .form__field textarea::placeholder { color: #8b9aa5; }

/* Character count under long answers */
.form__count { align-self: flex-end; margin-top: -2px; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-soft); font-variant-numeric: tabular-nums; transition: color 0.3s ease; }
.form__count.is-near { color: #a1631b; }

/* Errors */
.form__field.has-error input, .form__field.has-error select, .form__field.has-error textarea { border-color: #b3261e; background: #fff8f7; }
.form__field .form__error, .form__check .form__error { color: #b3261e; }
.form__error { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #b3261e; }
.pitch__error-summary { font-size: 14.5px; color: #b3261e; }

.pitch__deck-reminder { padding: 16px 18px; background: #eef4f8; border-left: 2px solid var(--navy); font-size: 15px; line-height: 1.5; color: var(--ink); }
.pitch__deck-reminder a, .pitch__inline-link { color: var(--navy); text-decoration: underline; text-decoration-color: var(--powder); text-underline-offset: 3px; word-break: break-word; }

.form__check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.form__check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); cursor: pointer; }
.form__check.has-error span { color: #b3261e; }
.pitch__submit { align-self: flex-start; }

@media (max-width: 960px) {
  .pitch__grid { grid-template-columns: 1fr; gap: 28px; }
  .pitch__aside { position: static; }
  .pitch__steps { display: none; }
}
@media (max-width: 640px) {
  .page-hero--pitch { padding: 140px 0 70px; }
  .page-hero__lead { font-size: 17px; }
  .pitch { padding: 40px 0 80px; }
  .pitch__section { padding: 24px 20px 26px; }
  .pitch__legend { font-size: 24px; }
}

/* 404 -------------------------------------------------------------------- */
.not-found { padding: calc(var(--nav-h) + 80px) 0 140px; text-align: center; }
.not-found__code { font-family: var(--serif); font-size: clamp(96px, 16vw, 180px); line-height: 1; letter-spacing: -0.04em; color: var(--powder); }
.not-found__title { margin-top: 20px; font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -0.04em; }
.not-found__text { margin-top: 18px; color: var(--ink-soft); }
.not-found .btn { margin-top: 36px; }

/* Pages without a photograph behind the nav keep it navy */
.page-contact .nav, .page-404 .nav { background: var(--navy); }

/* Scroll reveal (classes added by bvc.js, so nothing is hidden without it) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
/* Cards keep their own hover transition once revealed */
.person.reveal.is-in, .post-card.reveal.is-in { transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), opacity 0.9s ease; transition-delay: 0ms; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .footer__row { grid-template-columns: auto auto; justify-content: start; column-gap: 64px; }
  .footer__brand { grid-column: 1 / -1; }
  .nav__inner { padding: 20px 32px; }
  .hero__panel { padding: 140px 40px 70px 40px; }
  .logos { gap: 56px 30px; margin-top: 90px; }
  .closing { padding: 160px 0 170px; }
  .contact__grid { gap: 50px; }
}

@media (max-width: 820px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --nav-h: 100px; }
  .hero { grid-template-columns: 1fr; }
  .hero__panel { padding: 130px var(--gutter) 60px; }
  .hero__content { max-width: 560px; }
  .hero__media { min-height: 52vw; }
  .hero__media::before { background-position: center top; }
  .hero__text { font-size: 19px; margin-top: 26px; }

  .thesis { padding: 100px 0 110px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; }
  .logos__mark { --s: 0.78; }
  .logos__item { height: 84px; }

  .team { padding: 80px 0 40px; }
  .closing { padding: 120px 0 130px; }
  .closing__title { margin-bottom: 40px; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact { padding-top: calc(var(--nav-h) + 50px); padding-bottom: 90px; }

  .footer__row { grid-template-columns: 1fr; justify-items: start; row-gap: 26px; }
  .footer__links { flex-wrap: wrap; white-space: normal; gap: 12px 24px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 82px; }
  .nav__inner { padding: 16px var(--gutter); }
  .nav__brand img { width: 128px; }
  .nav.is-scrolled .nav__brand img { width: 112px; }
  .nav.is-scrolled .nav__inner { padding-top: 10px; padding-bottom: 10px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.45s var(--ease-out), visibility 0s linear 0.45s;
  }
  .nav.is-open { background: var(--navy); }
  .nav.is-open .nav__menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.45s var(--ease-out), visibility 0s; }
  .nav__link { padding: 14px var(--gutter); font-size: 17px; background-image: none; }

  .hero__title { font-size: 46px; letter-spacing: -0.03em; }
  .people { grid-template-columns: 1fr; }
  .logo-card { width: 220px; }
  .form__row { grid-template-columns: 1fr; }
  .btn { width: 100%; min-width: 0; }
  .page-hero { padding: 150px 0 80px; }
  .page-hero--post { padding: 150px 0 70px; }
  .article { padding: 50px 0 90px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card:only-child { grid-template-columns: 1fr; }
  .post-card:only-child .post-card__media { aspect-ratio: 16 / 10; min-height: 0; }
  .post-card:only-child .post-card__body { padding: 26px 28px 30px; }
}

@media (hover: none) {
  /* Touch screens can't hover: keep everything at full strength and show
     each company's description as a caption under its logo instead. */
  .logos:hover .logos__mark, .logos:focus-within .logos__mark { opacity: 1; transform: none; }
  .person__photo img { filter: none; }
  /* Touch screens: tap a photo to show the title (see bvc.js) */
  .person__photo { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .logos { align-items: start; row-gap: 48px; }
  .logos__item { height: auto; flex-direction: column; gap: 14px; }
  .logos__link { height: 72px; }
  .logo-card, .logos__item:hover .logo-card, .logos__item:focus-within .logo-card {
    position: static;
    width: auto;
    max-width: 100%;
    padding: 0;
    background: none;
    box-shadow: none;
    color: var(--white);
    text-align: center;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .logo-card::before, .logo-card::after, .logo-card__name { display: none; }
  .logo-card__sector { color: var(--powder); }
  .logo-card__text { margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .glow .glow-word { opacity: 1; }
  @view-transition { navigation: none; }
}
