/*
 * "Atelier" (portfolio): a studio on pale grey. The opening is a poster: two huge words over a picture panel,
 * your services and contact details beside them. Then a big "About us" with a recognition table, a moving strip
 * of work, projects as stacked rows that slide over each other, services in italic rows, pricing and a quote.
 * Inter Tight, black type, nothing else.
 */
:root {
    --fo-bg: var(--pf-bg, #f2f2f0);
    --fo-ink: var(--pf-ink, #0d0d0d);
    --fo-text: #3d3d3d;
    --fo-mute: #8b8b8b;
    --fo-line: rgba(13, 13, 13, .16);
    --fo-card: #ffffff;
    --fo-accent: var(--primary-color, #0d0d0d);
    --fo-dark: #121212;
    --fo-radius: 16px;
    --fo-head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
    --fo-wrap: 1380px;
}

body[data-pf-site] { font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; background: var(--fo-bg) !important; }
html body[data-pf-site] h1, html body[data-pf-site] h2, html body[data-pf-site] h3 { font-family: var(--fo-head) !important; }

/* The header: a white floating bar with the name in the middle. */
body[data-pf-site] .header_wrap { width: calc(100% - 40px); margin: 12px auto 0; overflow: hidden; border-radius: 12px; background: #fff !important; box-shadow: none !important; }
body[data-pf-site] .header_wrap .bottom_header,
body[data-pf-site] .header_wrap .middle-header { background: transparent !important; border: 0 !important; box-shadow: none !important; }


/* Work rows: big numbers in the corner, the picture in the middle. */
.pf-works-stack .pf-stack-row { border-top: 0; padding: 48px 0; }
.pf-works-stack .pf-stack-row + .pf-stack-row { border-top: 1px solid var(--fo-line); }

/* Services: italic rows with tags and a picture on a slight tilt. */
.pf-services-rows .pf-service-pic { transform: perspective(900px) rotateY(-14deg); }

/* Pricing, questions, writing and the closing band from the personal sections, in the studio's look. */
.me-section { padding: clamp(64px, 8vw, 120px) 0 0; background: var(--fo-bg); color: var(--fo-text); }
.me-section:last-of-type { padding-bottom: clamp(64px, 8vw, 120px); }
.me-section .sx-wrap { width: min(100% - 40px, var(--fo-wrap)); }
.me-head { text-align: left; margin-bottom: clamp(32px, 4vw, 56px); padding-top: 14px; border-top: 1px solid var(--fo-ink); }
.me-tag { display: none; }
html body[data-pf-site] .me-head h2 { color: var(--fo-ink) !important; font-size: clamp(34px, 4.6vw, 66px) !important; font-weight: 400 !important; letter-spacing: -.03em; }
.me-head h2 b { font-weight: 400; }
.me-cards { display: grid; grid-template-columns: repeat(var(--me-cols, 3), minmax(0, 1fr)); gap: 16px; }
.me-cards-1 { --me-cols: 1; } .me-cards-2 { --me-cols: 2; } .me-cards-3 { --me-cols: 3; } .me-cards-4 { --me-cols: 4; }
.me-card { padding: 30px; border-radius: 12px; background: #fff; color: var(--fo-text); }
html body[data-pf-site] .me-card h3 { color: var(--fo-ink) !important; font-size: 20px !important; font-weight: 500 !important; }
.me-plan.is-featured { background: var(--fo-dark); color: rgba(255, 255, 255, .7); }
html body[data-pf-site] .me-plan.is-featured h3, .me-plan.is-featured .me-price strong { color: #fff !important; }
.me-price strong { display: block; color: var(--fo-ink); font-size: 46px; font-weight: 400; letter-spacing: -.03em; }
.me-price span { color: var(--fo-mute); font-size: 13px; }
.me-plan ul { margin: 18px 0 24px; padding: 0; list-style: none; }
.me-plan li { padding: 7px 0; border-bottom: 1px solid var(--fo-line); font-size: 14px; list-style: none; }
.me-btn { display: inline-flex; justify-content: center; min-height: 46px; align-items: center; padding: 0 22px; border: 1px solid var(--fo-ink); border-radius: 6px; color: var(--fo-ink); text-decoration: none; }
.me-plan.is-featured .me-btn { border-color: #fff; background: #fff; color: #111; }
.me-badge { position: absolute; top: 20px; right: 20px; padding: 3px 10px; border-radius: 4px; background: #fff; color: #111; font-size: 11px; text-transform: uppercase; }
.me-plan { position: relative; }
.me-cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: clamp(40px, 6vw, 90px) 0 0; border-top: 1px solid var(--fo-ink); }
html body[data-pf-site] .me-cta-band h2 { margin: 0 !important; color: var(--fo-ink) !important; font-size: clamp(48px, 7vw, 120px) !important; font-weight: 500 !important; line-height: .92 !important; letter-spacing: -.045em; }
.me-cta-band p { margin: 14px 0 0; color: var(--fo-text); }
.me-btn-dark { background: var(--fo-ink); color: #fff !important; }
.me-faq-list details { border-bottom: 1px solid var(--fo-line); background: transparent; padding: 0; }
.me-faq-list summary { padding: 20px 0; color: var(--fo-ink); font-size: 20px; cursor: pointer; }
.me-post { display: block; text-decoration: none; }
.me-post-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; margin-bottom: 14px; }
.me-post-media img, .me-post-media .sx-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.me-post-copy strong { display: block; color: var(--fo-ink); font-size: 19px; font-weight: 500; }

@media (max-width: 767.98px) {
    .me-cards, .me-cards-2, .me-cards-3, .me-cards-4 { --me-cols: 1; }
    .me-cta-band { grid-template-columns: minmax(0, 1fr); }
}

/* Questions: plain rows with a plus that turns into a minus. */
.me-faq-list details.me-card { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--fo-line); border-radius: 0; background: transparent; }
.me-faq-list summary { position: relative; padding-right: 48px; list-style: none; }
.me-faq-list summary::-webkit-details-marker { display: none; }
.me-faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; color: var(--fo-ink); font-size: 26px; font-weight: 300; transform: translateY(-50%); }
.me-faq-list details[open] summary::after { content: "\2212"; }
.me-faq-list details p { max-width: 720px; margin: 0; padding: 0 0 22px; color: var(--fo-text); }

/* ---- the poster: grey paper, the picture as a large panel on the right, the two words huge across both,
   drawn in "difference" so they read black on the paper and light over the picture */
body[data-pf-site] .header_wrap .navbar-nav .nav-link { font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: .08em !important; text-transform: uppercase !important; }
.pf-hero-poster { padding: 20px 0 0; background: var(--fo-bg); }
.pf-hero-poster .pf-wrap { width: calc(100% - 40px); }
.pf-poster { grid-template-columns: minmax(0, .4fr) minmax(0, .6fr); grid-template-rows: auto auto auto 1fr auto auto; gap: 0 clamp(24px, 3vw, 48px); align-content: stretch; min-height: 0; padding: 0; border-radius: 0; background: var(--fo-bg); isolation: isolate; }
.pf-poster-media { inset: 0 0 clamp(70px, 8vw, 120px) 42%; overflow: hidden; border-radius: 18px; background: #dcdad4; }
.pf-poster-media img { filter: grayscale(.2) contrast(1.05); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.pf-poster:hover .pf-poster-media img { transform: scale(1.03); }
.pf-poster-since { grid-column: 1; grid-row: 1; padding-top: 6px; color: var(--fo-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pf-poster-since::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: #22c55e; vertical-align: 1px; }
.pf-poster-list { position: static !important; grid-column: 1; grid-row: 2; align-self: start; margin: clamp(24px, 3vw, 44px) 0 0 !important; padding: 0 !important; border-left: 0; list-style: none; counter-reset: at-list; }
.pf-poster-list li { padding: 12px 0; border-top: 1px solid var(--fo-line); color: var(--fo-ink); font-size: clamp(16px, 1.4vw, 21px); font-weight: 500; letter-spacing: -.01em; text-transform: none; list-style: none; counter-increment: at-list; }
.pf-poster-list li::before { content: counter(at-list, decimal-leading-zero); display: inline-block; width: 44px; color: var(--fo-mute); font-size: 12px; font-weight: 600; }
.pf-poster-list li:last-child { border-bottom: 1px solid var(--fo-line); }
html body[data-pf-site] .pf-hero-poster .pf-poster-title { z-index: 2; grid-column: 1 / -1; grid-row: 5; margin: 0 !important; color: #ffffff !important; font-size: clamp(72px, 13.2vw, 228px) !important; font-weight: 800 !important; line-height: .8 !important; letter-spacing: -.06em !important; mix-blend-mode: difference; pointer-events: none; }
.pf-poster-lead { grid-column: 1; grid-row: 3; align-self: start; max-width: 380px; margin: 22px 0 clamp(28px, 3vw, 44px); color: var(--fo-text); font-size: 15px; line-height: 1.6; text-transform: none; }
.pf-poster-contact { grid-column: 1 / -1; grid-row: 6; display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--fo-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }
.pf-poster-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- about: one very large title, the story beside the recognition table */
html body[data-pf-site] .pf-about-split .pf-big { margin: 0 0 clamp(32px, 4vw, 56px) !important; color: var(--fo-ink) !important; font-size: clamp(64px, 10vw, 168px) !important; font-weight: 700 !important; line-height: .86 !important; letter-spacing: -.055em !important; }
.pf-about-split .pf-about-pic { border-radius: 14px; }
.pf-prose { font-size: 17px; line-height: 1.6; }
html body[data-pf-site] .pf-recognition h3 { font-size: 13px !important; font-weight: 600 !important; letter-spacing: .08em; text-transform: uppercase; }
.pf-recognition td { padding: 14px 0; font-size: 14.5px; }

/* ---- work: white cards that stack over each other as you scroll */
.pf-works-stack .pf-stack { display: grid; gap: 18px; }
.pf-works-stack .pf-stack-row { top: 96px; min-height: 0; padding: clamp(24px, 3vw, 40px) !important; border: 0 !important; border-radius: 22px; background: #ffffff; box-shadow: 0 -10px 40px rgba(13, 13, 13, .06); grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, .5fr); align-items: stretch; }
.pf-works-stack .pf-stack-copy { display: flex; flex-direction: column; justify-content: space-between; }
.pf-works-stack .pf-stack-no { color: var(--fo-ink); font-size: clamp(56px, 6vw, 96px); font-weight: 700; line-height: .85; letter-spacing: -.05em; }
html body[data-pf-site] .pf-works-stack .pf-stack-copy h3 { margin: 22px 0 10px !important; font-size: clamp(28px, 2.8vw, 42px) !important; font-weight: 600 !important; letter-spacing: -.03em; }
.pf-works-stack .pf-stack-copy p { color: var(--fo-text); font-size: 15px; }
.pf-works-stack .pf-stack-pic { aspect-ratio: 16 / 11; border-radius: 14px; }
.pf-works-stack .pf-stack-row .pf-tags { align-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.pf-tags li { border-radius: 999px; }

/* ---- services: big rows, tags in pills, the picture straight */
.pf-services-rows .pf-service { grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 1fr) 220px; padding: clamp(24px, 3vw, 36px) 0; }
html body[data-pf-site] .pf-services-rows .pf-service-copy h3 { font-size: clamp(28px, 3.2vw, 48px) !important; font-weight: 600 !important; font-style: normal; letter-spacing: -.035em; }
.pf-services-rows .pf-service-no { color: var(--fo-mute); font-size: 13px; font-style: normal; font-weight: 600; }
.pf-services-rows .pf-service-pic { border-radius: 12px; transform: none; }

/* ---- footer: black, the studio's name large */
body[data-pf-site] footer, body[data-pf-site] footer .footer_top, body[data-pf-site] footer .bottom_footer { background: #0d0d0d !important; }
body[data-pf-site] footer, body[data-pf-site] footer a, body[data-pf-site] footer p, body[data-pf-site] footer li { color: #bdbdbd !important; }
body[data-pf-site] footer a:hover { color: #ffffff !important; }
body[data-pf-site] footer .widget_title { color: #ffffff !important; font-size: 12.5px !important; letter-spacing: .08em; text-transform: uppercase !important; }
body[data-pf-site] footer .bottom_footer { border-top: 1px solid rgba(255, 255, 255, .12) !important; }

@media (max-width: 991.98px) {
    .pf-works-stack .pf-stack-row { grid-template-columns: minmax(0, 1fr); }
    .pf-works-stack .pf-stack-row .pf-tags { justify-content: flex-start; }
    .pf-services-rows .pf-service { grid-template-columns: 50px minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
    .pf-poster { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; min-height: 0; }
    .pf-poster-media { position: relative !important; inset: auto; grid-row: 2; aspect-ratio: 4 / 5; margin-top: 18px; }
    .pf-poster-list { grid-row: 4; }
    html body[data-pf-site] .pf-hero-poster .pf-poster-title { grid-row: 3; margin-top: -.55em !important; }
    .pf-poster-lead { grid-row: 5; margin-top: 20px; }
    .pf-poster-contact { grid-row: 6; }
}
@media (min-width: 992px) {
    .pf-works-stack .pf-stack-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); grid-template-rows: 1fr auto; gap: 0 clamp(24px, 3vw, 48px); }
    .pf-works-stack .pf-stack-copy { grid-column: 1; grid-row: 1; }
    .pf-works-stack .pf-stack-pic { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 16 / 9.5; }
    .pf-works-stack .pf-stack-row .pf-tags { grid-column: 1; grid-row: 2; justify-content: flex-start; justify-self: start; margin-top: 18px; }
}
html body[data-pf-site] .me-plan h3 { margin: 0 0 18px !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: .08em; text-transform: uppercase; }
.me-price strong { font-size: 52px; font-weight: 600; letter-spacing: -.045em; }
