/* src/styles/components/cta.css */
/* Shared actions. Home reuses Services' primary and About's secondary styles. */
.pc-button,
.pc-footer .pc-button,
.si-page .si-button,
.pc-enquiry .pc-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 54px;
  max-width: 100%;
  padding: 11px 11px 11px 24px;
  border: 1px solid var(--pc-cta-gold, var(--gd-gold, #d9b968));
  border-radius: 45px;
  background: var(--pc-cta-gold, var(--gd-gold, #d9b968));
  color: var(--pc-cta-ink, var(--gd-navy, #11283b));
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--pc-type-control, calc(13px + 2pt));
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
  transition: transform 0.25s, background 0.25s;
}
.pc-button > span:last-child,
.pc-footer .pc-button > span:last-child,
.si-page .si-button > span,
.pc-enquiry .pc-primary > span:last-child {
  display: grid;
  flex: none;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #11283b30;
  border-radius: 50%;
}
.pc-button svg,
.pc-footer .pc-button svg,
.si-page .si-button svg,
.pc-enquiry .pc-primary svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pc-button:hover,
.pc-footer .pc-button:hover,
.si-page .si-button:hover,
.pc-enquiry .pc-primary:hover {
  background: #e8cc83;
  color: var(--pc-cta-ink, var(--gd-navy, #11283b));
  transform: translateY(-2px);
}
.pc-text-link,
.ab-page .ab-text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 0 11px;
  border: 0;
  color: var(--pc-cta-ink, var(--ab-navy, #11283b));
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--pc-type-control, calc(13px + 2pt));
  font-weight: 650;
  line-height: 1.6;
  text-decoration: none;
}
.pc-text-link::after,
.ab-page .ab-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.3s;
}
.pc-text-link > svg,
.ab-page .ab-text-link svg {
  display: block;
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}
.pc-text-link:hover::after,
.ab-page .ab-text-link:hover::after {
  transform: scaleX(1);
}
.pc-text-link:hover > svg,
.ab-page .ab-text-link:hover svg {
  transform: translateX(4px);
}
.pc-text-link.pc-text-link--light,
.ab-page .ab-link-light {
  color: var(--pc-cta-paper, var(--ab-paper, #f7f4ed));
}
.pc-button:focus-visible,
.pc-enquiry .pc-primary:focus-visible,
.pc-text-link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}
.pc-button:focus-visible,
.pc-footer .pc-button:focus-visible {
  color: var(--pc-cta-ink, var(--gd-navy, #11283b));
}
.pc-footer .pc-button:focus-visible {
  outline: 3px solid var(--pc-cta-paper, #f7f4ed);
  outline-offset: 6px;
}
.pc-cta-options {
  display: flex;
  align-items: center;
  justify-content: inherit;
  flex-wrap: wrap;
  gap: 14px 16px;
}
.pc-call-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
  transition: gap 0.2s ease;
}
.pc-call-link:hover {
  gap: 19px;
}
.pc-call-link::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  background: linear-gradient(
    -45deg,
    transparent 45%,
    currentColor 46%,
    currentColor 54%,
    transparent 55%
  );
  transform: translateY(1px);
  flex: none;
}
.pc-call-link:focus-visible {
  outline: 3px solid #d9b968;
  outline-offset: 6px;
}
.pc-booking-note {
  font-size: 12px;
  line-height: 1.65;
  color: inherit;
  opacity: 0.75;
  margin: 10px 0 0;
  max-width: 45ch;
}
.pc-hp,
.pc-form-trap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 600px) {
  .pc-cta-options {
    gap: 12px 16px;
  }
  .pc-call-link {
    font-size: 14px;
  }
}
@media (max-width: 980px) {
  .pc-button,
  .pc-footer .pc-button,
  .si-page .si-button,
.pc-enquiry .pc-primary {
    gap: 20px;
    min-height: 54px;
  }
}
@media (max-width: 700px) {
  .pc-button,
  .pc-footer .pc-button,
  .si-page .si-button,
.pc-enquiry .pc-primary {
    gap: 23px;
    min-height: 54px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pc-call-link,
  .pc-button,
  .pc-footer .pc-button,
  .si-page .si-button,
  .pc-enquiry .pc-primary,
  .pc-text-link::after,
  .pc-text-link > svg,
  .ab-page .ab-text-link::after,
  .ab-page .ab-text-link svg {
    transition: none;
  }
  .pc-button:hover,
  .pc-footer .pc-button:hover,
  .si-page .si-button:hover,
  .pc-enquiry .pc-primary:hover,
  .pc-text-link:hover > svg,
  .ab-page .ab-text-link:hover svg {
    transform: none;
  }
}

/* src/styles/components/project-cta.css */
/* A direct conversation after the hero, a project invitation at the end. */
.pc-project-cta {
  --project-cta-ink: #11283b;
  --project-cta-gold: #d9b968;
  font-family: Manrope, Arial, sans-serif;
}
.pc-project-cta__wrap {
  width: min(1280px, calc(100% - 88px));
  margin-inline: auto;
  min-width: 0;
}
.pc-project-cta .pc-project-cta__title,
#main .pc-project-cta .pc-project-cta__title {
  margin: 0;
  color: inherit;
  font-family: Manrope, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.pc-project-cta .pc-project-cta__description {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.65;
}
.pc-project-cta a {
  font-family: inherit;
  text-decoration: none;
}
.pc-project-cta a:focus-visible {
  outline: 3px solid var(--project-cta-focus, #d9b968);
  outline-offset: 6px;
}
.pc-project-cta svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Early invitation: one person and one direct contact action. */
.pc-project-cta--quick {
  color: var(--project-cta-ink);
  padding: 28px 0 0;
}
.pc-project-cta--quick .pc-project-cta__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid #11283b29;
}
.pc-project-cta__person {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.pc-project-cta__portrait {
  position: relative;
  flex: 0 0 104px;
  width: 104px;
  height: 88px;
  isolation: isolate;
}
.pc-project-cta__portrait img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.pc-project-cta .pc-project-cta__feathers {
  display: block;
  stroke: none;
}
.pc-project-cta__portrait .pc-project-cta__feathers {
  position: absolute;
  width: 118px;
  height: 63px;
  left: -7px;
  bottom: 0;
  opacity: .45;
  z-index: -1;
}
.pc-project-cta--quick .pc-project-cta__title,
#main .pc-project-cta--quick .pc-project-cta__title {
  font-size: 1.625rem;
}
.pc-project-cta--quick .pc-project-cta__description {
  margin-top: 6px;
  color: #526473;
}
.pc-project-cta .pc-project-cta__chat {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  max-width: 100%;
  padding: 14px 24px;
  border: 1px solid var(--project-cta-ink);
  border-radius: 999px;
  background: var(--project-cta-ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  transition: background-color 160ms ease;
}
.pc-project-cta .pc-project-cta__chat:hover {
  background: #20435b;
  border-color: #20435b;
  color: #fff;
}
.pc-project-cta__chat > svg {
  width: 22px;
  height: 22px;
}
/* Keep useful scope/pricing notes separate from the final invitation. */
.pc-project-context {
  padding-block: 28px;
  background: #f5f3ed;
  color: #11283b;
}
.pc-project-context .we-project-note {
  margin-block: 0;
}
#main .pc-project-context .we-project-note summary,
#main .pc-project-context .we-project-note p,
#main .pc-project-context .sp-link {
  font-size: 1rem;
}
/* Closing invitation: a contrasting full-width finish and two clear form routes. */
.pc-project-cta--closing {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 64px 0;
  border-radius: 32px 32px 0 0;
  background: var(--project-cta-ink);
  color: #f5f3ed;
}
.pc-project-cta--closing .pc-project-cta__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  align-items: center;
  gap: 40px 12%;
}
.pc-project-cta__art {
  position: absolute;
  right: -28px;
  bottom: -68px;
  width: 390px;
  opacity: .13;
  pointer-events: none;
  z-index: -1;
}
.pc-project-cta__art .pc-project-cta__feathers {
  width: 100%;
  height: auto;
  transform: rotate(-12deg);
}
.pc-project-cta--closing .pc-project-cta__title,
#main .pc-project-cta--closing .pc-project-cta__title {
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  line-height: 1.12;
}
.pc-project-cta--closing .pc-project-cta__title em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: var(--project-cta-gold);
}
.pc-project-cta--closing .pc-project-cta__description {
  margin-top: 18px;
  color: #d0dbe0;
}
.pc-project-cta__routes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
}
.pc-project-cta__route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: #f5f3ed;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  transition: background-color 160ms ease, color 160ms ease;
}
.pc-project-cta .pc-project-cta__route--brief {
  padding: 14px 24px;
  border: 1px solid var(--project-cta-gold);
  border-radius: 999px;
  background: var(--project-cta-gold);
  color: var(--project-cta-ink);
}
.pc-project-cta .pc-project-cta__route--brief:hover {
  background: #e8cc83;
  color: var(--project-cta-ink);
}
.pc-project-cta .pc-project-cta__route--call {
  padding: 12px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  text-decoration: none;
}
.pc-project-cta .pc-project-cta__route--call:hover {
  color: var(--project-cta-gold);
  border-color: currentColor;
}
.pc-project-cta--closing a:focus-visible {
  outline-color: var(--project-cta-gold);
}
/* Case studies retain their own artwork; these invitations belong to Peacock. */
.pc-project-cta--case-quick {
  padding-top: 24px;
  background: #f5f3ed;
}
.pc-project-cta--case-quick .pc-project-cta__wrap {
  padding-bottom: 24px;
}
body[data-portfolio-case] #main .pc-project-cta .pc-project-cta__description {
  /* Existing portfolio reading-size rules also use !important. */
  font-size: 1rem !important;
}
body[data-portfolio-case] #main .pc-project-cta .pc-project-cta__description a {
  font-size: inherit !important;
}
body[data-portfolio-case] #main .pc-project-cta a:focus-visible {
  outline-color: var(--project-cta-focus, #d9b968);
}
body[data-portfolio-case] #main .pc-project-cta--closing a:focus-visible {
  outline-color: #d9b968;
}
.pc-project-cta .pc-project-cta__description a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pc-case-navigation {
  padding-block: 24px;
  background: #f5f3ed;
  color: #11283b;
}
#main .pc-case-navigation [data-portfolio-related] {
  margin: 0;
  padding-block: 0;
  border: 0;
  color: inherit;
}
body[data-portfolio-case] #main .pc-case-navigation .wrap a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: #11283b;
  font-size: 1rem !important;
  line-height: 1.6;
}
#main .pc-case-navigation a:hover {
  color: #2049ed;
}
#main .pc-case-navigation > .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
/* About follows a dark client-work section: finish with a light, personal invitation. */
body[data-pc-page="about"] .pc-project-cta--closing {
  background: #f5f3ed;
  color: #11283b;
}
body[data-pc-page="about"] .pc-project-cta--closing .pc-project-cta__title em {
  color: #2049ed;
}
body[data-pc-page="about"] .pc-project-cta--closing .pc-project-cta__description {
  color: #526473;
}
body[data-pc-page="about"] .pc-project-cta__route--brief {
  background: #11283b;
  border-color: #11283b;
  color: #fff;
}
body[data-pc-page="about"] .pc-project-cta__route--brief:hover {
  background: #20435b;
}
body[data-pc-page="about"] .pc-project-cta__route--call {
  color: #11283b;
  text-decoration-color: #11283b66;
}
body[data-pc-page="about"] .pc-project-cta__route--call:hover {
  color: var(--project-cta-focus, #d9b968);
}
body[data-pc-page="about"] .pc-project-cta--closing a:focus-visible {
  outline-color: var(--project-cta-focus, #d9b968);
}
/* The work index uses small, genuine project previews instead of another portrait. */
.pf-page .pc-project-cta__wrap {
  width: min(1260px, calc(100% - 80px));
}
.pc-project-cta--work-quick {
  padding-top: 0;
}
.pc-project-cta--work-quick .pc-project-cta__wrap {
  padding-top: 24px;
  border-top: 1px solid #11283b29;
}
.pc-project-cta__work-samples {
  position: relative;
  flex: 0 0 124px;
  width: 124px;
  height: 82px;
  isolation: isolate;
}
.pc-project-cta__work-samples > img {
  position: absolute;
  width: 96px;
  height: 54px;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 7px;
  box-shadow: 0 4px 12px #11283b1a;
  top: 5px;
  left: 0;
  transform: rotate(-8deg);
}
.pc-project-cta__work-samples > img + img {
  width: 80px;
  height: 45px;
  left: 44px;
  top: 30px;
  transform: rotate(8deg);
}
.pc-project-cta__work-samples .pc-project-cta__feathers {
  position: absolute;
  width: 130px;
  height: 70px;
  bottom: -1px;
  left: -5px;
  opacity: .25;
  z-index: -1;
}
.pc-project-cta--work-closing .pc-project-cta__art {
  right: -12px;
  bottom: -60px;
  opacity: .16;
}
.pc-project-cta--work-closing .pc-project-cta__route--brief {
  background: #f5f3ed;
  border-color: #f5f3ed;
}
.pc-project-cta--work-closing .pc-project-cta__route--brief:hover {
  background: #e8cc83;
  border-color: #e8cc83;
}
@media (max-width: 900px) {
  .pc-project-cta__wrap {
    width: calc(100% - 48px);
  }
  .pc-project-cta--closing .pc-project-cta__wrap {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 32px;
  }
  .pc-project-cta__person {
    gap: 16px;
  }
  .pf-page .pc-project-cta__wrap {
    width: calc(100% - 48px);
  }
}
@media (max-width: 600px) {
  .pc-project-cta__wrap {
    width: calc(100% - 40px);
  }
  .pc-project-cta--quick {
    padding-top: 22px;
  }
  .pc-project-cta--quick .pc-project-cta__wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding-bottom: 22px;
  }
  .pc-project-cta__portrait {
    flex-basis: 80px;
    width: 80px;
    height: 84px;
  }
  .pc-project-cta__portrait .pc-project-cta__feathers {
    width: 96px;
    height: 52px;
    left: -8px;
  }
  .pc-project-cta--quick .pc-project-cta__title,
  #main .pc-project-cta--quick .pc-project-cta__title {
    font-size: 1.375rem;
  }
  .pc-project-cta .pc-project-cta__chat {
    width: 100%;
    padding-inline: 18px;
  }
  .pc-project-cta--closing {
    padding-block: 40px;
    border-radius: 24px 24px 0 0;
  }
  .pc-project-cta--closing .pc-project-cta__wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .pc-project-cta__route {
    min-height: 54px;
  }
  .pc-project-cta__art {
    width: 280px;
    right: -80px;
    bottom: -32px;
  }
  .pc-project-cta__routes {
    gap: 14px 16px;
  }
  .pf-page .pc-project-cta__wrap {
    width: calc(100% - 40px);
  }
  .pc-project-cta__work-samples {
    flex-basis: 92px;
    width: 92px;
    height: 76px;
  }
  .pc-project-cta__work-samples > img {
    width: 76px;
    height: 43px;
  }
  .pc-project-cta__work-samples > img + img {
    width: 66px;
    height: 38px;
    left: 25px;
    top: 29px;
  }
  .pc-project-cta__work-samples .pc-project-cta__feathers {
    width: 100px;
    height: 56px;
  }
  .pc-project-cta--work-quick {
    padding-top: 0;
  }
  .pc-project-context {
    padding-block: 22px;
  }
  .pc-project-cta--case-quick {
    padding-top: 22px;
  }
  .pc-project-cta--case-quick .pc-project-cta__wrap {
    padding-bottom: 22px;
  }
  .pc-case-navigation {
    padding-block: 20px;
  }

}
@media (prefers-reduced-motion: reduce) {
  .pc-project-cta .pc-project-cta__chat,
  .pc-project-cta__route {
    transition: none;
  }
}

/* src/styles/typography/site-consistency.css */
/* Cross-site type roles. The same rules apply to Services, Our Work and client cases. */
body[data-pc-page] {
  --pc-text-size: calc(15px + 2pt);
  --pc-small-size: calc(12px + 2pt);
  --pc-label-size: 14px;
  --pc-control-size: calc(13px + 2pt);
  --pc-title-size: clamp(46px, 5.5vw, 82px);
  --pc-index-title-size: clamp(60px, 7.2vw, 105px);
  --pc-section-size: clamp(38px, 4.2vw, 60px);
  --pc-card-size: clamp(22px, 2vw, 26px);
  --pc-type-body: var(--pc-text-size);
  --pc-type-small: var(--pc-small-size);
  --pc-type-label: var(--pc-label-size);
  --pc-type-control: var(--pc-control-size);
}

/* Style the labels already written in the page HTML. CSS never substitutes words. */
#main
  :is(
    .hero-eyebrow,
    .si-hero .si-overline,
    .pf-hero > .wrap > .pf-eyebrow,
    .we-hero .we-overline,
    .pv-hero .we-overline,
    .gd-hero .gd-overline,
    .sp-hero .sp-overline,
    .ab-hero .ab-overline,
    .ct-hero .ct-overline,
    .sc-hero .sc-kicker,
    .sw-hero .sw-kicker,
    .td-hero .td-kicker,
    .not-found > .eyebrow,
    .ra-h1-service,
    .tm-h1-service
  ),
body[data-portfolio-case]
  #main
  :is(
    .th-hero,
    .apr-hero,
    .ab-hero,
    .cw-hero,
    .cc-hero,
    .ff-hero,
    .sk-hero,
    .sv-hero
  )
  h1
  > span:first-child {
  display: block;
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--pc-label-size) !important;
  font-weight: 600;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: none;
  margin: 0 0 var(--pc-label-gap, 24px);
}
body[data-pc-page]:not([data-pc-page="index"]) #main h1 {
  font-size: var(--pc-title-size);
}
body:is([data-pc-page="services"], [data-pc-page="portfolio"]) #main h1 {
  font-size: var(--pc-index-title-size);
}
/* Display treatments retain their approved weights, colours and italic proportions. */
body:is([data-pc-page="about"], [data-pc-page="contact"]) #main h1 {
  font-size: clamp(60px, 7vw, 100px);
}
#main h2 {
  font-size: var(--pc-section-size);
}
/* Component headings are not section titles. */
#main .ct-form-panel h2 {
  font-size: clamp(32px, 3.3vw, 45px);
}
#main .ct-person h2 {
  font-size: 22px;
}
#main .dialog-top h2 {
  font-size: var(--pc-label-size);
}
#main .contact-content h2 {
  font-size: clamp(65px, 8.6vw, 126px);
}

/* The portfolio index was still using smaller legacy reading and control sizes. */
#main
  :is(
    .pf-hero-copy > p,
    .pf-card-body > p,
    .pf-invitation > p:not(.pf-eyebrow)
  ) {
  font-size: var(--pc-text-size);
}
#main :is(.pf-button, .pf-text-link, .pf-filter-options button) {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--pc-control-size);
}
/* Decorative arrows are drawn here; page wording remains untouched. */
#main
  :is(
    .pf-text-link > span[aria-hidden="true"],
    .pf-invitation .pf-button > span[aria-hidden="true"],
    .not-found .arrow
  ) {
  position: relative;
  display: inline-block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  font-size: 0;
}
#main
  :is(
    .pf-text-link > span[aria-hidden="true"],
    .pf-invitation .pf-button > span[aria-hidden="true"],
    .not-found .arrow
  )::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  border-top: 1.6px solid currentColor;
  transform: rotate(-45deg);
}
#main
  :is(
    .pf-text-link > span[aria-hidden="true"],
    .pf-invitation .pf-button > span[aria-hidden="true"],
    .not-found .arrow
  )::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
}
#main
  :is(
    .pf-hero-note > span,
    .pf-hero-note > p,
    .pf-hero-facts dt,
    .pf-hero-facts span,
    .pf-services li,
    .pf-service-name,
    .pf-footnote,
    .pf-filter-options button small,
    [data-pf-filter-count],
    [data-pf-count],
    .pf-filter-count
  ) {
  font-size: var(--pc-small-size);
}
#main :is(.pf-invitation .pf-eyebrow, .pf-badge, .pf-card-number) {
  font-size: var(--pc-label-size);
}
#main .pf-invitation .pf-eyebrow {
  text-transform: none;
  letter-spacing: 0.04em;
}
#main .pf-card h3 {
  font-size: var(--pc-card-size);
}
body[data-portfolio-case] #main h3:not(.th-strategy-intro h3) {
  font-size: var(--pc-card-size);
}

/* Shared footer reading sizes, including the portfolio index. */
body[data-pc-page] .site-footer .footer-top p {
  font-size: calc(13px + 2pt);
}
body[data-pc-page] .site-footer .footer-top h3 {
  font-size: calc(11px + 2pt);
}
body[data-pc-page] .site-footer .footer-top a:not(.brand) {
  font-size: var(--pc-small-size);
}
body[data-pc-page] .site-footer .footer-bottom {
  font-size: calc(10px + 2pt);
}

@media (max-width: 600px) {
  body[data-pc-page] {
    --pc-text-size: calc(14px + 2pt);
    --pc-title-size: clamp(42px, 10vw, 60px);
    --pc-index-title-size: clamp(54px, 13vw, 78px);
    --pc-section-size: clamp(34px, 8.5vw, 42px);
    --pc-card-size: 22px;
    --pc-label-gap: 20px;
  }
  body:is([data-pc-page="about"], [data-pc-page="contact"]) #main h1 {
    font-size: clamp(58px, 12.5vw, 84px);
  }
  #main .contact-content h2 {
    font-size: 65px;
  }
  #main .pf-hero-note {
    flex-wrap: wrap;
  }
  #main .pf-hero-note > span {
    white-space: normal;
  }
}

/* Client cases use the same reading sizes as the service pages. The case scope
   keeps similarly named About-page classes and the shared navigation untouched.
   Some legacy case rules use !important, so these size-only role rules do too. */
body[data-portfolio-case]
  #main
  p:not(
    :where(
      .tm-artifact-label,
      .tm-session-total,
      .th-chart-total,
      .ra-platform-number,
      .pcs-experiment-note,
      .tm-brief-note > p,
      .train-hero-media-bottom > p,
      .pcs-hero-media-bottom > p,
      .sr-only
    )
  ) {
  font-size: var(--pc-text-size) !important;
}

/* Evidence notes, media captions and project metadata remain a quieter role. */
body[data-portfolio-case]
  #main
  :is(
    figcaption,
    caption,
    [class$="-caption"],
    p[class$="-note"]:not(.pcs-experiment-note),
    p[class$="-launch"],
    .ab-since,
    .th-since,
    .ra-device-note,
    .ra-chart-context,
    .ra-platform-period,
    .ra-logo-credit,
    .ra-social-stats > p,
    .ra-social-reporting > p,
    .ra-page-evidence p,
    .ra-film-footer > p,
    .tm-chart-context,
    .tm-social-date,
    .th-data-source,
    .th-chart-description,
    .th-service-context,
    .th-control-help,
    .th-comparison-credit,
    .td-credit,
    .td-date-source,
    .train-client-line > p,
    .pcs-client-line > p,
    .pcs-brand-credit,
    .pcs-notice,
    .sc-hero-project,
    .sw-hero-project,
    .train-dialog-foot,
    .pcs-dialog-foot
  ),
body[data-portfolio-case]
  #main
  :is(figcaption, [class$="-caption"], [class$="-facts"], .ra-excerpt-note)
  p {
  font-size: var(--pc-small-size) !important;
}

/* Action text shares one size; decorative arrows and video icons keep theirs. */
body[data-portfolio-case]
  #main
  :is(
    [class$="-button"],
    [class$="-link"],
    [data-portfolio-rail] a,
    [data-portfolio-related] a,
    .pc-call-link,
    .cc-case-links a,
    .sw-post-links a,
    .sc-related-links,
    .sw-related-links,
    .td-related-links,
    .ra-chart-switch button,
    .ra-form-switch button,
    .tm-chart-switch button,
    .tm-form-switch button,
    .tm-logo-choices button,
    .tm-vehicle-choices button,
    .th-chart-switch button,
    .th-progress-buttons button,
    .ab-chart-controls button,
    .ab-step-controls button
  ) {
  font-size: var(--pc-control-size) !important;
}

/* Section labels are distinct from reading copy and artwork display lettering. */
body[data-portfolio-case]
  #main
  :is(
    .ra-small-label,
    .ra-editorial-label,
    .tm-small-label,
    .th-label,
    .train-kicker,
    .pcs-kicker,
    .sc-kicker,
    .sw-kicker,
    .td-kicker,
    .td-hero-service,
    .sk-form-label,
    .sv-form-label
  ) {
  font-size: var(--pc-label-size) !important;
}

/* Shared enquiry forms keep the same type on every entry page. */
body[data-pc-page] :is(.ct-field label, .pc-field > label) {
  font-size: var(--pc-type-control);
}
body[data-pc-page] :is(.ct-field label span, .pc-field > label span) {
  font-size: var(--pc-type-small);
}
body[data-pc-page]
  :is(
    .ct-field input,
    .ct-field textarea,
    .ct-field select,
    .pc-field input,
    .pc-field textarea,
    .pc-field select
  ) {
  font-family: inherit;
  font-size: max(16px, var(--pc-type-body));
}
body[data-pc-page] .ct-field textarea::placeholder {
  font-size: inherit;
}
body[data-pc-page]
  :is(
    .ct-submit-status,
    #ct-review-note,
    .pc-enquiry p.pc-dialog-intro,
    .pc-help
  ) {
  font-size: var(--pc-type-small);
}
body[data-pc-page]
  :is(
    .pc-mode-switch,
    .pc-steps li,
    .pc-enquiry .pc-primary,
    .pc-enquiry .pc-secondary,
    .pc-form-back,
    .pc-review-edit
  ) {
  font-size: var(--pc-type-control);
}
body[data-pc-page] :is(.pc-dialog-brand, .pc-steps li span) {
  font-size: var(--pc-type-label);
}
body[data-pc-page] .pc-steps {
  flex-wrap: wrap;
}

/* Home uses the same reading roles as Services and About. Hero display type is independent. */
body[data-pc-page="index"] .page>:is(.explore,.home-work,.personal,.home-questions) h2{font-size:var(--pc-section-size)}
body[data-pc-page="index"] .page :is(.explore-intro,.focus-caption>p:not(.eyebrow),.home-work-heading>p,.home-work-caption>p,.personal-copy>p:not(.eyebrow),.questions-list details>p){font-size:var(--pc-text-size)}
body[data-pc-page="index"] .page :is(.focus-caption h3,.home-work h3){font-size:var(--pc-card-size)}
body[data-pc-page="index"] .page :is(.focus-detail figcaption,.home-work-count){font-size:var(--pc-small-size)}
body[data-pc-page="index"] .page .pc-call-link{font-size:var(--pc-control-size);min-height:44px}
body[data-pc-page="index"] .questions-list summary{font-size:var(--pc-text-size)}
/* The compact filter uses the full Portfolio's pill, colour and selected state. */
body[data-pc-page="index"] .home-work-filters{border:1px solid #11283b24;border-radius:24px;padding:8px;gap:3px;background:#f7f4ed}
body[data-pc-page="index"] .home-work-filters button{border:0;border-radius:30px;padding:12px 15px;min-height:44px;font-size:var(--pc-control-size);font-weight:650;color:#11283b;background:transparent}
body[data-pc-page="index"] .home-work-filters button:hover{background:#e4ebf1;color:#2049ed}
body[data-pc-page="index"] .home-work-filters button[aria-pressed=true]{background:#2049ed;color:#fff}
body[data-pc-page="index"] .home-work-count{height:auto;min-width:0;background:none;color:inherit;opacity:.7;padding:0;font-weight:550}
body[data-pc-page="index"] .home-work-filters button[aria-pressed=true] .home-work-count{background:none;color:inherit}
body[data-pc-page="index"] .home-work-pagination p{font-size:var(--pc-small-size)}
@media(max-width:750px){body[data-pc-page="index"] .home-work-filters{border:0;padding:0;border-radius:0;gap:8px;background:transparent}body[data-pc-page="index"] .home-work-filters button{border:1px solid #11283b24;padding:10px 13px}}
/* Portrait is a retained review view, using the same mobile type roles. */
body.is-portrait[data-pc-page="index"] .page>:is(.explore,.home-work,.personal,.home-questions) h2{font-size:34px}
body.is-portrait[data-pc-page="index"] .page :is(.explore-intro,.focus-caption>p:not(.eyebrow),.home-work-heading>p,.home-work-caption>p,.personal-copy>p:not(.eyebrow),.questions-list details>p){font-size:calc(14px + 2pt)}
body.is-portrait[data-pc-page="index"] .questions-list summary{font-size:calc(14px + 2pt)}
