/* Project detail pilot only. Global header/footer and Portfolio styles untouched. */

body.wsh-project-detail-preview #page {
  max-width: none;
  background: var(--wsh-c1,#fff);
}

body.wsh-project-detail-preview #content {
  display: block;
  max-width: none;
  padding: 0;
}

.wsh-pd {
  --pd-botanical-shadow: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22600%22%20height%3D%22800%22%20viewBox%3D%220%200%20600%20800%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22soft%22%3E%3CfeGaussianBlur%20stdDeviation%3D%225%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22%23647064%22%20opacity%3D%22.085%22%20filter%3D%22url%28%23soft%29%22%3E%3Cpath%20d%3D%22M-30%2020Q160%20155%20210%20400%22%20fill%3D%22none%22%20stroke%3D%22%23647064%22%20stroke-width%3D%227%22%2F%3E%3Cpath%20d%3D%22M40%2080Q-25%2060-30%200Q45%208%2040%2080M75%20110Q90%2020%20165%2010Q160%2090%2075%20110M110%20160Q35%20155%2010%2090Q90%2090%20110%20160M145%20215Q145%20120%20220%2090Q230%20180%20145%20215M177%20285Q95%20270%2065%20200Q155%20205%20177%20285M194%20340Q205%20245%20275%20230Q265%20310%20194%20340%22%2F%3E%3Cpath%20d%3D%22M640%20230Q465%20380%20410%20620%22%20fill%3D%22none%22%20stroke%3D%22%23647064%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M563%20300Q545%20215%20465%20205Q473%20279%20563%20300M520%20360Q602%20350%20625%20285Q547%20289%20520%20360M479%20425Q470%20334%20392%20320Q396%20400%20479%20425M450%20490Q534%20470%20555%20400Q471%20417%20450%20490M426%20570Q410%20481%20338%20470Q342%20550%20426%20570%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --wsh-c6: #23433C;
  --pd-ink: var(--wsh-c5,#1a1a1a);
  --pd-green: var(--wsh-c6,#23433C);
  --pd-pale: var(--wsh-c2,#f7f7f7);
  color: var(--pd-ink);
  background: white;
  font-family: "IBM Plex Sans Thai",sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow: clip;
}

.wsh-pd * {
  box-sizing: border-box;
}

.wsh-pd :where(h1,h2,h3,p,figure,dl,dd) {
  margin: 0;
}

.wsh-pd :where(h1,h2,h3) {
  font-family: inherit;
  color: inherit;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.wsh-pd a {
  color: inherit;
  text-decoration: none;
}

.wsh-pd button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}

.wsh-pd img {
  max-width: 100%;
  display: block;
}

.wsh-pd :focus-visible {
  outline: 3px solid var(--pd-green);
  outline-offset: 4px;
}

.pd-shell {
  width: 90%;
  max-width: 1320px;
  margin-inline: auto;
}

.pd-preview-note {
  padding: 8px 5%;
  font-size: 12px;
  background: var(--pd-pale);
  color: var(--pd-green);
}

.wsh-pd .pd-eyebrow {
  font-family: inherit;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .4em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--pd-green);
}

.wsh-pd .pd-eyebrow::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 9px;
  background: currentColor;
}

.wsh-pd .pd-final .pd-eyebrow {
  color: #FFFFFF;
}

.wsh-pd .pd-final .pd-eyebrow::after {
  margin-inline: auto;
}

.pd-hero {
  display: grid;
  grid-template-columns: 40% 60%;
  grid-template-rows: 1fr auto;
  min-height: 580px;
  width: 100%;
  max-width: 1600px;
}

.pd-intro {
  grid-column: 1;
  grid-row: 1;
  padding: 52px 38px 24px clamp(28px,5vw,80px);
  background: linear-gradient(125deg,var(--pd-pale),white 75%);
}

.pd-intro h1 {
  font-family: inherit;
  font-size: clamp(38px,3.8vw,58px);
  font-weight: 600;
  color: var(--pd-green);
  line-height: 1.04;
  margin: 22px 0 20px;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.pd-summary {
  font-size: 20px;
  line-height: 1.6;
  max-width: 440px;
}

.pd-meta {
  grid-column: 1;
  grid-row: 2;
  padding: 0 38px 42px clamp(28px,5vw,80px);
  background: linear-gradient(125deg,var(--pd-pale),white 75%);
}

.pd-meta:before {
  content: none;
}

.pd-meta dl {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
}

.pd-meta dl>div {
  text-align: center;
  padding: 0 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.pd-meta dl>div+div {
  border-left: 1px solid var(--wsh-c3,#c2c9cf);
}

.pd-meta svg {
  margin-inline: auto;
  color: var(--pd-green);
}

.pd-meta svg,.pd-highlight svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
}

.pd-meta dt {
  font-size: 12px;
  margin-top: 10px;
}

.pd-meta dd {
  font-size: 14px;
  font-weight: 500;
}

.pd-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
}

.pd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 12px 23px;
  background: var(--pd-green);
  color: white!important;
  border: 1px solid var(--pd-green);
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
}

.pd-link {
  font-size: 14px;
  text-decoration: underline!important;
  text-underline-offset: 5px;
}

.pd-stage {
  grid-column: 2;
  grid-row: 1/3;
  position: relative;
  background: var(--pd-pale);
  min-width: 0;
  overflow: hidden;
}

.pd-image-open {
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: block;
}

.pd-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/2;
}

.pd-stage.is-portrait .pd-main-image {
  object-fit: contain;
}

.pd-stage-controls {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: clamp(24px,5vw,80px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  padding: 0;
  background: transparent;
  font-size: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}

.pd-stage-controls [data-gallery-counter] {
  white-space: nowrap;
  margin-right: 16px;
}

.pd-stage-controls button {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 0 0 2px rgba(255,255,255,.12);
}

.pd-stage-controls button:hover {
  background: rgba(35,30,20,.6);
}

.pd-stage-controls button,.pd-lightbox [data-gallery-prev],.pd-lightbox [data-gallery-next] {
  border: 1px solid currentColor;
  background: transparent;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 25px;
  line-height: 1;
}

.pd-progress {
  height: 2px;
  background: linear-gradient(to right,#fff 0 var(--pd-progress,12.5%),rgba(255,255,255,.4) var(--pd-progress,12.5%) 100%);
  flex: 0 1 40%;
  margin-right: auto;
}

.pd-rail-wrap {
  display: flex;
  gap: 14px;
  padding-block: 24px;
}

.pd-rail {
  display: flex;
  gap: 12px;
  min-width: 0;
  overflow: auto;
  scroll-snap-type: x proximity;
  padding: 4px;
}

.pd-thumb {
  flex: 0 0 145px;
  height: 100px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  scroll-snap-align: start;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.pd-thumb.is-active {
  border-color: var(--pd-green);
  background: white;
}

.pd-all-photos {
  flex: 0 0 125px;
  background: var(--pd-green);
  color: white!important;
  border: 0;
  border-radius: 7px;
  min-height: 100px;
  font-size: 14px;
}

.pd-story {
  display: grid;
  grid-template-columns: 22% 1fr 25%;
  gap: 32px;
  padding-block: 38px 64px;
}

.pd-highlights {
  padding: 25px 22px;
  background: var(--pd-pale);
  border-radius: 6px;
}

.pd-highlight {
  display: flex;
  gap: 18px;
  margin-top: 30px;
}

.pd-highlight svg {
  flex: 0 0 28px;
}

.pd-highlight h3 {
  font-size: 16px;
  margin-bottom: 7px;
}

.pd-highlight p {
  font-size: 14px;
}

.pd-design-signature {
  font-size: 11px;
  color: var(--pd-green);
  letter-spacing: .13em;
  margin-top: 50px;
}

.pd-description h2 {
  font-size: 32px;
  margin: 12px 0 20px;
}

.pd-description>p:not(.pd-eyebrow) {
  margin-bottom: 24px;
}

.pd-description figure {
  position: relative;
}

.pd-description figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.pd-description figcaption {
  font-size: 13px;
  margin-top: 10px;
}

.pd-supporting {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 22px;
}

.pd-supporting img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
}

.pd-supporting figcaption {
  font-size: 13px;
  margin-top: 8px;
}

.pd-statement {
  color: white;
}

.pd-statement .pd-shell>p:not(.pd-eyebrow) {
  font-size: clamp(22px,2.5vw,34px);
  line-height: 1.5;
  margin: 10px 0;
}

.pd-statement span {
  display: block;
  text-align: right;
  font-size: 12px;
  letter-spacing: .15em;
}

.pd-related {
  padding-block: 44px 54px;
}

.pd-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.pd-section-heading h2 {
  font-size: 26px;
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}

.pd-related-grid img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 6px;
}

.pd-related-grid h3 {
  font-size: 16px;
  margin: 12px 0 6px;
}

.pd-related-grid p {
  font-size: 13px;
  color: var(--pd-green);
}

.pd-final {
  padding: 52px 0;
  background: var(--pd-green);
  color: white;
}

.pd-final>.pd-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pd-final h2 {
  margin: 12px 0;
}

.pd-final-actions {
  display: grid;
  gap: 14px;
  min-width: 240px;
}

.pd-button--light {
  background: white;
  color: var(--pd-green)!important;
  border-color: white;
}

.pd-button--outline {
  border-color: white;
  background: transparent;
}

.pd-lightbox {
  border: 0;
  background: var(--pd-ink);
  color: white;
}

.pd-lightbox::backdrop {
  background: rgba(26,26,26,.9);
}

.pd-lightbox>div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
}

.pd-lightbox-close {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 32px;
}

@media(max-width:1100px) {
  .pd-hero {
    min-height: 520px;
  }

  .pd-intro {
    padding-top: 42px;
  }

  .pd-intro h1 {
    font-size: 42px;
  }

  .pd-summary {
    font-size: 18px;
  }

  .pd-meta {
    padding-bottom: 30px;
  }

  .pd-story {
    grid-template-columns: 24% 1fr;
    gap: 24px;
  }

  .pd-supporting {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
  }

  .pd-related-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:767px) {
  .pd-shell {
    width: 90%;
  }

  .pd-hero {
    display: contents;
  }

  .pd-intro {
    padding: 28px 5% 22px;
  }

  .pd-intro h1 {
    font-size: 42px;
    margin: 16px 0;
  }

  .pd-summary {
    font-size: 18px;
  }

  .pd-stage {
    min-height: 0;
    width: 100%;
    aspect-ratio: 3/2;
  }

  .pd-stage-controls {
    left: 16px;
    right: 16px;
    bottom: 14px;
    padding: 0;
    font-size: 14px;
    gap: 10px;
  }

  .pd-stage-controls [data-gallery-counter] {
    margin-right: 4px;
  }

  .pd-stage-controls button {
    flex-basis: 40px;
  }

  .pd-meta {
    padding: 0 5% 30px;
    display: flex;
    flex-direction: column;
  }

  .pd-rail-wrap {
    padding-block: 16px;
  }

  .pd-thumb {
    flex-basis: 100px;
    height: 76px;
  }

  .pd-all-photos {
    flex-basis: 90px;
    min-height: 76px;
    font-size: 12px;
  }

  .wsh-pd {
    display: flex;
    flex-direction: column;
  }

  .pd-preview-note {
    order: 0;
  }

  .pd-intro {
    order: 1;
  }

  .pd-stage {
    order: 2;
  }

  .pd-rail-wrap {
    order: 3;
  }

  .pd-meta {
    order: 4;
  }

  .pd-story {
    order: 5;
    display: flex;
    flex-direction: column;
    padding-block: 10px 34px;
    gap: 28px;
  }

  .pd-highlights {
    padding: 24px;
  }

  .pd-highlight {
    margin-top: 20px;
  }

  .pd-design-signature {
    margin-top: 28px;
  }

  .pd-description h2 {
    font-size: 28px;
  }

  .pd-supporting {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pd-statement {
    order: 6;
  }

  .pd-related {
    order: 7;
    padding-block: 32px;
  }

  .pd-section-heading {
    align-items: flex-start;
  }

  .pd-section-heading h2 {
    font-size: 23px;
  }

  .pd-section-heading .pd-link {
    font-size: 12px;
    white-space: nowrap;
  }

  .pd-related-grid {
    gap: 24px 14px;
  }

  .pd-related-grid h3 {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .pd-related-grid p {
    font-size: 12px;
  }

  .pd-final {
    order: 8;
    padding: 36px 0;
  }

  .pd-final>.pd-shell {
    display: block;
  }

  .pd-final h2 {
    font-size: 26px;
  }

  .pd-final-actions {
    margin-top: 24px;
  }

  .pd-lightbox {
    order: 9;
  }

  .pd-description>p:not(.pd-eyebrow) {
    font-size: 16px;
  }
}

@media(min-width:1101px) {
  .pd-actions {
    position: relative;
  }

  .pd-actions .pd-link {
    position: absolute;
    left: 66.666667%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

.pd-stage-controls button {
  width: 54px;
  height: 54px;
  background: rgba(35,30,20,.38);
  font-size: 30px;
}

@media(max-width:767px) {
  .pd-stage-controls button {
    width: 40px;
    height: 40px;
    font-size: 25px;
  }
}

/* Soft botanical shadow for the project hero text panel. */

.pd-hero {
  background-color: #fafaf8;
  background-image: var(--pd-botanical-shadow);
  background-repeat: no-repeat;
  background-position: -60px -90px;
  background-size: 56% 145%;
}

.pd-intro,.pd-meta {
  background: transparent;
}

@media(max-width:767px) {
  .pd-intro {
    background: #fafaf8 var(--pd-botanical-shadow) -40px -50px/145% auto no-repeat;
  }

  .pd-meta {
    background-color: #fafaf8;
  }
}

/* Hero CTA follows the existing global header button interaction. */

:is(.pd-actions .pd-button,.pd-all-photos) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 4px;
  background: color-mix(in srgb,var(--wsh-c5,#1a1a1a) 75%,var(--wsh-c6,#23433C));
  box-shadow: 0 2px 5px rgba(26,26,26,.18);
  font-weight: 500;
}

:is(.pd-actions .pd-button,.pd-all-photos)::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--pd-green);
  content: "";
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 240ms cubic-bezier(.22,.61,.36,1);
}

:is(.pd-actions .pd-button,.pd-all-photos):is(:hover,:focus-visible)::before {
  transform: scaleY(1);
}

.pd-cta-arrow {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  overflow: hidden;
  color: var(--wsh-c5,#1a1a1a);
}

:is(.pd-actions,.pd-all-photos) .pd-cta-arrow svg {
  color: inherit;
  margin: 0;
  position: absolute;
  inset: 0;
  display: block;
  width: 18px;
  height: 18px;
  transform: translate(0,0);
  transition: transform 240ms cubic-bezier(.22,1,.36,1);
}

.pd-cta-arrow svg:last-child {
  transform: translate(-100%,100%);
}

:is(.pd-actions .pd-button,.pd-all-photos):is(:hover,:focus-visible) svg:first-child {
  transform: translate(100%,-100%);
}

:is(.pd-actions .pd-button,.pd-all-photos):is(:hover,:focus-visible) svg:last-child {
  transform: translate(0,0);
}

@media(prefers-reduced-motion:reduce) {
  :is(.pd-actions .pd-button,.pd-all-photos)::before,.pd-cta-arrow svg {
    transition: none;
  }

  :is(.pd-actions .pd-button,.pd-all-photos):is(:hover,:focus-visible) svg:first-child {
    transform: none;
  }

  .pd-cta-arrow svg:last-child {
    display: none;
  }
}

/* Swipe the thumbnail rail; retain native touch and keyboard scrolling. */

.pd-rail {
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-x pan-y;
}

.pd-rail::-webkit-scrollbar {
  display: none;
}

.pd-rail img {
  -webkit-user-drag: none;
  user-select: none;
}

.pd-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.pd-rail.is-dragging * {
  cursor: grabbing;
}

.pd-all-photos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.pd-all-photos-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Lightbox navigation: centered arrows with a subtle double circular edge. */

.pd-lightbox [data-gallery-prev],.pd-lightbox [data-gallery-next] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(255,255,255,.13);
}

.pd-lightbox [data-gallery-prev]:hover,.pd-lightbox [data-gallery-next]:hover {
  background: rgba(255,255,255,.08);
}

.pd-highlights {
  display: flex;
  flex-direction: column;
}

.pd-highlights .pd-design-signature {
  margin-top: auto;
  padding-top: 50px;
}

/* User supplied quotation and decorative brand still life. */

.pd-statement {
  padding: 30px 0;
  min-height: 155px;
}

.pd-statement .pd-shell {
  display: flex;
  align-items: flex-end;
  gap: 36px;
  min-height: 95px;
}

.pd-statement .pd-shell>p.pd-statement-quote {
  position: relative;
  margin: 0;
  padding-left: 40px;
  font-size: clamp(20px,1.8vw,28px);
  line-height: 1.55;
  max-width: 65%;
}

.pd-statement-quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -13px;
  font-family: Georgia,serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.pd-statement-quote::after {
  content: " ”";
}

.pd-statement span.pd-statement-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  text-align: left;
  font-size: 11px;
  letter-spacing: .1em;
  padding-bottom: 5px;
}

.pd-statement-brand::before {
  content: "";
  width: 35px;
  height: 1px;
  background: rgba(255,255,255,.7);
}

@media(max-width:767px) {
  .pd-statement {
    padding: 28px 0;
  }

  .pd-statement .pd-shell {
    display: block;
  }

  .pd-statement .pd-shell>p.pd-statement-quote {
    max-width: none;
    padding-left: 32px;
    font-size: 20px;
  }

  .pd-statement-quote::before {
    font-size: 52px;
    top: -7px;
  }

  .pd-statement span.pd-statement-brand {
    margin: 20px 0 0 32px;
  }

  .pd-statement-quote br {
    display: none;
  }
}

/* Anchor decorative still life to the banner edge at every viewport. */

.pd-statement {
  position: relative;
  overflow: hidden;
  background: var(--wsh-c6,#23433C);
}

.pd-statement::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%,744px);
  background-image: var(--wsh-pd-statement-image, none);
  background-position: right bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 15%,rgba(0,0,0,.45) 38%,#000 72%);
  mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 15%,rgba(0,0,0,.45) 38%,#000 72%);
  pointer-events: none;
}

.pd-statement .pd-shell {
  position: relative;
  z-index: 1;
}

@media(max-width:767px) {
  .pd-statement::before {
    width: 100%;
    opacity: .3;
  }
}

/* Consultation link motion, scoped to the Hero. */

:is(.pd-actions,.pd-section-heading) .pd-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none!important;
  padding-bottom: 4px;
}

:is(.pd-actions,.pd-section-heading) .pd-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
}

.pd-consult-arrow {
  position: relative;
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  overflow: hidden;
}

:is(.pd-actions,.pd-section-heading) .pd-consult-arrow svg {
  position: absolute;
  inset: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  color: inherit;
  transition: transform 700ms cubic-bezier(.22,1,.36,1);
}

.pd-consult-arrow svg:last-child {
  transform: translate(-100%,100%);
}

:is(.pd-actions,.pd-section-heading) .pd-link:is(:hover,:focus-visible) .pd-consult-arrow svg:first-child {
  transform: translate(100%,-100%);
}

:is(.pd-actions,.pd-section-heading) .pd-link:is(:hover,:focus-visible) .pd-consult-arrow svg:last-child {
  transform: translate(0,0);
}

:is(.pd-actions,.pd-section-heading) .pd-link:is(:hover,:focus-visible)::after {
  animation: pd-consult-line 700ms ease both;
}

@keyframes pd-consult-line {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media(max-width:1100px) {
  :is(.pd-actions,.pd-section-heading) .pd-link {
    position: relative;
  }
}

@media(prefers-reduced-motion:reduce) {
  :is(.pd-actions,.pd-section-heading) .pd-consult-arrow svg {
    transition: none;
  }

  :is(.pd-actions,.pd-section-heading) .pd-link:is(:hover,:focus-visible)::after {
    animation: none;
  }
}

.pd-section-heading .pd-link {
  position: relative;
  white-space: nowrap;
}

/* Decorative sofa backdrop for the final contact section. */

.pd-final {
  position: relative;
  overflow: hidden;
}

.pd-final::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 100%;
  width: auto;
  aspect-ratio: 3/1;
  background: var(--wsh-pd-final-image, none) left center/100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg,#000 0%,#000 28%,rgba(0,0,0,.85) 42%,rgba(0,0,0,.5) 58%,rgba(0,0,0,.18) 73%,rgba(0,0,0,.04) 87%,transparent 100%);
  mask-image: linear-gradient(90deg,#000 0%,#000 28%,rgba(0,0,0,.85) 42%,rgba(0,0,0,.5) 58%,rgba(0,0,0,.18) 73%,rgba(0,0,0,.04) 87%,transparent 100%);
  pointer-events: none;
}

.pd-final>.pd-shell {
  position: relative;
  z-index: 1;
  gap: 30px;
}

.pd-final>.pd-shell>div:first-child {
  flex: 1;
}

.pd-final h2 {
  font-size: clamp(24px,2vw,30px);
}

@media(min-width:768px) and (max-width:1100px) {
  .pd-final>.pd-shell>div:first-child {
    margin-left: 32%;
  }
}

@media(max-width:767px) {
  .pd-final::before {
    width: 100%;
    opacity: .22;
    background-size: auto 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .pd-final>.pd-shell>div:first-child {
    margin-left: 0;
  }
}

/* Align the supporting photo column with the main story photo. */

@media(min-width:1101px) {
  .pd-supporting {
    justify-content: flex-end;
  }

  .pd-supporting figcaption {
    margin-top: 10px;
  }
}

/* User video reference: Hero quote CTA only; preserve rectangular geometry. */

.pd-actions .pd-button {
  background: var(--pd-green);
  color: var(--wsh-c1,#FFFFFF)!important;
}

.pd-actions .pd-button::before {
  background: var(--wsh-c7,#CAA768);
}

.pd-actions .pd-button .pd-cta-arrow {
  color: var(--wsh-c7,#CAA768);
}

.pd-actions .pd-button:is(:hover,:focus-visible) {
  color: var(--pd-green)!important;
}

.pd-actions .pd-button:is(:hover,:focus-visible) .pd-cta-arrow {
  color: var(--pd-green);
}

/* User requested matching video behavior for the gallery CTA. */

.wsh-pd .pd-all-photos {
  background: var(--pd-green);
  color: var(--wsh-c1,#FFFFFF)!important;
}

.wsh-pd .pd-all-photos::before {
  background: var(--wsh-c7,#CAA768);
}

.wsh-pd .pd-all-photos .pd-cta-arrow {
  color: var(--wsh-c7,#CAA768);
}

.wsh-pd .pd-all-photos:is(:hover,:focus-visible) {
  color: var(--pd-green)!important;
}

.wsh-pd .pd-all-photos:is(:hover,:focus-visible) .pd-cta-arrow {
  color: var(--pd-green);
}

/* Center final CTA copy on the page while keeping actions on the right. */

.pd-final>.pd-shell>div:first-child {
  margin-left: 0;
  text-align: left;
}

@media(min-width:768px) {
  .pd-final>.pd-shell {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    gap: 24px;
  }

  .pd-final>.pd-shell>div:first-child {
    grid-column: 2;
  }

  .pd-final-actions {
    grid-column: 3;
    justify-self: end;
    min-width: 200px;
  }
}

@media(min-width:1101px) {
  .pd-final-actions {
    min-width: 240px;
  }
}

@media(min-width:768px) {
  .pd-statement span.pd-statement-brand {
    margin-left: auto;
    margin-right: calc(clamp(16px,21vw,340px) + 24px);
  }
}

.pd-final-actions .pd-button {
  border-radius: 999px;
}

.pd-final-actions .pd-button--light {
  background: var(--wsh-c7,#CAA768);
  border-color: var(--wsh-c7,#CAA768);
  color: var(--pd-green)!important;
}

.pd-final-actions .pd-button {
  font-weight: 600;
  gap: 28px;
}

.pd-final-actions .pd-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pd-final-actions .pd-button {
  transition: background-color 300ms ease,color 300ms ease,border-color 300ms ease;
}

.pd-final-actions .pd-button svg {
  transition: transform 300ms ease;
}

.pd-final-actions .pd-button--light:is(:hover,:focus-visible) {
  background: var(--wsh-c1,#FFFFFF);
  border-color: var(--wsh-c1,#FFFFFF);
  color: var(--pd-green)!important;
}

.pd-final-actions .pd-button--outline:is(:hover,:focus-visible) {
  background: var(--wsh-c1,#FFFFFF);
  border-color: var(--wsh-c1,#FFFFFF);
  color: var(--pd-green)!important;
}

.pd-final-actions .pd-button:is(:hover,:focus-visible) svg {
  transform: translateX(5px);
}

@media(prefers-reduced-motion:reduce) {
  .pd-final-actions .pd-button,.pd-final-actions .pd-button svg {
    transition: none;
  }

  .pd-final-actions .pd-button:is(:hover,:focus-visible) svg {
    transform: none;
  }
}

.pd-related-carousel {
  position: relative;
}

.pd-related-carousel .pd-related-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pd-related-carousel .pd-related-grid::-webkit-scrollbar {
  display: none;
}

.pd-related-carousel article {
  flex: 0 0 calc((100% - 60px)/4);
  min-width: 0;
  scroll-snap-align: start;
}

.pd-related-prev,.pd-related-next {
  position: absolute;
  top: 30%;
  z-index: 1;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--pd-green);
  border-radius: 50%;
  background: transparent;
  color: var(--pd-green);
}

.pd-related-carousel button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pd-related-carousel button:hover {
  background: var(--pd-green);
  color: white;
}

@media(max-width:1024px) {
  .pd-related-carousel article {
    flex-basis: calc((100% - 20px)/2);
  }
}

@media(max-width:767px) {
  .pd-related-prev,.pd-related-next {
    width: 30px;
    height: 30px;
  }
}

/* Full viewport gallery with lateral navigation. */

.pd-lightbox {
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 94vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: none;
  max-height: 100dvh;
  padding: 12px 76px 34px;
  border-radius: 0;
  overflow: hidden;
}

.pd-lightbox img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.pd-lightbox>div {
  position: absolute;
  inset: 0;
  padding: 0;
  pointer-events: none;
}

.pd-lightbox [data-gallery-prev],.pd-lightbox [data-gallery-next] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.pd-lightbox [data-gallery-prev] {
  left: 16px;
}

.pd-lightbox [data-gallery-next] {
  right: 16px;
}

.pd-lightbox [data-gallery-counter] {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
}

.pd-lightbox-close {
  z-index: 2;
  right: 12px;
  top: 8px;
}

@media(max-width:767px) {
  .pd-lightbox {
    padding: 12px 8px 34px;
  }

  .pd-lightbox [data-gallery-prev],.pd-lightbox [data-gallery-next] {
    width: 40px;
    height: 40px;
    background: rgba(26,26,26,.5);
  }

  .pd-lightbox [data-gallery-prev] {
    left: 10px;
  }

  .pd-lightbox [data-gallery-next] {
    right: 10px;
  }
}

.wsh-pd .pd-lightbox-close {
  width: 56px;
  height: 56px;
  font-size: 44px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}

@media(min-width:768px) and (max-width:1100px) {
  .pd-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .pd-highlight svg {
    flex-basis: auto;
  }
}

@media(min-width:768px) and (max-width:1100px) {
  .pd-highlights {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .pd-description {
    grid-column: 2;
    grid-row: 1;
  }

  .pd-supporting {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    gap: 24px;
  }

  .pd-story {
    align-content: start;
  }
}

@media(min-width:768px) and (max-width:1100px) {
  .pd-statement .pd-shell {
    display: block;
  }

  .pd-statement .pd-shell>p.pd-statement-quote {
    max-width: 64%;
    font-size: 22px;
    line-height: 1.55;
  }

  .pd-statement span.pd-statement-brand {
    margin: 16px 0 0 40px;
    justify-content: flex-start;
  }

  .pd-statement-quote::after {
    white-space: nowrap;
  }
}

.pd-related-carousel {
  margin-inline: 40px;
}

.pd-related-prev {
  left: -56px;
}

.pd-related-next {
  right: -56px;
}

@media(max-width:1024px) {
  .pd-related-prev {
    left: -52px;
  }

  .pd-related-next {
    right: -52px;
  }
}

@media(max-width:767px) {
  .pd-related-prev {
    left: -42px;
  }

  .pd-related-next {
    right: -42px;
  }
}

.pd-related .pd-section-heading {
  margin-bottom: 40px;
}

/* Tablet CTA: image on left, readable copy and actions on right. */

@media(min-width:768px) and (max-width:1100px) {
  .pd-final {
    padding-block: 40px;
  }

  .pd-final::before {
    width: 45%;
    height: 100%;
    aspect-ratio: auto;
    background-size: auto 100%;
    background-position: left center;
    -webkit-mask-image: linear-gradient(90deg,#000 0%,#000 35%,rgba(0,0,0,.65) 55%,rgba(0,0,0,.2) 75%,transparent 90%);
    mask-image: linear-gradient(90deg,#000 0%,#000 35%,rgba(0,0,0,.65) 55%,rgba(0,0,0,.2) 75%,transparent 90%);
  }

  .pd-final>.pd-shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-left: 35%;
  }

  .pd-final>.pd-shell>div:first-child {
    margin: 0;
    flex: initial;
    text-align: left;
  }

  .pd-final h2 {
    font-size: 26px;
    line-height: 1.45;
    max-width: 330px;
    margin-block: 12px 16px;
  }

  .pd-final>.pd-shell>div:first-child>p:last-child {
    font-size: 17px;
    line-height: 1.7;
  }

  .pd-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    min-width: 0;
    margin: 0;
    justify-self: auto;
  }

  .pd-final-actions .pd-button {
    flex: 1 1 200px;
    min-height: 52px;
    padding: 12px 18px;
    gap: 20px;
    font-size: 15px;
  }
}

@media(max-width:767px) {
  .wsh-pd .pd-all-photos {
    font-size: 12px;
    line-height: 1.5;
  }

  .pd-all-photos-count {
    white-space: nowrap;
  }
}

@media(max-width:767px) {
  .pd-meta {
    padding-top: 24px;
  }
}

@media(max-width:767px) {
  .pd-statement {
    background-image: none;
  }

  .pd-statement::before {
    background-size: cover;
    background-position: right center;
  }
}

@media(max-width:767px) {
  .pd-related-carousel {
    margin-inline: 0;
  }

  .pd-related-carousel .pd-related-prev,.pd-related-carousel .pd-related-next {
    display: none;
  }

  .pd-related-carousel article {
    flex-basis: 88%;
  }

  .pd-related-carousel .pd-related-grid {
    gap: 16px;
  }
}

@media(max-width:767px) {
  .pd-related {
    display: flex;
    flex-direction: column;
  }

  .pd-related .pd-section-heading {
    display: contents;
  }

  .pd-related .pd-section-heading h2 {
    order: 0;
    margin-bottom: 40px;
  }

  .pd-related-carousel {
    order: 1;
    min-width: 0;
  }

  .pd-related .pd-section-heading .pd-link {
    order: 2;
    align-self: center;
    margin-top: 28px;
    font-size: 16px;
  }
}

@media(max-width:767px) {
  .pd-design-signature {
    justify-content: center;
    white-space: nowrap;
  }
}

@media(max-width:767px) {
  .pd-design-signature br {
    width: .6em;
    flex: 0 0 .6em;
  }

  .pd-design-signature {
    gap: 0;
  }
}

@media(max-width:767px) {
  .pd-design-signature {
    display: block;
    text-align: center;
  }

  .pd-design-signature br {
    display: none;
  }
}

.pd-breadcrumb {
  padding-block: 20px;
  color: var(--pd-green);
  font-size: 13px;
  line-height: 1.6;
}

.pd-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pd-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pd-breadcrumb li+li::before {
  content: '›';
  opacity: .6;
}

.pd-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pd-breadcrumb a:hover {
  text-decoration: underline;
}

.pd-breadcrumb svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media(max-width:767px) {
  .pd-breadcrumb {
    order: 0;
    padding-block: 16px;
    font-size: 12px;
  }

  .pd-breadcrumb ol,.pd-breadcrumb li {
    gap: 8px;
  }
}

.pd-intro .pd-breadcrumb {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 24px;
}

@media(max-width:767px) {
  .pd-intro .pd-breadcrumb {
    padding-bottom: 20px;
  }
}

.wsh-pd .pd-lightbox-close {
  background: transparent;
  transition: background-color 240ms ease,transform 240ms ease;
}

.wsh-pd .pd-lightbox-close:is(:hover,:focus-visible) {
  background: rgba(255,255,255,.16);
  transform: scale(1.06);
}

.wsh-pd .pd-lightbox-close:focus-visible {
  outline-color: #fff;
}

@media(prefers-reduced-motion:reduce) {
  .wsh-pd .pd-lightbox-close {
    transition: none;
  }

  .wsh-pd .pd-lightbox-close:is(:hover,:focus-visible) {
    transform: none;
  }
}

/* Content remains visible without JS; reduced motion always reveals it. */

.wsh-pd .pd-reveal-pending {
  opacity: 0;
}

@media(prefers-reduced-motion:reduce) {
  .wsh-pd .pd-reveal-pending {
    opacity: 1;
  }
}

/* Semantics and keyboard focus; default geometry retained. */
.pd-meta dt { font-size: inherit; margin-top: 0; }
.pd-meta dt > span { display: block; font-size: 12px; margin-top: 10px; }
.wsh-pd .pd-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.pd-lightbox button:focus-visible, .pd-final a:focus-visible { outline-color: #fff; }

/* Center the final CTA copy at every breakpoint. */
.pd-final>.pd-shell>div:first-child{text-align:center}
.pd-final h2{margin-inline:auto}

/* Related cards reuse the Portfolio renderer and card presentation. */
.wsh-pd .pd-related{--pa-green:var(--pd-green);--pa-ink:var(--pd-ink);--pa-light:var(--wsh-c2,#f7f7f7);--pa-neutral:var(--wsh-c3,#d6d4d2)}
.wsh-pd .pd-related .pf-card{display:flex;flex-direction:column;min-width:0;background:white;border-radius:12px;box-shadow:0 3px 15px rgb(26 26 26 / 7%);border:1px solid rgb(214 212 210 / 40%);overflow:hidden}
.wsh-pd .pd-related .pf-cover{position:relative;aspect-ratio:1.5;overflow:hidden;background:var(--pa-light);flex:none}
.wsh-pd .pd-related .pf-cover>a{display:block;height:100%}
.wsh-pd .pd-related .pf-cover img{display:block;width:100%;height:100%;object-fit:cover}
.wsh-pd .pd-related .wsh-card-photo-count{position:absolute;right:12px;top:12px;display:inline-flex;align-items:center;min-height:26px;padding:5px 10px;border-radius:999px;background:rgb(22 27 25 / 72%);color:white;font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap;pointer-events:none;backdrop-filter:blur(3px)}
.wsh-pd .pd-related .pf-card-caption{display:flex;flex-direction:column;flex:1;padding:14px 15px 16px;gap:8px}
.wsh-pd .pd-related .pf-card h3{font-size:16px;line-height:1.4;font-weight:500;overflow-wrap:anywhere}
.wsh-pd .pd-related .pf-card h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.wsh-pd .pd-related .pa-location{display:flex;align-items:start;gap:6px;font-size:12px;line-height:1.5}
.wsh-pd .pd-related .pa-location svg{width:15px;height:17px;flex:none;color:var(--pa-green)}
.wsh-pd .pd-related .wsh-card-meta{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:2px;font-size:12px;color:var(--pa-ink)}
.wsh-pd .pd-related .wsh-card-project-type{display:inline-flex;flex:none;width:16px;height:18px;opacity:.65}
.wsh-pd .pd-related .wsh-card-project-type svg{display:block;width:16px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.wsh-pd .pd-related .pf-card-services{flex:1;line-height:1.65;opacity:.7}
.wsh-pd .pd-related .pa-card-link{display:grid;place-items:center;border:1px solid var(--pa-neutral);border-radius:50%;width:40px;height:40px;flex:none;color:var(--pa-green)}
.wsh-pd .pd-related .pa-card-link:hover{background:var(--pa-green);color:white;border-color:var(--pa-green)}
.wsh-pd .pd-related .pa-missing{font-size:12px;line-height:1.6;color:var(--pa-ink)}

.wsh-pd .pd-related .pa-location{margin-top:auto;padding-right:48px}
.wsh-pd .pd-related .pa-location+.wsh-card-meta{margin-top:0;position:relative;padding-right:48px}
.wsh-pd .pd-related .pa-location+.wsh-card-meta .pa-card-link{position:absolute;right:0;bottom:0}
.wsh-pd .pd-related .pf-card h3,.wsh-pd .pd-related .pf-card p,.wsh-pd .pd-related .pf-cover{margin:0}
.wsh-pd .pd-related .pf-cover img{border-radius:0;aspect-ratio:auto}
.wsh-pd .pd-related .pf-card h3{color:var(--pd-green)}
@media(max-width:767px){.wsh-pd .pd-related .pf-card h3{font-size:18px}.wsh-pd .pd-related .pf-card-caption{padding:15px 16px}.wsh-pd .pd-related .pf-card-services,.wsh-pd .pd-related .pa-location{font-size:13px}}

/* Home-equivalent automatic related rail; user pause remains reachable on touch. */
.pd-related-controls{display:flex;justify-content:flex-end;padding-top:8px}
.pd-related-controls label{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;cursor:pointer}
.pd-related-controls input{width:16px;height:16px;margin:0;accent-color:var(--pd-green)}
@media(prefers-reduced-motion:reduce){.pd-related-controls{display:none}}

/* BEGIN R276 selected-20261025-v1 supporting frame */
body.postid-1618 .wsh-pd .pd-supporting img{height:auto;aspect-ratio:4/3}
/* END R276 selected-20261025-v1 supporting frame */

/* BEGIN R214 selected-20261026-v1 supporting frame */
body.postid-1616 .wsh-pd .pd-supporting img{height:auto;aspect-ratio:4/3}
/* END R214 selected-20261026-v1 supporting frame */

/* BEGIN R312 selected-20261026-v1 supporting frame */
body.postid-1612 .wsh-pd .pd-supporting img{height:auto;aspect-ratio:4/3}
/* END R312 selected-20261026-v1 supporting frame */

/* BEGIN R306 selected-20261026-v1 supporting frame */
body.postid-1540 .wsh-pd .pd-supporting img{height:auto;aspect-ratio:4/3}
/* END R306 selected-20261026-v1 supporting frame */

/* BEGIN R100003 selected-20261026-v1 supporting frame */
body.postid-1694 .wsh-pd .pd-supporting img{height:auto;aspect-ratio:4/3}
/* END R100003 selected-20261026-v1 supporting frame */
