.pc-hero { color: #f2f4ef; background: #10272b; padding-top: clamp(145px, 16vh, 185px); overflow: hidden; overflow: clip; position: relative; }
.pc-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 42%, #20433f70, transparent 67%); }
.pc-heading { position: relative; text-align: center; }
.pc-heading > * { animation: pc-rise 1.1s cubic-bezier(.16, 1, .3, 1) both; }
.pc-heading > :nth-child(2) { animation-delay: .07s; }
.pc-heading > :nth-child(3) { animation-delay: .14s; }
@keyframes pc-rise { from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(8px); } }
.pc-heading .ps-eyebrow { margin-bottom: 18px; font-size: 10px; color: #aec3b9; }
.pc-heading h1 { font-size: clamp(38px, 4.2vw, 62px); line-height: 1.12; font-weight: 500; letter-spacing: -.055em; margin: 0 0 17px; }
.pc-heading h1 em { font-style: normal; color: #dcf593; }
.pc-heading > p:last-child { color: #a8beb4; font-size: 12px; margin: 0; }
.pc-heading > p:last-child span { color: #e0e8df; }

.pc-gallery { --media-height: 460px; --detail-h: 210px; position: relative; isolation: isolate; padding-top: 8px; outline-offset: -6px; }
.pc-ambient { position: absolute; z-index: -1; left: 50%; top: -60px; width: min(1500px, 150%); height: calc(var(--media-height) + 300px); transform: translateX(-50%); pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 18%, transparent); mask-image: radial-gradient(closest-side, #000 18%, transparent); }
.pc-ambient canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; filter: saturate(1.35); will-change: opacity; }
.pc-loading { text-align: center; position: relative; padding: 22px; margin: 0; color: #c1d1cb; }
.pc-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 50px 6% 25px; }
.pc-slide { flex: 0 0 min(72vw, 340px); scroll-snap-align: center; min-width: 0; }
.pc-pose { width: 100%; height: var(--media-height); }
.pc-surface { display: block; position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: none; border-radius: 26px; color: #e3eddf; transform-style: preserve-3d; isolation: isolate; }
.pc-frame { display: block; position: absolute; inset: 0; border: 0; background: linear-gradient(160deg, #2c4b46, #142f2c); border-radius: inherit; transform: translateZ(1px); overflow: hidden; box-shadow: 0 34px 70px -28px #00191ca8, 0 0 0 1px #ffffff14 inset; }
.pc-image-area { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; overflow: hidden; }
.pc-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; background: none; user-select: none; -webkit-user-drag: none; }
.pc-ready .pc-photo { opacity: 0; transition: opacity .9s cubic-bezier(.2, .7, .2, 1); }
.pc-ready .pc-slide.has-photo .pc-photo { opacity: 1; }
.pc-monogram { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.16; letter-spacing: -.045em; overflow-wrap: anywhere; color: #cfe3d9; }
.pc-slide.has-photo .pc-monogram { visibility: hidden; }
.pc-glow { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; filter: blur(28px) saturate(1.5); border-radius: inherit; opacity: .22; transform: translate3d(0, 22px, -2px) scale(.9); }
.pc-card-scrim { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, #05130f00 36%, #04120f40 58%, #03100de0 100%); }
.pc-card-badge { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #12383b; background: #f1f6ef; box-shadow: 0 6px 18px -6px #00191c80; opacity: 0; transition: background .25s; }
.pc-card-badge svg { width: 15px; height: 15px; }
.pc-surface:hover .pc-card-badge, .pc-surface:focus-visible .pc-card-badge { background: #dcf593; }
.pc-card-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 9px; color: #f2f6f0; text-align: left; }
.pc-card-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 19px; }
.pc-card-tags span { font-size: 9px; letter-spacing: .07em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: #ffffff1f; border: 1px solid #ffffff2b; }
.pc-card-name { font-size: clamp(15px, 1.6vw, 19px); font-weight: 500; letter-spacing: -.03em; line-height: 1.25; margin: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pc-card-dim { position: absolute; inset: 0; border-radius: inherit; background: #03100e; opacity: 0; pointer-events: none; }
.pc-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), #ffffff2e, #ffffff0a 36%, transparent 62%); opacity: 0; }

.pc-ready .pc-track { position: relative; display: block; overflow: visible; height: calc(var(--media-height) + var(--detail-h) + 120px); padding: 0; perspective: 1800px; touch-action: pan-y pinch-zoom; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pc-ready .pc-slide { position: absolute; inset: 0; pointer-events: none; }
.pc-ready .pc-pose { position: absolute; top: 58px; left: 50%; width: var(--image-width, 340px); height: var(--image-height, 460px); margin-left: calc(var(--image-width, 340px) / -2); margin-top: calc((var(--media-height) - var(--image-height, 460px)) / 2); transform-style: preserve-3d; pointer-events: auto; user-select: none; -webkit-user-select: none; }
.pc-ready .pc-slide.is-visible :is(.pc-glow, .pc-card-dim, .pc-sheen, .pc-card-badge) { will-change: opacity; }
.pc-ready .pc-slide:not(.is-visible) .pc-pose { pointer-events: none; }
.pc-ready .pc-surface { cursor: pointer; }
.pc-ready.is-dragging .pc-track, .pc-ready.is-dragging .pc-surface { cursor: grabbing; }

.pc-details { text-align: center; max-width: 610px; margin: 36px auto 0; }
.pc-ready .pc-details { position: absolute; top: calc(var(--media-height) + 114px); left: 50%; width: min(610px, 86vw); margin: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%); }
.pc-ready .pc-slide.is-current .pc-details { visibility: visible; pointer-events: auto; }
/* Each line trails the previous one; on the way out the order reverses by itself. */
.pc-ready .pc-details > * { --r: clamp(0, calc((var(--reveal, 0) - var(--k, 0) * .09) / .73), 1); opacity: var(--r); transform: translate3d(0, calc((1 - var(--r)) * 12px), 0); }
.pc-ready .pc-details > :nth-child(2) { --k: 1; }
.pc-ready .pc-details > :nth-child(3) { --k: 2; }
.pc-ready .pc-details > :nth-child(4) { --k: 3; }
.pc-ready .pc-details.is-revealing > * { filter: blur(calc((1 - var(--r)) * 5px)); }
.pc-services { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; color: #93b0a2; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; min-height: 15px; }
.pc-services span + span::before { content: '/'; padding-right: 10px; opacity: .5; }
.pc-details h2 { font-size: clamp(23px, 2.4vw, 32px); line-height: 1.22; letter-spacing: -.045em; font-weight: 500; margin: 10px 0 12px; }
.pc-summary { font-size: 12px; line-height: 1.7; color: #b6c8be; margin: 0 auto 15px; max-width: 550px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pc-summary:empty { display: none; }
.pc-details-footer { display: flex; align-items: center; justify-content: center; gap: 25px; font-size: 11px; color: #9ab7a7; }
.pf-showcase main .pc-project-link { display: inline-flex; align-items: center; gap: 22px; color: #e0f6b0; padding: 8px 0; border-bottom: 1px solid #dcf59350; font-size: 12px; transition: border-color .3s, gap .4s cubic-bezier(.16, 1, .3, 1); }
.pc-project-link span { font-size: 20px; }
.pf-showcase main .pc-project-link:hover { border-color: #dcf593; gap: 28px; }

.pc-navigation { display: flex; align-items: center; justify-content: center; gap: 24px; padding-block: 12px 8px; }
.pc-navigation[hidden], .pc-instruction[hidden] { display: none; }
.pc-arrow { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #b5cfc43a; border-radius: 50%; background: transparent; color: #e7eee7; transition: background .25s, border-color .25s, color .25s, transform .3s cubic-bezier(.16, 1, .3, 1); }
.pc-arrow svg { width: 18px; height: 18px; }
.pc-arrow:hover:not(:disabled) { background: #dcf593; border-color: #dcf593; color: #12383b; }
.pc-arrow:active:not(:disabled) { transform: scale(.9); transition-duration: .08s; }
.pc-arrow:disabled { opacity: .3; cursor: default; }
.pc-counter { display: flex; justify-content: center; align-items: baseline; gap: 13px; font-variant-numeric: tabular-nums; color: #8faa9b; font-size: 11px; min-width: 68px; }
.pc-counter strong { display: inline-grid; overflow: hidden; line-height: 1.35; font-size: 15px; font-weight: 500; color: white; }
.pc-counter strong > span { grid-area: 1 / 1; }
.pc-instruction { font-size: 10px; text-align: center; color: #8faa9b; margin: 9px 0 27px; transition: opacity 1s; }
.pc-instruction span { margin-left: 7px; }
.has-dragged .pc-instruction { opacity: 0; }
.pc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; padding: 21px 0; border-top: 1px solid #ffffff1b; font-size: 10px; color: #a7beb0; }
.pc-bottom a { color: #e7eee7 !important; }
.pc-bottom a span { margin-left: 16px; }
.pc-photo.pc-image-error, .pc-glow.pc-image-error { visibility: hidden; }
.pc-surface:focus-visible { outline-color: #dcf593 !important; }

.pf-showcase .ps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.pf-showcase .ps-grid > .ps-card { grid-column: span 1; padding-top: 0; }
.pf-showcase .ps-grid .ps-card-visual { height: clamp(220px, 23vw, 340px); padding: 0; background: transparent; }
.pf-showcase .ps-grid .ps-card-visual img { border-radius: 9px; }
.pf-showcase .ps-card-heading { display: block; }
.pf-showcase .ps-card-heading h3 { font-size: 23px; }
.pf-showcase .ps-project-count { display: block; margin-top: 8px; }
@media (max-width: 900px) { .pf-showcase .ps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-showcase .ps-grid .ps-card-visual { height: 35vw; } }
@media (max-width: 600px) {
    .pc-hero { padding-top: 140px; }
    .pc-heading h1 { font-size: clamp(34px, 8vw, 46px); }
    .pc-heading > p:last-child { font-size: 11px; max-width: 260px; margin-inline: auto; line-height: 1.8; }
    .pc-ready .pc-track { perspective: 1400px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
    .pc-heading .ps-eyebrow { font-size: 9px; }
    .pc-glow { filter: blur(18px) saturate(1.5); }
    .pc-card-info { padding: 16px 16px 18px; }
    .pc-details h2 { font-size: 24px; }
    .pc-details-footer { gap: 16px; }
    .pc-summary { font-size: 11px; }
    .pc-services { font-size: 8px; }
    .pc-bottom { font-size: 9px; }
}
@media (max-width: 480px) { .pf-showcase .ps-grid { grid-template-columns: minmax(0, 1fr); } .pf-showcase .ps-grid .ps-card-visual { height: 82vw; max-height: 360px; } }
@media (prefers-reduced-motion: reduce) { .pc-surface { transform: none !important; } .pc-ready .pc-details.is-revealing > * { filter: none; } }
