/* Restrained typography, shared across the site. Font families and layout stay in their existing rules. */
body:is(#home,.inner-page) #hero-heading,
body:is(#home,.inner-page) .inner-hero h1,
body:is(#home,.inner-page) .connect-page h1,
body:is(#home,.inner-page) .hx__project-copy h1 {
  font-size:40px;font-weight:400;line-height:1.18;letter-spacing:0;
}
body:is(#home,.inner-page) .projects-intro :is(h1,h2),
body:is(#home,.inner-page) .section-heading,
body:is(#home,.inner-page) .inner-editorial h2,
body:is(#home,.inner-page) .inner-split h2,
body:is(#home,.inner-page) .connect-panel h2 {
  font-size:32px;font-weight:400;line-height:1.25;letter-spacing:0;
}
body:is(#home,.inner-page) .projects-grid article h3,
body:is(#home,.inner-page) .desk .editorial-grid h3 {
  font-size:22px;font-weight:400;line-height:1.3;letter-spacing:0;
  white-space:normal;overflow-wrap:break-word;
}
body:is(#home,.inner-page) .projects-intro p,
body:is(#home,.inner-page) .desk-intro p,
body:is(#home,.inner-page) .people-subtitle,
body:is(#home,.inner-page) .projects-grid article>p:not(.eyebrow),
body:is(#home,.inner-page) .desk .editorial-grid article>p,
body:is(#home,.inner-page) .inner-hero-copy>p:not(.eyebrow),
body:is(#home,.inner-page) .inner-editorial>p:not(.eyebrow),
body:is(#home,.inner-page) .inner-split p:not(.eyebrow),
body:is(#home,.inner-page) .connect-lead,
body:is(#home,.inner-page) .connect-panel p:not(.eyebrow),
body:is(#home,.inner-page) .hx__project-copy .harsukh-description,
body:is(#home,.inner-page) .connect-panel>a {
  font-size:16px;font-weight:400;line-height:1.5;letter-spacing:0;
}
body:is(#home,.inner-page) .hero>.text-link,
body:is(#home,.inner-page) .projects-grid .text-link,
body:is(#home,.inner-page) .desk-read-more,
body:is(#home,.inner-page) .inner-editorial .text-link,
body:is(#home,.inner-page) .inner-split .text-link,
body:is(#home,.inner-page) .hx__project-copy .text-link,
body:is(#home,.inner-page) .award-story-link,
body:is(#home,.inner-page) #navigation,
body:is(#home,.inner-page) header .connect,
body:is(#home,.inner-page) .footer-navigation,
body:is(#home,.inner-page) .footer-contact :is(p,a),
body:is(#home,.inner-page) .footer-social p,
body:is(#home,.inner-page) .footer-copyright {
  font-size:14px;font-weight:400;line-height:1.5;letter-spacing:.02em;
}
body:is(#home,.inner-page) main .eyebrow,
body:is(#home,.inner-page) .projects-grid .eyebrow,
body:is(#home,.inner-page) .hero>.eyebrow {
  font-size:12px;font-weight:400;line-height:1.4;letter-spacing:.06em;
}
body:is(#home,.inner-page) .award-content h2 {
  font-size:22px;font-weight:400;line-height:1.3;letter-spacing:0;
}
@media(max-width:800px){
  body:is(#home,.inner-page) #hero-heading,
  body:is(#home,.inner-page) .inner-hero h1,
  body:is(#home,.inner-page) .connect-page h1,
  body:is(#home,.inner-page) .hx__project-copy h1 {font-size:30px}
  body:is(#home,.inner-page) .projects-intro :is(h1,h2),
  body:is(#home,.inner-page) .section-heading,
  body:is(#home,.inner-page) .inner-editorial h2,
  body:is(#home,.inner-page) .inner-split h2,
  body:is(#home,.inner-page) .connect-panel h2 {font-size:26px}
  body:is(#home,.inner-page) .projects-grid article h3,
  body:is(#home,.inner-page) .desk .editorial-grid h3,
  body:is(#home,.inner-page) .award-content h2 {font-size:20px}
}

/* Restore the earlier near-square people-card frame; retain the current text scale. */
body:is(#home,.inner-page) .people-grid .person-card {
  aspect-ratio:450/442;height:auto;min-height:0;
  padding:0 2.1vw;container-type:inline-size;
}
body:is(#home,.inner-page) .person-identity {
  display:grid;grid-template-columns:clamp(72px,7vw,120px) minmax(0,1fr);
  align-items:center;gap:clamp(16px,1.5vw,24px);
  margin-top:clamp(58px,4.55vw,80px);width:100%;
}
body:is(#home,.inner-page) .person-identity>div {min-width:0}
body:is(#home,.inner-page) .person-portrait {
  width:100%;height:auto;aspect-ratio:128/141;
}
body:is(#home,.inner-page) .people-grid .person-identity h3 {
  font-size:20px;font-weight:400;line-height:1.3;letter-spacing:0;
  white-space:normal;overflow-wrap:break-word;
}
body:is(#home,.inner-page) .people-grid .person-role {
  font-size:14px;font-weight:400;line-height:1.45;letter-spacing:0;
  white-space:normal;overflow-wrap:break-word;
}
body:is(#home,.inner-page) .people-grid .person-description {
  font-size:16px;font-weight:400;line-height:1.5;letter-spacing:0;
  margin:32px 0 0;overflow-wrap:break-word;
}
/* Uppercase removes the mixed-height small capitals without changing the font. */
body:is(#home,.inner-page) .footer-statement {
  font-size:32px;font-weight:400;line-height:1.2;letter-spacing:0;
  font-variant:normal;text-transform:uppercase;
}
@media(max-width:800px){
  body:is(#home,.inner-page) .people-grid .person-identity h3 {font-size:18px}
  body:is(#home,.inner-page) .footer-statement {font-size:26px}
}
@media(max-width:560px){
  body:is(#home,.inner-page) .people-grid .person-card {min-height:0}
}
/* Let tablet footer rows accommodate wrapped copy instead of spilling past the page. */
@media(min-width:701px) and (max-width:1100px){
  .footer-layout{height:auto;grid-template-rows:auto auto auto;row-gap:24px;padding-bottom:24px}
  .footer-copyright{white-space:normal;overflow-wrap:anywhere}
}

/* Keep the original card proportions while reserving enough width for readable copy. */
@media(max-width:1250px){
  .people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
  .people-grid .person-card,.people-grid .person-card:nth-child(4),.people-grid .person-card:nth-child(5){grid-column:auto}
  .people-grid .person-card:last-child{grid-column:1/-1;width:calc(50% - 14px);justify-self:center}
  body:is(#home,.inner-page) .people-grid .person-card{padding:0 8%}
}
@media(max-width:700px){
  .people-grid{display:flex;flex-direction:column;gap:24px}
  .people-grid .person-card,.people-grid .person-card:last-child{width:100%}
}
/* Adjust internal whitespace, never font sizes, when a card's content area narrows. */
@container (max-width:280px){
  body:is(#home,.inner-page) .person-identity{grid-template-columns:52px minmax(0,1fr);gap:12px;margin-top:16px}
  body:is(#home,.inner-page) .people-grid .person-description{margin-top:12px}
}
@container (min-width:281px) and (max-width:350px){
  body:is(#home,.inner-page) .person-identity{margin-top:40px}
  body:is(#home,.inner-page) .people-grid .person-description{margin-top:24px}
}

/* Project subheading: one percent tighter than the shared 1.5 line height. */
body:is(#home,.inner-page) .projects-intro p{line-height:1.485}

/* Reduce existing content line heights by 4px; keep site header and footer unchanged. */
body:is(#home,.inner-page) main p:not(.eyebrow){line-height:calc(1.5em - 4px) !important}
body:is(#home,.inner-page) main .projects-intro p{line-height:calc(1.485em - 4px) !important}
body:is(#home,.inner-page) main .people-grid .person-role{line-height:calc(1.45em - 4px) !important}
body:is(#home,.inner-page) main h3{line-height:calc(1.3em - 4px) !important}
body:is(#home,.inner-page) main .blog-story-copy p{line-height:calc(1.65em - 4px) !important}
body:is(#home,.inner-page) main .blog-story-copy h2{line-height:calc(1.25em - 4px) !important}
