/* C-Pictures site styles
   Type:   Barlow Condensed (headlines, figures; uppercase like sign lettering) + Barlow (text)
   Colour: white / light grey page (60) · ink for text, rules, band, footer (30) · logo red for the
           logo, buttons and small icons only (10) */
@font-face{font-family:"Barlow";font-weight:400;font-display:swap;src:url("../fonts/barlow-400-latin.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-weight:500;font-display:swap;src:url("../fonts/barlow-500-latin.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-weight:600;font-display:swap;src:url("../fonts/barlow-600-latin.woff2") format("woff2")}
@font-face{font-family:"Barlow Condensed";font-weight:600;font-display:swap;src:url("../fonts/barlow-condensed-600-latin.woff2") format("woff2")}
@font-face{font-family:"Barlow Condensed";font-weight:700;font-display:swap;src:url("../fonts/barlow-condensed-700-latin.woff2") format("woff2")}

:root{
  --red:#EC3034;      /* logo red: the logo, icons, accents */
  --red-ui:#D9262B;   /* buttons and tags: white text passes WCAG AA (4.9:1) */
  --white:#FFFFFF; --paper:#F4F4F2; --ink:#151515; --muted:#5D5D5D; --line:#DEDEDB;
  --cond:"Barlow Condensed","Arial Narrow",sans-serif;
  --text:"Barlow","Segoe UI",system-ui,sans-serif;
  --gutter:20px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{font-family:var(--text);font-size:18px;line-height:1.6;background:var(--white);color:var(--ink);-webkit-font-smoothing:antialiased;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.wrap{width:min(1240px,100% - 2 * var(--gutter));margin-inline:auto}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:30;background:var(--ink);color:var(--white);padding:10px 16px}
.skip:focus{top:12px}

/* Headlines: condensed capitals, like sign lettering */
h1,h2,h3{font-family:var(--cond);font-weight:700;text-transform:uppercase;line-height:.92;letter-spacing:0}
h2{font-size:clamp(2.6rem,5.4vw,4.4rem)}
h3{font-size:1.45rem;font-weight:600;line-height:1.05;letter-spacing:.01em}
section{padding:112px 0}
.head{display:grid;grid-template-columns:5fr 7fr;gap:24px 56px;align-items:end;margin-bottom:56px}
.head p{color:var(--muted);font-size:1.15rem;max-width:54ch}
@media (max-width:820px){ .head{grid-template-columns:1fr;margin-bottom:36px} section{padding:72px 0} }

/* Header */
.top{position:sticky;top:0;z-index:20;background:var(--white);border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;gap:32px;height:84px}
.logo{display:block;color:var(--red);line-height:0}
.logo svg{display:block;height:56px;width:auto;fill:currentColor}
.menu{display:flex;gap:28px;margin-left:auto;font-weight:500;font-size:1.02rem}
.menu a{text-decoration:none;padding:6px 0;background:linear-gradient(var(--ink),var(--ink)) no-repeat 0 100%/0 2px;transition:background-size .2s}
.menu a:hover{background-size:100% 2px}
.lang{display:flex;font-weight:600;font-size:.88rem;margin-left:8px}
.lang a{padding:6px 7px;text-decoration:none;color:#8A8A8A}
.lang a[aria-current]{color:var(--ink)}
@media (max-width:860px){ .menu{display:none} .lang{margin-left:auto} }
@media (max-width:560px){ .top .wrap{height:68px} .logo svg{height:44px} }

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:10px;padding:15px 24px;font:600 1.02rem var(--text);text-decoration:none;border:2px solid var(--ink);color:var(--ink);transition:background .15s,color .15s,border-color .15s}
.btn svg{width:20px;height:20px;flex:none}
.btn:hover{background:var(--ink);color:var(--white)}
.btn.primary{background:var(--red-ui);border-color:var(--red-ui);color:var(--white)}
.btn.primary:hover{background:var(--ink);border-color:var(--ink)}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}

/* Hero: the motto as big lettering, next to a loose stack of project photos */
.hero{padding:0}
.hero > .wrap:first-child{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center;padding:72px 0 80px}
.hero h1{font-size:clamp(4rem,8.6vw,8.6rem);line-height:.86}
.hero h1 .m{display:block}
.hero .kicker{display:block;margin-bottom:22px;font:600 1.05rem/1.3 var(--text);text-transform:none;letter-spacing:0;color:var(--muted)}
.hero .lead{margin-top:36px;font-size:1.28rem;line-height:1.5;font-weight:500;max-width:44ch}
.hero-main p:not(.lead){margin-top:12px;color:var(--muted);max-width:52ch}
.hero .btn{margin-top:32px}
/* static stack of three: a tall 4:5 photo at the back, two 3:2 photos in front, small tilts.
   Top photo first in the HTML. Each photo keeps (near) its own shape, so nothing is cropped hard. */
.stack{position:relative;aspect-ratio:1/1.1;max-width:560px;width:100%;justify-self:end}
.stack figure{position:absolute;overflow:hidden;background:var(--paper);box-shadow:0 18px 40px rgba(0,0,0,.22),0 2px 6px rgba(0,0,0,.12)}
.stack img{width:100%;height:100%;object-fit:cover}
.stack [data-pos="2"]{z-index:1;right:0;top:0;width:52%;aspect-ratio:4/5;transform:rotate(3deg)}
.stack [data-pos="1"]{z-index:2;left:0;top:34%;width:58%;aspect-ratio:3/2;transform:rotate(-4deg)}
.stack [data-pos="0"]{z-index:3;right:4%;bottom:4%;width:62%;aspect-ratio:3/2;transform:rotate(2deg)}
@media (max-width:900px){
  .hero > .wrap:first-child{grid-template-columns:1fr;gap:40px;padding:48px 0 56px}
  .stack{max-width:440px;justify-self:center}
}

/* Figures: four big condensed numerals under one rule */
.figures{display:grid;grid-template-columns:repeat(4,1fr);border-top:3px solid var(--ink)}
.figures > div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:6px;padding:28px 24px 30px}
.figures > div:first-child{padding-left:0}
.figures dd{font-family:var(--cond);font-weight:700;font-feature-settings:'tnum';font-size:clamp(2.8rem,5.6vw,4.8rem);line-height:.9;font-variant-numeric:tabular-nums}
.figures dt{color:var(--muted);font-size:1rem;line-height:1.35}
.figures dd small{font-size:.42em;font-weight:600;margin-left:.12em;letter-spacing:.01em}
@media (max-width:760px){
  .figures{grid-template-columns:1fr 1fr}
  .figures > div{padding:22px 14px}
  .figures > div:nth-child(odd){padding-left:0}
}

/* Clients: endless logo strip, pauses on hover, fades at both edges */
.clients{padding:56px 0 64px}
.clients h2{font:500 1rem var(--text);text-transform:none;color:var(--muted)}
.marquee{margin-top:26px;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)}
.track{list-style:none;display:flex;align-items:center;width:max-content;animation:logos 40s linear infinite}
.track li{flex:none;padding-right:88px}
.marquee:hover .track,.marquee:focus-within .track{animation-play-state:paused}
.clients img{height:48px;width:auto;max-width:170px;object-fit:contain;filter:grayscale(1);opacity:.7;transition:opacity .2s,filter .2s}
.clients a:hover img{filter:none;opacity:1}
@keyframes logos{to{transform:translateX(-50%)}}
@media (max-width:600px){ .clients img{height:38px} .track li{padding-right:56px} .track{animation-duration:30s} }
@media (prefers-reduced-motion:reduce){
  .track{animation:none;flex-wrap:wrap;width:auto;gap:24px 0}
  .track li[aria-hidden]{display:none}
}

/* Services: groups with an icon and a rule under each heading */
.services{background:var(--paper)}
/* desktop: three columns of near-equal height, balanced by build.py; smaller screens: one flow */
.sgroups{display:grid;grid-template-columns:repeat(3,1fr);column-gap:72px}
.sgroup{break-inside:avoid;margin-bottom:72px}
.scol > .sgroup:last-child{margin-bottom:0}
@media (max-width:1000px){
  .sgroups{display:block;columns:2;column-gap:48px}
  .scol{display:contents}
  .scol > .sgroup:last-child{margin-bottom:56px}
}
@media (max-width:640px){ .sgroups{columns:1} .sgroup,.scol > .sgroup:last-child{margin-bottom:48px} }
.sgroup h3{display:flex;align-items:center;gap:12px;padding-bottom:12px;margin-bottom:4px;border-bottom:2px solid var(--ink)}
.sgroup h3 svg{width:30px;height:30px;flex:none;color:var(--red)}
/* every heading gets room for two lines and sits on its rule, so the rules line up across columns */
@media (min-width:1001px){ .sgroup h3{align-items:flex-end;min-height:calc(2.1em + 14px)} }
.sgroup ul{list-style:none}
.sgroup li{padding:14px 0 0}
.sgroup li b{display:block;font-weight:600;line-height:1.35}
.sgroup li span{display:block;margin-top:2px;color:var(--muted);font-size:.95rem;line-height:1.45}

/* Selected work: uniform 4:3 photos with client and job underneath */
.jobs{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:44px 28px}
.jobs figure{display:block}
.jobs img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--paper)}
.jobs figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:4px 16px;flex-wrap:wrap;margin-top:16px}
.jobs b{font-family:var(--cond);font-weight:700;font-size:1.7rem;text-transform:uppercase;line-height:1}
.jobs span{color:var(--muted);font-size:.97rem}
@media (max-width:900px){ .jobs{grid-template-columns:1fr 1fr;gap:36px 20px} }
@media (max-width:520px){ .jobs{grid-template-columns:1fr} }

/* B2B: a dark band of its own, for the trade. No rules: space and type do the grouping. */
.b2b{background:var(--ink);color:var(--white)}
.b2b .head{align-items:start}
.b2b .head p{color:#B9B9B9;font-size:1.1rem}
.tag{display:inline-block;margin-bottom:18px;padding:5px 10px 4px;background:var(--red-ui);color:var(--white);font:700 .95rem/1 var(--cond);letter-spacing:.08em}
.opts{list-style:none;display:grid;gap:12px;margin-top:26px}
.opts li{display:flex;gap:12px;align-items:flex-start;font-weight:500}
.opts svg{width:22px;height:22px;flex:none;margin-top:3px;color:var(--red);stroke-width:2.4}
/* Process: four numbered steps */
.flow{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:80px;counter-reset:none}
.flow li{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:14px;padding:28px 26px 30px;background:#1F1F1F}
.flow i svg{display:block;width:28px;height:28px;color:var(--red)}
.flow em{justify-self:end;font:700 1.05rem/1 var(--cond);font-style:normal;color:#7A7A7A;letter-spacing:.06em}
.flow b{grid-column:1/-1;margin-top:26px;font-family:var(--cond);font-weight:700;font-size:1.8rem;text-transform:uppercase;line-height:1}
.flow span{grid-column:1/-1;margin-top:10px;color:#B9B9B9;font-size:.97rem}
@media (max-width:1000px){ .flow{grid-template-columns:1fr 1fr;gap:16px} }
@media (max-width:520px){ .flow{grid-template-columns:1fr;margin-top:48px} .flow b{margin-top:18px} .flow li{padding:22px 22px 24px} }
/* How a sign is built: the drawings as white cards; on phones one row to swipe through */
.tech{margin-top:104px}
.tech h3{font-size:clamp(1.9rem,3.4vw,2.6rem);font-weight:700}
.tech > p{margin-top:10px;color:#B9B9B9}
.shots{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:28px}
.shots figure{background:var(--white)}
.tech .note{margin-top:14px;font-size:.92rem;color:#8C8C8C}
@media (max-width:860px){
  .tech{margin-top:72px}
  .shots{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);scroll-padding-inline:var(--gutter);scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .shots::-webkit-scrollbar{display:none}
  .shots figure{flex:0 0 84%;scroll-snap-align:start}
}
/* Portfolio download: closing panel of the band */
.pf{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;align-items:center;margin-top:104px;padding:48px;background:#1F1F1F}
.pf .cover{display:block;box-shadow:0 18px 40px rgba(0,0,0,.45);transition:transform .2s}
.pf .cover:hover{transform:translateY(-3px)}
.pf h3{font-size:clamp(1.9rem,3.4vw,2.6rem);font-weight:700}
.pf p{margin-top:12px;color:#B9B9B9;max-width:50ch}
.pf .btn{margin-top:26px;background:var(--white);border-color:var(--white);color:var(--ink)}
.pf .btn:hover{background:var(--red-ui);border-color:var(--red-ui);color:var(--white)}
@media (max-width:760px){ .pf{grid-template-columns:1fr;gap:28px;margin-top:72px;padding:24px 24px 30px;margin-inline:calc(-1 * var(--gutter))} .pf .cover{max-width:360px} }

/* Contact: two columns on the plain page. Red only for the WhatsApp button and the small icons. */
.panel{display:grid;grid-template-columns:1.2fr 1fr;gap:56px;align-items:center}
.reach p{margin-top:16px;max-width:40ch;color:var(--muted);font-size:1.1rem}
.reach .num{display:inline-block;margin-top:28px;font-family:var(--cond);font-weight:700;font-size:clamp(2.6rem,5.4vw,4.4rem);line-height:.95;text-decoration:none;font-variant-numeric:tabular-nums}
.reach .num:hover{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px;text-decoration-color:var(--red)}
.reach .actions{margin-top:28px}
.info{padding:44px;background:var(--paper);font-style:normal}
.info dl{display:flex;flex-direction:column;gap:28px}
.info dl > div{display:grid;grid-template-columns:24px 1fr;column-gap:16px}
.info svg{width:22px;height:22px;grid-row:span 2;margin-top:3px;color:var(--red)}
.info dt{font-size:.9rem;color:var(--muted)}
.info dd{font-size:1.12rem;font-weight:500}
.info dd a{text-decoration:underline;text-decoration-color:var(--line);text-decoration-thickness:2px;text-underline-offset:3px}
.info dd a:hover{text-decoration-color:var(--red)}
.info dd br + a{font-size:.97rem}
@media (max-width:900px){
  .contact{padding:72px 0}
  .panel{grid-template-columns:1fr;gap:40px}
  .info{padding:28px 24px;margin-inline:calc(-1 * var(--gutter))}
}

/* Footer: logo, social links, copyright */
footer{background:var(--ink);color:#B5B5B5;padding:40px 0}
footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;flex-wrap:wrap}
footer .logo{color:var(--white)}
footer .logo svg{height:46px}
.follow{display:flex;gap:10px}
.follow a{display:grid;place-items:center;width:44px;height:44px;background:#262626;color:var(--white);transition:background .15s}
.follow a:hover{background:var(--red-ui)}
.follow svg{width:18px;height:18px}
.copy{font-size:.93rem}

/* Cookie consent: equal-weight buttons (no nudging), above the phone bar on small screens */
.linkish{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.linkish:hover{color:var(--white)}
.consent{position:fixed;z-index:40;left:20px;bottom:20px;max-width:440px;padding:22px 24px;background:var(--ink);color:var(--white);box-shadow:0 18px 40px rgba(0,0,0,.25);font-size:.98rem;line-height:1.5}
.consent[hidden]{display:none}
.consent div{display:flex;gap:10px;margin-top:16px}
.consent .btn{flex:1;justify-content:center;padding:11px 16px;background:transparent;border-color:var(--white);color:var(--white);cursor:pointer}
.consent .btn:hover{background:var(--white);color:var(--ink)}
@media (max-width:760px){ .consent{left:0;right:0;bottom:calc(60px + env(safe-area-inset-bottom));max-width:none;padding:18px var(--gutter)} }

/* Phones: fixed Call / WhatsApp bar */
.mbar{display:none}
@media (max-width:760px){
  .mbar{display:grid;grid-template-columns:1fr 1fr;position:fixed;inset:auto 0 0 0;z-index:25;background:var(--white);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
  .mbar a{display:flex;align-items:center;justify-content:center;gap:8px;padding:16px;font-weight:600;text-decoration:none}
  .mbar a.wa{background:var(--red-ui);color:var(--white)}
  .mbar svg{width:20px;height:20px}
  body{padding-bottom:60px}
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

/* 404 page */
.nf{padding:96px 0 120px}
.nf h1{font-size:clamp(6rem,16vw,12rem)}
.nf p{margin-top:16px;color:var(--muted);font-size:1.15rem}
.nf ul{list-style:none;display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:32px;font-weight:600}
