/* Prisyn Labs Core — portfolio grid + single project */
.plp { --o:#F07B2B; --m:#4ED8A5; --mu:#A39E96; --ln:rgba(255,255,255,.14); font-family: Manrope, system-ui, sans-serif; color: #fff; }

/* Filter */
.plp-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 72px; }
.plp-chip { font: 700 13px/1 Manrope, system-ui, sans-serif; letter-spacing: .04em; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 12px 22px; cursor: pointer; transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.plp-chip:hover { border-color: var(--o); color: var(--o); }
.plp-chip.is-active { background: var(--o); border-color: var(--o); color: #0A0A0B; }
.plp-chip:focus-visible { outline: 2px solid var(--m); outline-offset: 3px; }

/* Editorial asymmetric grid */
.plp-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; row-gap: 120px; }
.plp-card { display: flex; flex-direction: column; gap: 22px; text-decoration: none; color: inherit; width: 57%; transition: opacity .5s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.plp-card.is-tall { width: 37%; }
.plp-grid > .plp-card:nth-child(4n+2) { margin-top: 180px; }
.plp-grid > .plp-card:nth-child(4n+4) { margin-top: 140px; }
.plp-grid.is-filtered > .plp-card { width: 47%; margin-top: 0; }
.plp-grid.is-filtered > .plp-card.is-on:nth-of-type(n) { margin-top: 0; }
.plp-grid.is-filtered > .plp-card.is-even { margin-top: 120px; }

.plp-media { position: relative; display: block; overflow: hidden; border-radius: 4px; background: #141416; aspect-ratio: 4 / 3; }
.plp-card.is-tall .plp-media { aspect-ratio: 4 / 5; }
.plp-grid.is-filtered .plp-media { aspect-ratio: 4 / 3; }
.plp .plp-media .plp-img { display: block; width: 100%; height: 100% !important; max-width: none; object-fit: cover; transform: scale(1.001); transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .8s ease; filter: saturate(.9); }
.plp .plp-card:hover .plp-media .plp-img { transform: scale(1.06); filter: saturate(1.05); }
.plp-noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #1a1a1d, #0f0f10); }

.plp-view { position: absolute; right: 18px; bottom: 18px; font: 700 13px/1 Manrope, system-ui, sans-serif; color: #0A0A0B; background: #fff; padding: 12px 18px; border-radius: 999px; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1), background-color .3s ease; }
.plp-card:hover .plp-view, .plp-card:focus-visible .plp-view { opacity: 1; transform: none; }
.plp-card:hover .plp-view { background: var(--o); }
@media (hover: none) { .plp-view { opacity: 1; transform: none; } }

.plp-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; }
.plp-text { display: flex; flex-direction: column; flex: 1 1 260px; min-width: 0; }
.plp-title { font: 500 clamp(24px, 2.2vw, 34px)/1.15 Sora, system-ui, sans-serif; letter-spacing: -.03em; color: #fff; transition: color .35s ease; }
.plp-card:hover .plp-title { color: var(--o); }
.plp-desc { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--mu); max-width: 440px; }
.plp-cat { padding-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--m); }
.plp-card:focus-visible { outline: 2px solid var(--m); outline-offset: 6px; border-radius: 4px; }

/* Reveal */
.plp-js .plp-card { opacity: 0; transform: translateY(48px); }
.plp-js .plp-card.is-in { opacity: 1; transform: none; }
.plp-card.is-hidden { display: none; }

@media (max-width: 1024px) { .plp-grid { row-gap: 88px; } .plp-grid > .plp-card:nth-child(4n+2), .plp-grid > .plp-card:nth-child(4n+4) { margin-top: 90px; } }
@media (max-width: 767px) {
	.plp-filter { margin-bottom: 44px; gap: 8px; }
	.plp-chip { padding: 11px 16px; font-size: 12px; }
	.plp-grid { row-gap: 64px; }
	.plp-card, .plp-card.is-tall, .plp-grid.is-filtered > .plp-card { width: 100%; margin-top: 0 !important; }
	.plp-card.is-tall .plp-media { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
	.plp-js .plp-card { opacity: 1; transform: none; }
	.plp .plp-media .plp-img, .plp-card, .plp-view { transition: none; }
}

/* ---------------- Single project ---------------- */
body.single-pl_project { background: #0A0A0B; color: #fff; margin: 0; }
.plps { font-family: Manrope, system-ui, sans-serif; color: #fff; }
.plps-wrap { width: 100%; max-width: 1560px; margin: 0 auto; }
.plps-hero { padding: 110px 6vw 0; background: linear-gradient(200deg, #22160D 0%, #0A0A0B 42%); }
.plps-back { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #A39E96; text-decoration: none; transition: color .3s; }
.plps-back:hover { color: #F07B2B; }
.plps-kicker a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(78,216,165,.4); transition: color .3s, border-color .3s; }
.plps-kicker a:hover { color: #F07B2B; border-color: #F07B2B; }
.plps-kicker { margin: 40px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #4ED8A5; }
.plps-title { margin: 22px 0 0; font: 600 clamp(48px, 8.4vw, 150px)/.95 Sora, system-ui, sans-serif; letter-spacing: -.05em; color: #fff; max-width: 14ch; }
.plps-lead { margin: 36px 0 0; font-size: 20px; line-height: 1.7; color: #A39E96; max-width: 620px; }
.plps-media { margin: 88px 0 0; border-radius: 4px; overflow: hidden; background: #141416; aspect-ratio: 21 / 9; }
.plps-media img, .plps-media .plp-noimg { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.plps-body { padding: 110px 6vw 140px; }
.plps-grid { display: flex; gap: 7vw; align-items: flex-start; }
.plps-facts { flex: 0 1 30%; position: sticky; top: 130px; display: flex; flex-direction: column; }
.plps-fact { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); }
.plps-fact:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.plps-fact span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #4ED8A5; margin-bottom: 6px; }
.plps-fact strong, .plps-fact a { font: 500 20px/1.35 Sora, system-ui, sans-serif; letter-spacing: -.02em; color: #fff; text-decoration: none; }
.plps-fact a:hover { color: #F07B2B; }
.plps-content { flex: 1 1 62%; min-width: 0; font-size: 18px; line-height: 1.8; color: #CFCAC2; }
.plps-content > *:first-child { margin-top: 0; }
.plps-content h2, .plps-content h3 { font-family: Sora, system-ui, sans-serif; color: #fff; letter-spacing: -.03em; line-height: 1.15; }
.plps-content h2 { font-size: clamp(30px, 3vw, 46px); margin: 2.2em 0 .6em; }
.plps-content h3 { font-size: 26px; margin: 1.8em 0 .5em; }
.plps-content p { margin: 0 0 1.3em; }
.plps-content img { max-width: 100%; height: auto; border-radius: 4px; }
.plps-content a { color: #F07B2B; }
.plps-next { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 72px 6vw; border-top: 1px solid rgba(255,255,255,.1); text-decoration: none; color: #fff; transition: background-color .5s ease; }
.plps-next:hover { background: #17110C; }
.plps-next small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #A39E96; margin-bottom: 14px; }
.plps-next strong { font: 600 clamp(36px, 6vw, 96px)/1 Sora, system-ui, sans-serif; letter-spacing: -.05em; }
.plps-next em { font-style: normal; font: 300 clamp(36px, 5vw, 80px)/1 Sora, system-ui, sans-serif; color: #F07B2B; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.plps-next:hover em { transform: translateX(14px); }
@media (max-width: 1024px) { .plps-grid { flex-direction: column; } .plps-facts { position: relative; top: 0; width: 100%; } }
@media (max-width: 767px) {
	.plps-hero { padding: 56px 22px 0; }
	.plps-media { margin-top: 48px; aspect-ratio: 4 / 3; }
	.plps-body { padding: 72px 22px 88px; }
	.plps-next { padding: 48px 22px; }
}

/* ---------------- Blog / Journal ---------------- */
body.plb-body { background: #0A0A0B; color: #fff; margin: 0; }
.plb { --o: #F07B2B; --m: #4ED8A5; --mu: #A39E96; --ln: rgba(255,255,255,.12); font-family: Manrope, system-ui, sans-serif; color: #fff; overflow-x: clip; }
.plb *, .plb *::before, .plb *::after { box-sizing: border-box; }
.plb h1, .plb p { margin: 0; }
.plb-wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 6vw; }
.plb-narrow { max-width: calc(780px + 12vw); }
.plb-kicker { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--m); }
.plb-hero { padding: 110px 0 72px; background: linear-gradient(200deg, #22160D 0%, #0A0A0B 46%); }
.plb-title { margin-top: 26px !important; font: 600 clamp(52px, 8.4vw, 150px)/.93 Sora, system-ui, sans-serif; letter-spacing: -.055em; max-width: 12ch; }
.plb-title span { color: var(--o); }
.plb-lead { margin-top: 30px !important; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: var(--mu); max-width: 640px; }
.plb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.plb-chip { font: 700 13px/1 Manrope, system-ui, sans-serif; letter-spacing: .04em; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 12px 20px; transition: background-color .3s, border-color .3s, color .3s; }
.plb-chip:hover { border-color: var(--o); color: var(--o); }
.plb-chip.is-active { background: var(--o); border-color: var(--o); color: #0A0A0B; }

.plb-list { padding: 40px 0 130px; }
.plb-empty { color: var(--mu); font-size: 18px; }
.plb-card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--m); }
.plb-card-meta i { font-style: normal; color: var(--mu); }
.plb-card-img { display: block; width: 100%; height: 100% !important; max-width: none; object-fit: cover; transform: scale(1.001); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.plb-card-more { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 700; color: #fff; transition: color .3s; }
.plb-card-excerpt { font-size: 16px; line-height: 1.7; color: var(--mu); }

.plb-feature { display: flex; gap: 5vw; align-items: center; text-decoration: none; color: inherit; padding-bottom: 90px; margin-bottom: 90px; border-bottom: 1px solid var(--ln); }
.plb-feature-media { flex: 1 1 58%; display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; background: #141416; }
.plb-feature-text { flex: 1 1 42%; display: flex; flex-direction: column; gap: 18px; }
.plb-feature-label { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--o); }
.plb-feature-title { font: 600 clamp(30px, 3.2vw, 52px)/1.08 Sora, system-ui, sans-serif; letter-spacing: -.04em; transition: color .35s; }
.plb-feature:hover .plb-card-img, .plb-card:hover .plb-card-img { transform: scale(1.05); }
.plb-feature:hover .plb-feature-title, .plb-card:hover .plb-card-title, .plb-feature:hover .plb-card-more, .plb-card:hover .plb-card-more { color: var(--o); }

.plb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; row-gap: 80px; }
.plb-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; }
.plb-card-media { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: #141416; margin-bottom: 8px; }
.plb-card-title { font: 600 clamp(21px, 1.7vw, 26px)/1.25 Sora, system-ui, sans-serif; letter-spacing: -.03em; transition: color .35s; }
.plb-card:focus-visible, .plb-feature:focus-visible, .plb-chip:focus-visible, .plb-btn:focus-visible { outline: 2px solid var(--m); outline-offset: 5px; border-radius: 4px; }
.plb-pager { display: flex; gap: 8px; margin-top: 80px; }
.plb-pager .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ln); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; }
.plb-pager .page-numbers.current, .plb-pager .page-numbers:hover { background: var(--o); border-color: var(--o); color: #0A0A0B; }

/* Article */
.plb-hero-article { padding-bottom: 0; }
.plb-back { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mu); text-decoration: none; margin-bottom: 40px; transition: color .3s; }
.plb-back:hover { color: var(--o); }
.plb-article-title { margin-top: 22px !important; font: 600 clamp(38px, 5vw, 76px)/1.03 Sora, system-ui, sans-serif; letter-spacing: -.045em; }
.plb-byline { margin-top: 26px !important; font-size: 14px; font-weight: 600; color: #fff; opacity: .8; }
.plb-article-media { margin-top: 72px; overflow: hidden; border-radius: 4px; aspect-ratio: 21 / 9; background: #141416; }
.plb-content { padding: 90px 0 40px; font-size: 19px; line-height: 1.85; color: #D6D1C9; }
.plb-content > *:first-child { margin-top: 0; }
.plb-content p { margin: 0 0 1.35em; }
.plb-content h2 { font: 600 clamp(28px, 2.6vw, 38px)/1.15 Sora, system-ui, sans-serif; letter-spacing: -.035em; color: #fff; margin: 2.1em 0 .7em; }
.plb-content h3 { font: 600 22px/1.3 Sora, system-ui, sans-serif; letter-spacing: -.02em; color: #fff; margin: 1.7em 0 .5em; }
.plb-content ul, .plb-content ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.plb-content li { margin: .45em 0; padding-left: .2em; }
.plb-content li::marker { color: var(--o); }
.plb-content strong { color: #fff; }
.plb-content a { color: var(--o); text-underline-offset: 3px; }
.plb-content blockquote { margin: 2em 0; padding: 6px 0 6px 28px; border-left: 2px solid var(--o); font: 500 clamp(21px, 1.9vw, 26px)/1.5 Sora, system-ui, sans-serif; letter-spacing: -.02em; color: #fff; }
.plb-content blockquote p { margin: 0; }
.plb-service { margin: 30px 0 120px; padding: 40px; border: 1px solid var(--ln); border-radius: 16px; background: linear-gradient(135deg, rgba(240,123,43,.12), rgba(240,123,43,0) 60%); }
.plb-service-label { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--o); }
.plb-service-title { margin-top: 14px !important; font: 600 clamp(22px, 2vw, 30px)/1.2 Sora, system-ui, sans-serif; letter-spacing: -.03em; }
.plb-service-text { margin-top: 12px !important; color: var(--mu); line-height: 1.7; }
.plb-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font: 700 15px/1 Manrope, system-ui, sans-serif; color: #0A0A0B; background: var(--o); border-radius: 999px; padding: 17px 26px; text-decoration: none; transition: background-color .3s, color .3s, transform .3s; }
.plb-btn:hover { background: #fff; transform: translateY(-2px); }
.plb-btn-dark { background: #0A0A0B; color: #fff; }
.plb-btn-dark:hover { background: #fff; color: #0A0A0B; }
.plb-related { padding: 110px 0 130px; border-top: 1px solid var(--ln); }
.plb-related .plb-grid { margin-top: 44px; }

.plb-cta { background: var(--o); color: #0A0A0B; padding: 120px 0; }
.plb-cta .plb-kicker { color: #0A0A0B; opacity: .7; }
.plb-cta-title { margin: 20px 0 36px !important; font: 600 clamp(46px, 7.5vw, 130px)/.95 Sora, system-ui, sans-serif; letter-spacing: -.055em; }
.plb-cta-title span { color: #fff; }

.plb-rise { animation: plbRise 1s cubic-bezier(.2,.8,.2,1) both; }
.plb-rise:nth-child(2) { animation-delay: .06s; } .plb-rise:nth-child(3) { animation-delay: .12s; } .plb-rise:nth-child(4) { animation-delay: .18s; }
@keyframes plbRise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.plb-js .plb-reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.plb-js .plb-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
	.plb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.plb-feature { flex-direction: column; align-items: stretch; gap: 32px; }
}
@media (max-width: 767px) {
	.plb-wrap { padding: 0 22px; }
	.plb-hero { padding: 56px 0 48px; }
	.plb-title { font-size: clamp(46px, 13vw, 64px); }
	.plb-list { padding-bottom: 90px; }
	.plb-feature { padding-bottom: 56px; margin-bottom: 56px; }
	.plb-grid { grid-template-columns: 1fr; row-gap: 56px; }
	.plb-article-media { margin-top: 44px; aspect-ratio: 4 / 3; }
	.plb-content { padding-top: 56px; font-size: 17px; }
	.plb-service { padding: 28px 22px; margin-bottom: 80px; }
	.plb-related { padding: 80px 0 90px; }
	.plb-cta { padding: 84px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.plb-rise { animation: none; }
	.plb-js .plb-reveal { opacity: 1; transform: none; transition: none; }
	.plb-card-img { transition: none; }
}
