/* Homepage layout and hero carousel. */
.ph-section { padding: 84px 0; }
.ph-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 44px; }
.ph-section-heading > div > .p-text { max-width: 52ch; margin-top: 14px; }
.ph-section-heading > .p-text-link { flex-shrink: 0; }
.ph-home .p-text-link { display: inline-flex; align-items: center; min-height: 44px; }
.ph-section-heading > .p-button { flex-shrink: 0; }

/* Fixed hero copy keeps both the promise and the next step in view. */
.ph-hero { padding: 64px 0; background: var(--p-soft); }
.ph-hero__grid { display: grid; grid-template-columns: 1.14fr 1fr; gap: 66px; align-items: center; }
.ph-hero__copy { padding: 7px 0; min-width: 0; }
.ph-eyebrow-line { height: 2px; width: 24px; flex-shrink: 0; background: var(--p-blue); }
.ph-hero h1 { font-size: clamp(3.2rem, 4.7vw, 4.35rem); line-height: 1.09; letter-spacing: -.065em; font-weight: 500; margin: 0 0 28px; color: var(--p-ink); }
.ph-hero h1 > span { color: var(--p-blue); }
.ph-hero__description { max-width: 52ch; font-size: 1.0625rem; line-height: 1.8; }
.ph-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ph-hero__visual { min-width: 0; }
.ph-city-art { position: relative; height: 510px; background: #09243e; border-radius: 16px; overflow: hidden; color: white; }
.ph-city-art__bottom { position: absolute; z-index: 1; inset: auto 28px 32px; }
.ph-city-art__bottom > span { display: block; font-size: 1.65rem; line-height: 1.35; letter-spacing: -.04em; font-weight: 500; max-width: 320px; }
.ph-city-art__bottom > p { font-size: .63rem; letter-spacing: .1em; margin-top: 20px; color: #bdd6e9; }

/* Customer quotations follow the selected work as readable, static cards. */
.ph-section.ph-work { padding-bottom: 48px; }
.ph-section.ph-feedback { padding-top: 48px; padding-bottom: 80px; background: var(--p-soft); }
.ph-feedback .ph-section-heading { margin-bottom: 32px; }
.ph-feedback__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ph-feedback__card { display: flex; flex-direction: column; padding: 28px; margin: 0; border: 1px solid var(--p-line); border-radius: 12px; background: #fff; }
.ph-feedback__card:first-child { border-top: 3px solid var(--p-blue); padding-top: 26px; }
.ph-feedback__mark { height: 30px; color: var(--p-blue); font-family: Georgia, serif; font-size: 3.5rem; line-height: 1; }
.ph-feedback__card blockquote { padding: 0; margin: 12px 0 24px; border: 0; }
.ph-feedback__card blockquote p { margin: 0; color: var(--p-text); font-size: 1rem; line-height: 1.85; }
.ph-feedback__card figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--p-line); }
.ph-feedback__card figcaption strong { color: var(--p-ink); font-size: .875rem; line-height: 1.6; font-weight: 500; }
.ph-feedback__card figcaption span { color: #62778b; font-size: .875rem; line-height: 1.7; }
.ph-feedback__foot { margin-top: 24px; }
.ph-feedback__foot .p-text-link { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 1000px) { .ph-feedback__grid { gap: 16px; } .ph-feedback__card { padding: 24px; } .ph-feedback__card:first-child { padding-top: 22px; } }
@media (max-width: 800px) { .ph-feedback__grid { grid-template-columns: 1fr; } .ph-section.ph-work { padding-bottom: 32px; } .ph-section.ph-feedback { padding-top: 36px; padding-bottom: 56px; } }
@media (min-width: 601px) and (max-width: 800px) { .ph-feedback__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ph-feedback__card:first-child { grid-column: 1 / -1; } }

/* Outcome-based service choices. */
.ph-service-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--p-line); border-radius: 12px; overflow: hidden; }
.ph-service { padding: 30px 34px; background: white; min-width: 0; }
.ph-service:nth-child(2n) { border-left: 1px solid var(--p-line); }
.ph-service:nth-child(n+3) { border-top: 1px solid var(--p-line); }
.ph-service__top { display: flex; gap: 17px; align-items: center; margin-bottom: 22px; }
.ph-service__icon { width: 38px; height: 38px; color: var(--p-blue); display: block; flex-shrink: 0; }
.ph-service__icon svg { width: 32px; height: 32px; }
.ph-service__top > p { font-size: .875rem; color: #51677b; font-weight: 500; }
.ph-service h3 { font-size: 1.38rem; letter-spacing: -.035em; line-height: 1.4; font-weight: 500; margin-bottom: 12px; color: var(--p-ink); }
.ph-service__description { font-size: .87rem; line-height: 1.8; max-width: 450px; }
.ph-service__links { display: flex; gap: 10px 20px; flex-wrap: wrap; margin-top: 24px; }
.ph-service__links a { font-size: .875rem; color: var(--p-blue); text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.ph-service__links a:hover { color: var(--p-ink); border-color: var(--p-ink); }
.ph-work { background: var(--p-soft); }
.ph-featured-work { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 14px; overflow: hidden; border: 1px solid #e0e9f1; background: white; }
.ph-featured-work__visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 75px 32px 54px; background: #e8f1f8; min-width: 0; }
.ph-featured-work__visual > img { width: 100%; height: auto; max-height: 285px; object-fit: contain; }
.ph-work-label { position: absolute; top: 27px; left: 30px; font-size: .63rem; letter-spacing: .1em; color: #456d8d; }
.ph-visual-caption { position: absolute; bottom: 24px; left: 30px; font-size: .7rem; color: #536c83; }
.ph-featured-work__copy { padding: 52px 45px; align-self: center; }
.ph-featured-work__copy > .p-eyebrow { font-size: .7rem; margin-bottom: 16px; }
.ph-featured-work h3 { font-size: 1.85rem; line-height: 1.3; font-weight: 500; letter-spacing: -.05em; margin: 0 0 20px; color: var(--p-ink); }
.ph-featured-work__copy > p:not(.p-eyebrow) { font-size: .88rem; line-height: 1.8; }
.ph-project-scope { padding: 0; margin: 22px 0 26px; list-style: none; }
.ph-project-scope li { font-size: .78rem; margin-top: 10px; display: flex; align-items: center; gap: 9px; }
.ph-project-scope li:before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--p-blue); flex-shrink: 0; }
.ph-approach { background: #102a43; padding: 95px 0; color: #becfdd; }
.ph-approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.ph-approach .p-eyebrow { color: #81c6f3; }
.ph-approach .p-heading { color: white; }
.ph-approach .ph-approach__link { color: #b4dfff; }
.ph-approach .ph-approach__link:hover { color: #fff; }
.ph-approach .ph-approach__link:focus-visible { outline-color: #b4dfff; }
.ph-approach__intro > p:not(.p-eyebrow) { margin: 24px 0 29px; font-size: .9rem; line-height: 1.85; max-width: 405px; }
.ph-process article { display: flex; gap: 24px; padding: 30px 0; }
.ph-process article + article { border-top: 1px solid #ffffff24; }
.ph-process article:first-child { padding-top: 0; }
.ph-process article:last-child { padding-bottom: 0; }
.ph-process__symbol { flex-shrink: 0; color: #83c5ef; width: 37px; height: 37px; }
.ph-process__symbol svg { width: 31px; height: 31px; }
.ph-process h3 { font-weight: 500; color: #fff; font-size: 1.13rem; letter-spacing: -.03em; margin: 0 0 12px; line-height: 1.4; }
.ph-process p { font-size: .82rem; line-height: 1.9; }
.ph-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ph-product { display: flex; flex-direction: column; border: 1px solid var(--p-line); border-radius: var(--p-card-radius); overflow: hidden; background: #fff; }
.ph-product__art { background: #102a43; }
.ph-product__art > img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 760; }
.ph-product__copy { display: flex; align-items: start; flex-direction: column; flex: 1; padding: 24px; }
.ph-product__category { font-size: .875rem; color: #51677b; margin-bottom: 6px; }
.ph-product__audience { font-size: 1rem; line-height: 1.65; margin: 8px 0 12px; }
.ph-product h3 { font-size: 1.5rem; line-height: 1.4; font-weight: 500; letter-spacing: -.04em; color: var(--p-ink); }
.ph-product__copy > .p-text-link { margin-top: auto; }
.ph-faq { border-top: 1px solid var(--p-line); background: #fcfdfe; }
.ph-faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.ph-faq .p-text { margin-top: 24px; font-size: .88rem; }
.ph-faq details { border-bottom: 1px solid var(--p-line); }
.ph-faq details:first-child { border-top: 1px solid var(--p-line); }
.ph-faq summary { font-size: .94rem; line-height: 1.6; font-weight: 500; color: var(--p-ink); display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; list-style: none; min-height: 52px; padding: 14px 0; }
.ph-faq summary::-webkit-details-marker { display: none; }
.ph-faq summary > span { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.ph-faq summary > span:before, .ph-faq summary > span:after { position: absolute; content: ''; background: var(--p-blue); left: 2px; top: 8px; width: 14px; height: 1px; }
.ph-faq summary > span:after { transform: rotate(90deg); }
.ph-faq details[open] summary > span:after { transform: rotate(0); }
.ph-faq details > p { padding: 0 24px 18px 0; max-width: 58ch; font-size: 1rem; line-height: 1.8; }

/* A real inquiry form, backed by the existing contact endpoint. */
.ph-inquiry { padding: 90px 0 100px; background: #eaf3fa; }
.ph-inquiry__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 100px; align-items: center; }
.ph-inquiry .p-heading > span { color: var(--p-blue); }
.ph-inquiry__intro { font-size: .91rem; line-height: 1.9; margin: 26px 0; max-width: 380px; }
.ph-inquiry__email { font-size: 1.02rem; font-weight: 500; color: var(--p-ink); border-bottom: 1px solid #abc9df; padding-bottom: 4px; overflow-wrap: anywhere; }
.ph-inquiry__location { font-size: .75rem; margin-top: 17px; }
.ph-inquiry__location > a { color: var(--p-text); }
.ph-form-panel { padding: 36px; border: 1px solid #d8e6f0; background: #fff; border-radius: 14px; box-shadow: 0 14px 40px #14375505; }
.ph-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.ph-form label { display: block; color: var(--p-ink); font-size: .875rem; font-weight: 500; margin-bottom: 8px; line-height: 1.6; }
.ph-form input:not([type=hidden]), .ph-form textarea { display: block; width: 100%; padding: 13px 14px; border: 1px solid #cbd9e5; background: #fff; border-radius: 6px; color: var(--p-ink); font-size: 1rem; line-height: 1.6; }
.ph-form input::placeholder, .ph-form textarea::placeholder { color: #667788; font-size: .79rem; }
.ph-form textarea { min-height: 120px; resize: vertical; }
.ph-form > .p-button { margin-top: 22px; width: 100%; }
.ph-form__privacy { font-size: .7rem; text-align: center; color: #65788a; margin-top: 12px; line-height: 1.8; }
.ph-form label.error { font-size: .75rem; font-weight: 400; color: #aa2440; margin: 6px 0 0; }
.ph-form input.error, .ph-form textarea.error { border-color: #aa2440; }
.ph-form-panel > .result:not(:empty) { margin-top: 18px; padding: 12px 15px; background: #f0f6fa; border-radius: 6px; font-size: .8rem; line-height: 1.7; overflow-wrap: anywhere; }
.ph-form-panel > .result .error { color: #98263b; }
.ph-form-panel > .result .success { color: #186248; }

@media (min-width: 1600px) { .ph-hero { padding: 90px 0; } .ph-city-art { height: 540px; } }
@media (max-width: 1100px) {
  .ph-hero__grid { gap: 44px; grid-template-columns: 1.05fr 1fr; }
  .ph-hero h1 { font-size: 3.5rem; }
  .ph-city-art { height: 475px; }
  .ph-featured-work__copy { padding: 36px; }
  .ph-approach__grid, .ph-faq__grid, .ph-inquiry__grid { gap: 60px; }
  .ph-section { padding: 80px 0; }
  .ph-form-panel { padding: 28px; }
  .ph-form__row { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 800px) {
  .ph-hero { padding: 52px 0 55px; }
  .ph-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .ph-hero h1 { font-size: clamp(2.8rem, 7.5vw, 4rem); }
  .ph-hero__description { max-width: 570px; }
  .ph-city-art { height: 420px; }
  .ph-section-heading { gap: 24px; align-items: flex-start; }
  .ph-service { padding: 28px; }
  .ph-service__top { gap: 10px; }
  .ph-service h3 { font-size: 1.2rem; }
  .ph-service__description { font-size: .8rem; }
  .ph-featured-work { grid-template-columns: 1fr 1fr; }
  .ph-featured-work__visual { padding: 70px 20px; }
  .ph-featured-work__copy { padding: 30px; }
  .ph-featured-work h3 { font-size: 1.5rem; }
  .ph-featured-work__copy > p:not(.p-eyebrow) { font-size: .8rem; }
  .ph-approach__grid { gap: 45px; }
  .ph-process article { gap: 16px; }
  .ph-process h3 { font-size: 1rem; }
  .ph-product-grid { gap: 14px; }
  .ph-product__copy { padding: 20px; }
  .ph-product h3 { font-size: 1.3rem; }
  .ph-faq__grid { gap: 40px; grid-template-columns: .8fr 1.2fr; }
  .ph-inquiry__grid { gap: 45px; grid-template-columns: 1fr 1.1fr; }
  .ph-inquiry__email { font-size: .85rem; }
  .ph-form-panel { padding: 24px; }
}
@media (max-width: 600px) {
  .ph-hero { padding-top: 39px; }
  .ph-hero h1 { font-size: clamp(2.1rem, 8.4vw, 3.4rem); margin-bottom: 22px; }
  .ph-hero__description { font-size: .94rem; line-height: 1.85; }
  .ph-actions { gap: 10px; margin-top: 25px; }
  .ph-hero__grid { gap: 32px; }
  .ph-city-art { height: 360px; border-radius: 12px; }
  .ph-city-art__bottom { left: 22px; right: 22px; bottom: 22px; }
  .ph-city-art__bottom > span { font-size: 1.5rem; }
  .ph-city-art__bottom > p { font-size: .6rem; margin-top: 12px; }
  .ph-section { padding: 62px 0; }
  .ph-section-heading { flex-direction: column; gap: 20px; margin-bottom: 30px; }
  .ph-section-heading > .p-button { min-height: 44px; }
  .ph-service-grid { grid-template-columns: 1fr; }
  .ph-service { padding: 26px; }
  .ph-service:nth-child(2n) { border-left: 0; }
  .ph-service + .ph-service { border-top: 1px solid var(--p-line); }
  .ph-service h3 { font-size: 1.3rem; }
  .ph-service__description { font-size: .83rem; }
  .ph-service__links { margin-top: 18px; gap: 10px 16px; }
  .ph-featured-work { grid-template-columns: 1fr; }
  .ph-featured-work__visual { padding: 70px 24px 50px; }
  .ph-featured-work__visual > img { max-height: 235px; }
  .ph-work-label { left: 24px; }
  .ph-visual-caption { left: 24px; }
  .ph-featured-work__copy { padding: 30px 26px; }
  .ph-featured-work h3 { font-size: 1.7rem; }
  .ph-featured-work__copy > p:not(.p-eyebrow) { font-size: .84rem; }
  .ph-approach { padding: 62px 0; }
  .ph-approach__grid { grid-template-columns: 1fr; gap: 38px; }
  .ph-product-grid { grid-template-columns: 1fr; gap: 22px; }
  .ph-product__copy { padding: 24px; }
  .ph-faq__grid, .ph-inquiry__grid { grid-template-columns: 1fr; gap: 32px; }
  .ph-faq summary { font-size: 1rem; }
  .ph-inquiry { padding: 62px 0; }
  .ph-inquiry__email { font-size: 1rem; }
  .ph-inquiry__intro { margin: 22px 0; }
  .ph-form-panel { padding: 26px 22px; }
}
/* Readable content and product identity across breakpoint changes. */
.ph-service__description, .ph-featured-work__copy > p:not(.p-eyebrow), .ph-approach__intro > p:not(.p-eyebrow), .ph-process p, .ph-faq details > p, .ph-inquiry__intro { font-size: 1rem; }
.ph-project-scope li { font-size: .875rem; }
.ph-form span.pc-field-error { color: #aa2440; font-size: .875rem; line-height: 1.6; margin-top: 7px; }
.ph-form input[aria-invalid='true'], .ph-form textarea[aria-invalid='true'] { border-color: #aa2440; }
.ph-form input, .ph-form textarea { font-family: inherit; }
.ph-city-art__bottom > p, .ph-work-label, .ph-visual-caption, .ph-form__privacy { font-size: .8125rem; }
@media (max-width: 600px) {
  .ph-hero__description, .ph-faq .p-text { font-size: 1rem; }
}

/* Image-only hero carousel; the headline and primary action remain stationary. */
.ph-hero-slider { --hero-motion-duration: 5700ms; isolation: isolate; touch-action: pan-y pinch-zoom; }
.ph-hero-slider::after { display: none; }
.ph-hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; z-index: 0; pointer-events: none; transition: opacity .65s ease, visibility 0s linear .65s; }
.ph-hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition-delay: 0s; }
.ph-hero-slide > picture { display: block; width: 100%; height: 100%; }
.ph-hero-slide > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; filter: saturate(.8); }
.ph-hero-slider.has-motion .ph-hero-slide > picture > img { --hero-drift-start: translate3d(-.6%, .25%, 0) scale(1.025); --hero-drift-end: translate3d(.6%, -.25%, 0) scale(1.075); transform-origin: center; animation: ph-hero-drift var(--hero-motion-duration) linear both; animation-play-state: paused; }
.ph-hero-slider.has-motion .ph-hero-slide:nth-child(even) > picture > img { --hero-drift-start: translate3d(.6%, -.25%, 0) scale(1.075); --hero-drift-end: translate3d(-.6%, .25%, 0) scale(1.025); }
.ph-hero-slider.has-motion .ph-hero-slide.is-motion-replay > picture > img { animation-name: ph-hero-drift-replay; }
.ph-hero-slider.has-motion:not(.is-paused) .ph-hero-slide.is-active > picture > img { animation-play-state: running; }
.ph-hero-slide::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #08213bb8, transparent 52%, #051c34ed); pointer-events: none; }
.ph-hero-slide .ph-city-art__bottom { z-index: 2; }
.ph-hero-slide .ph-city-art__bottom > p { text-transform: uppercase; }
.ph-hero-slider.has-motion .ph-hero-slide.is-active .ph-city-art__bottom > span,
.ph-hero-slider.has-motion .ph-hero-slide.is-active .ph-city-art__bottom > p { animation: ph-hero-caption-in .6s cubic-bezier(.22, .61, .36, 1) both; }
.ph-hero-slider.has-motion .ph-hero-slide.is-active .ph-city-art__bottom > p { animation-delay: .08s; }
.ph-hero-slider.is-paused .ph-hero-slide.is-active .ph-city-art__bottom > span,
.ph-hero-slider.is-paused .ph-hero-slide.is-active .ph-city-art__bottom > p { animation-play-state: paused; }
@keyframes ph-hero-drift { from { transform: var(--hero-drift-start); } to { transform: var(--hero-drift-end); } }
@keyframes ph-hero-drift-replay { from { transform: var(--hero-drift-start); } to { transform: var(--hero-drift-end); } }
/* Keep captions fully opaque, including when an entrance is paused midway. */
@keyframes ph-hero-caption-in { from { transform: translate3d(0, 8px, 0); } to { transform: translate3d(0, 0, 0); } }
.ph-hero-slider__controls { position: absolute; top: 24px; left: 24px; right: 24px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ph-hero-slider__controls[hidden] { display: none; }
.ph-hero-slider__pagination { display: flex; flex: 0 0 auto; gap: 0; }
.ph-hero-slider__dot, .ph-hero-slider__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; flex: 0 0 44px; border: 0; background: transparent; color: white; }
.ph-hero-slider__dot::before { content: ''; width: 7px; height: 7px; border-radius: 10px; background: #ffffff85; transition: width .2s, background .2s; }
.ph-hero-slider__dot[aria-current='true']::before { width: 23px; background: white; }
.ph-hero-slider__dot:hover::before { background: white; }
.ph-hero-slider__toggle { border: 1px solid #ffffff61; border-radius: 50%; background: #0a254380; transition: background .2s; }
.ph-hero-slider__toggle:hover { background: #0a2543d9; }
.ph-hero-slider__toggle svg { width: 18px; height: 18px; }
.ph-hero-slider__play-icon { display: none; }
.ph-hero-slider.is-paused .ph-hero-slider__pause-icon { display: none; }
.ph-hero-slider.is-paused .ph-hero-slider__play-icon { display: block; }
.ph-hero-slider button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) { .ph-hero-slider__controls { top: 20px; left: 22px; right: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .ph-hero-slide, .ph-hero-slider__dot::before { transition: none; }
  .ph-hero-slider.has-motion .ph-hero-slide > picture > img,
  .ph-hero-slider.has-motion .ph-hero-slide.is-motion-replay > picture > img,
  .ph-hero-slider.has-motion .ph-hero-slide.is-active .ph-city-art__bottom > span,
  .ph-hero-slider.has-motion .ph-hero-slide.is-active .ph-city-art__bottom > p { animation: none; transform: none; }
}
