/* ==========================================================================
   Pracownia Lis – brand refinements layered on top of the Prague theme.
   Loaded last on index.html; remove the <link> to roll everything back.
   ========================================================================== */

:root {
    --lis-ink: #111111;
    --lis-muted: #6b6b6b;
    --lis-line: #e5e5e5;
    --lis-dark: #0b0b0b;
    --lis-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Typography: size-specific tracking, consistent labels -------- */

.heading .subtitle,
.prague-shortcode-parent .prague-shortcode-heading .parent-subtitle,
.top-banner .content .subtitle {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.heading .subtitle { color: var(--lis-muted); }
.heading.dark .subtitle { color: var(--lis-muted); }

.heading .title,
.prague-shortcode-parent .prague-shortcode-heading .parent-title {
    letter-spacing: -.01em;
    line-height: 1.15;
}

.a-btn,
.a-btn-2 {
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .2s ease, background-color .2s ease, transform .1s ease-out;
}

/* Press feedback on pointer-down */
.a-btn:active,
.a-btn-2:active { transform: scale(.97); }

/* ---------- Hero ---------------------------------------------------------- */

.top-banner .overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .7) 100%);
}

.top-banner .content {
    padding: 0 24px;
}

.top-banner .content .subtitle {
    opacity: .9;
}

.top-banner .content .title {
    max-width: 900px;
    margin: 20px auto 0;
    font-size: clamp(36px, 5.2vw, 68px);
    line-height: 1.05;
    letter-spacing: -.02em;
    text-transform: none;
}

.top-banner .content .hero-lead {
    max-width: 620px;
    margin: 22px auto 0;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}

.top-banner .content .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.top-banner .content .hero-actions .a-btn { margin-top: 0; }

.a-btn.hero-btn-primary,
.a-btn.hero-btn-secondary {
    padding: 16px 32px;
    border: 1px solid #fff;
}

.a-btn.hero-btn-primary,
.top-banner.light .content .a-btn.hero-btn-primary {
    background-color: #fff;
    color: var(--lis-ink);
}

.a-btn.hero-btn-primary:hover,
.a-btn.hero-btn-primary:focus,
.top-banner.light .content .a-btn.hero-btn-primary:hover,
.top-banner.light .content .a-btn.hero-btn-primary:focus {
    background-color: #e8e8e8;
    color: var(--lis-ink);
}

.top-banner.light .content .a-btn.hero-btn-secondary {
    background-color: transparent;
    color: #fff;
}

.top-banner.light .content .a-btn.hero-btn-secondary:hover,
.top-banner.light .content .a-btn.hero-btn-secondary:focus {
    background-color: #fff;
    color: var(--lis-ink);
}

/* ---------- Trust strip --------------------------------------------------- */

.brand-proof {
    border-bottom: 1px solid var(--lis-line);
    padding: 28px 0;
    background: #fff;
}

.brand-proof .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 40px;
}

.brand-proof-label {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lis-muted);
}

.brand-proof-list {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brand-proof-list a {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: var(--lis-ink);
    opacity: .55;
    text-decoration: none;
    transition: opacity .2s ease;
}

.brand-proof-list a:hover,
.brand-proof-list a:focus { opacity: 1; }

/* ---------- Project grid: even tiles, no ragged ending -------------------- */

.masonry .grid-item .img-wrapp {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1a1a1a;
}

.masonry .grid-item .img-wrapp > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--lis-ease);
}

.masonry .grid-item .img-wrapp:hover > img { transform: scale(1.03); }

/* Caption is always visible (the theme hid it in a white box until hover):
   project name + type/city on a bottom scrim, bottom-left aligned. */
.masonry .grid-item .img-wrapp .tg-item-media-content {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 64px 20px 18px;
    text-align: left;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .72) 100%);
    visibility: visible;
    opacity: 1;
    transition: background-color .3s ease;
}

.masonry .grid-item .tg-item-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: #fff;
}

.masonry .grid-item .tg-cats-holder {
    display: block;
    margin-top: 4px;
}

.masonry .grid-item .tg-item-term {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}

.masonry .grid-item .img-wrapp:hover .tg-item-media-content {
    background-color: rgba(0, 0, 0, .15);
}

/* ---------- Services: four equal cards ------------------------------------ */

.prague_services.prague_count_col4 {
    display: flex;
    flex-wrap: wrap;
}

.prague_count_col4 .portfolio-item-wrapp,
.prague_count_col4 .portfolio-item {
    display: flex;
}

.prague_count_col4 .prague-services-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 36px 20px;
}

.prague_count_col4 .services-item-description {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
}

.prague_count_col4 .prague-services-link {
    padding: 14px 24px;
    white-space: nowrap;
}

.prague-services-wrapper .services-item-title { letter-spacing: -.01em; }

.prague-services-wrapper .services-item-description { color: var(--lis-muted); }

/* ---------- Services (portfolio style, no background photo) -------------- */

.brand-services { padding: 120px 0; background: #fff; }

.brand-services-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: start;
}

.brand-services-grid:before, .brand-services-grid:after { display: none; }

.brand-eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lis-muted);
}

.brand-h2 {
    margin: 14px 0 0;
    font-family: var(--lis-head);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: var(--lis-ink);
}

.brand-services-intro p {
    margin: 24px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
}

.brand-services-why strong { color: var(--lis-ink); font-weight: 600; }

.brand-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brand-services-list li {
    padding: 28px 0 32px;
    border-top: 1px solid var(--lis-line);
}

.brand-service-icon {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: var(--lis-ink);
}

.brand-services-list h3 {
    margin: 18px 0 8px;
    font-family: var(--lis-head);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: var(--lis-ink);
}

.brand-services-list p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--lis-muted);
}

.brand-services-list a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lis-ink);
    text-decoration: none;
}

.brand-services-list a:hover { opacity: .6; }

/* ---------- Process: dark, animated timeline ------------------------------ */

.brand-process {
    padding: 120px 0 110px;
    background: #000;
    color: #fff;
}

.brand-process-head {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: end;
}

.brand-process-head p {
    margin: 0;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .72);
}

.brand-process-media {
    margin: 64px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}

.brand-process-media video { display: block; width: 100%; height: 100%; object-fit: cover; }

.brand-process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 80px 0 0;
    padding: 0;
    list-style: none;
}

/* The connecting line runs through the step markers */
.brand-process-steps:before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, .35);
    transform-origin: left center;
}

.brand-process-steps li { position: relative; padding-top: 40px; }

.brand-process-steps li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 13px;
    height: 13px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #000;
}

.brand-step-no {
    display: block;
    font-family: var(--lis-head);
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.02em;
    color: #fff;
}

.brand-step-icon {
    display: block;
    margin-top: 24px;
    font-size: 26px;
    line-height: 1;
    color: rgba(255, 255, 255, .8);
}

.brand-process-steps h3 {
    margin: 18px 0 10px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: #fff;
}

.brand-process-steps p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .65);
}

.brand-process-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    margin-top: 96px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.brand-process-cta p {
    max-width: 620px;
    margin: 0;
    font-family: var(--lis-head);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 400;
    line-height: 1.3;
    color: #fff;
}

.brand-process-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Reveal: line draws left→right, then steps rise in one after another.
   Only applied when JS confirms motion is OK (.will-animate). */
.brand-process.will-animate .brand-process-steps:before {
    transform: scaleX(0);
    transition: transform 1.2s var(--lis-ease);
}

.brand-process.will-animate .brand-process-steps li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease-out, transform .6s var(--lis-ease);
    transition-delay: calc(250ms + var(--i) * 150ms);
}

.brand-process.will-animate.is-visible .brand-process-steps:before { transform: scaleX(1); }

.brand-process.will-animate.is-visible .brand-process-steps li {
    opacity: 1;
    transform: none;
}

@media (max-width: 991px) {
    .brand-services-grid,
    .brand-process-head { grid-template-columns: 1fr; gap: 32px; }
    .brand-process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
}

@media (max-width: 600px) {
    .brand-services { padding: 80px 0; }
    .brand-services-list { grid-template-columns: 1fr; }
    .brand-process { padding: 80px 0; }
    /* Vertical timeline on phones */
    .brand-process-steps { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; padding-left: 36px; }
    .brand-process-steps:before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; transform-origin: top center; }
    .brand-process.will-animate .brand-process-steps:before { transform: scaleY(0); }
    .brand-process.will-animate.is-visible .brand-process-steps:before { transform: scaleY(1); }
    .brand-process-steps li { padding-top: 0; }
    .brand-process-steps li:before { left: -36px; top: 4px; }
}

/* ---------- Logo marquee ("Zaufali nam") --------------------------------- */

.brand-logos .container { flex-wrap: nowrap; }

.brand-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: lis-marquee 40s linear infinite;
}

/* Padding (not gap) keeps both halves identical so -50% loops seamlessly */
.brand-marquee-track li { flex: none; padding: 0 32px; }

.brand-marquee-track img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0);
    opacity: .55;
    transition: opacity .2s ease;
}

.brand-marquee-track li:hover img { opacity: 1; }
.brand-marquee:hover .brand-marquee-track { animation-play-state: paused; }

.brand-logos-more {
    flex: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lis-ink);
    text-decoration: none;
}

.brand-logos-more:hover { opacity: .6; }

@keyframes lis-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .brand-logos .container { flex-wrap: wrap; }
    .brand-marquee { flex-basis: 100%; order: 3; }
    .brand-marquee-track { animation-duration: 28s; }
    .brand-marquee-track li { padding: 0 22px; }
    .brand-marquee-track img { height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .brand-marquee { -webkit-mask-image: none; mask-image: none; }
    .brand-marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 20px; }
    .brand-marquee-track li[aria-hidden="true"] { display: none; }
}

/* ---------- CTA band ------------------------------------------------------ */

.brand-cta {
    margin: 90px 0;
    padding: 72px 0;
    background: var(--lis-dark);
    color: #fff;
}

.brand-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-cta-title {
    max-width: 680px;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.015em;
    color: #fff;
}

/* ---------- Instagram + contact ------------------------------------------- */

.brand-ig-handle {
    display: inline-block;
    margin-left: 10px;
    font-size: .5em;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--lis-muted);
    vertical-align: middle;
    text-decoration: none;
}

.brand-ig-handle:hover { color: var(--lis-ink); }

.adddress-block p a { color: inherit; }

/* ---------- Footer -------------------------------------------------------- */

.prague-footer:before { opacity: .85; }

.prague-footer .footer-bottom-content .footer-copyright p,
.prague-footer .footer-bottom-content .footer-copyright a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: none;
    color: rgba(255, 255, 255, .75);
}

.prague-footer .footer-bottom-content .footer-copyright a:hover { color: #fff; }

/* ---------- Case study pages (dominos.html, pablo-tapas.html, …) ---------- */

.cs-page { background: #fff; }

/* Bootstrap's clearfix pseudo-elements on .container become stray grid/flex items */
.cs-story:before, .cs-story:after,
.cs-next:before, .cs-next:after,
.brand-proof .container:before, .brand-proof .container:after { display: none; }

.cs-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 92vh;
    overflow: hidden;
    background: var(--lis-dark);
    color: #fff;
}

.cs-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .78) 100%);
}

.cs-hero-plain { min-height: 70vh; }
.cs-hero-plain:after { display: none; }

.cs-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: 72px;
}

.cs-eyebrow,
.cs-label {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cs-eyebrow { color: rgba(255, 255, 255, .85); }
.cs-label { color: var(--lis-muted); }

.cs-title {
    margin: 16px 0 0;
    font-size: clamp(44px, 7vw, 96px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: #fff;
}

.cs-lead {
    max-width: 640px;
    margin: 20px 0 0;
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.5;
    color: rgba(255, 255, 255, .9);
}

.cs-facts { padding-top: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--lis-line); }

.cs-facts-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin: 0;
}

.cs-fact dt {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lis-muted);
}

.cs-fact dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--lis-ink);
}

.cs-fact dd span { color: var(--lis-muted); font-size: 13px; }
.cs-fact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.cs-story {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    padding-top: 96px;
    padding-bottom: 96px;
}

.cs-h2 {
    margin: 14px 0 0;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.cs-story-text p,
.cs-split-text p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.7;
    color: #3a3a3a;
}

.cs-scope { border-top: 1px solid var(--lis-line); }

.cs-scope-list { margin: 0; padding: 0; list-style: none; }

.cs-scope-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--lis-line);
    font-size: 16px;
    line-height: 1.55;
    color: #3a3a3a;
}

.cs-scope-list li:first-child { padding-top: 0; }
.cs-scope-list strong { color: var(--lis-ink); font-weight: 500; }

.cs-gallery {
    display: grid;
    gap: 12px;
    padding: 0 12px;
}

.cs-row { display: grid; gap: 12px; }
.cs-row-pair,
.cs-row-split { grid-template-columns: 1fr 1fr; }

.cs-fig { margin: 0; overflow: hidden; background: #f2f2f2; }

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

.cs-row-full .cs-fig { aspect-ratio: 3 / 2; }
.cs-row-pair .cs-fig,
.cs-row-split .cs-fig { aspect-ratio: 4 / 5; }

.cs-row-split { align-items: center; }

.cs-split-text { padding: 48px clamp(24px, 6vw, 96px); }
.cs-split-text h2 { margin: 0 0 18px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }

.cs-page .brand-cta { margin: 96px 0 0; }

.cs-next {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 72px;
}

.cs-next a { color: var(--lis-ink); text-decoration: none; }
.cs-next-back { font-size: 14px; color: var(--lis-muted) !important; }
.cs-next-back:hover { color: var(--lis-ink) !important; }

.cs-next-link {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -.02em;
    text-align: right;
}

.cs-next-link span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lis-muted);
}

.cs-next-link:hover { opacity: .7; }

@media (max-width: 991px) {
    .cs-facts-list { grid-template-columns: repeat(3, 1fr); }
    .cs-story { grid-template-columns: 1fr; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
}

@media (max-width: 600px) {
    .cs-hero { min-height: 80vh; }
    .cs-facts-list { grid-template-columns: repeat(2, 1fr); }
    .cs-gallery { gap: 8px; padding: 0; }
    .cs-row { gap: 8px; }
    .cs-row-split { grid-template-columns: 1fr; }
    .cs-row-split .cs-split-text { padding: 40px 20px; }
    .cs-next-link { text-align: left; }
}

/* ---------- Portfolio look (index "Wybrane projekty" + portfolio.html) ------
   Mirrors the PDF portfolio: black slides, light Poppins titles,
   fox mark top-right, 2–4 photos in one justified row. */

:root { --lis-head: "Poppins", "Roboto", sans-serif; }

.heading .title,
.prague-shortcode-parent .prague-shortcode-heading .parent-title,
.top-banner .content .title,
.services-item-title,
.brand-process-steps h3,
.brand-cta-title,
.cs-title,
.cs-h2,
.cs-split-text h2,
.cs-next-link { font-family: var(--lis-head); }

.brand-logos {
    padding: 36px 0;
    border-bottom: 1px solid var(--lis-line);
    background: #fff;
}

.brand-logos .container:before,
.brand-logos .container:after { display: none; }

.brand-logos .container {
    display: flex;
    align-items: center;
    gap: 20px 40px;
}

.brand-logos-list {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brand-logos-list img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: brightness(0);
    opacity: .55;
    transition: opacity .2s ease;
}

.brand-logos-list li:hover img { opacity: 1; }

.pf-section,
.pf-dark {
    background: #000;
    color: #fff;
}

.pf-section { padding: 110px 0 100px; }

.pf-intro { margin-bottom: 64px; }

.pf-intro p {
    max-width: 760px;
    margin: 22px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .72);
}

.pf-intro strong { color: #fff; font-weight: 500; }

.pf-eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.pf-h2 {
    margin: 14px 0 0;
    font-family: var(--lis-head);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: #fff;
}

.pf-center { text-align: center; }

.pf-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 96px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
}

.pf-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

.pf-head > div { min-width: 0; }

.pf-title {
    overflow-wrap: break-word;
    margin: 0;
    font-family: var(--lis-head);
    font-size: clamp(30px, 3.6vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: #fff;
}

.pf-title a {
    font: inherit;
    color: inherit !important;
    letter-spacing: inherit;
    text-transform: none;
    text-decoration: none;
}

.pf-meta {
    margin: 10px 0 0;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.pf-fox {
    flex: none;
    width: auto;
    height: clamp(40px, 4.5vw, 64px);
    opacity: .9;
}

.pf-row {
    display: flex;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.pf-fig {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    background: #111;
}

.pf-fig img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--lis-ease), opacity .3s ease;
}

a.pf-row:hover .pf-fig img { transform: scale(1.025); }

.pf-more-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
}

.pf-more-link:hover { color: #fff; }

.pf-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
    margin-top: 96px;
}

.pf-cta:before, .pf-cta:after { display: none; }

.pf-ig { font-size: 14px; color: rgba(255, 255, 255, .75); text-decoration: none; }
.pf-ig:hover { color: #fff; }

/* Filters */
.pf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -24px auto 56px;
}

.pf-filters:before, .pf-filters:after { display: none; }

.pf-filter {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    letter-spacing: .04em;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .1s ease-out;
}

.pf-filter:hover { border-color: #fff; color: #fff; }
.pf-filter:active { transform: scale(.97); }
.pf-filter.is-active { background: #fff; border-color: #fff; color: #000; }

.pf-item[hidden] { display: none; }

/* Cover */
.pf-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    background: #000;
}

.pf-cover > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pf-cover-band {
    position: relative;
    width: 100%;
    padding: 48px 24px;
    background: rgba(0, 0, 0, .62);
    text-align: center;
}

.pf-cover-title {
    margin: 0;
    font-family: var(--lis-head);
    font-size: clamp(34px, 6vw, 84px);
    font-weight: 400;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #fff;
}

.pf-cover-sub {
    margin: 14px 0 0;
    font-family: var(--lis-head);
    font-size: clamp(12px, 1.2vw, 16px);
    letter-spacing: .5em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}

/* Specialisations */
.pf-spec { padding: 120px 0; }

.pf-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.pf-spec-grid:before, .pf-spec-grid:after,
.pf-contact-grid:before, .pf-contact-grid:after { display: none; }

.pf-spec-text p,
.pf-spec-list li {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
}

.pf-spec-text > p:first-of-type { margin-top: 28px; }
.pf-spec-text strong { color: #fff; font-weight: 600; }

.pf-spec-list { margin: 22px 0; padding-left: 20px; }
.pf-spec-list li { margin-bottom: 8px; }

.pf-why span { display: block; margin-bottom: 4px; color: rgba(255, 255, 255, .6); }

.pf-spec-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pf-spec-tiles figure {
    position: relative;
    margin: 0;
    aspect-ratio: 7 / 6;
    overflow: hidden;
}

.pf-spec-tiles img { width: 100%; height: 100%; object-fit: cover; }

.pf-spec-tiles figcaption {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

/* References */
.pf-refs { padding: 110px 0 120px; border-top: 1px solid rgba(255, 255, 255, .1); }

.pf-refs-intro {
    max-width: 880px;
    margin: 24px auto 64px;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    color: rgba(255, 255, 255, .75);
}

.pf-refs-intro strong { color: #fff; font-weight: 600; }

.pf-refs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 72px;
    max-width: 1000px;
    margin: 0 auto;
}

.pf-ref {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: center;
    gap: 28px;
}

.pf-ref img {
    justify-self: center;
    max-width: 150px;
    max-height: 70px;
    width: auto;
    height: auto;
}

.pf-ref p {
    margin: 0;
    font-family: var(--lis-head);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.45;
    color: #fff;
}

/* Contact */
.pf-contact { padding: 110px 0; border-top: 1px solid rgba(255, 255, 255, .1); }

.pf-contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 64px;
    align-items: center;
}

.pf-contact-img { margin: 0; overflow: hidden; }
.pf-contact-img img { display: block; width: 100%; height: auto; }

.pf-contact-text p {
    margin: 22px 0;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
}

.pf-contact-list { margin: 0 0 32px; padding: 0; list-style: none; }
.pf-contact-list li { margin-bottom: 10px; font-size: 15px; }
.pf-contact-list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.pf-page .prague-footer { margin-top: 0; }

@media (max-width: 991px) {
    .pf-spec-grid,
    .pf-contact-grid,
    .pf-refs-grid { grid-template-columns: 1fr; }
    .pf-list { gap: 72px; }
}

@media (max-width: 767px) {
    .pf-section { padding: 80px 0 72px; }
    .pf-intro { margin-bottom: 40px; }
    /* Rows become a swipeable strip so photos stay large on phones */
    .pf-row {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 calc(-1 * clamp(16px, 3vw, 40px));
        padding: 0 clamp(16px, 3vw, 40px);
        scrollbar-width: none;
    }
    .pf-row::-webkit-scrollbar { display: none; }
    .pf-fig {
        flex: none !important;
        height: 62vw;
        scroll-snap-align: start;
    }
    .pf-fig img { width: auto; max-width: none; height: 100%; }
    .pf-ref { grid-template-columns: 110px 1fr; gap: 18px; }
    .pf-ref img { max-width: 100px; max-height: 50px; }
    .pf-ref p { font-size: 15px; }
    .brand-logos-list { justify-content: flex-start; gap: 20px 28px; }
    .brand-logos-list img { height: 26px; }
}

/* ---------- Mobile -------------------------------------------------------- */

@media (max-width: 767px) {
    /* The floating share bar covers content on phones; links stay in menu + footer */
    .prague-share-icons { display: none !important; }

    .top-banner .content .hero-lead { font-size: 16px; }

    .brand-proof .container { flex-direction: column; align-items: flex-start; }
    .brand-proof-list { flex: none; width: 100%; justify-content: flex-start; gap: 10px 24px; }
    .brand-proof-list a { font-size: 16px; }

    .brand-cta { margin: 60px 0; padding: 56px 0; }
}

/* ---------- Accessibility ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .masonry .grid-item .img-wrapp > img { transition: none; }
    .masonry .grid-item .img-wrapp:hover > img { transform: none; }
    .a-btn:active,
    .a-btn-2:active { transform: none; }
}
