/* TYPOGRAPHY — balanced section headings and readable supporting text. */
:root {
 /* Shared reading width; backgrounds and the locked hero stay edge to edge. */
 --content-width: 1120px;
 --page-gutter: clamp(20px, 5vw, 64px);
 --content-inset: max(var(--page-gutter), calc((100% - var(--content-width)) / 2));
 --section-title-size: clamp(30px, 2.6vw, 44px);
 --reading-size: clamp(16px, 1.25vw, 18px);
 --reading-color: #cbc8c2;
}
/* NAVIGATION — preserve the hero's existing header fade until the pin releases. */
.site-header .header-right { gap: clamp(20px, 3vw, 48px); }
.site-header nav a { padding: 14px 0; }
.site-header nav a[aria-current="page"] { color: var(--fg); border-bottom: 1px solid var(--gold); }
.home-page.past-intro .site-header { opacity: 1 !important; background: #050505f5; }
.inner-page .site-header { background: #050505f5; }
:where(.film-open,.film-pause,.text-action,.dialog-close,.contact-socials a,.site-header a):focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.text-action { display: inline-flex; justify-content: space-between; align-items: center; gap: 44px; min-height: 44px; padding: 12px 0; border: 0; border-bottom: 1px solid #f5f4f080; border-radius: 0; background: transparent; color: var(--fg); font: 500 13px 'Montserrat',sans-serif; letter-spacing: .08em; cursor: pointer; }
.text-action:hover { color: #e8b777; border-color: #e8b777; }
.small-label { margin: 0 0 20px; font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--gold); }
/* SERVICES — two independent stacks; opening one leaves the other column in place. */
:where(#services, #contact) { scroll-margin-top: 48px; }
.services-section { padding: 100px var(--content-inset); }
.services-heading { margin-bottom: 54px; text-align: center; }
.services-heading h2 { margin: 0; font-size: var(--section-title-size); line-height: 1.2; font-weight: 400; letter-spacing: -.035em; }
.service-accordion { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; column-gap: clamp(40px, 5vw, 72px); max-width: var(--content-width); margin: 0 auto; }
.service-column { min-width: 0; }
.service-item { border-bottom: 1px solid #f5f4f024; }
.service-item:first-child { border-top: 1px solid #f5f4f024; }
.service-summary { display: flex; align-items: center; gap: 26px; min-height: 92px; padding: 26px 0; list-style: none; cursor: pointer; }
.service-summary::-webkit-details-marker { display: none; }
.service-summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.service-icon { display: block; flex: 0 0 40px; width: 40px; height: 40px; object-fit: contain; opacity: .9; }
.service-summary h3 { flex: 1; min-width: 0; margin: 0; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.35; font-weight: 500; letter-spacing: -.025em; transition: color .3s ease; }
.service-summary:hover h3, .service-summary[aria-expanded="true"] h3, .service-item[open] .service-summary:not([aria-expanded]) h3 { color: #e8b777; }
.service-toggle { position: relative; flex: 0 0 20px; width: 20px; height: 20px; color: var(--reading-color); }
.service-toggle::before, .service-toggle::after { content: ''; position: absolute; background: currentColor; }
.service-toggle::before { width: 14px; height: 1px; top: 9.5px; left: 3px; }
.service-toggle::after { width: 1px; height: 14px; top: 3px; left: 9.5px; transition: transform .3s ease, opacity .3s ease; }
.service-summary[aria-expanded="true"] .service-toggle::after, .service-item[open] .service-summary:not([aria-expanded]) .service-toggle::after { transform: scaleY(0); opacity: 0; }
.service-panel { overflow: hidden; }
.service-panel p { max-width: 760px; margin: 0; padding: 0 40px 30px 66px; font-size: var(--reading-size); line-height: 1.75; color: var(--reading-color); }
/* PROJECT COUNT / CLIENTS — one continuous scene; logos remain in normal flow. */
.proof-sequence { position: relative; isolation: isolate; background: #000; }
.proof-backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #000 url('../assets/backgrounds/clients-original.jpg') right top / cover no-repeat; }
.proof-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(320deg, rgba(51,51,51,.5) 0%, #000 50%); }
.counter-sequence { position: relative; }
.counter-sticky { min-height: 52svh; display: grid; place-items: center; padding: 112px 20px 56px; pointer-events: none; }
.counter-content { text-align: center; }
.counter-sequence.is-scroll-driven { height: 240svh; }
.is-scroll-driven .counter-sticky { position: sticky; top: 0; height: 100svh; }
.counter-sequence .count-number { display: block; min-width: 3ch; color: var(--fg); font: 300 clamp(80px, 10vw, 132px)/1 'Montserrat',sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.counter-sequence .count-label { margin: 18px 0 0; font-size: 13px; font-weight: 500; line-height: 1.6; letter-spacing: .1em; color: var(--reading-color); }
.proof-sequence.is-scroll-driven .proof-backdrop { opacity: var(--proof-background, 0); }
.proof-sequence.is-scroll-driven .counter-content { opacity: var(--counter-opacity, 1); transform: translate3d(0, var(--counter-shift, 0px), 0); will-change: transform, opacity; }
.proof-sequence.is-scroll-driven .clients-block { margin-top: -100svh; }
/* Animate the images, keeping Warner's existing screen blend on its own layer. */
.proof-sequence.is-scroll-driven .client-logos img { opacity: calc(var(--logo-opacity, .92) * var(--clients-opacity, 0)); transform: translate3d(0, var(--clients-shift, 18px), 0); will-change: transform, opacity; }
/* CLIENTS — crossfade with the count; preserve all original marks and proportions. */
.clients-block { padding: 86px var(--content-inset) 94px; border-top: 1px solid var(--line); }
.proof-sequence .clients-block { padding-top: 112px; padding-bottom: 80px; border-top: 0; }
.client-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px clamp(24px, 3vw, 44px); padding: 0; align-items: center; }
.client-logo { display: grid; place-items: center; min-height: 74px; padding: 6px 10px; }
.client-logos img { display: block; width: auto; max-width: min(100%, 154px); height: 44px; object-fit: contain; opacity: var(--logo-opacity, .92); }
/* Keep the original internal details in multitone marks instead of flattening their alpha. */
.client-logo--passuello { --logo-opacity: .70; }
.client-logo--passuello img { filter: grayscale(1) contrast(10); }
.client-logo--compact img { max-width: min(100%, 136px); }
.client-logo--hdry img { max-width: min(100%, 116px); height: 38px; }
.client-logo--wide img { max-width: min(100%, 166px); }
.client-logo--mionetto img { height: 58px; }
.client-logo--veneto img { max-width: min(100%, 210px); }
.client-logo--adidas img { height: 56px; }
.client-logo--dsv img { max-width: min(100%, 110px); }
.client-logo--isuzu img, .client-logo--deangelis img { max-width: min(100%, 176px); height: 50px; }
/* The supplied Warner image is kept intact; its white background blends into the section. */
.client-logo--warner { padding-block: 3px; }
.client-logo--warner img { height: 68px; filter: grayscale(1) invert(1); mix-blend-mode: screen; }
/* PROJECTS — responsive video wall; no duplicate tiles. */
.page-intro { padding: 190px var(--content-inset) 64px; }
.page-intro h1 { margin: 0 0 35px; font-size: clamp(40px, 4.5vw, 68px); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.page-intro > p:not(.small-label), .archive-toolbar p { color: var(--reading-color); font-size: var(--reading-size); line-height: 1.7; }
.archive-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.project-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 22px; padding: 0 var(--content-inset) 100px; }
.project-wall .film-media { border-radius: 14px; }
.project-wall .film-caption { gap: 12px; grid-template-columns: 1fr; padding: 16px 4px 0; }
.project-wall .film-caption h2 { font-size: clamp(17px, 1.5vw, 24px); }
.project-wall .film-caption p { grid-column: 1; font-size: 14px; }
.project-wall .film-caption > span { grid-column: 2; grid-row: 1; font-size: 12px; }
.project-wall .film-open { padding: 14px; }
.project-wall .film-open > span { font-size: 11px; padding: 12px; }
.archive-contact { margin: 0 var(--content-inset); padding: 70px 0 100px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.archive-contact h2 { font-size: var(--section-title-size); font-weight: 400; letter-spacing: -.05em; margin: 0; }
/* PLAYER — native dialog provides focus containment and Escape support. */
.film-dialog { box-sizing: border-box; width: min(1100px, 94vw); max-height: 92svh; padding: 24px; border: 1px solid var(--line); background: #080808; color: var(--fg); }
.film-dialog::backdrop { background: #000e; }
.film-dialog-top, .film-dialog-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.film-dialog-top { margin-bottom: 20px; }
.film-dialog-top h2 { font-weight: 400; font-size: 20px; margin: 0; }
.dialog-close { font: 500 11px 'Montserrat',sans-serif; color: var(--fg); padding: 14px; border: 1px solid var(--line); background: none; cursor: pointer; }
.film-dialog > video { width: 100%; max-height: 56svh; aspect-ratio: 16/9; object-fit: contain; background: #000; }
.film-dialog-bottom { font-size: 14px; line-height: 1.6; padding-top: 14px; }
.film-dialog-bottom p { color: var(--reading-color); font-size: 16px; line-height: 1.65; max-width: 75ch; margin: 0; }
.film-dialog-bottom a { color: #e8b777; }
.film-error { color: #e8b777; font-size: 14px; }
body.player-open { overflow: hidden; }
/* CONTACT — centered form and social marks on the home and Contatti. */
.contact-block { display: flex; flex-direction: column; align-items: center; gap: 48px; padding: 110px var(--content-inset); border-top: 1px solid var(--line); }
.contact-heading { width: 100%; text-align: center; }
.contacts-page .page-intro { text-align: center; }
.contact-heading h2 { margin: 0; font-size: clamp(38px, 3.8vw, 60px); font-weight: 400; line-height: 1; letter-spacing: -.065em; }
.contact-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin: 0; font-size: 14px; }
.contact-socials a { min-height: 44px; display: inline-flex; align-items: center; }
.contact-page-block { padding-top: 24px; border: 0; }
.contact-form { position: relative; width: 100%; max-width: 700px; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-form label { display: block; font-size: 14px; line-height: 1.6; }
.contact-form label > span:not(.form-consent span) { color: var(--muted); }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; min-width: 0; margin: 10px 0 30px; padding: 14px 0; border: 0; border-bottom: 1px solid #f5f4f050; border-radius: 0; background: #050505; color: var(--fg); font: 400 16px/1.6 'Montserrat',sans-serif; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #888; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 1px solid var(--gold); outline-offset: 5px; }
.contact-form .form-consent { display: flex; align-items: start; gap: 12px; color: var(--reading-color); font-size: 14px; cursor: pointer; }
.form-consent input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: #c9913b; }
.form-delivery-note, .form-status { color: var(--reading-color); font-size: 14px; line-height: 1.7; }
.form-delivery-note { margin: 20px 0; }
.form-submit { min-width: 210px; }
.form-submit:disabled { opacity: .5; cursor: wait; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* FOOTER — centered horizontal groups; address beside the tax information. */
.site-footer { padding: 32px var(--content-inset); background: #000; color: var(--reading-color); font-size: 14px; line-height: 1.8; }
.footer-inner { display: flex; justify-content: center; align-items: center; gap: 48px; max-width: var(--content-width); margin: 0 auto; }
.footer-brand { flex: 0 0 180px; }
.footer-brand p { margin: 12px 0 0; font-size: 12px; }
.footer-details { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 40px; min-width: 0; }
.footer-details p { grid-column: 1; margin: 0; }
.footer-business { color: var(--fg); font-weight: 500; }
.footer-details address { grid-column: 2; grid-row: 1 / 3; margin: 0; font-style: normal; }
.site-footer img { width: 140px; height: auto; display: block; }
/* RESPONSIVE */
@media (max-width: 1000px) { .project-wall { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) {
 .service-accordion { grid-template-columns: 1fr; max-width: 920px; }
 .service-column + .service-column .service-item:first-child { border-top: 0; }
}
@media (max-width: 800px) {
 .site-header .header-right { gap: 22px; font-size: 9px; }
 .page-intro { padding: 140px 20px 44px; }
 .services-section { padding: 64px 20px; }
 .services-heading { margin-bottom: 36px; }
 .counter-sequence.is-scroll-driven { height: 205svh; }
 .counter-sticky { padding-top: 88px; }
 .counter-sequence .count-label { font-size: 12px; }
 .clients-block { padding: 64px 20px 72px; }
 .proof-sequence .clients-block { padding-top: 88px; padding-bottom: 72px; }
 .client-logos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 18px; }
 .client-logo { min-height: 64px; padding-inline: 4px; }
 .client-logos img { max-width: min(100%, 124px); height: 38px; }
 .client-logo--compact img { max-width: min(100%, 116px); }
 .client-logo--hdry img { max-width: min(100%, 100px); height: 33px; }
 .client-logo--wide img { max-width: min(100%, 136px); }
 .client-logo--mionetto img { height: 48px; }
 .client-logo--veneto img { max-width: min(100%, 156px); }
 .client-logo--adidas img { height: 48px; }
 .client-logo--dsv img { max-width: min(100%, 96px); }
 .client-logo--isuzu img, .client-logo--deangelis img { max-width: min(100%, 142px); height: 43px; }
 .client-logo--warner img { height: 54px; }
 .contact-block { padding: 64px 20px; gap: 36px; }
 .contact-page-block { padding-top: 0; }
 .contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { font-size: 16px; }
 .archive-toolbar { align-items: start; flex-direction: column; }
 .project-wall { padding: 0 20px 64px; gap: 36px 16px; }
 .archive-contact { margin: 0 20px; padding: 50px 0; }
 .site-footer { padding: 32px 20px; }
 .footer-inner { flex-wrap: wrap; gap: 24px; }
 .footer-brand { flex-basis: auto; text-align: center; }
 .site-footer img { margin-inline: auto; }
 .film-dialog { padding: 14px; }
 .film-dialog-top h2 { font-size: 16px; }
 .film-dialog-bottom { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 540px) {
 .project-wall { grid-template-columns: 1fr; }
 .form-row { grid-template-columns: 1fr; gap: 0; }
 .site-header .header-right { gap: 16px; letter-spacing: .07em; }
 .film-dialog { width: 96vw; }
 .footer-details { width: 100%; grid-template-columns: 1fr; row-gap: 8px; text-align: center; }
 .footer-details p, .footer-details address { grid-column: 1; grid-row: auto; }
}
@media (hover: none) { .film-open > span { opacity: 1; transform: none; } }
[hidden] { display: none !important; }

/* PLAYER — custom controls; media loaded only after a deliberate click. */
.player-controls { display: flex; align-items: center; gap: 14px; padding: 16px 0 4px; }
.player-controls button { min-height: 44px; padding: 8px; border: 0; background: none; color: var(--fg); font: 500 10px 'Montserrat',sans-serif; letter-spacing: .05em; cursor: pointer; white-space: nowrap; }
.player-controls button:disabled { color: var(--muted); cursor: default; }
.player-controls input { accent-color: var(--gold); min-width: 0; height: 28px; cursor: pointer; }
.player-controls input:disabled { opacity: .35; cursor: default; }
.player-controls :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.player-seek { flex: 1; }
.player-volume { width: 70px; }
.player-time { font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.film-dialog:fullscreen { width: 100%; max-width: none; height: 100%; max-height: none; display: flex; flex-direction: column; justify-content: center; }
.film-dialog:fullscreen > video { max-height: calc(100svh - 200px); }
@media (max-width: 600px) {
 .player-controls { gap: 8px; flex-wrap: wrap; }
 .player-seek { flex: 1 1 calc(100% - 150px); }
 .player-volume { width: 60px; }
 .player-controls button { font-size: 9px; }
}

/* PROJECTS — clean black archive, four columns on desktop. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.projects-page .page-intro { padding: 156px var(--content-inset) 42px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.projects-page .page-intro .small-label { margin: 0 0 5px; }
.projects-page .archive-toolbar p { margin: 0; font-size: var(--reading-size); }
.projects-page .project-wall { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 42px 22px; }
.projects-page .film-caption h2 { font-size: clamp(18px,1.3vw,22px); }
.projects-page .film-caption p { color: var(--reading-color); }
@media (max-width: 1100px) { .projects-page .project-wall { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 800px) {
 .projects-page .page-intro { padding: 120px 20px 32px; align-items: start; flex-direction: column; gap: 16px; }
 .projects-page .project-wall { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 16px; }
}
@media (max-width: 540px) { .projects-page .project-wall { grid-template-columns: 1fr; } }

/* HOME — the fixed backdrop begins only after the locked showreel. */
.projects-page main { background: var(--bg); }


/* HOME — original site's background sequence and overlays. */
.home-content, .home-content .selected-works, .home-content .contact-block { background: #000; }
.home-content .services-section { position: relative; isolation: isolate; background-size: cover; background-repeat: no-repeat; background-attachment: scroll; }
.home-content .services-section { background-image: url('../assets/backgrounds/studio-original.jpg'); background-position: center; background-color: #000000e0; }
.home-content .services-section::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.home-content .services-section::before { background: linear-gradient(215deg, rgba(0,0,0,.62) 0%, #000 50%); opacity: .92; }
.home-page .contact-form input:not([type="checkbox"]), .home-page .contact-form select, .home-page .contact-form textarea, .home-page .site-footer { background: #000; }
/* HOME — viewport-fixed image layers avoid Safari's synchronous fixed-background repaint.
   The section clips each image; the existing gradient remains relative to its content.
   Mobile, reduced motion and older browsers retain the scrolling background above. */
@supports (clip-path: inset(0)) {
 @media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .home-content .services-section { background-image: none; background-color: #000; clip-path: inset(0); }
  .home-content .services-section::after { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none; background-size: cover; background-repeat: no-repeat; transform: translateZ(0); }
  .home-content .services-section::after { background-image: url('../assets/backgrounds/studio-original.jpg'); background-position: center; }
  /* Clip a separate backdrop, never the sticky counter's ancestor. */
  .proof-backdrop { background-image: none; clip-path: inset(0); }
  .proof-backdrop::before { content: ''; position: fixed; inset: 0; background: url('../assets/backgrounds/clients-original.jpg') right top / cover no-repeat; transform: translateZ(0); }
  .proof-backdrop::after { position: fixed; transform: translateZ(0); }
 }
}

/* HOME — continuous section boundaries, without one-pixel divider seams. */
.home-content > section, .home-content .works-more, .home-page .site-footer { border-top: 0; }

/* NAVIGATION — stronger type, generous targets and a gold hover. */
.site-header .header-right { gap: clamp(24px, 2.7vw, 44px); margin-right: clamp(12px, 3vw, 56px); font-size: 14px; font-weight: 600; letter-spacing: .09em; color: var(--fg); }
.site-header nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 14px 4px; border: 0; transition: color .25s ease; }
.site-header nav a::after { content: ''; position: absolute; bottom: 6px; left: 4px; right: 4px; height: 1px; background: #e8b777; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.site-header nav a[aria-current="page"] { color: #e8b777; border: 0; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: #e8b777; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after, .site-header nav a[aria-current="page"]::after { transform: scaleX(1); }
/* CONTACT — white original social marks; direct delivery only when ready. */
.contact-socials { gap: 14px; }
.contact-socials a { display: grid; place-items: center; width: 48px; height: 48px; background: #000; border-radius: 50%; opacity: .9; transition: opacity .2s ease; }
.contact-socials img { display: block; width: 26px; height: 26px; object-fit: contain; }
.contact-socials a:hover { opacity: 1; }
.form-row-single { grid-template-columns: 1fr; }
.form-delivery-note a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) {
 .site-header .header-right { gap: 18px; margin-right: 0; font-size: 12px; letter-spacing: .06em; }
 .service-summary { gap: 20px; min-height: 80px; padding: 22px 0; }
 .service-icon { flex-basis: 34px; width: 34px; height: 34px; }
 .service-panel p { padding-left: 54px; padding-right: 20px; }
}
@media (max-width: 540px) {
 .services-heading .small-label { font-size: 11px; letter-spacing: .1em; }
 .service-summary { gap: 16px; }
 .service-summary h3 { font-size: 19px; }
 .service-icon { flex-basis: 30px; width: 30px; height: 30px; }
 .service-toggle { flex-basis: 18px; }
 .service-panel p { padding-left: 46px; padding-right: 0; padding-bottom: 26px; }
}
@media (max-width: 360px) { .site-header .header-right { gap: 8px; font-size: 10.5px; } .site-header nav a { padding-inline: 2px; } }
@media (prefers-reduced-motion: reduce) { .site-header nav a, .site-header nav a::after { transition: none; } }
@media (prefers-reduced-motion: reduce) { .service-summary h3, .service-toggle::after { transition: none; } }

/* PROJECTS — reserved documentary trailer; no media requested before delivery. */
.projects-page .film-media--pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #111; box-shadow: inset 0 0 0 1px #f5f4f014; }
.projects-page .film-placeholder-title { color: var(--fg); font-size: clamp(20px, 2vw, 28px); font-weight: 400; letter-spacing: .08em; }
.projects-page .film-placeholder-note { color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .1em; }

/* PROJECTS — hover preview over the static cover. */
.project-wall .archive-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.project-wall .film-media.is-previewing .archive-preview { opacity: 1; }
.project-wall .film-open { z-index: 2; }

/* MOBILE — compact two-column archive, unobstructed covers. */
@media (max-width: 540px) {
 .projects-page .project-wall { grid-template-columns: repeat(2,minmax(0,1fr)); padding-inline: 16px; gap: 28px 12px; }
 .projects-page .film-media { border-radius: 9px; }
 .projects-page .film-caption { padding: 12px 0 0; gap: 6px; }
 .projects-page .film-caption h2 { font-size: 15px; line-height: 1.35; letter-spacing: -.02em; overflow-wrap: anywhere; }
 .projects-page .film-caption p { font-size: 12px; line-height: 1.45; }
 .film-media .film-open > .film-play-icon { display: none; }
}

/* MOBILE — compact client marks and clean black section backgrounds. */
@media (max-width: 800px) {
 .home-page .client-logos { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px 6px; }
 .home-page .client-logo { min-height: 50px; padding: 4px 2px; }
 .home-page .client-logos .client-logo img { max-width: 100%; width: auto; height: 25px; }
 .home-page .client-logos .client-logo--mionetto img, .home-page .client-logos .client-logo--warner img { height: 36px; }
 .home-page .client-logos .client-logo--adidas img { height: 30px; }
 .home-page .proof-sequence .clients-block { padding: 72px 16px 56px; }
 .home-page .proof-backdrop { display: none; }
 .home-content .services-section { background: #000; }
 .home-content .services-section::before, .home-content .services-section::after { display: none; }
}

/* MOBILE — two compact, independently expandable service columns. */
@media (max-width: 800px) {
 .service-accordion { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 18px; }
 .service-column + .service-column .service-item:first-child { border-top: 1px solid #f5f4f024; }
 .service-summary { gap: 8px; min-height: 86px; padding: 18px 0; }
 .service-summary h3 { font-size: 14px; line-height: 1.35; letter-spacing: -.02em; }
 .service-icon { flex: 0 0 23px; width: 23px; height: 23px; }
 .service-toggle { flex-basis: 14px; width: 14px; transform: scale(.75); transform-origin: center; }
 .service-panel p { padding: 0 0 20px; font-size: 14px; line-height: 1.65; }
}

/* MOBILE — native count followed immediately by visible client marks. */
@media (max-width: 800px) {
 .home-page .counter-sequence { height: auto; }
 .home-page .counter-sticky { position: relative; height: auto; min-height: 44svh; padding: 72px 20px 28px; }
 .home-page .proof-sequence .clients-block { margin-top: 0; padding-top: 12px; }
}
.works-more .text-action svg { display: block; width: 20px; height: 20px; flex-shrink: 0; }

.form-submit > svg { flex: 0 0 20px; width: 20px; height: 20px; display: block; }

@media (max-width: 800px) {
 .home-page .counter-sequence.is-mobile-counter { height: 180svh; }
 .home-page .is-mobile-counter .counter-sticky { position: absolute; top: 0; left: 0; width: 100%; height: 100svh; min-height: 0; padding: 0 20px; z-index: 3; background: #000; }
}
