/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* PWH Studio styles */

:root {
  --pwh-bg: #f1f1f1;
  --pwh-ink: #000;
  --pwh-muted: #8F8F8F;
  --pwh-placeholder: #d9d9d9;
  --pwh-panel: #fff;
  --pwh-rule: #000;
  /* 20px page gutter at the 1440 design width. */
  --pwh-gutter: 20px;
  --pwh-max: 1800px;

  /* Lets height: 0 <-> height: auto animate (Chrome/Edge 129+, Safari 26+). */
  interpolate-size: allow-keywords;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--pwh-bg);
  color: var(--pwh-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.04rem;
  -webkit-font-smoothing: antialiased;
  background-image: url(./assets/img/pwh/bg-pattern.png);
  background-repeat: repeat;
  background-size: 24px 24px;
}

/* Override Bootstrap's --bs-primary selection so it matches the theme ink. */
::selection {
  color: var(--pwh-bg);
  background-color: var(--pwh-ink);
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-weight: 400;
}

.pwh-container {
  width: 100%;
  max-width: var(--pwh-max);
  margin-inline: auto;
  padding-inline: var(--pwh-gutter);
}

:where(.pwh-main, .pwh-footer) a {
  color: inherit;
  text-decoration: none;
}

.pwh-rule,
.pwh-header__rule,
.pwh-footer__rule {
  border-top: 2px solid var(--pwh-rule);
}

/* Font sizes */
html {
  font-size: 18px;
}
/* Type scale from the 1440 design at an 18px root. */
:root {
  --normal-font-size: 1rem;        /* 18px body copy */
  --heading1-size: 1.8rem;         /* 32px page titles, nav */
  --xLarge-size: 2.2rem;         /* 40px page titles, nav */
  --heading2-size: 1.55rem;
  --heading3-size: 1.28rem;        /* 23px archive lead */
  --heading4-size: 1.25rem;        /* 22px card titles, feed headings */
  --heading5-size: 1.11rem;        /* 20px title counts */
  --label-font-size: 0.9375rem;    /* 17px feed labels */
  --small-font-size: 0.9rem;       /* 16px dates */
  --tiny-font-size: 0.75rem;       /* 13px tags */
}


/* No text-decoration: the resting underline is drawn by ::before and the hover
   underline by ::after, both absolutely positioned on the same line, so the
   hover swap can't shift the rule by a couple of px (dev feedback pp. 9-10).
   top: 100% puts them where the old in-flow ::after sat — just under the line
   box — which is the position the client asked to make the default. */
.pwh-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-size: 0.9rem;
  padding-bottom: 1px;
  padding-bottom: 0.2ch;
  overflow: hidden;
}

.pwh-link::before,
.pwh-link::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1.5px;
  margin-top: -1.5px;
  height: 0.16ch;
  margin-top: -0.3ch;
  background: currentColor;
  pointer-events: none;
}

/* ::after is the hover line. transform-origin stays left for both directions,
   so it grows left-to-right in and retracts right-to-left out. */
.pwh-link::after {
  transform: translateX(0%);
  transform-origin: right center;
  transition: 0.6s 0.2s;
}
.pwh-link::before {
  transform: translateX(-100%);
  transform-origin: left center;
  transition: 0.3s;
}
.pwh-link:hover:after,
.pwh-feed__item:hover .pwh-link:after {
  transform: translateX(100%);
  transition: 0.3s;
}
.pwh-link:hover:before,
.pwh-feed__item:hover .pwh-link:before {
  transform: translateX(0%);
  transition: 0.6s 0.2s;
}

.pwh-link--sm {
  font-size: 0.8125rem;
}

/* Square-cornered box, same border treatment as .pwh-tag. */
.pwh-button {
  display: inline-block;
  padding: 0.85em 1.6em;
  border: 1px solid var(--pwh-ink);
  font-size: 1.0625rem;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pwh-button:hover,
.pwh-button:focus-visible {
  background: var(--pwh-ink);
  color: var(--pwh-bg);
}

@media (prefers-reduced-motion: reduce) {
  .pwh-button {
    transition: none;
  }
}

.pwh-section-label {
  font-size: var(--heading2-size);
  font-weight: 400;
  margin: 0 0 1.5rem;
}


/* Header
   ========================================================================== */

.pwh-header {
  padding-top: var(--pwh-gutter);
}

.pwh-header__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 0;
}

/* Inner pages: 146px at the 1440 design width, scales with the root size above. */
.pwh-logo {
  display: block;
  width: clamp(6.1111rem, 10.2vw, 7.7rem);
}

.pwh-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Alternative logo (mouse_over_logo option) swaps in on hover, desktop only.
   It sits over the main logo in the same box, so the header never shifts. */
.pwh-logo {
  position: relative;
}

.pwh-logo .pwh-logo__hover {
  display: none;
}

@media (hover: hover) {
  .pwh-logo .pwh-logo__hover {
    display: block;
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
    visibility: hidden;
	margin-top: 10px;
  }

  .pwh-logo:has(.pwh-logo__hover):hover img:not(.pwh-logo__hover),
  .pwh-logo:has(.pwh-logo__hover):focus-visible img:not(.pwh-logo__hover) {
    visibility: hidden;
  }

  .pwh-logo:hover .pwh-logo__hover,
  .pwh-logo:focus-visible .pwh-logo__hover {
    visibility: visible;
  }
}

/* Design sits the nav baseline near the logo bottom: 63px below the rule. */
.pwh-nav {
  padding-top: clamp(0.75rem, 4.4vw, 3.1rem);
}

.pwh-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  position: relative;
}

.pwh-nav__toggle-bar,
.pwh-nav__toggle-bar::before,
.pwh-nav__toggle-bar::after {
  display: block;
  position: absolute;
  left: 8px;
  width: 28px;
  height: 2px;
  background: var(--pwh-ink);
  content: "";
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.pwh-nav__toggle-bar {
  top: 21px;
}

.pwh-nav__toggle-bar::before {
  top: -8px;
  left: 0;
}

.pwh-nav__toggle-bar::after {
  top: 8px;
  left: 0;
}

/* Open: the three bars form an X. */
.pwh-nav__toggle[aria-expanded="true"] .pwh-nav__toggle-bar {
  background: transparent;
}

.pwh-nav__toggle[aria-expanded="true"] .pwh-nav__toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.pwh-nav__toggle[aria-expanded="true"] .pwh-nav__toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .pwh-nav__toggle-bar,
  .pwh-nav__toggle-bar::before,
  .pwh-nav__toggle-bar::after {
    transition: none;
  }
}

.pwh-nav__list {
  display: flex;
  align-items: flex-start;
  /* 57px between items at 1440. */
  gap: clamp(1.5rem, 4vw, 3.1667rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 30px at 1440, lowercase regardless of the menu label casing. */
.pwh-nav__list a {
  display: inline-block;
  font-size: clamp(1.25rem, 2.1vw, 1.4667rem);
  line-height: 1;
  color: inherit;
  text-decoration: none;
  text-transform: lowercase;
}

/* The label span carries the underline so it never runs under the count. */
.pwh-nav__label {
  position: relative;
  display: inline-block;
  letter-spacing: 0;
  text-underline-offset: 0.25rem;
  transition: 0.1s;
}

.pwh-nav__list a:hover .pwh-nav__label,
.pwh-nav__list .current-menu-item > a .pwh-nav__label,
.pwh-nav__list .current_page_item > a .pwh-nav__label {
  text-decoration: underline;
  text-decoration-thickness: 0.14ch;
  /* text-decoration-skip-ink: none; */
  text-underline-offset: 0.2rem;
}


/* 17px count, 17px gap to the label. inline-block keeps the link underline
   from running under the count. */
.pwh-nav__count {
  display: inline-block;
  font-size: 0.95rem;
  vertical-align: super;
  margin-right: 0.3333rem;
  letter-spacing: 0.01rem;
  position: relative;
  top: 0.05rem;
}


/* Work
   ========================================================================== */

.pwh-work {
  padding-top: clamp(3rem, 9vw, 8.5rem);
}

.pwh-work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 1.7vw, 1.5rem);
}

@media (max-width: 767.98px) {
  .pwh-work__grid {
    gap: 3rem;
  }
}

/* Cap at three columns: auto-fit alone drifts to four on wide screens. */
@media (min-width: 992px) {
  .pwh-work__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pwh-project__link {
  display: block;
}

/* Coming soon: the card still renders, but the wrapper is a <div>, so there is
   nothing to click and no hover lift on the image. */
.pwh-project--soon .pwh-project__link {
  cursor: default;
}

.pwh-project__soon {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.25rem 0.6rem;
  border: 1.5px solid currentColor;
  background: transparent;
  color: var(--pwh-ink);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.2;
  backdrop-filter: blur(6px);
  display: none;
}

.pwh-project__media {
  position: relative;
  aspect-ratio: 452 / 430;
  background: var(--pwh-placeholder);
  overflow: hidden;
}

.pwh-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.pwh-project__link:hover .pwh-project__media img,
.pwh-project__link:focus-visible .pwh-project__media img {
  transform: scale(1.05);
}

/* No hover zoom on a card that goes nowhere. */
.pwh-project--soon .pwh-project__link:hover .pwh-project__media img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .pwh-project__media img {
    transition: none;
  }

  .pwh-project__link:hover .pwh-project__media img,
  .pwh-project__link:focus-visible .pwh-project__media img {
    transform: none;
  }
}

.pwh-project__tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  /* Same trick as meorstudio.co.uk .menu-dot-bar: white chips + difference
     blend invert against the thumbnail, so they read on light and dark images. */
  mix-blend-mode: difference;
  pointer-events: none;
}

.pwh-project__tags li {
  padding: 0.25rem 0.6rem;
  border: 1.5px solid currentColor;
  background: transparent;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #fff;
  font-weight: 400;
}

.pwh-project__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.pwh-project__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  transition: 0.1s;
  backface-visibility: hidden;
  text-decoration-thickness: 0.14ch;
  text-underline-offset: 0.225rem;
}
.home .pwh-project__title {
  font-size: var(--xLarge-size);
}

.pwh-project__link:hover .pwh-project__title {
  text-decoration: underline;
  text-decoration-thickness: 0.14ch;
  /* text-decoration-skip-ink: none; */
  text-underline-offset: 0.175rem;
}

/* Coming soon cards go nowhere, so no hover underline. */
.pwh-project--soon .pwh-project__link:hover .pwh-project__title {
  text-decoration: none;
}

.pwh-project__location {
  font-size: 0.8125rem;
  white-space: nowrap;
}

.pwh-project__excerpt {
  margin: 0.75rem 0 0;
  font-size: 1.1rem;
  max-width: 22ch;
}


/* What to expect
   ========================================================================== */

.pwh-expect {
  padding-top: clamp(3.5rem, 9vw, 8rem);
}

.pwh-expect__title {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 4rem);
  font-size: var(--heading1-size);
  font-weight: 400;
}

.pwh-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

/* Tablet: 2x2 rather than auto-fit's uneven wrap, so no row is left with a
   gap of empty space. */
@media (min-width: 600px) and (max-width: 1080px) {
  .pwh-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pwh-stat__label {
  margin: 0 0 0.8rem;
  color: var(--pwh-muted);
  font-size: 0.9375rem;
}

.pwh-stat__figure {
  margin: 0 0 0.75rem;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pwh-stat__text {
  margin: 0 0 0.75rem;
  font-size: 1.11rem;
  max-width: 26ch;
}

.pwh-stat__note {
  margin: 0;
  color: var(--pwh-muted);
  font-size: 0.75rem;
}


/* CTA
   ========================================================================== */

.pwh-cta {
  padding-top: clamp(3.5rem, 8vw, 7rem);
}

.pwh-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--pwh-panel);
}

.pwh-cta__media {
  position: relative;
  background: var(--pwh-placeholder);
  aspect-ratio: 1 / 1;
}

/* Sound on/off for the CTA video, bottom right over the video. */
.pwh-cta__sound {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.pwh-cta__sound:hover,
.pwh-cta__sound:focus-visible {
  background: rgba(0, 0, 0, 0.8);
}

.pwh-cta__sound:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.pwh-cta__sound-on,
.pwh-cta__sound[aria-pressed="true"] .pwh-cta__sound-off {
  display: none;
}

.pwh-cta__sound[aria-pressed="true"] .pwh-cta__sound-on {
  display: block;
}

.pwh-cta__media img,
.pwh-cta__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwh-cta__body {
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
}

.pwh-cta__eyebrow {
  margin: 0 0 4rem;
  font-size: var(--heading4-size);
}

.pwh-cta__headline {
  margin: 0 0 1rem;
  font-size: var(--heading1-size);
}

/* Same wipe as .pwh-link: no text-decoration, the resting rule is ::after and
   the hover rule is ::before, so both sit on one line and never jump. */
.pwh-cta__button {
  align-self: flex-start;
  position: relative;
  display: inline-block;
  font-size: var(--heading1-size);
  text-decoration: none;
  padding-bottom: 1px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.pwh-cta__button::before,
.pwh-cta__button::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.14ch;
  margin-top: -0.35rem;
  background: currentColor;
  pointer-events: none;
}

.pwh-cta__button::after {
  transform: translateX(0%);
  transform-origin: right center;
  transition: 0.6s 0.2s;
}
.pwh-cta__button::before {
  transform: translateX(-100%);
  transform-origin: left center;
  transition: 0.3s;
}
.pwh-cta__button:hover:after,
.pwh-cta__button:focus-visible:after {
  transform: translateX(100%);
  transition: 0.3s;
}
.pwh-cta__button:hover:before,
.pwh-cta__button:focus-visible:before {
  transform: translateX(0%);
  transition: 0.6s 0.2s;
}

@media (min-width: 768px) {
  .pwh-cta__inner {
    grid-template-columns: 24% 1fr;
  }

  .pwh-cta__media {
    aspect-ratio: auto;
  }
}

/* Tablet: the 24% media column reads as too small/narrow at this width;
   give it more room and trim the body copy to match. */
@media (min-width: 600px) and (max-width: 1080px) {
  .pwh-cta__inner {
    grid-template-columns: 38% 1fr;
  }

  .pwh-cta__eyebrow {
    font-size: 1.125rem;
  }

  .pwh-cta__headline,
  .pwh-cta__button {
    font-size: 1.5rem;
  }
}


/* Testimonials
   ========================================================================== */

.pwh-testimonials {
  padding-top: clamp(3.5rem, 8vw, 7.5rem);
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.home .pwh-banner {
  margin-bottom: 2.5rem;
}

.pwh-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 2vw, 2rem);
}

/* Tablet: pair the 3 cards 2-up instead of auto-fit leaving the 3rd on its
   own row with empty space beside it. */
@media (min-width: 600px) and (max-width: 1080px) {
  .pwh-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pwh-testimonials__grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.pwh-testimonial {
  margin: 0;
}

.pwh-testimonial__quote {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.pwh-testimonial__author {
  color: var(--pwh-muted);
  font-size: 1.0625rem;
}


/* Banner
   ========================================================================== */

.pwh-banner {
  padding-top: clamp(3.5rem, 8vw, 7.5rem);
}

.pwh-banner__media img,
.pwh-banner__media video {
  display: block;
  width: 100%;
  height: auto;
}


/* Columns
   ========================================================================== */

.pwh-columns {
  padding-top: clamp(3.5rem, 8vw, 7.5rem);
}

.pwh-columns__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

/* Tablet: pair Work/Approach/Services 2-up instead of auto-fit leaving
   Services alone on its own row with empty space beside it. */
@media (min-width: 600px) and (max-width: 1080px) {
  .pwh-columns__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pwh-columns__grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.pwh-column__label {
  margin: 0 0 1rem;
  color: var(--pwh-muted);
  font-size: 1.0625rem;
  font-weight: 400;
}

.pwh-column__text {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.45;
  max-width: 34ch;
}
.pwh-column__label ~ .pwh-link {
  font-size: 1rem;
}

.pwh-column__list {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.pwh-columns ul[role="list"] {
  padding-left: 20px;
}


/* Studio feed
   ========================================================================== */

.pwh-feed {
  padding-top: clamp(3.5rem, 8vw, 7.5rem);
}

.pwh-feed__inner {
  background: var(--pwh-panel);
  padding: 1rem 1rem 1.333rem;
}

.pwh-feed__title {
  margin: 0 0 0.8rem;
  font-size: var(--heading4-size);
  font-weight: 400;
  line-height: 1.2;
}

.pwh-feed__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

/* The 4 feed items fit one row from tablet-landscape up; auto-fit alone
   was wrapping them 3-then-1 before the columns had reached 230px each. */
@media (min-width: 768px) {
  .pwh-feed__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pwh-feed__item {
  position: relative;
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
}

/* Invisible link over the whole item (thumb included). Hovering anywhere on the
   item plays the text link's underline wipe, see .pwh-link. */
.pwh-feed__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pwh-feed__thumb {
  flex: 0 0 auto;
  width: 118px;
  height: 100px;
  object-fit: cover;
  background: var(--pwh-placeholder);
}

.pwh-feed__label {
  margin: 0 0 0.35rem;
  color: var(--pwh-muted);
  font-size: var(--label-font-size);
}

.pwh-feed__heading {
  margin: 0 0 0.5rem;
  font-size: var(--heading4-size);
  font-weight: 400;
  line-height: 1.2;
}


/* Contact page
   ========================================================================== */

/* All px values below are the 1440 design, expressed in rem at an 18px root. */

/* 145px between the logo bottom and the first hero line. */
.pwh-contact-intro {
  padding-top: clamp(2.5rem, 10vw, 8rem);
}

.pwh-contact-intro h1 {
  margin: 0;
}

/* 30px / 38px line pitch. */
.pwh-contact-intro__text {
  max-width: 46ch;
  margin: 0 auto;
  font-size: clamp(1.125rem, 2.1vw, var(--heading1-size));
  line-height: 1.2667;
  text-align: center;
}

/* 39px avatar. */
.pwh-contact-intro__avatar {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  object-fit: cover;
  background: var(--pwh-placeholder);
  vertical-align: -0.3em;
}

/* Same size and pitch as the hero copy, no extra gap. */
.pwh-contact-intro__email {
  margin: 0 auto;
  color: var(--pwh-muted);
  font-size: clamp(1.125rem, 2.1vw, 1.6667rem);
  line-height: 1.2667;
  text-align: center;
}

.pwh-contact-intro__email a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  /* text-decoration-skip-ink: none; */
  text-underline-offset: 0.1667rem;
  transition: color 0.3s ease;
}

.pwh-contact-intro__email a:hover,
.pwh-contact-intro__email a:focus-visible {
  color: var(--pwh-ink);
}

/* 72px below the email line. */
.pwh-contact-media {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.pwh-contact-media__frame {
  aspect-ratio: 1400 / 537;
  background: var(--pwh-placeholder);
  overflow: hidden;
}

.pwh-contact-media__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 180px below the image. */
.pwh-contact-details {
  padding-top: clamp(3rem, 12.5vw, 10rem);
}

/* Two equal columns, 20px gutter: right column starts at 710px of 1400. */
.pwh-contact-details__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem 1.1111rem;
}

/* 30px title, 20px to the copy. */
.pwh-contact-detail__title {
  margin: 0 0 1.1111rem;
  font-size: clamp(1.375rem, 2.1vw, 1.6667rem);
  line-height: 1.2667;
  font-weight: 400;
}

/* 21.6px / 27px pitch, 432px measure, 27px to the link. */
.pwh-contact-detail__text {
  margin: 0 0 1.5rem;
  max-width: 24rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.25;
}

/* Inline links match the copy size on this page. */
.pwh-contact-detail .pwh-link {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.25;
}

/* 135px from the links above to the rule. */
.pwh-questions {
  padding-top: clamp(3rem, 9.4vw, 7.5rem);
}

/* 108px below the rule, 30px to the intro copy. */
.pwh-questions__title {
  margin: clamp(2.5rem, 7.5vw, 6rem) 0 1.6667rem;
  font-size: clamp(1.375rem, 2.1vw, 1.6667rem);
  line-height: 1.2667;
  font-weight: 400;
}

.pwh-questions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  gap: 2rem 1.1111rem;
}

/* Stacked below the two-column breakpoint: the intro copy needs its own
   gap above the first question, not just the grid's row gap. */
@media (max-width: 767.98px) {
  .pwh-questions__text {
    margin-bottom: 0.5rem;
  }
}

.pwh-questions__text {
  margin: 0;
  max-width: 26rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.25;
}

/* 507px wide: question column plus the icon, icon ends 183px short of the gutter. */
.pwh-faq {
  max-width: 28.1667rem;
}

/* 85px pitch between closed items (32px row + 53px gap). */
.pwh-faq__item + .pwh-faq__item {
  margin-top: clamp(1.5rem, 3.7vw, 2.9444rem);
}

.pwh-faq__heading {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

.pwh-faq__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pwh-faq__question {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.25;
}

/* 32px disc, 12px glyph. */
.pwh-faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 1.7778rem;
  height: 1.7778rem;
  border-radius: 50%;
  background: var(--pwh-panel);
}

.pwh-faq__icon::before,
.pwh-faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.6667rem;
  height: 1.5px;
  background: var(--pwh-ink);
  content: "";
}

.pwh-faq__icon::before {
  transform: translate(-50%, -50%);
}

.pwh-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.2s ease;
}

.pwh-faq__toggle[aria-expanded="true"] .pwh-faq__icon::after {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .pwh-faq__icon::after {
    transition: none;
  }
}

.pwh-faq__panel {
  height: auto;
  overflow: hidden;
  opacity: 1;
  transition: 0.4s;
}

/* Author rule beats the UA [hidden] { display: none }, so the box stays in
   flow and its height can animate. content-visibility keeps it out of the
   render and a11y trees while collapsed. */
.pwh-faq__panel[hidden] {
  display: block !important;
  height: 0;
  opacity: 0.4;
  /* content-visibility: hidden; */
}

@media (prefers-reduced-motion: reduce) {
  .pwh-faq__panel {
    transition: none;
  }
}

.pwh-faq__answer {
  /* Margin, not panel padding: padding would stay visible at height 0. */
  /* 20px below the question row, 17px / 21px pitch, 459px measure. */
  margin: 1.1111rem 0 0;
  max-width: 25.5rem;
  font-size: 0.9444rem;
  line-height: 1.25;
}


/* Home hero: pitch tabs
   ========================================================================== */

.pwh-pitch {
  padding-top: 6rem;
}

.pwh-pitch__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.pwh-pitch__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--pwh-muted);
  font: inherit;
  font-size: 1.33rem;
  cursor: pointer;
}

.pwh-pitch__tab.is-active {
  color: var(--pwh-ink);
}
.pwh-pitch__label {
  font-size: 1em;
}
.pwh-pitch__tab.is-active .pwh-pitch__label {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pwh-pitch__icon {
  flex: 0 0 auto;
  width: 2.7em;
  height: 2.7em;
  overflow: visible;
  position: relative;
  top: -0.15em;
}
button#pwh-pitch-tab-2 .pwh-pitch__icon {
  top: -0.5em;
}
button#pwh-pitch-tab-1 .pwh-pitch__icon {
  top: 0.1em;
  left: -0.6em;
}

/* The icon artwork is drawn for large tiles (8-unit strokes on a ~450-unit
   canvas), which thins to under 1px at tab size. Hold the lines at a fixed
   width instead. */
.pwh-pitch__icon [stroke-width] {
  vector-effect: non-scaling-stroke;
  stroke-width: 1.5px;
}
.pwh-work-single__hero {
  margin-top: 30px;
}
article.pwh-work-block {
  max-width: 1260px;
  margin-inline: auto;
  background: #fff;
}

/* Uploaded icon images can't pick up currentColor the way the inline
   fallback icon does, so dim inactive tabs with opacity instead. */
.pwh-pitch__tab:not(.is-active) .pwh-pitch__icon {
  opacity: 0.55;
}

.pwh-pitch__panel {
  padding-top: clamp(1.75rem, 4vw, 3rem);
}

.pwh-pitch__text {
  max-width: 46ch;
  margin: 0 auto;
  font-size: clamp(1.125rem, 2vw, 1.9375rem);
  line-height: 1.3;
  text-align: center;
}

.pwh-pitch__text + .pwh-pitch__text {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}


/* What we do page
   ========================================================================== */

/* Hero: one centred title, same type as the home pitch text. */
.pwh-page-hero {
  padding-top: 6rem;
}

.pwh-page-hero__title {
  max-width: 46ch;
  margin: 0 auto;
  font-size: clamp(1.125rem, 2vw, 1.9375rem);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 767.98px) {
  .pwh-page-hero {
    padding-top: 4rem!important;
	padding-bottom:0!important;
  }
}

.pwh-how {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.pwh-how__title {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  font-size: var(--heading1-size);
  font-weight: 400;
}

@media (max-width: 767.98px) {
  .pwh-how__title {
    font-size: 1.4rem;
  }
  h3.pwh-step__title {
    font-size: 1.4rem;
  }
}

.pwh-how__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

/* Design wants more air between the stacked steps than the 4vw clamp gives
   at small viewports. */
@media (max-width: 767.98px) {
  .pwh-how__grid {
    gap: 3.5rem;
  }
  .pwh-step__text {
    margin-bottom: 1.5rem;
  }
}

.pwh-step__number {
  margin: 0 0 1rem;
  color: var(--pwh-muted);
  font-size: 1rem;
}

.pwh-step__title {
  display: inline-block;
  margin: 0 0 1.7rem;
  padding: 0.2em 0.4em;
  background: var(--pwh-ink);
  color: var(--pwh-bg);
  font-size: var(--heading2-size);
  font-weight: 400;
  line-height: 1.2;
}

/* Each column has room for its step title on one line from here up. */
@media (min-width: 768px) and (max-width: 1280px) {
  .pwh-step__title {
    font-size: 1.25rem;
  }
}
@media (min-width: 768px) {
  .pwh-step__title {
    white-space: nowrap;
  }
}

.pwh-step__text {
  margin: 0 0 2.25rem;
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.5;
}

.pwh-step__output {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.pwh-step__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.main-what-we-do section.pwh-banner {
  padding-top: 4rem;
}

.pwh-services {
  padding-top: clamp(3rem, 8vw, 7rem);
}

.pwh-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.pwh-services__label {
  margin: 0;
  font-size: var(--heading1-size);
  font-weight: 400;
}

.pwh-service + .pwh-service {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.pwh-service__title {
  margin: 0 0 1.25rem;
  max-width: 20ch;
  font-size: var(--heading1-size);
  font-weight: 400;
  line-height: 1.2;
}

.pwh-service__list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--pwh-muted);
  font-size: 1.1rem;
  line-height: 1.45;
}

.pwh-featured {
  padding-top: clamp(3rem, 8vw, 7rem);
}

.pwh-featured__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.pwh-featured__title {
  margin: 0;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 400;
}

/* Same wipe as .pwh-link: resting rule is ::after, hover rule is ::before. */
.pwh-featured__all {
  position: relative;
  display: inline-block;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  text-decoration: none;
  padding-bottom: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.pwh-featured__all::before,
.pwh-featured__all::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1.5px;
  margin-top: -1.5px;
  background: currentColor;
  pointer-events: none;
}

.pwh-featured__all::after {
  transform: translateX(0%);
  transform-origin: right center;
  transition: 0.6s 0.2s;
}
.pwh-featured__all::before {
  transform: translateX(-100%);
  transform-origin: left center;
  transition: 0.3s;
}
.pwh-featured__all:hover:after {
  transform: translateX(100%);
  transition: 0.3s;
}
.pwh-featured__all:hover:before {
  transform: translateX(0%);
  transition: 0.6s 0.2s;
}

.pwh-clients {
  padding-top: clamp(3rem, 8vw, 7rem);
}

.pwh-clients__label {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.25rem, 2.5vw, 2rem);
  color: var(--pwh-muted);
  font-size: 1rem;
  font-weight: 400;
}

.pwh-clients__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

.pwh-clients__text {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.pwh-clients__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Stacked on mobile: the two sector lists should read as one continuous
   list, not two separate ones with the same gap as the intro copy above. */
@media (max-width: 767.98px) {
  .pwh-clients__list + .pwh-clients__list {
    margin-top: -2rem;
  }
}

.pwh-team {
  padding-top: clamp(3rem, 8vw, 7rem);
}

.pwh-team__member + .pwh-team__member {
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

/* Tablet: the 6vw clamp reads as too tight between the industries list and
   Ryan, and between Ryan and Jess. */
@media (min-width: 600px) and (max-width: 1080px) {
  .pwh-team {
    padding-top: 6rem;
  }

  .pwh-team__member + .pwh-team__member {
    margin-top: 4rem;
  }
}

.pwh-team__media {
  aspect-ratio: 1 / 1;
  background: var(--pwh-placeholder);
  overflow: hidden;
}

.pwh-team__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwh-team__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.pwh-team__name {
  margin: 0 0 0.35rem;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 400;
}

.pwh-team__role {
  margin: 0;
  font-size: 0.9375rem;
}

.pwh-team__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.pwh-team__label {
  margin: 0 0 0.9rem;
  color: var(--pwh-muted);
  font-size: 1rem;
}

.pwh-team__text {
  margin: 0;
  max-width: 38ch;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.pwh-team__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.pwh-questions__eyebrow {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 1rem;
  color: var(--pwh-muted);
  font-size: 1rem;
}

.pwh-questions__eyebrow + .pwh-questions__title {
  margin-top: 0;
}

@media (min-width: 768px) {
  /* Design sets the statement wider than the two sector lists. */
  .pwh-clients__grid {
    grid-template-columns: 1.6fr 1fr 1.2fr;
  }

  .pwh-team__member {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .pwh-team__body {
    grid-column: span 2;
  }

  .pwh-team__member--reverse .pwh-team__media {
    order: 2;
  }

  .pwh-team__member--reverse .pwh-team__body {
    order: 1;
  }
}

@media (max-width: 767.98px) {
  .pwh-team__media {
    margin-bottom: 1.5rem;
  }
}


/* Blog post (single)
   ========================================================================== */

.pwh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pwh-tag {
  display: inline-block;
  padding: 0.4em 0.75em;
  border: 1px solid var(--pwh-ink);
  font-size: var(--tiny-font-size);
  line-height: 1.2;
}

/* Full-bleed: sits outside .pwh-container. */
.pwh-post__hero,
.pwh-work-single__hero {
  aspect-ratio: 1440 / 555;
  background: var(--pwh-placeholder);
  overflow: hidden;
}

.pwh-post__hero img,
.pwh-work-single__hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwh-post__back {
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(2.5rem, 6vw, 5rem);
  font-size: 1.0625rem;
}

.pwh-post__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* Stacked below the two-column breakpoint: the tags need space before the
   title that follows them. */
@media (max-width: 767.98px) {
  .pwh-post__meta {
    margin-bottom: 3rem;
  }
}

.pwh-post__author,
.pwh-post__date {
  margin: 0 0 0.35rem;
  color: var(--pwh-muted);
  font-size: 0.9375rem;
}

.pwh-post__date {
  margin-bottom: 1.25rem;
}

.pwh-post__header {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.pwh-post__title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 100%;
  font-size: clamp(1.5rem, 2.4vw, 1.9375rem);
  font-weight: 400;
  line-height: 1.2;
}

.pwh-post__lead {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.35;
}

.pwh-post__content > :first-child {
  margin-top: 0;
}

.pwh-post__content p,
.pwh-post__content ul,
.pwh-post__content ol {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.pwh-post__content h2,
.pwh-post__content h3 {
  margin: clamp(2rem, 4vw, 3rem) 0 1rem;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 400;
}

.pwh-post__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pwh-post__content figure {
  margin: clamp(2rem, 5vw, 4rem) 0;
}

.pwh-post__content img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--pwh-placeholder);
}

.pwh-post__content figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-align: left;
}

@media (min-width: 768px) {

  /* Named lines let editor content sit in the narrow column while wide and
     full blocks break out to the container edges. */
  .pwh-post__grid {
    grid-template-columns:
      [full-start] minmax(0, 25%)
      [content-start] minmax(0, 54%) [content-end]
      minmax(0, 21%) [full-end];
  }

  .pwh-post__meta {
    grid-column: full-start / content-start;
    grid-row: 1;
    padding-right: clamp(1rem, 2vw, 2rem);
  }

  .pwh-post__header {
    grid-column: content;
    grid-row: 1;
  }

  /* The wrapper box is removed so the_content() children become grid items. */
  .pwh-post__content {
    display: contents;
  }

  .pwh-post__content > * {
    grid-column: content;
  }

  .pwh-post__content > .alignwide,
  .pwh-post__content > .alignfull,
  .pwh-post__content > .wp-block-columns,
  .pwh-post__content > .wp-block-gallery {
    grid-column: full;
  }
}


/* Related articles
   ========================================================================== */

.pwh-related {
  padding-top: clamp(3rem, 8vw, 7rem);
}

.pwh-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.25rem, 2.5vw, 2rem);
}

.pwh-related__title {
  margin: 0;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 400;
}

/* Same wipe as .pwh-link: resting rule is ::after, hover rule is ::before. */
.pwh-related__all {
  position: relative;
  display: inline-block;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  text-decoration: none;
  padding-bottom: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.pwh-related__all::before,
.pwh-related__all::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1.5px;
  margin-top: -1.5px;
  background: currentColor;
  pointer-events: none;
}

.pwh-related__all::after {
  transform: translateX(0%);
  transform-origin: right center;
  transition: 0.6s 0.2s;
}
.pwh-related__all::before {
  transform: translateX(-100%);
  transform-origin: left center;
  transition: 0.3s;
}
.pwh-related__all:hover:after {
  transform: translateX(100%);
  transition: 0.3s;
}
.pwh-related__all:hover:before {
  transform: translateX(0%);
  transition: 0.6s 0.2s;
}

/* Post cards (blog index, related articles)
   ========================================================================== */

.pwh-postcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 1.125rem;
  row-gap: clamp(2.5rem, 6vw, 4.72rem);
  align-items: stretch;
}

/* Blog index: three post columns on desktop. */
@media (min-width: 1081px) {
  .pwh-postcard-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards fill the row so the title's .stretched-link covers the whole cell. */
.pwh-postcard-grid > .pwh-postcard {
  height: 100%;
}

/* No fixed ratio: the design staggers the cards on the images' own heights. */
.pwh-postcard__thumb {
  display: block;
  margin-bottom: 2.15rem;
  min-height: 120px;
  background: var(--pwh-placeholder);
  overflow: hidden;
}

.pwh-postcard__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.pwh-postcard__title {
  margin: 0 0 0.5rem;
  max-width: 34ch;
  font-size: clamp(1rem, 1.6vw, var(--heading4-size));
  font-weight: 400;
  line-height: 1.2;
}

.pwh-postcard__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pwh-postcard__date {
  margin: 0 0 1.15rem;
  color: var(--pwh-muted);
  font-size: var(--small-font-size);
  line-height: 1.3;
}


/* Archive heading (work, blog)
   ========================================================================== */

.pwh-archive {
  padding-top: clamp(1.5rem, 5vw, 4.15rem);
}

.pwh-archive__title {
  margin: 0 0 clamp(1.5rem, 3vw, 2.15rem);
  font-size: clamp(1.5rem, 2.3vw, var(--heading1-size));
  font-weight: 400;
  line-height: 1.2;
}

.pwh-archive__count {
  margin-right: 0.25em;
  font-size: var(--heading5-size);
  vertical-align: super;
}

.pwh-archive__lead {
  margin: 0 0 clamp(2.5rem, 5vw, 3.75rem);
  font-size: clamp(1.0625rem, 1.6vw, var(--heading3-size));
  line-height: 1.2;
}

/* Rows sit much further apart than the columns. */
.pwh-archive__grid {
  row-gap: clamp(3rem, 7vw, 6rem);
}

/* The blog index runs the studio feed straight under the lead. */
.pwh-feed--flush {
  padding-top: 0;
}

.pwh-blog__posts {
  padding-top: clamp(2.5rem, 11vw, 8.67rem);
}


/* Work item (single)
   ========================================================================== */

.pwh-work-single__header {
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.pwh-work-single__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 2.8vw, 2.3125rem);
  font-weight: 400;
  line-height: 1.15;
}

.pwh-work-single__subtitle {
  margin: 0;
  color: var(--pwh-muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
}

.pwh-work-single__intro {
  display: grid;
  gap: clamp(2rem, 5vw, 7rem);
}

.pwh-work-single__lead {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.35;
}

/* Location / Industry on the first row, Services / Credits on the second. */
.pwh-work-single__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
  align-content: start;
}

/* Design keeps Location/Industry/Services/Credits on one row rather than
   wrapping Services onto its own line. */
@media (min-width: 768px) {
  .pwh-work-single__meta {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pwh-work-single__meta .pwh-tag {
  padding: 0.45em 0.8em;
  font-size: 0.9375rem;
}

.pwh-work-meta__label {
  margin: 0 0 0.5rem;
  color: var(--pwh-muted);
  font-size: clamp(0.9375rem, 1.1vw, 1.125rem);
  font-weight: 400;
}

.pwh-work-meta__value {
  margin: 0;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
}

.pwh-work-meta__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.6;
}

/* Credits come from WYSIWYG fields, wrapped in <p>: keep the list's line pitch. */
.pwh-work-meta__list p {
  margin: 0;
}

.pwh-work-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: clamp(2.5rem, 7vw, 6rem);
}

@media (max-width: 767.98px) {
  .pwh-work-band {
    gap: 2.5rem;
  }
}

.pwh-work-band__label {
  margin: 0 0 1rem;
  color: var(--pwh-muted);
  font-size: 0.9375rem;
  font-weight: 400;
}

.pwh-work-band__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.pwh-work-band__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.pwh-work-single__content {
  padding-top: clamp(2.5rem, 7vw, 5.5rem);
}

.pwh-work-single__content > :first-child {
  margin-top: 0;
}

.pwh-work-single__content p {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.pwh-work-single__content figure {
  margin: 0 0 clamp(1.25rem, 2vw, 1.5rem);
}

.pwh-work-single__content img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--pwh-placeholder);
}

.pwh-work-single__content figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.pwh-work-quote {
  margin: 0;
  padding-top: clamp(2rem, 5vw, 4rem);
}

.pwh-work-quote__text {
  margin: 0 0 1.25rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  line-height: 1.4;
}

.pwh-work-quote__author {
  margin-bottom: 0.85rem;
  color: var(--pwh-muted);
  font-size: 0.9375rem;
}

.pwh-work-quote__link {
  display: inline-block;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The same link rendered as a <button> when it points at a video. */
button.pwh-work-quote__link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}

.pwh-video-modal {
  width: min(92vw, 68rem);
  max-width: none;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
}

/* Keep the page behind the lightbox from scrolling under it. */
body:has(.pwh-video-modal[open]) {
  overflow: hidden;
}

.pwh-video-modal::backdrop {
  background: rgb(0 0 0 / 0.82);
}

.pwh-video-modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.pwh-video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pwh-video-modal__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 575.98px) {
  .pwh-video-modal__close {
    top: -2.25rem;
    font-size: 1.5rem;
  }
}

.pwh-work-nav {
  padding-top: clamp(3rem, 8vw, 6.5rem);
}

.pwh-work-nav__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-inline: auto;
}

.pwh-work-nav__label {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
}

.pwh-work-nav__label a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pwh-work-nav__link {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.pwh-work-nav__thumb {
  flex: 0 0 auto;
  display: block;
  width: clamp(72px, 7vw, 100px);
  aspect-ratio: 1 / 1;
  background: var(--pwh-placeholder);
  overflow: hidden;
}

.pwh-work-nav__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwh-work-nav__title {
  max-width: 14ch;
  font-size: clamp(1.375rem, 2.2vw, 2.1875rem);
  line-height: 1.15;
}

.pwh-work-nav__link:hover .pwh-work-nav__title,
.pwh-work-nav__link:focus-visible .pwh-work-nav__title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Coming soon: rendered as a <div>, so nothing to click and no hover underline. */
.pwh-work-nav__link--soon {
  cursor: default;
}

.pwh-work-nav__link--soon:hover .pwh-work-nav__title {
  text-decoration: none;
}

.pwh-work-nav__soon {
  align-self: center;
  padding: 0.25rem 0.6rem;
  border: 1.5px solid currentColor;
  color: var(--pwh-muted);
  font-size: 0.8rem;
  line-height: 1.2;
}

.pwh-work-nav__side--next {
  text-align: right;
}

.pwh-work-nav__side--next .pwh-work-nav__link {
  justify-content: flex-end;
  text-align: left;
}

@media (min-width: 992px) {
  .pwh-work-single__intro {
    grid-template-columns: 1fr 1.15fr;
  }

  /* Design insets the project nav from the container edges. */
  .pwh-work-nav__inner {
    max-width: 84%;
  }
}


/* 404
   ========================================================================== */

.pwh-404 {
  padding-block: clamp(4rem, 14vw, 12rem);
  text-align: center;
}

/* 50px, scaled down on narrow screens. */
.pwh-404__code {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 3.125rem);
  line-height: 1.1;
}

/* 100px, scaled down on narrow screens. */
.pwh-404__title {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(2.5rem, 7vw, 6.25rem);
  font-weight: 400;
  line-height: 1.05;
}


/* Footer
   ========================================================================== */

/* 1440 design in rem at an 18px root: 153px above the rule, 33px below the last line. */
.pwh-footer {
  margin-top: clamp(3.5rem, 10.6vw, 8.5rem);
  padding-bottom: 1.8333rem;
}

/* Three 450px columns with a 25px gap; 54px from the rule to the column titles. */
.pwh-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem 1.3889rem;
  padding-top: clamp(2rem, 3.75vw, 3rem);
}

/* Logo sits below the column-title line; tagline bottom-aligns with the address. */
.pwh-footer__brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 1rem;
}

.pwh-footer__logo {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
}

/* 130px wide at 1440, scales with the root size. */
.pwh-footer__logo-img {
  width: 7.2222rem;
  height: auto;
}

.pwh-footer__logo-top {
  display: block;
  letter-spacing: 0.22em;
}

.pwh-footer__logo-bottom {
  display: block;
}

/* 20.5px, same as the links. */
.pwh-footer__tagline {
  line-height: 1.2683;
  margin: 1.25rem 0 0;
}

/* 15px column title, 24px to the list. */
.pwh-footer__title {
  margin: 0 0 1.3333rem;
  font-size: 0.8333rem;
  line-height: 1.2;
  font-weight: 400;
}

/* 20.5px / 26px line pitch. */
.pwh-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--heading4-size);
  line-height: 1.2683;
}

/* Footer menu links: plain text-decoration underline on hover, same as
   .pwh-project__title. */
.pwh-footer__list a {
  text-decoration: underline;
  text-decoration-thickness: 0.14ch;
  text-underline-offset: 0.12rem;
  transition: 0.4s;
}

/* .pwh-footer__list a:hover {
  text-underline-offset: 0.2rem;
} */
p.text-small.stats-note {
  color: var(--pwh-muted);
  font-size: 0.8rem;
}

/* Contact links (email, phone): same wipe as .pwh-link / .pwh-cta__button. No
   text-decoration; the hover rule is ::before and sits on the resting line. */
.pwh-footer__contact-text a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding-bottom: 1px;
  overflow: hidden;
}

.pwh-footer__contact-text a::before,
.pwh-footer__contact-text a::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1.5px;
  margin-top: -2.5px;
  background: currentColor;
  pointer-events: none;
}
.pwh-footer__contact-text a::after {
  opacity: 0;
  transform: translateX(0%);
  transform-origin: right center;
  transition: 0.6s 0.2s;
}
.pwh-footer__contact-text a::before {
  transform: translateX(-100%);
  transform-origin: left center;
  transition: 0.3s;
}
.pwh-footer__contact-text a:hover:after {
  transform: translateX(100%);
  transition: 0.3s;
}
.pwh-footer__contact-text a:hover:before {
  transform: translateX(0%);
  transition: 0.6s 0.2s;
}

/* 33px avatar-to-text gap, 76px pitch between the two rows (63px avatar + 13px). */
.pwh-footer__contact {
  display: flex;
  align-items: center;
  gap: 1.8333rem;
  margin-bottom: 0.7222rem;
}

.pwh-footer__contact:last-child {
  margin-bottom: 0;
}

/* Avatar overshoots its text by 8px, so the first row starts that much higher. */
.pwh-footer__title + .pwh-footer__contact {
  margin-top: 1.6rem;
}

.pwh-footer__avatar {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--pwh-placeholder);
}

/* 20.5px / 26px line pitch. */
.pwh-footer__contact-text {
  margin: 0;
  /* font-size: var(--heading4-size); */
  line-height: 1.2683;
}


/* Custom cursor
   ========================================================================== */

.pwh-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1080;
  width: 126px;
  height: 126px;
  margin: -63px 0 0 -63px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.pwh-cursor img {
  display: block;
  width: 100%;
  height: 100%;
}

.pwh-cursor.is-visible {
  opacity: 1;
  transform: scale(1);
}

[data-cursor="view"],
[data-cursor="view"] * {
  cursor: none;
}

@media (hover: none), (pointer: coarse) {
  .pwh-cursor {
    display: none;
  }

  [data-cursor="view"],
  [data-cursor="view"] * {
    cursor: pointer;
  }
}


/* Small screens
   ========================================================================== */

@media (max-width: 767.98px) {
  /* Design uses a 16px page gutter on mobile. */
  :root {
    --pwh-gutter: 16px;
  }

  /* Design closes the header with a full-bleed rule under the logo row. */
  .pwh-header {
    padding-top: 0;
    /* border-bottom: 2px solid var(--pwh-rule); */
  }

  .pwh-header__inner {
    padding-block: 1rem;
  }

  /* 84px wordmark in the bar. */
  .pwh-logo {
    width: 114px;
  }

  /* The desktop nav-baseline offset isn't needed once the links collapse
     into the hamburger; without it the toggle sat low against the logo. */
  .pwh-nav {
    padding-top: 0;
  }

  /* Mobile design runs every horizontal rule edge to edge, outside the gutter. */
  .pwh-rule,
  .pwh-header__rule,
  .pwh-footer__rule {
    margin-inline: calc(var(--pwh-gutter) * -1);
  }

  /* Design drops the footer rule further below the section above it. */
  .pwh-footer {
    margin-top: 4.875rem;
  }

  .pwh-footer__contact {
    gap: 1rem;
  }

  .pwh-header__inner {
    align-items: center;
  }
  .pwh-work-single__intro {
    gap: 3rem;
  }

  .pwh-work-single__meta {
    gap: 3rem;
  }
}

/* The plain nav list wraps onto two lines at tablet-portrait widths (the
   768px+ desktop nav isn't given room until the intro breakpoint at 992px),
   so the hamburger takes over for the whole sub-992px range, not just mobile. */
@media (max-width: 991.98px) {
  .pwh-nav__toggle {
    display: block;
  }

  .pwh-nav__list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1040;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem var(--pwh-gutter) 1.5rem;
    background: var(--pwh-bg);
    border-bottom: 2px solid var(--pwh-rule);
  }

  .pwh-nav.is-open .pwh-nav__list {
    display: flex;
    margin-top: 140px;
  }
  .pwh-nav.is-open .pwh-nav__list li {
    display: block;
    flex-basis: 100%;
    width: 100%;
  }
  .pwh-nav__list a {
    padding-block: 15px;
    display: block;
  }
  .pwh-nav__list a:before {
    content: '';
    flex-grow: 1;
  }
  .pwh-nav__count {
    top: 0.1rem;
  }
}

/* wpautop output inside contact text blocks */
.pwh-contact-detail__text > p:last-child,
.pwh-questions__text > p:last-child,
.pwh-faq__answer > p:last-child {
  margin-bottom: 0;
}

/* Work single: ACF banner video / embed */
.pwh-work-single__hero video,
.pwh-work-single__embed,
.pwh-work-single__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Work single: content blocks */
.pwh-work-blocks {
  padding-top: clamp(2.5rem, 7vw, 5.5rem);
}

.pwh-work-block {
  margin: 0 0 clamp(1.25rem, 2vw, 1.5rem);
}

.pwh-work-block img,
.pwh-work-block video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--pwh-placeholder);
}

.pwh-work-block__embed {
  aspect-ratio: 16 / 9;
  background: var(--pwh-placeholder);
}

.pwh-work-block__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.pwh-work-block--two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2vw, 1.5rem);
}

.pwh-work-block__col {
  margin: 0;
}

.pwh-work-block.pwh-work-single__content {
  padding-top: 0;
}

.pwh-work-block.pwh-work-quote {
  padding-top: clamp(1rem, 3vw, 2.5rem);
}

.pwh-work-quote__text > p {
  margin: 0 0 1rem;
}

.pwh-work-quote__text > p:last-child,
.pwh-work-single__lead > p:last-child,
.pwh-work-band__text > p:last-child {
  margin-bottom: 0;
}

/* Single post: ACF header video, icons row, content blocks */
/* The image is always in flow; the video sits on top of it when present. */
.pwh-post__hero {
  position: relative;
  margin-top: 30px;
}
.pwh-post__wysiwyg {
  margin-top: 5rem;
}

.pwh-post__wysiwyg + div, .pwh-post__wysiwyg + article {
  margin-top: 4rem;
}

.pwh-post__hero video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwh-post__icons {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.pwh-post__icons img {
  display: block;
  width: auto;
  height: clamp(2rem, 3vw, 2.75rem);
}

.pwh-post__blocks {
  padding-top: 0;
}

.pwh-work-block figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  /* Body wrapper removed like .pwh-post__content so blocks sit in the content column. */
  .pwh-post__body {
    display: contents;
  }

  .pwh-post__body > .pwh-post__icons {
    grid-column: content;
  }

  /* Text and project-link blocks get their own grid so they align with the
     content column; media blocks sit outside any grid at container width. */
  .pwh-post__grid > .pwh-work-block--post-link {
    grid-column: content;
  }
}

/* Linked project block: thumb left, meta right (design: Found - Form - Disco). */
.pwh-work-feature__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.pwh-work-feature__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--pwh-placeholder);
  overflow: hidden;
}

.pwh-work-feature__media img,
.pwh-work-feature__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwh-work-feature__location {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.pwh-work-feature__title {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.1;
  max-width: 18ch;
}

.pwh-work-feature__link:hover .pwh-work-feature__title,
.pwh-work-feature__link:focus-visible .pwh-work-feature__title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pwh-project--soon .pwh-work-feature__link:hover .pwh-work-feature__title {
  text-decoration: none;
}

.pwh-work-feature__excerpt {
  margin: 1rem 0 0;
  max-width: 22ch;
  font-size: 1.15rem;
  line-height: 1.35;
}

.pwh-work-feature .pwh-tags {
  margin-top: 1.75rem;
}

.pwh-work-feature .pwh-tag {
  padding: 0.6em 1em;
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .pwh-work-feature__link {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
  }
}

/* Blog cards: ACF thumbnails (static / hover video or image / height class) */
.pwh-postcard__thumb {
  position: relative;
}

.pwh-postcard__hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.pwh-work-block.pwh-work-block--two-col {
  margin-top: 3rem;
}

/* .pwh-postcard--has-hover sits on the card (article), not the media box, so the
   stretched link's overlay triggers it across the whole column. */
@media (hover: hover) and (pointer: fine) {
  .pwh-postcard--has-hover:hover .pwh-postcard__hover,
  .pwh-postcard--has-hover:focus-within .pwh-postcard__hover {
    opacity: 1;
  }
}

.pwh-postcard--h-xl .pwh-postcard__thumb,
.pwh-postcard--h-l .pwh-postcard__thumb,
.pwh-postcard--h-m .pwh-postcard__thumb,
.pwh-postcard--h-s .pwh-postcard__thumb {
  min-height: 0;
}

.pwh-postcard--h-xl .pwh-postcard__thumb { aspect-ratio: 452 / 623; }
.pwh-postcard--h-l .pwh-postcard__thumb  { aspect-ratio: 452 / 546; }
.pwh-postcard--h-m .pwh-postcard__thumb  { aspect-ratio: 452 / 395; }
.pwh-postcard--h-s .pwh-postcard__thumb  { aspect-ratio: 452 / 325; }

.pwh-postcard--h-xl .pwh-postcard__static,
.pwh-postcard--h-l .pwh-postcard__static,
.pwh-postcard--h-m .pwh-postcard__static,
.pwh-postcard--h-s .pwh-postcard__static {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-what-we-do .pwh-page-hero {
  padding-block: 9rem 5rem;
}

@media only screen and (min-width: 1660px) {
  html {
    font-size: 21.6px;
  }
  :root {
    --pwh-gutter: 25px;
  }
}

@media only screen and (max-width: 767px) {
  .pwh-columns__grid {
    gap: 4rem;
  }
  .pwh-work-single__hero,
  .pwh-post__hero {
    margin-top: 6px;
  }
  .pwh-post__header h1.pwh-post__title {
    margin-bottom: 0;
  }
  .pwh-post__wysiwyg + div, .pwh-post__wysiwyg + article {
    margin-top: 0;
  }

  .pwh-post__wysiwyg {
      margin-top: 2rem;
  }

  .pwh-work-feature__body {
      padding: 0 20px 20px;
  }

  .pwh-work-feature .pwh-tag {
      font-size: 0.8rem;
  }

  .pwh-work-feature__title {
      font-size: 1.5rem;
  }

  .pwh-work-feature__excerpt {
      font-size: 1.05rem;
  }

  .pwh-cta__button {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .pwh-cta__eyebrow {
    margin-bottom: 2rem;
  }

  .pwh-cta__headline {
    font-size: 1.65rem;
  }
  .pwh-testimonial__quote {margin-bottom: 1rem;}

  .pwh-testimonials__grid {
    gap: 3rem;
  }
  .pwh-stats {
    gap: 3.5rem;
  }
  .home .pwh-project__title {
    font-size: 1.8rem;
  }
  .pwh-expect__title {
    margin-bottom: 3rem;
  }
  .pwh-nav.is-open .pwh-nav__list {
    margin-top: 25px;
  }
  .pwh-pitch {
    padding-top: 4rem;
  }
  .pwh-pitch__tab {
    font-size: 0.9rem;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .pwh-work__grid {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    display: flex;
    margin-right: -20px;
    padding-right: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .pwh-work__grid::-webkit-scrollbar {
    display: none;
  }
  article.pwh-project {
    width: 40vw;
    flex-basis: 40vw;
    min-width: 40vw;
  }
  .pwh-feed__grid {
    gap: 1.8rem;
    grid-template-columns: repeat(2, 1fr);
  }
  .pwh-feed__thumb {
    width: 100px;
    height: 100px;
  }
  .pwh-feed__item {
    gap: 0.8rem;
    align-items: center;
  }
  .pwh-feed__heading {
    font-size: 1.3rem;
  }
  .pwh-footer__list {
    font-size: 1.1rem;
  }
  .pwh-columns__grid, .pwh-testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pwh-testimonials__grid > :last-child:nth-child(odd),
  .pwh-columns__grid > :last-child:nth-child(odd) {grid-column: auto;}
  .home .pwh-project__title {
    font-size: 1.5rem;
  }
  .pwh-footer__contact {
    gap: 1rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1280px) {
  .pwh-services__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  h2.pwh-services__label {
    width: 100%;
  }
  h2 + .pwh-services__column {
    width: calc(74% - 4rem);
    display: flex;
  }
  .pwh-services__column + .pwh-services__column {
     width: 30%;
  }
  .pwh-service + .pwh-service {
    margin: 0 0 0 2rem;
  }
  .pwh-service__title {
    font-size: 1.2rem;
    text-wrap: balance;
    max-width: 17ch;
  }
  .pwh-service__list {
      font-size: 0.95rem;
  }
  h2 + .pwh-services__column .pwh-service {
    width: calc(50% - 1rem);
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1280px) {
  .pwh-feed__thumb {
    width: 80px;
    height: 80px;
  }
  .pwh-feed__heading {
    font-size: 1.1rem;
  }
  .pwh-feed__grid {
    gap: 0.8rem;
  }
  .pwh-feed__item {
    gap: 0.75rem;
  }
  h2 + .pwh-services__column {
    width: calc(73% - 4rem);
  }
}


@media only screen and (min-width: 768px) {
  .pwh-work-single__meta {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (min-width: 1024px) {
  .pwh-work-block.pwh-work-quote {
    padding-block: 3rem 4.2rem;
    margin-bottom: 0;
  }
  .pwh-work-feature span.pwh-tag {
    font-size: 0.8rem;
  }
}



/* Work single: credits come from WYSIWYG, so links need an explicit underline
   (matches the other links on this page: default thickness, 3px offset). */
.pwh-work-meta__list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Work single, desktop: intro and band share one 4-column grid so Location /
   Industry line up with Outcome / Results, and every column gets the same gap.
   Band spacing is 50% larger than before (was clamp(2.5rem, 7vw, 6rem)). */
@media (min-width: 992px) {
  .pwh-work-single {
    --pwh-work-col-gap: clamp(1.75rem, 3vw, 2.5rem);
  }

  .pwh-work-single__intro,
  .pwh-work-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--pwh-work-col-gap);
  }

  .pwh-work-single__lead {
    grid-column: 1 / span 2;
  }

  .pwh-work-single__meta {
    grid-column: 3 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--pwh-work-col-gap);
  }

  .pwh-work-band {
    padding-top: clamp(3.75rem, 10.5vw, 9rem);
  }
}

/* Tablet: band stays two columns. Between 992 and 1023px the intro is already
   4-col, and two band columns still line up with its lead / meta halves. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .pwh-work-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}