/* One family and a deliberate reading hierarchy across the interior pages. */
body{
  --type-family:REM,Arial,sans-serif;
  --type-display:clamp(44px,5.6vw,84px);
  --type-section:clamp(36px,4.2vw,60px);
  --type-heading:clamp(22px,2.1vw,28px);
  --type-body:16px;
  --type-meta:14px;
  font-family:var(--type-family);
}

/* Homepage heading sizes remain defined in home-b.css. */
body:not([data-page="/"]) :is(.vi-intro,.vi-operations-copy,.portfolio-intro,.case-heading,.contact-copy,.page-hero) h1{
  font-family:var(--type-family);
  font-size:var(--type-display);
  font-weight:500;
  letter-spacing:-.035em;
  line-height:1.04;
  overflow-wrap:anywhere;
}
body:not([data-page="/"]) :is(.vi-section-lead,.vi-signals,.vi-method-copy,.collab-content,.vi-story-copy,.about-partners-copy,.vi-clients,.case-context,.next-case,.visual-closing) h2{
  font-family:var(--type-family);
  font-size:var(--type-section);
  font-weight:500;
  letter-spacing:-.035em;
  line-height:1.08;
  overflow-wrap:anywhere;
}
body:not([data-page="/"]) .ops-chapter-heading h2{
  font-size:var(--type-section);
  font-weight:500;
  letter-spacing:-.035em;
  line-height:1.08;
  overflow-wrap:anywhere;
}

/* Content headings stay distinct from the larger section statements. */
body:not([data-page="/"]) .vi-page :is(.vi-service-title,.vi-detail-rows summary,.vi-delivery-grid,.vi-approach-grid,.ops-entry,.collab-option>summary) h3{
  font-size:var(--type-heading);
  font-weight:500;
  letter-spacing:-.025em;
  line-height:1.2;
  overflow-wrap:anywhere;
}
body:not([data-page="/"]) .vi-page .vi-service:nth-child(even) .vi-service-title h3{
  font-size:var(--type-heading);
  line-height:1.2;
}
body:not([data-page="/"]) .vi-page :is(.vi-service-group,.service-group-heading,.vi-extra) h4{
  font-size:20px;
  font-weight:500;
  letter-spacing:-.015em;
  line-height:1.3;
  overflow-wrap:anywhere;
}
body:not([data-page="/"]) .vi-sector .vi-sector-title h2{
  font-size:clamp(26px,2.5vw,36px);
  font-weight:500;
  letter-spacing:-.025em;
  line-height:1.15;
  overflow-wrap:anywhere;
}
body:not([data-page="/"]) .vi-team .team-person h3{
  font-size:clamp(22px,1.9vw,26px);
  font-weight:500;
  letter-spacing:-.025em;
  line-height:1.2;
  overflow-wrap:anywhere;
}
body:not([data-page="/"]) .contact-form-wrap h2{
  font-size:clamp(28px,2.7vw,36px);
  font-weight:500;
  letter-spacing:-.025em;
  line-height:1.15;
}

/* Reading copy: the same comfortable size on desktop and mobile. */
body:not([data-page="/"]) .vi-page p,
body:not([data-page="/"]) .vi-page li,
body:not([data-page="/"]) :is(.contact-copy>p,.portfolio-intro>p,.case-context p,.page-hero>p){
  font-size:var(--type-body);
  font-weight:400;
  letter-spacing:0;
  line-height:1.65;
}
body:not([data-page="/"]) .vi-page :is(.vi-service-group,.vi-sector-body,.vi-extra,.collab-deliverables-body,.ops-indicators) li,
body:not([data-page="/"]) .vi-page :is(.vi-detail-rows details,.vi-story-copy,.vi-extra,.ops-entry,.about-partners-details,.collab-option,.collab-deliverables-body,.bio)>p{
  font-size:var(--type-body);
  font-weight:400;
  letter-spacing:0;
  line-height:1.65;
}
/* These two legacy declarations used !important at mobile breakpoints. */
body:not([data-page="/"]) .vi-page .vi-service-description{font-size:var(--type-body)!important;line-height:1.65}
body:not([data-page="/"]) .vi-page .vi-small-note{font-size:var(--type-meta)!important;line-height:1.6}
body:not([data-page="/"]) .partner-discipline-list li>span{
  font-size:var(--type-body);
  font-weight:500;
  letter-spacing:0;
  line-height:1.45;
}
body:not([data-page="/"]) .vi-page :is(.vi-extra>summary,.collab-deliverables>summary,.about-partners-details>summary){
  font-size:18px;
  font-weight:500;
  letter-spacing:-.01em;
  line-height:1.4;
}
body:not([data-page="/"]) .vi-inline-link{font-size:var(--type-body);font-weight:500;line-height:1.5}

/* Secondary labels are quieter without shrinking the reading copy. */
body:not([data-page="/"]) .vi-page :is(.vi-service-title p,.team-role,.team-specialty,.ops-chapter-note),
body:not([data-page="/"]) .vi-page .vi-service:nth-child(even) .vi-service-title p,
body:not([data-page="/"]) :is(.project-caption p,.case-facts,.portfolio-count,.case-back,.vi-team .bio summary,.vi-since>span,.form-note){
  font-size:var(--type-meta);
  font-weight:400;
  letter-spacing:0;
  line-height:1.55;
}
body:not([data-page="/"]) .vi-other-formats p{
  font-size:clamp(26px,2.5vw,38px);
  font-weight:500;
  letter-spacing:-.025em;
  line-height:1.2;
}

/* Forms and direct-contact links use the same body scale. */
body:not([data-page="/"]) .contact-form-wrap label{
  font-size:var(--type-meta);
  font-weight:500;
  letter-spacing:0;
  line-height:1.5;
}
body:not([data-page="/"]) .contact-form-wrap label>span{font-size:var(--type-meta);line-height:1.5}
body:not([data-page="/"]) .contact-form-wrap :is(input,select,textarea,#form-status){
  font-family:var(--type-family);
  font-size:var(--type-body);
  font-weight:400;
  letter-spacing:0;
  line-height:1.6;
}
body:not([data-page="/"]) .direct-contact a{font-size:var(--type-body);font-weight:500;line-height:1.5;overflow-wrap:anywhere}
body:not([data-page="/"]) .direct-contact a:first-child{font-size:24px;line-height:1.3}
body:not([data-page="/"]) .contact-signature>span{font-size:20px;font-weight:500;line-height:1.3;letter-spacing:-.015em}

/* Footer information follows the same scale as the homepage footer. */
body:not([data-page="/"]) .footer-statement{font-size:clamp(24px,2.1vw,30px);font-weight:500;line-height:1.2;letter-spacing:-.025em}
body:not([data-page="/"]) .footer-top>div>a{font-size:var(--type-body);line-height:1.5}
body:not([data-page="/"]) .footer :is(.footer-bottom,.footer-social a){font-size:var(--type-meta);line-height:1.6}
