/* ==========================================================================
   Landing-page sections, shared by index.html and the section pages
   (founders, network, team). Markup is rendered by sections.js.
   ========================================================================== */

  /* ============ HERO: sticky yellow screen; the yellow "wall" below it scrolls over it, then the projects ============ */
  .hero-wrap { height: 80vh; min-height: 560px; }
  .hero { position: sticky; top: 0; z-index: 0; height: 80vh; min-height: 560px; background: var(--yellow); display: flex; align-items: center; justify-content: flex-start; padding-left: 8vw; overflow: hidden; }
  .hero__logo { width: min(780px, 52vw); aspect-ratio: 520 / 184; object-fit: cover; }
  .hero__center { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 40px; }   /* centred, nudged down to clear the header */
  /* logo mosaic (assets/mosaic.js) in place of the logo image */
  .mosaic { position: relative; width: min(1320px, 84vw); }
  .mosaic canvas { display: block; }
  .mosaic__tip { position: absolute; z-index: 2; pointer-events: none; width: max-content; max-width: 260px; padding: 12px 16px; border-radius: 12px;
                 background: var(--navy); color: var(--paper); text-align: center; box-shadow: 0 10px 30px rgba(8, 44, 78, .25);
                 opacity: 0; transform: translate(-50%, calc(-100% - 6px)) scale(.85); transform-origin: 50% 100%;
                 transition: opacity .25s cubic-bezier(.22, 1, .36, 1), transform .4s cubic-bezier(.34, 1.56, .64, 1); }
  .mosaic__tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 12px)) scale(1); }
  .mosaic__tip strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
  .mosaic__tip span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.35; opacity: .75; }
  .mosaic__tip span:empty { display: none; }
  .hero__tag { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -.02em; color: var(--navy); }   /* same face and weight as the section headlines */
  .hero__foot { position: absolute; left: 0; right: 0; bottom: 96px; display: flex; flex-direction: column; align-items: center; }
  /* logo marquee: constant speed (set in JS from the track width), faded edges */
  .hero__marquee { width: 100%; overflow: hidden; padding: 12px 0;
                   -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .hero__track { display: flex; align-items: center; width: max-content; will-change: transform; animation: marquee var(--marquee-time, 60s) linear infinite; }
  /* each logo is painted in 10x navy through its own shape (mask); the invisible <img> inside only sets the size */
  .hero__mark { margin: 0 44px; flex: none; display: block; background: var(--navy);
                -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
  .hero__mark img { display: block; height: 48px; width: auto; max-width: 210px; object-fit: contain; opacity: 0; }
  @keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
  .wall { position: relative; z-index: 1; height: 8vh; background: var(--yellow); }   /* short hold before the next section slides over (Framer uses 840px) */
  main > section { position: relative; z-index: 1; }

  /* ============ PROJECTS ============ */
  .projects { background: var(--beige); color: var(--navy); padding: 120px 0; }
  .projects .pintro__title { max-width: none; }
  .projects .shead { padding-left: var(--gutter); padding-right: var(--gutter); }
  /* section intro used by every section: title on the left, lead text on the right, bottoms aligned */
  .pintro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: end; column-gap: 80px;
            padding: 0 var(--side); margin-bottom: 56px; }                  /* gap between a headline (and its button) and the content */
  .pintro__title { max-width: 10em; }
  .home .pintro__title { font-size: clamp(38px, 5.6vw, 80px); }          /* homepage section headlines: 5px smaller than elsewhere (100px) */
  .pintro__text { line-height: 1.32; padding-bottom: .35em; opacity: .85; }
  .pintro__text + .pintro__text { margin-top: .7em; }
  .pintro__action { margin-top: 32px; }                                  /* section button: under the lead text… */
  .pintro__text-wrap.is-action-only { justify-self: end; }               /* …or on its own, level with the headline's last line */
  .pintro__text-wrap.is-action-only .pintro__action { margin-top: 0; }
  .pintro:has(.is-action-only) { grid-template-columns: minmax(0, 1fr) auto; }   /* a lone button only takes its own width */
  .network .pintro { margin-bottom: 0; }                                 /* the network intro is all that section holds: no empty gap below */
  :root { --side: clamp(24px, 4vw, 64px); }
  main section[id] { scroll-margin-top: 84px; }
  /* featured cases: photo cards in a grid (same rhythm as the team teaser), case text on hover */
  .projects__rows, .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 10px; margin: 0 var(--gutter); }
  .fc { display: block; color: var(--navy); }
  .fc__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
  .fc__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
  .fc__photo.is-logo { display: grid; place-items: center; }
  .fc__logo { width: 50%; max-height: 30%; object-fit: contain; filter: brightness(0) invert(1); }
  .fc__desc { position: absolute; inset: 0; overflow-y: auto; padding: 22px 22px 26px; background: var(--paper); color: var(--navy);
              font-size: 14px; line-height: 1.5; opacity: 0; visibility: hidden; transition: opacity .35s cubic-bezier(.22, 1, .36, 1), visibility .35s; overscroll-behavior: contain; }
  .fc__desc p + p { margin-top: .8em; }
  .fc__desc { scrollbar-width: thin; scrollbar-color: rgba(8, 44, 78, .35) transparent; }   /* long cases scroll inside the card */
  .fc:hover .fc__desc, .fc:focus-visible .fc__desc, .fc:focus-within .fc__desc { opacity: 1; visibility: visible; }
  .fc:hover .fc__img { transform: scale(1.03); }
  .fc__name { margin-top: 14px; font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; letter-spacing: -.01em; }   /* headline face at the team-name size */
  .fc__meta { margin-top: 4px; font-size: .9375rem; line-height: 1.35; opacity: .7; }
  .fc__meta span + span::before { content: " / "; }
  /* team page: the same cards with the team photo shape, a LinkedIn button and a job tile */
  .fc__photo--team { aspect-ratio: 848 / 976; }
  .fc--team .fc__img { object-position: 50% 25%; }
  .fc--team .fc__desc { padding-bottom: 64px; }   /* room for the LinkedIn button */
  .fc__soon { position: absolute; left: 18px; top: 18px; color: var(--paper); font-size: 14px; opacity: .8; }
  .fc__in { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center;
            background: var(--navy); color: var(--paper); transition: background .2s, color .2s, transform .2s; }
  .fc__in svg { width: 16px; height: 16px; }
  .fc__in:hover, .fc__in:focus-visible { background: var(--yellow); color: var(--navy); transform: scale(1.06); }
  .fc__jobtile { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: #68a7ff; color: var(--navy); transition: background .3s; }
  .fc__job-label { font-size: 14px; font-weight: 600; }
  .fc__job-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.2vw, 48px); line-height: .95; letter-spacing: -.02em; }
  .fc__job-cta { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
  .fc__job-cta svg { width: 14px; height: 14px; }
  .fc--job:hover .fc__jobtile { background: var(--beige); }
  .team-page { background: var(--yellow); color: var(--navy); padding: 0 0 120px; }
  .phero--light { background: var(--paper); color: var(--navy); }
  .phero--team { background: var(--yellow); color: var(--navy); }
  @media (max-width: 1100px) { .projects__rows, .cards { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px)  { .projects__rows, .cards { grid-template-columns: 1fr; } }
  .projects__more { display: flex; justify-content: center; margin-top: 80px; }

  /* ============ INTRO / STRATEGY ============ */
  .intro { background: var(--paper); color: var(--navy); padding: 140px 0 120px; }
  .intro .pintro__title { max-width: 11em; }
  .intro .pintro__text { opacity: 1; }
  .intro .pillar, .intro .pillar + .pillar { border-color: rgba(8, 44, 78, .2); }
  .intro .pillar p { color: var(--navy); }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--side) 120px; border-top: 1px solid var(--ink); }
  .stat { padding: 22px 24px 0 0; }
  .stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 5.6vw, 88px); line-height: 1; letter-spacing: -.03em; }
  .stat__label { margin-top: 10px; color: var(--g600); }
  .pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 var(--side); }
  .pillar { padding: 28px 28px 32px 0; border-top: 1px solid rgba(9, 9, 11, .18); }
  .pillar + .pillar { padding-left: 28px; border-left: 1px solid rgba(9, 9, 11, .18); }
  .pillar__n { color: var(--g600); }
  .pillar h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; }
  .pillar p { line-height: 1.4; color: #3f3f46; max-width: 30ch; }

  /* ============ NETWORK ============ */
  .network { background: var(--yellow); color: var(--navy); padding: 120px 0; }
  .ncards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 var(--gutter); }
  .ncard { background: var(--navy); color: var(--cream); min-height: 420px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
           transition: transform .5s var(--ease); }
  .ncard:hover { transform: translateY(-6px); }
  .ncard__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 7vw, 112px); line-height: .9; letter-spacing: -.03em; color: var(--yellow); }
  .ncard h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.05; margin-bottom: 12px; }
  .ncard p { line-height: 1.4; color: rgba(244, 251, 250, .78); max-width: 32ch; }
  .network__more { display: flex; justify-content: center; margin-top: 64px; }

  /* ============ PITCH CTA ============ */
  .cta { background: var(--yellow); color: var(--navy); padding: 140px var(--side); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px;
         border-top: 1px solid rgba(8, 44, 78, .15); }
  .cta__title { max-width: 11em; }
  .cta__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta__mail { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }

  /* ============ BE BOLD ============ */
  .be { background: var(--navy); color: var(--beige); height: 100vh; min-height: 720px; padding: 170px var(--gutter) 163px; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; }
  .be__mid { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  /* image trail: photos appear along the pointer's path (see beTrail() below) */
  /* photo trail (team photos following the pointer), used over the network section; sits above the cards but never blocks clicks */
  .be__trail { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
  .be__trail div { position: absolute; width: 260px; height: 260px; margin: -130px 0 0 -130px; display: grid; place-items: center; will-change: transform, opacity; }
  .be__trail img { max-width: 240px; max-height: 240px; width: auto; height: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
  .be__side { text-transform: uppercase; }
  .be__side:last-child { justify-self: end; }
  .be__big { display: flex; gap: 10px; font-size: clamp(96px, 13.9vw, 200px); line-height: .8; letter-spacing: -.04em; }
  .be__be { font-weight: 600; color: #000; width: 1.15em; }
  .be__words { position: relative; height: .8em; margin: .4em 0; overflow: hidden; color: var(--red); font-weight: 800; min-width: 2.45em; }
  .be__track { display: block; transition: transform .8s var(--ease); }
  .be__track span { display: block; height: .8em; }

  /* ============ SERVICES ============ */
  .services { background: var(--yellow); color: var(--navy); padding: 100px var(--gutter) 0; }

  /* ============ TEAM: the hover grid from pages/team (black, yellow accent, bios on hover) ============ */
  .team { background: #000; color: var(--yellow); padding: 140px 0 0; --tile-ratio: 848 / 976; --in-size: 2.25rem; }
  .team .pintro__text { color: var(--beige); opacity: 1; }
  .tg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tg__spacer { grid-area: 1 / 2; background: var(--yellow); display: flex; align-items: center; justify-content: center; aspect-ratio: var(--tile-ratio); container-type: size; }
  .tg__spacer-title { font-family: "League Gothic", var(--font-display); font-size: 30cqh; line-height: .8; color: #000; rotate: -90deg; white-space: nowrap; text-transform: uppercase; user-select: none; }
  .tg__member { position: relative; aspect-ratio: var(--tile-ratio); background: #2a2a2a; overflow: hidden; }
  .tg__link { position: absolute; inset: 0; display: flex; align-items: flex-end; color: inherit; }
  .tg__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
  .tg__link::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.08); pointer-events: none; }
  .tg__placeholder { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 35%, #555 0%, #2b2b2b 55%, #151515 100%); }
  .tg__placeholder-label { position: absolute; top: 1.25rem; left: 1.25rem; z-index: 2; font-family: "IBM Plex Mono", monospace; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.45); }
  .tg__info { position: relative; z-index: 2; display: flex; flex-direction: column; gap: .3rem; width: 100%; padding: 3rem calc(1.25rem * 2 + var(--in-size)) 1.25rem 1.25rem;
              background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.25) 55%, transparent); text-shadow: 0 1px 8px rgba(0,0,0,.35);
              transition: opacity .15s cubic-bezier(.22, 1, .36, 1), transform .25s cubic-bezier(.22,1,.36,1); }
  .tg__name { font-size: 1.25rem; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
  .tg__role { font-size: .9375rem; line-height: 1.3; font-weight: 500; opacity: .85; }
  .tg__bio { position: absolute; left: 0; bottom: 0; width: 100%; z-index: 3; padding: 5rem calc(1.25rem * 2 + var(--in-size)) 1.25rem 1.25rem;
             font-family: "IBM Plex Mono", monospace; font-size: .8125rem; line-height: 1.55; color: var(--yellow);
             background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.6) 60%, transparent); opacity: 0; pointer-events: none; transition: opacity .2s cubic-bezier(.22, 1, .36, 1); }
  .tg__bio::before { content: ""; display: block; width: 2.5rem; height: 2px; margin-bottom: .875rem; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
  .tg__bio .w { display: inline-block; opacity: 0; transform: translateY(.7em); filter: blur(3px); transition: opacity .2s cubic-bezier(.22, 1, .36, 1), transform .2s cubic-bezier(.22, 1, .36, 1), filter .2s cubic-bezier(.22, 1, .36, 1); }
  .tg__bio p { max-width: 34rem; }
  .tg__in { position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 4; width: var(--in-size); height: var(--in-size); display: grid; place-items: center; border-radius: 50%;
            color: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--yellow); transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
  .tg__in svg { width: 45%; height: 45%; }
  .tg__in:hover, .tg__in:focus-visible { background: #68a7ff; color: #000; box-shadow: inset 0 0 0 1.5px #68a7ff; transform: scale(1.08); }
  .tg__member::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; box-shadow: inset 0 0 0 3px var(--yellow); opacity: 0; transition: opacity .2s cubic-bezier(.22, 1, .36, 1); }
  .tg__job { aspect-ratio: var(--tile-ratio); display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; background: var(--yellow); color: #000;
             container-type: inline-size; transition: background .2s, color .2s; }
  .tg__job-label { font-family: "IBM Plex Mono", monospace; font-size: 1rem; }
  .tg__job-title { font-family: "League Gothic", var(--font-display); text-transform: uppercase; font-size: clamp(2.5rem, 24cqi, 9rem); line-height: .85; }
  .tg__job-cta { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1.125rem; }
  .tg__job-cta svg { width: .875rem; height: .875rem; }
  .tg__job:hover { background: #000; color: var(--yellow); outline: 1px solid var(--yellow); outline-offset: -1px; }
  @media (hover: hover) and (min-width: 992px) {
    .tg__member:hover::after, .tg__member:focus-within::after { opacity: 1; }
    .tg__member:hover .tg__img, .tg__member:hover .tg__placeholder { transform: scale(1.03); }
    .tg__member:hover .tg__bio, .tg__member:focus-within .tg__bio { opacity: 1; }
    .tg__member:hover .tg__bio::before, .tg__member:focus-within .tg__bio::before { transform: scaleX(1); transition: transform .35s cubic-bezier(.22,1,.36,1) .05s; }
    .tg__member:hover .tg__bio .w, .tg__member:focus-within .tg__bio .w { opacity: 1; transform: none; filter: none;
      transition: opacity .25s cubic-bezier(.22, 1, .36, 1), transform .35s cubic-bezier(.22,1,.36,1), filter .25s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(.08s + min(var(--i) * 8ms, .25s)); }
    .tg__member:hover .tg__info, .tg__member:focus-within .tg__info { opacity: 0; transform: translateY(.75rem); }
  }
  @media (max-width: 991px) { .tg__bio { display: none; } .tg__name { font-size: 1.0625rem; } .tg__role { font-size: .8125rem; } }
  @media (max-width: 767px) { .tg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 479px) {
    .team { --in-size: 1.75rem; }
    .tg__spacer { grid-area: 1 / 1 / auto / span 2; aspect-ratio: 16 / 10; }
    .tg__spacer-title { rotate: 0deg; font-size: 30vw; }
    .tg__info { padding: 2rem calc(.75rem * 2 + var(--in-size)) .75rem .75rem; gap: .2rem; }
    .tg__in { right: .75rem; bottom: .75rem; }
    .tg__name { font-size: .875rem; } .tg__role { font-size: .75rem; } .tg__job { padding: 1rem; }
  }

  @media (max-width: 1100px) {
    .stats, .pillars { grid-template-columns: 1fr 1fr; }
    .stat { padding-bottom: 28px; }
    .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
    .ncards { grid-template-columns: 1fr; }
    .ncard { min-height: 280px; }
  }
  @media (max-width: 809px) {
    .hero { padding: 0 8vw; }
    .hero__logo { width: min(520px, 84vw); }
    .mosaic { width: 84vw; }
    .hero__foot { bottom: 48px; }
    .hero__mark { margin: 0 28px; }
    .hero__mark img { height: 36px; max-width: 150px; }
    .be__be { width: auto; }
    .pintro { grid-template-columns: 1fr; row-gap: 24px; margin-bottom: 48px; }
    .pintro__text-wrap.is-action-only { justify-self: start; }
    .pintro:has(.is-action-only) { grid-template-columns: 1fr; }
    .be { height: auto; min-height: 100vh; padding: 120px var(--gutter) 80px; row-gap: 60px; }
    .be__mid { grid-template-columns: 1fr; justify-items: center; }
    .be__side { display: none; }
    .be__big { font-size: 22vw; flex-direction: column; align-items: center; gap: 0; }
    .be__be br { display: none; }
    .intro, .network { padding: 96px 0; }
    .projects { padding: 96px 0; }
    .team { padding-top: 96px; }
    .pillars { grid-template-columns: 1fr; }
    .pillar, .pillar + .pillar { padding-left: 0; border-left: 0; }
    .pillar h3 { margin-top: 24px; }
    .stats { margin-bottom: 72px; }
    .cta { grid-template-columns: 1fr; padding: 96px var(--side); }
  }

  /* ============ SECTION PAGES ============ */
  .phero { padding: 190px 0 110px; }
  .phero--tight { padding-bottom: 48px; }                                /* founders and team pages: headline close to the content */
  .phero--cream { background: var(--cream); } .phero--beige { background: var(--beige); }
  .phero--yellow { background: var(--yellow); color: var(--navy); } .phero--black { background: #000; color: var(--yellow); }
  .phero--black .pintro__text { color: var(--beige); opacity: 1; }
  .phero .pintro { margin-bottom: 0; }
  .sec-more { display: flex; justify-content: center; margin-top: 72px; }

  /* team teaser on the landing page: four people, name and role only */
  .tt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 var(--gutter); }
  .tt__card { display: block; color: var(--yellow); }
  .tt__photo { aspect-ratio: 848 / 976; overflow: hidden; background: #2a2a2a; }
  .tt__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
  .tt__card:hover .tt__photo img { transform: scale(1.03); }
  .tt__name { margin-top: 14px; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
  .tt__role { margin-top: 4px; font-size: .9375rem; color: var(--beige); opacity: .8; }
  .team--teaser { padding-bottom: 120px; background: var(--beige); color: var(--navy); }
  .team--teaser .tt__card { color: var(--navy); }
  .team--teaser .tt__photo { background: rgba(8, 44, 78, .08); }
  .team--teaser .tt__role { color: var(--navy); opacity: .7; }

  /* portfolio mix on the strategy page */
  .mix { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px); margin: 0 var(--side); }
  .mix h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.1vw, 32px); letter-spacing: -.02em; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--ink); }
  .mix ul { list-style: none; display: grid; gap: 12px; }
  .mix li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 16px; }
  .mix li span:last-child { color: var(--g600); font-variant-numeric: tabular-nums; }
  .mix li i { grid-column: 1 / -1; height: 5px; background: rgba(9, 9, 11, .1); position: relative; overflow: hidden; }
  .mix li i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--navy); }
  .mixsec { background: var(--cream); padding: 0 0 140px; }
  .pillsec { background: var(--cream); padding: 0 0 140px; }

  /* full company list on the founders page */
  .clist-sec { background: var(--beige); padding: 0 var(--side) 140px; }
  /* pages set in 10x navy throughout (founders): retint the ink and grey tokens */
  .page-navy { color: var(--navy); --ink: var(--navy); --g600: rgba(8, 44, 78, .72); }
  .page-navy .phero .pintro { grid-template-columns: 1fr; }   /* no lead text: the headline uses the full width (two lines) */
  .page-navy .phero .pintro__title { max-width: none; }
  .clist-sec--yellow { background: var(--yellow); padding-top: 150px; }   /* the space above "Our portfolio." sits inside the yellow */
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 1100px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px)  { .cards--3 { grid-template-columns: 1fr; } }
  .cfilters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
  .cfilter { border: 1px solid var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 14px; transition: background .25s, color .25s; }
  .cfilter:hover { background: var(--paper); }
  .cfilter.is-active { background: var(--ink); color: var(--cream); }
  .cfilter sup { font-size: 10px; margin-left: 4px; opacity: .6; }
  .clist { list-style: none; border-top: 1px solid var(--ink); }
  .crow { display: grid; grid-template-columns: 48px 2fr 1.6fr 1.1fr 1.1fr 36px; align-items: center; gap: 16px; min-height: 68px; padding: 10px 8px;
          border-bottom: 1px solid rgba(9, 9, 11, .15); color: var(--ink); transition: background .25s; }
  .crow:hover { background: var(--paper); }
  .crow__idx, .crow__cell { font-size: 14px; color: var(--g600); }
  .crow__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; transition: transform .4s var(--ease); }
  .crow:hover .crow__name { transform: translateX(6px); }
  .crow__uni { display: inline-block; width: .9em; height: .9em; margin-left: .3em; vertical-align: -.05em; }
  .crow__uni svg { width: 100%; height: 100%; display: block; }
  .crow__go svg { width: 11px; height: 11px; }
  @media (max-width: 1100px) { .mix { grid-template-columns: 1fr; } .tt { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 809px) {
    .phero { padding: 140px 0 72px; }
    .phero--tight { padding-bottom: 32px; }
    .crow { grid-template-columns: 1fr auto; } .crow__idx, .crow__cell:not(.crow__stage) { display: none; }
  }

  /* ============ NETWORK PAGE: full-screen slideshow ============ */
  .slides { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: var(--navy); color: var(--paper); }
  .slides__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08);
                 transition: opacity 1.2s cubic-bezier(.22, 1, .36, 1), transform calc(var(--every, 6000ms) + 1200ms) cubic-bezier(.22, 1, .36, 1); }
  .slides__img.is-on { opacity: 1; transform: scale(1); }
  .slides__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 44, 78, .15) 0%, rgba(8, 44, 78, 0) 35%, rgba(8, 44, 78, .65) 100%); pointer-events: none; }
  .slides__title { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 96px; margin: 0;
                   font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 10vw, 168px); line-height: .88; letter-spacing: -.03em; text-wrap: balance; }
  .slides__bars { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; display: flex; gap: 10px; }
  .slides__bar { flex: 1; height: 24px; padding: 11px 0; background: none; border: 0; cursor: pointer; }
  .slides__bar i { display: block; height: 2px; background: rgba(255, 210, 0, .35); position: relative; overflow: hidden; }
  .slides__bar i::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
  .slides__bar.is-done i::after { transform: scaleX(1); }
  .slides__bar.is-on i::after { animation: slidebar var(--every, 6000ms) cubic-bezier(.22, 1, .36, 1) forwards; }
  @keyframes slidebar { to { transform: scaleX(1); } }
  @media (prefers-reduced-motion: reduce) { .slides__img { transform: none !important; transition: opacity .6s cubic-bezier(.22, 1, .36, 1); } }
  @media (max-width: 809px) { .slides { height: 85vh; } .slides__title { bottom: 80px; } .slides__bars { bottom: 28px; } }

  /* ============ NETWORK PAGE: LinkedIn wall ============ */
  .love { background: var(--beige); color: var(--navy); padding: 120px 0 140px; }
  .love .pintro { grid-template-columns: 1fr; }
  .love .pintro__title { max-width: none; }
  .lwall { columns: 3 340px; column-gap: 16px; margin: 0 var(--gutter); }
  .lpost { break-inside: avoid; margin-bottom: 16px; padding: 22px; background: var(--paper); color: var(--navy); }
  .lpost--example { background: transparent; border: 1px dashed rgba(8, 44, 78, .4); }
  .lpost__head { display: grid; grid-template-columns: 40px 1fr 20px; gap: 12px; align-items: center; }
  .lpost__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--yellow); font-size: 14px; font-weight: 700; }
  .lpost__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
  .lpost__who strong { font-size: 16px; font-weight: 700; }
  .lpost__who span { font-size: 14px; opacity: .7; }
  .lpost__in { width: 20px; height: 20px; color: var(--navy); opacity: .8; }
  .lpost__in svg { width: 100%; height: 100%; display: block; }
  a.lpost__in:hover { opacity: 1; color: #0a66c2; }
  .lpost__flag { display: inline-block; margin-top: 14px; padding: 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--yellow); }
  .lpost__text { margin-top: 14px; font-size: 16px; line-height: 1.5; max-height: calc(1.5em * 8); overflow: hidden; }
  .lpost.is-open .lpost__text { max-height: none; }
  .lpost__text p + p { margin-top: .7em; }
  .lpost__text b { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
  .lpost__more { margin-top: 8px; padding: 0; background: none; border: 0; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: underline; cursor: pointer; }
  .lpost__img { display: block; width: 100%; margin-top: 16px; }


  /* long links or underscore lines inside posts may break on phones */
  .love p { overflow-wrap: anywhere; }
