/* Shared A/B design. B differs only in its compact opening. */
.direction-a .p03 .company-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.direction-a .p03 .team { grid-template-columns: 1fr; min-height: 85svh; text-align: center; place-items: center; position: relative; }
.direction-a .p03 .team-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.direction-a .p03 .team:after { display: block; background: rgba(0,51,102,.58); }
.direction-a .p03 .team-inner { padding: 64px var(--gutter); }
.direction-a .p03 .team-markers { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-bottom: 48px; }
.direction-a .p03 .team-markers i { border-radius: 4px; }
.direction-a .p03 .team h2 { font-size: clamp(42px,4.5vw,66px); }
.direction-a .p03 .team p { margin: 28px auto; max-width: 570px; font-size: 16px; }
.direction-a .p02 .service-card > .service-icon { padding: 8px; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 4px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#contact { background: white; color: var(--navy); padding: clamp(48px,7vw,100px) var(--page-gutter) 20px; }
#contact .contact { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 48px; color: inherit; text-decoration: none; }
#contact .contact-words { font: 700 clamp(52px,10vw,144px)/1.05 var(--family); letter-spacing: -.045em; }
#contact .contact-words > span { display: block; }
#contact .contact-arrow { font: 400 clamp(44px,9vw,126px)/1.1 Arial,sans-serif; }
#contact .footer-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; min-height: 56px; font: 500 12px var(--family); }
#contact .footer-links a, #contact .footer-links button { color: inherit; background: none; border: 0; padding: 12px 0; text-decoration: none; font: inherit; cursor: pointer; }
#contact-pointer { position: fixed; z-index: 100; pointer-events: none; background: white; color: black; padding: 7px 10px; border: 1px solid #ddd; font: 12px var(--family); }
.compact-opening .p04 { padding-top: 82px; }
.compact-opening .p02 .masthead { color: var(--navy); }
.compact-opening .p02 .header-link { color: var(--navy); }
.direction-a .p02 a.service-card { display: flex; text-decoration: none; }
.direction-a .p02 a.header-link, .direction-a .p02 a.menu-link { text-decoration: none; }
.compact-opening .p02 .menu-trigger i { border-color: currentColor; border-radius: 4px; }
.compact-opening .p02 .menu-trigger { color: var(--navy); }
.compact-opening .p02 .menu-trigger b { background: var(--navy); }
.compact-opening .p04 .hero { color: var(--navy); background: white; }
.compact-opening .p04 .hero { min-height: 0; height: auto; }
.compact-opening .p04 .hero-copy { padding: 20px 0 24px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.compact-opening .p04 .hero h1 { font-size: clamp(32px,3.6vw,52px); line-height: 1.04; margin: 0; }
.compact-opening .p04 .hero-copy > p { font-size: clamp(14px,1.3vw,17px); max-width: 460px; margin: 0; }
.compact-opening .p04 .film-section { height: auto; min-height: 0; margin-bottom: 32px; }
.compact-opening .p04 .film-frame { position: relative; height: max(160px,calc(100svh - 250px)); min-height: 0; max-height: 640px; }
.compact-opening .p04 .film-title { font-size: clamp(20px,2.7vw,38px); }
@media(max-width:700px) {
  .direction-a .p03 .company-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .direction-a .p03 .team-markers { gap: 16px; font-size: 10px; }
  .direction-a .p03 .team-inner { padding: 48px var(--gutter); }
  .compact-opening .p04 .hero-copy { grid-template-columns: 1fr; gap: 16px; padding-top: 12px; }
  .compact-opening .p04 .film-frame { height: max(160px,calc(100svh - 340px)); }
}

/* Open editorial blocks; frames belong to portfolio companies only. */
.direction-a .p02 .service-cards { border: 0; gap: 24px; }
.direction-a .p02 .service-card { border: 0; padding-inline: 0; }
.direction-a .p02 .service-card:hover { background: transparent; }
.direction-a .p03 .company-manifesto { border: 0; margin: 0; }
.direction-a .p03 .company-manifesto .pill { min-height: 32px; padding: 3px 3px 3px 12px; align-self: center; }
.direction-a .p03 .company-manifesto .pill .arrow { width: 25px; height: 25px; margin-left: 10px; }
.direction-a .p02 .wordmark svg text { font-family: var(--family); }
.direction-a .p02 .wordmark span { font-family: var(--family); font-weight: 500; line-height: 1; }
.compact-opening .p04 .film-toggle { display: none; }
.compact-opening .p04 .film-frame { cursor: pointer; }
.compact-opening .p04 .film-frame:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; }

/* The home table shares the Portfolio thesis-sector labels. */
.direction-a .p03 .company-sectors{font-size:14px;line-height:1.4}.direction-a .p03 .company-sectors>span{display:block}.direction-a .p03 .company-sectors>span+span{margin-top:6px}
@media(max-width:700px){.direction-a .p03 .company-sectors{font-size:13px}}
@media(max-width:700px){.direction-a .p03 .company-card{padding:24px 16px 60px}}

/* Company links use the Portfolio arrow, with no hover reveal or content shift. */
.direction-a .p03 .company-card{padding:52px 20px 28px}.direction-a .p03 .company-card .company-content{transform:none}.direction-a .p03 .company-card>.company-direction{position:absolute;top:20px;right:20px;width:20px;height:20px}
/* Separate fixed logo and sector slots so single/multiple sectors start together. */
.direction-a .p03 .company-card .company-content{align-self:stretch;display:grid;grid-template-rows:48px auto;align-content:start;row-gap:22px}.direction-a .p03 .company-content>img{margin:0 auto;width:145px;height:48px}.direction-a .p03 .company-content>.company-sectors{margin:0 auto;align-self:start}
