/* Wider layout (1.8): the whole site uses more of the screen.
   One container width drives the header, menus, every page and the footer, so they stay aligned and any page
   made in the CMS inherits it. Text measures open up in proportion, staying within comfortable reading lengths.
   Loaded after the other stylesheets (before accessibility, so visitors' text-size choices still win). */

:root { --container: 1600px; }
/* side margins scale with the screen: 48px on a laptop, up to 80px on large monitors */
@media (min-width: 1024px) { :root { --gut: clamp(48px, 4.2vw, 80px); } }

/* text measures: longer lines, fewer wraps, still easy to read */
.t-lead { max-width: 70ch; }
.measure { max-width: 76ch; }
.section-head { max-width: 1120px; }
.section-head p { max-width: 74ch; }
.page-head .t-lead { max-width: 72ch; }
.page-head__lead { max-width: 78ch; }
.prose p { max-width: 74ch; }
.article .prose p { max-width: 70ch; }
.article-prose { max-width: 78ch; }
.article-head__lead { max-width: 72ch; }
.two-col p { max-width: 66ch; }
.cap__head p { max-width: 74ch; }
.statement__foot p { max-width: 64ch; }
.peek__row p { max-width: 66ch; }
.platforms__head p { max-width: 82ch; }
.stepper__panel p { max-width: 74ch; }
.approach-story__step p { max-width: 74ch; }
.faq__a p { max-width: 82ch; }
.why__body p { max-width: 72ch; }
.partner-card__copy p { max-width: 76ch; }
.resource-empty, .ind__empty p { max-width: 70ch; }
.facts dd { max-width: 62ch; }
.pending { max-width: 960px; }
.block-quote--wide { max-width: 1080px; }

/* Contact Us: the same container as every other page */
.contact-page .wrap { width: min(calc(100% - 2 * var(--gut)), var(--container)); }
@media (min-width: 1024px) { .contact-page .wrap { width: min(calc(100% - 2 * var(--gut)), var(--container)); margin-inline: auto; } }
.contact-welcome__intro > p:last-child { max-width: 46ch; }

/* Our Team: larger portraits (still 4:5) and wider biographies, alternating left and right as before */
.team-page-lead { max-width: 68ch; }
.team-profile { max-width: none; column-gap: clamp(48px, 5.5vw, 104px); grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); padding: clamp(64px, 6vw, 96px) 0; }
.team-profile--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); }
.team-profile__visual { max-width: 520px; }
.team-profile__copy { max-width: 72ch; }
.team-profile__photo { aspect-ratio: 4 / 5; }
@media (max-width: 1023px) { .team-profile { column-gap: 40px; } }
@media (max-width: 699px) {
  .team-profile, .team-profile--reverse { grid-template-columns: minmax(0, 1fr); padding: 40px 0; }
  .team-profile__visual, .team-profile--reverse .team-profile__visual { max-width: 440px; }
  .team-profile__photo { aspect-ratio: 4 / 5; }   /* the portrait keeps its own shape on phones too */
}

/* a profile without a photo: the biography takes the full width, no empty frame */
.team-profile--no-photo, .team-profile--no-photo.team-profile--reverse { grid-template-columns: minmax(0, 1fr); }
.team-profile--no-photo .team-profile__copy { max-width: 80ch; }
/* an article card without a cover image: just its text, no empty frame */
.editorial-card--no-media .editorial-card__copy { padding-top: 0; }
/* a logo removed in the CMS: the company name stands in, in the brand's type */
.nav__logo-text { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.footer__logo--text { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: #fff; text-decoration: none; }
