/* CUTT · the site (cutt.space)
   Direction A, "Statement": dark ground, one grotesk, one statement per screen.
   Built from the approved desktop prototype (landing-page-v4/statement, 2026-11-11). The desktop rules below are
   that prototype's, unchanged. After them: the form's states, the rail's free mode, tablet and phone layouts,
   reduced motion.
   One family, two voices: Inter Tight heavy and large for statements, Inter Tight Light for every small note.
   One orange, --accent, on calls to action only. */
:root{
  --ground:#0B0B0C; --raised:#17171B; --seam:#2A2A2F; --chalk:#EDEDEA; --soft:#C9C9C5; --muted:#8D8D8A;
  --accent:#FF4D00;
  --g:32px; --top:118px;
  --sans:'Inter Tight',sans-serif;
  --ease:cubic-bezier(.16,1,.3,1);
}
*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%;background:var(--ground);overflow:hidden}
body{font-family:var(--sans);color:var(--chalk);font-size:17px;line-height:1.45;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%}
a{color:inherit;text-decoration:none}
/* the cursor: a heavy chalk dart; over anything that can be pressed it becomes the site's own arrow; a heavy bar in fields */
html{--cur:url(../assets/cursor.svg) 4 4,auto;--cur-go:url(../assets/cursor-go.svg) 26 6,pointer;--cur-text:url(../assets/cursor-text.svg) 16 16,text;cursor:var(--cur)}
a,button,label[for],summary{cursor:var(--cur-go)}
input,textarea{cursor:var(--cur-text)}
::selection{background:var(--chalk);color:var(--ground)}
hr{border:0;height:1px;background:var(--seam);display:block}

/* the two voices: the same family, heavy and large or light and small */
.xl{font-weight:600;letter-spacing:-.045em;line-height:.9}
.n{font-weight:300;font-size:20px;line-height:1.3;letter-spacing:-.01em;color:var(--muted)}

/* ---------- the rail: one screen, one page ---------- */
.rail{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:none;scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}
.rail.held{overflow-y:hidden}
.rail.turning{scroll-snap-type:none}
.slide{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;padding:var(--top) var(--g) var(--g);display:flex;flex-direction:column;justify-content:flex-end}
.slide>.n:first-child,.slide>.row:first-child{margin-bottom:auto}
.pages{position:fixed;right:7px;top:50%;transform:translateY(-50%);z-index:6;display:flex;flex-direction:column;align-items:flex-end}
.pages button{width:20px;height:13px;background:none;border:0;cursor:var(--cur-go);position:relative}
.pages button::before{content:"";position:absolute;right:0;top:6px;height:1.5px;width:7px;background:#55555B;transition:width .5s var(--ease),background-color .3s}
.pages button.on::before{width:18px;background:var(--chalk)}
.pages button:hover::before{background:var(--chalk)}

/* the powder canvas, and how elements wait for it */
.powder{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:50}
html.js:not(.ready) header,html.js:not(.ready) main{visibility:hidden}
html.js .pw{opacity:0}
html.js .pw.pv{opacity:1}
html.js [data-rv="wipe"]{transform:scaleX(0);transform-origin:left center;transition:transform 1.15s var(--ease)}
html.js [data-rv="wipe"].on{transform:scaleX(1)}
html.js [data-rv="rise"]{opacity:0;transform:translateY(22px);transition:opacity .8s var(--ease),transform 1s var(--ease);transition-delay:calc(var(--i,0)*70ms)}
html.js [data-rv="rise"].on{opacity:1;transform:none}
/* the clip sits on the picture, not the frame: a fully clipped element never counts as "in view" */
html.js [data-rv="clip"] img{clip-path:inset(100% 0 0 0);transform:scale(1.12);transition:clip-path 1.25s var(--ease),transform 1.7s var(--ease)}
html.js [data-rv="clip"].on img{clip-path:inset(0);transform:none}
html.js [data-rv="clip"] iframe{clip-path:inset(100% 0 0 0);transition:clip-path 1.25s var(--ease),opacity .7s linear}
html.js [data-rv="clip"].on iframe{clip-path:inset(0)}
main.leaving .pw{opacity:0!important;transition:none!important}
main.leaving [data-rv]{opacity:0!important;transition:opacity .28s linear!important}

/* ---------- header (stays on every page and through page changes) ---------- */
header{position:fixed;top:0;left:0;right:0;z-index:5;padding:var(--g);display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}
header a{pointer-events:auto}
.mark{display:block;width:92px;height:33px;color:var(--chalk)}
.nav{display:flex;gap:40px;align-items:center;font-size:17px;font-weight:500;letter-spacing:-.01em}
.nav a{position:relative;padding:6px 0}
.nav a:not(.btn)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--chalk);transform:scaleX(0);transform-origin:right;transition:transform .5s var(--ease)}
.nav a:not(.btn):hover::after,.nav a[aria-current]::after{transform:scaleX(1);transform-origin:left}
/* the language toggle (2026-11-24): the nav's type, smaller and quieter. The language on screen in chalk, the other a link */
.lang{display:flex;align-items:baseline;gap:.32em;font-size:15px;letter-spacing:.01em;color:var(--muted)}
.lang .on{color:var(--chalk);padding:6px 0}
.lang i{font-style:normal;font-weight:300;color:#55555B}
.nav .lang a:hover{color:var(--chalk);transition:color .3s}   /* hover only: Safari ran a resting transition from link blue on load, and the powder drew it */
/* the compact switch (2026-12-03): with four languages the codes no longer fit beside the logo on phones and narrow
   tablets, so there the current code opens a menu of the languages by name. The menu is plain HTML (data-np): it
   never arrives as powder, it is simply there when opened. */
.lsel{display:none;position:relative;pointer-events:auto}
.lsel summary{display:block;list-style:none;cursor:pointer;padding:6px 0;font-size:15px;letter-spacing:.01em;color:var(--chalk);-webkit-user-select:none;user-select:none}
.lsel summary::-webkit-details-marker{display:none}
/* the code is plain HTML too (the powder bursts a solid element on every tap): it fades in as the header arrives */
html.js .lsel summary{opacity:0;transition:opacity .9s .35s}
html.js.ready .lsel summary{opacity:1}
.lsel summary::marker{content:""}
.lmenu{position:absolute;top:calc(100% + 12px);left:-17px;display:flex;flex-direction:column;min-width:156px;padding:6px 0;background:var(--raised);border:1px solid var(--seam)}
.lmenu a,.lmenu .on{display:block;padding:11px 16px;font-size:16px;font-weight:500;letter-spacing:-.01em;color:var(--muted);white-space:nowrap}
.lmenu .on{color:var(--chalk)}
.lmenu a:hover{color:var(--chalk)}
/* Spanish runs longer: the "What we fix" tags get the room the body text leaves, so they keep to one row */
:lang(es) .item .tags,:lang(pl) .item .tags,:lang(fr) .item .tags{max-width:640px}
/* and its statements break into even lines, not a long one and a lone word (English keeps the prototype's breaks) */
:lang(es) .lead .xl,:lang(es) .item .xl,:lang(pl) .lead .xl,:lang(pl) .item .xl,:lang(fr) .lead .xl,:lang(fr) .item .xl{text-wrap:balance}

/* ---------- the one orange ---------- */
.btn{display:inline-flex;align-items:center;align-self:flex-start;gap:.5em;background:var(--accent);color:#0B0B0C;font:500 22px/1 var(--sans);letter-spacing:-.02em;padding:18px 24px;border:0;border-radius:4px;cursor:var(--cur-go);white-space:nowrap;will-change:transform}
/* the arrow: an inline drawing on the box the character used to take (1 em wide, sitting on the baseline) */
.arr{display:inline-block;width:.98em;height:1em;vertical-align:-.136em;transition:transform .45s var(--ease)}
.arr svg{display:block;width:1em;height:1em;overflow:visible}
/* in a headline the line is shorter than the type: the box gives up the difference, half above and half below,
   and is set from its lower margin edge, so the line stays as tall as it was and the arrow stays on the baseline */
.xl .arr{width:.955em;margin:-.05em 0;vertical-align:-.086em}
.btn:hover .arr{transform:translate(5px,-5px)}
.go:hover .arr{transform:translate(3px,-3px)}
.btn.sm{font-size:17px;padding:12px 16px}
.go{color:var(--accent);font-weight:500;font-size:22px;letter-spacing:-.015em;border-bottom:1.5px solid var(--accent);padding-bottom:3px;display:inline-block;white-space:nowrap}
:focus-visible{outline:2px solid var(--chalk);outline-offset:4px;border-radius:2px}

/* ---------- home 1: hero ---------- */
.slide.hero{padding:var(--g);justify-content:space-between}
.lede{margin-left:120px;max-width:400px;font-size:19px;line-height:1.3;letter-spacing:-.01em}
.chores{font-size:min(44px,5.4vh);font-weight:500;letter-spacing:-.03em;line-height:1.08;color:var(--muted);align-self:flex-end;text-align:right;margin-bottom:-40px;display:flex;flex-direction:column;align-items:flex-end}
.chore{position:relative;display:block}
/* the strike is a transparent copy of the line whose background is the bar: when the line wraps, every line gets its own
   bar at its own width (one bar across the box fell between the lines on a phone) */
.chore .strike{position:absolute;inset:0;font-style:normal;color:transparent;pointer-events:none;-webkit-user-select:none;user-select:none}
.chore .strike span{background:linear-gradient(var(--chalk),var(--chalk)) no-repeat 0 54%/100% 3px;padding:0 6px;margin:0 -6px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.hero h1{font-size:min(10.6vw,19.5vh);margin-left:-.04em}
.foot{display:flex;justify-content:space-between;align-items:flex-end;margin-top:24px}
/* the outcome line (CUTT-156) is longer than the line it replaced: two balanced lines keep it clear of the button and the date */
.foot .n{max-width:23em;text-wrap:balance}

/* ---------- home 2: the offer ---------- */
.slide.offer{display:grid;grid-template-columns:7fr 5fr;column-gap:64px;align-items:end;align-content:end}
/* a step smaller than the What we fix headline since CUTT-156: the audit headline sets in five lines, which at 8.2vw
   would not leave room for the sub at 1280x800 (CUTT-163) */
.offer h2{font-size:min(7.2vw,12.4vh)}
.offer h2 em{font-style:normal;color:var(--muted)}
.offer .sub{font-size:24px;line-height:1.25;letter-spacing:-.02em;max-width:560px;margin-top:36px}
/* the form is one sheet: square cells that share their borders, flat fills, the button as its last row */
form{--cell:#16161A;--line:#3B3B42}
.sheet{display:grid;grid-template-columns:1fr 1fr}
.f{position:relative;display:flex;flex-direction:column;gap:6px;background:var(--cell);border:1px solid var(--line);margin:0 0 -1px;padding:15px 20px 17px;cursor:var(--cur-text)}
.f:not(.wide):nth-of-type(2){margin-right:-1px}
.f.wide{grid-column:1/-1}
.f .l{font-weight:300;font-size:16px;line-height:1.2;letter-spacing:-.005em;color:var(--soft)}
.f .l span{color:var(--muted)}
.f input,.f textarea{display:block;width:100%;background:none;border:0;border-radius:0;color:var(--chalk);caret-color:var(--accent);font:500 22px/1.25 var(--sans);letter-spacing:-.015em;padding:0;resize:none;outline:0}
.f ::placeholder{color:#6F6F76;opacity:1}
.f.site{padding-top:18px;padding-bottom:20px}
.f.site input{font-size:36px;font-weight:600;letter-spacing:-.035em;line-height:1.15}
.f:hover{background:#1B1B20}
.f:focus-within{background:#222228;border-color:var(--chalk);z-index:1}
.f:focus-within .l{color:var(--chalk)}
.f input:-webkit-autofill{-webkit-text-fill-color:var(--chalk);box-shadow:0 0 0 60px #222228 inset}
.sheet .btn{grid-column:1/-1;align-self:stretch;justify-content:space-between;border-radius:0;font-size:24px;padding:25px 20px}
form>.n{font-size:17px;margin-top:16px}

/* ---------- home 3-7: what we fix, one statement per page ---------- */
.lead .xl{font-size:min(8.2vw,14.2vh);margin-left:-.04em;max-width:15em}
.under{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-top:40px}
.under p.body{font-size:22px;line-height:1.3;letter-spacing:-.015em;color:var(--soft);max-width:600px}
/* the quiet footnote under the intro (CUTT-159): one sourced figure, small and muted; its Source link is a plain text link */
.fn{max-width:600px;margin-top:18px;font-weight:300;font-size:14px;line-height:1.4;letter-spacing:-.005em;color:var(--muted)}
.fn .src{color:inherit;border-bottom:1px solid currentColor;white-space:nowrap}
.fn .src:hover{color:var(--chalk)}
/* the count sits behind the page: huge, heavy, barely there, and the cursor hardly stirs it */
.num{position:absolute;top:92px;right:var(--g);font-weight:600;font-size:min(41vh,27vw);line-height:.8;letter-spacing:-.06em;color:rgba(237,237,234,.075);pointer-events:none;user-select:none}
.item .xl{position:relative;font-size:min(8.6vw,14.8vh);margin-left:-.04em;max-width:13em}
/* the small label above each statement (CUTT-158), in the eyebrow's voice */
.item .lbl{position:relative;display:block;margin-bottom:18px}
.item>hr{margin:44px 0 28px}
.item .under{margin-top:0;align-items:flex-start}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.item .tags{justify-content:flex-end;max-width:520px}
.tags span{background:var(--raised);border:1px solid var(--seam);border-radius:999px;padding:8px 14px;font-size:14px;line-height:1.3;color:#B9B9B5}

/* ---------- onward, and the last line ---------- */
.row{display:flex;justify-content:space-between;align-items:baseline}
.biglink{display:inline-block;align-self:flex-start;font-size:min(13.4vw,24vh);margin:0 0 0 -.04em}
:lang(pl) .biglink,:lang(fr) .biglink{font-size:min(11.8vw,24vh)}   /* "Zobacz projekty" is longer than "See the work": the arrow stays on its line */
.biglink:hover .arr{transform:translate(.06em,-.06em)}
.end{display:flex;justify-content:space-between;margin-top:56px}
.end span{font-size:18px}

/* ---------- work ---------- */
.whero h1{font-size:min(10.6vw,19.5vh);margin-left:-.04em}
.whero .foot p.sub{font-size:24px;line-height:1.25;letter-spacing:-.02em;max-width:620px}
.slide.proj{display:grid;grid-template-columns:4fr 8fr;column-gap:56px;align-items:end;align-content:end}
.proj h2{font-size:min(5.5vw,10.5vh);margin:14px 0 0 -.04em}
.proj p.body{font-size:20px;line-height:1.32;letter-spacing:-.015em;color:var(--soft);margin:22px 0 22px;max-width:420px}
.shot{--sw:1440;--sh:900;display:block;overflow:hidden;border-radius:4px;aspect-ratio:16/10;width:min(100%,calc((100vh - var(--top) - var(--g))*1.6));justify-self:end}
.shot img{display:block;width:100%;height:100%;object-fit:cover}
/* the live showcase plays over its still: laid out at 1440x900 like the still, scaled to the frame by site.js */
.shot{position:relative}
.shot iframe{position:absolute;left:0;top:0;width:1440px;height:900px;max-width:none;border:0;transform-origin:0 0;pointer-events:none;opacity:0;transition:opacity .7s linear}
.shot iframe.on{opacity:1}
.close h2{font-size:min(8.2vw,14.2vh);margin:0 0 44px -.04em}

/* links out to the live products, in the nav's own voice */
.links{display:flex;flex-wrap:wrap;gap:6px 28px;margin-top:20px}
.out{position:relative;display:inline-block;font-size:17px;font-weight:500;letter-spacing:-.01em;padding:6px 0;white-space:nowrap}
.out:hover .arr{transform:translate(3px,-3px)}
.out::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--chalk);transform:scaleX(0);transform-origin:right;transition:transform .5s var(--ease)}
.out:hover::after{transform:scaleX(1);transform-origin:left}
.shot picture{display:contents}
main:focus{outline:0}
/* iOS Safari colours its top bar from whatever is fixed at the top edge, and took the header's orange button.
   This strip of ground is fixed there first. It sits outside the header and the rail, so the powder never reads it. */
.lid{position:fixed;top:0;left:0;right:0;height:6px;background:var(--ground);z-index:60;pointer-events:none}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ---------- the form's states ---------- */
form{position:relative}
.alt{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.says{position:relative;margin-top:16px}
.says .n{font-size:17px;transition:opacity .3s linear}
.msg{position:absolute;left:0;right:0;top:0;font-size:17px;line-height:1.3;letter-spacing:-.01em;color:var(--chalk)}
.msg:empty{display:none}
.msg a{border-bottom:1px solid currentColor}
form.said .says .n{visibility:hidden}
.f.bad{border-color:var(--chalk);z-index:1}
.f.bad .l{color:var(--chalk)}
form.sending .f{opacity:.6}
form.sending .sheet{pointer-events:none}
/* The sheet fades out through a registered property, painted frame by frame: as a compositor opacity fade (with the
   fields' own fade back from "sending" nested inside it) iOS Safari left some fields on screen under the answer.
   Once faded, the sheet leaves the page altogether. */
@property --fo{syntax:'<number>';inherits:false;initial-value:1}
.sheet,.says{opacity:var(--fo);transition:--fo .5s linear,visibility 0s linear .5s}
form.sent .sheet,form.sent .says{--fo:0;visibility:hidden;pointer-events:none}
form.sent .f{transition:none}
form.gone .sheet,form.gone .says{display:none}
.done{display:none;position:absolute;left:0;right:0;bottom:0}
form.sent .done{display:block}
.done .xl{font-size:min(5.5vw,10.5vh);margin-left:-.04em}
.done .sub{font-size:24px;line-height:1.25;letter-spacing:-.02em;max-width:520px;margin-top:22px;overflow-wrap:anywhere}
.done:focus{outline:0}

/* ---------- the rail's free mode ----------
   When a page cannot hold its content in one screen (a short window, a phone on its side, text zoomed large),
   js/rail.js lets go: pages grow to their content and the rail scrolls freely. Nothing is ever clipped. */
.rail.free{scroll-snap-type:none}
.rail.free .slide,.rail.free .offer>.page{height:auto;min-height:100%;overflow:visible}
.rail.free~.pages{display:none}
/* the header floats over a free rail, so it gets the ground behind it (a pseudo-element: the powder reads the
   header's own children, and a painted header would count as one thing) */
html.free header::before{content:"";position:absolute;inset:0;background:var(--ground);z-index:-1}
html.free .rail{scroll-padding-top:var(--top)}
/* between the prototype's 1180 px floor and the tablet layout the hero's opening line has less room beside the nav */
@media (max-width:1239px){.lede{max-width:330px}}
/* the Spanish and Polish navs are wider: on tablets and up to 1240 px they draw their items closer, clear of the logo and the opening line */
@media (min-width:761px) and (max-width:1239px){:lang(es) .nav,:lang(pl) .nav,:lang(fr) .nav{gap:28px}}
/* below 1240 px the compact language switch too: there the four codes meet the logo (tablets) or the hero's opening line */
@media (min-width:761px) and (max-width:1239px){.lang{display:none}.lsel{display:block}}
/* landscape tablets keep the desktop layout, and the French opening line is the longest: "Ce que nous réglons" leaves the
   nav there (as on a phone; the page itself is one turn away) */
@media (min-width:761px) and (max-width:1099px) and (orientation:landscape){:lang(fr) .nav .opt{display:none}}

/* ---------- tablet, upright ---------- */
@media (min-width:761px) and (max-width:1099px) and (orientation:portrait){
  :root{--top:104px}
  .slide.hero{padding-top:var(--top)}
  .lede{margin-left:0;max-width:21em;font-size:21px}
  .xl{text-wrap:balance}
  .hero h1,.whero h1{font-size:min(13.2vw,19.5vh)}
  .hero h1 br{display:none}
  .foot .n{max-width:15em}
  .slide.offer{grid-template-columns:1fr;row-gap:32px}
  .offer h2{font-size:min(10vw,7vh)}
  .offer .sub{margin-top:20px}
  .lead .xl,.item .xl{font-size:min(10.6vw,9vh)}
  .num{font-size:min(34vh,44vw)}
  .item .under{flex-direction:column;gap:22px}
  .item .tags{justify-content:flex-start;max-width:none}
  .biglink{font-size:min(16vw,24vh)}
  .slide.proj{display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:36px}
  .shot{order:-1;width:100%}
  .proj h2{font-size:min(9vw,8vh)}
  .proj p.body{max-width:620px}
  .close h2{font-size:min(11.4vw,9vh)}
}

/* ---------- phone (and any small window) ---------- */
@media (max-width:760px),(max-height:500px) and (max-width:960px){
  :root{--g:20px;--top:78px}
  body{font-size:16px}
  .xl{text-wrap:balance}
  .n{font-size:15px}
  header{padding:18px var(--g)}
  .mark{width:70px;height:25px}
  .nav{gap:18px;font-size:15px}
  .nav .opt{display:none}
  /* on a phone the toggle is the compact switch (four languages since 2026-12-03) */
  .lang{display:none}
  .lsel{display:block}
  .btn{font-size:19px;padding:17px 18px}
  .btn.sm{font-size:14px;padding:10px 12px}
  .pages{right:3px}
  .pages button{width:14px;height:11px}
  .pages button::before{top:5px;width:5px}
  .pages button.on::before{width:11px}

  .slide.hero{padding:var(--top) var(--g) var(--g)}
  .lede{margin-left:0;max-width:19.5em;font-size:16px}
  .chores{font-size:min(6.1vw,3.6vh);font-size:min(6.1vw,3.6svh);margin-bottom:0}
  .chore .strike span{background-size:100% 2px;padding:0 4px;margin:0 -4px}
  .hero h1{font-size:min(14.4vw,8.8vh);font-size:min(14.4vw,8.8svh)}
  .hero h1 br{display:none}
  .foot{flex-wrap:wrap;gap:12px 16px;margin-top:22px}
  .foot .btn{flex:1 1 100%;justify-content:space-between}
  .foot .n{font-size:14px;max-width:60%}

  /* the offer is two pages here: the statement, then the form on its own, at the top, clear of the keyboard */
  .slide.offer{display:contents}
  .offer>.page{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;padding:var(--top) var(--g) var(--g);display:flex;flex-direction:column;justify-content:flex-end}
  .offer>form.page{justify-content:flex-start}
  .offer h2{font-size:min(13.6vw,8.8vh);font-size:min(13.6vw,8.8svh)}
  .offer .sub{font-size:18px;margin-top:24px}
  .sheet{grid-template-columns:1fr}
  .f{padding:11px 16px 13px;gap:4px}
  .f:not(.wide):nth-of-type(2){margin-right:0}
  .f .l{font-size:14px}
  .f input,.f textarea{font-size:19px}
  .f.site{padding-top:13px;padding-bottom:15px}
  .f.site input{font-size:27px}
  .sheet .btn{font-size:19px;padding:20px 16px}
  .says{margin-top:14px}
  .says .n,.msg{font-size:15px}
  .done{left:var(--g);right:var(--g);top:calc(var(--top) + 14px);bottom:auto}
  .done .xl{font-size:min(13.6vw,8.8vh);font-size:min(13.6vw,8.8svh)}
  .done .sub{font-size:18px}

  .lead .xl{font-size:min(11.4vw,6.6vh);font-size:min(11.4vw,6.6svh);max-width:none}
  .under{flex-direction:column;align-items:flex-start;gap:20px;margin-top:24px}
  .under p.body{font-size:17px;max-width:none}
  .go{font-size:18px}
  .num{top:calc(var(--top) + 6px);font-size:min(50vw,29vh);font-size:min(50vw,29svh)}
  .item .xl{font-size:min(11.4vw,6.3vh);font-size:min(11.4vw,6.3svh);max-width:none}
  .item>hr{margin:22px 0 16px}
  .item .lbl{margin-bottom:10px}
  .fn{font-size:13px;margin-top:12px}
  .item .under{gap:16px}
  .item .tags{justify-content:flex-start;max-width:none}
  .tags{gap:6px}
  .tags span{font-size:13px;padding:6px 11px}
  .row{flex-direction:column;gap:2px}
  .biglink{font-size:min(23vw,13vh);font-size:min(23vw,13svh)}
  :lang(es) .biglink,:lang(pl) .biglink,:lang(fr) .biglink{font-size:min(20vw,13vh);font-size:min(20vw,13svh)}   /* "proyectos" is one long word: it keeps clear of the gutter */
  .end{margin-top:28px}
  .end span{font-size:14px}

  .whero h1{font-size:min(12.6vw,8.8vh);font-size:min(12.6vw,8.8svh)}
  .whero .foot{flex-direction:column;align-items:flex-start}
  .whero .foot p.sub{font-size:18px;max-width:none}
  .whero .foot .n{max-width:none}
  /* a project is its frame, then its facts; the frame is upright and takes the height the facts leave */
  .slide.proj{display:flex;flex-direction:column;justify-content:flex-start;gap:16px}
  .shot{--sw:390;--sh:440;order:-1;flex:1 1 0;min-height:150px;width:auto;aspect-ratio:39/44;max-height:calc((100vw - 2*var(--g))*44/39);align-self:flex-start}
  .rail.free .shot{flex:none;width:min(100%,360px);max-height:none}
  .proj h2{font-size:min(10.4vw,5.8vh);font-size:min(10.4vw,5.8svh);margin-top:6px}
  .proj p.body{font-size:16px;margin:10px 0 12px;max-width:none}
  .links{margin-top:10px;gap:2px 22px}
  .out{font-size:15px}
  .close h2{font-size:min(12.6vw,8.2vh);font-size:min(12.6vw,8.2svh);margin-bottom:28px}
  .close .btn{align-self:stretch;justify-content:space-between}
}
/* since the toggle holds two links on a phone (EN / ES / PL, 2026-11-26) the English button is full from 410 px, not 380 */
@media (max-width:409px){
  .btn.sm .x{display:none}
}
/* the Spanish and Polish header buttons are longer: on a phone they say "Enséñanos" and "Pokaż nam", as the English one says "Show us" below 410 px */
@media (max-width:449px){
  :lang(es) .btn.sm .x,:lang(pl) .btn.sm .x,:lang(fr) .btn.sm .x{display:none}
}
/* and between 410 and 420 px the English header is full: a little less air between its items keeps the logo clear */
@media (max-width:419px){
  .nav{gap:14px}
}
/* small phones (360 px Android, 320 px): closer items, so "Proyectos" and "Enséñanos" keep clear of the logo */
@media (max-width:379px){
  .nav{gap:10px}
  .lang{gap:.5em}
  .btn.sm{padding:10px 10px}
}
@media (max-width:339px){
  .mark{width:58px;height:21px}
  .nav{gap:8px;font-size:14px}
  .btn.sm{font-size:13px;padding:9px 8px}
}

/* ---------- reduced motion: the plain page (js/site.js leaves the powder off), turns without travel ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important;transition-delay:0s!important;animation-duration:.01ms!important}
}

/* ---------- the small pictures on the "What we fix" pages (js/viz.js; prototype 2026-11-18, desktop only) ---------- */
.viz{position:absolute;top:var(--top);left:var(--g);transform-origin:left top;width:600px;font-size:14px;line-height:1.35;font-weight:300;letter-spacing:-.005em;color:var(--soft);pointer-events:none;user-select:none}
.viz.live{opacity:0;transition:opacity .7s var(--ease)}
.viz.live.play{opacity:1}
.viz.live.out{opacity:0;transition-duration:.6s}
.viz.cramped{visibility:hidden}
.viz.live{display:grid}
.viz .scene{grid-area:1/1}
.viz.live .scene:not(.cur){visibility:hidden}
.viz:not(.live) .scene+.scene{display:none}
.viz .cap{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);margin-bottom:16px}
.viz .cap::before{content:"";width:18px;height:1px;background:var(--muted)}
.viz.live [data-tl]:not(.in){opacity:0}
.viz [data-tl].in{animation:vzIn .7s var(--ease) both}
@keyframes vzIn{from{opacity:0;translate:0 10px}to{opacity:1;translate:none}}
@keyframes vzGrow{from{scale:0 1}to{scale:1 1}}
@keyframes vzDot{0%,60%,100%{opacity:.25}30%{opacity:1}}
@keyframes vzRun{from{translate:0 0;opacity:0}15%{opacity:1}85%{opacity:1}to{translate:52px 0;opacity:0}}
@keyframes vzBlink{50%{opacity:0}}
.viz .tick{flex:none;display:inline-block;position:relative;width:15px;height:15px;border:1px solid var(--soft);vertical-align:-3px}
.viz .tick::after{content:"";position:absolute;left:4.5px;top:1.5px;width:3.5px;height:7px;border:solid var(--chalk);border-width:0 1.5px 1.5px 0;rotate:45deg}

/* 1 · the assistant answers at night */
.chat .bub{display:flex;align-items:baseline;gap:16px;margin-bottom:10px}
.chat .t{width:38px;flex:none;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.chat .bub p{background:var(--raised);border:1px solid var(--seam);padding:9px 14px 10px;color:var(--chalk);font-size:15px;max-width:380px}
.chat .me p{background:none;border-color:#3A3A40;color:var(--soft)}
.chat .me p::before{content:"Assistant";display:block;font-size:11.5px;color:var(--muted);margin-bottom:3px}
.chat .dots{display:inline-flex;gap:5px;padding:5px 0 3px}
.chat .dots i{width:5px;height:5px;background:var(--soft);animation:vzDot 1.1s infinite}
.chat .dots i:nth-child(2){animation-delay:.18s}.chat .dots i:nth-child(3){animation-delay:.36s}
.viz.live.chat .dots:not(.in),.viz.live.chat .txt:not(.in){display:none}
.viz:not(.live).chat .dots{display:none}
.chat .log{display:flex;align-items:center;gap:12px;margin:16px 0 0 54px;font-size:13px;color:var(--soft)}
.chat .sep{width:18px;height:1px;background:var(--seam)}

/* 2 · the proposal writes itself */
.prop .stage{display:flex;align-items:flex-start;gap:56px}
.prop .srcs{display:flex;flex-direction:column;gap:12px;padding-top:24px}
.prop .src{position:relative;width:170px;border:1px solid var(--seam);padding:9px 12px 10px;color:var(--chalk);font-size:14px;transition:border-color .4s,background-color .4s}
.prop .src span{display:block;font-size:12px;color:var(--muted)}
.prop .src::after{content:"";position:absolute;left:100%;top:50%;width:56px;height:1px;background:var(--seam)}
.prop .src i{position:absolute;left:100%;top:calc(50% - 2px);width:5px;height:5px;background:var(--chalk);opacity:0}
.prop .src.hot{border-color:var(--soft);background:var(--raised)}
.prop .src.hot i{animation:vzRun .65s linear infinite}
.prop .doc{width:330px;background:var(--raised);border:1px solid var(--seam);padding:16px 18px 18px}
.prop .doc .h{color:var(--chalk);font-size:15px;font-weight:400;margin-bottom:14px}
.prop .ln{display:block;height:6px;width:var(--w);background:#2E2E34;margin-bottom:9px;transform-origin:left center}
.prop .ln.in{animation:vzGrow 1s var(--ease) both}
.prop .sum{display:flex;justify-content:space-between;border-top:1px solid var(--seam);margin-top:16px;padding-top:10px;color:var(--chalk);font-variant-numeric:tabular-nums}
.prop .ok{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:13px}

/* 3 · the company brain answers, with its sources */
.brain .ask{display:flex;align-items:center;width:520px;border:1px solid var(--seam);background:var(--raised);padding:13px 16px;color:var(--chalk);font-size:17px;min-height:50px}
.brain .ask::before{content:"Ask";font-size:12px;color:var(--muted);margin-right:16px}
:lang(es) .chat .me p::before{content:"Asistente"}
:lang(es) .brain .ask::before{content:"Pregunta"}
:lang(pl) .chat .me p::before{content:"Asystent"}
:lang(pl) .brain .ask::before{content:"Zapytaj"}
:lang(fr) .brain .ask::before{content:"Question"}
.brain .caret{width:1.5px;height:20px;background:var(--chalk);margin-left:2px;animation:vzBlink 1s steps(1) infinite}
.brain .ans{margin:18px 0 0 49px;max-width:470px;padding-left:18px;border-left:1px solid var(--seam)}
.brain .ans p{color:var(--chalk);font-size:16px;line-height:1.4}
.brain .cite{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.brain .cite span{border:1px solid var(--seam);padding:5px 10px;font-size:12px;color:#B9B9B5}

.brain .feeds{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px}
.brain .feeds span{border:1px solid var(--seam);padding:3px 9px;font-size:12px;color:#B9B9B5}
.brain .feeds .k{border:0;padding:0 6px 0 0;color:var(--muted)}
.brain .bars{display:grid;grid-template-columns:76px 300px 28px;align-items:center;gap:6px 12px;font-size:12.5px}
.brain .bars span{color:var(--soft)}
.brain .bars b{font-weight:400;color:var(--chalk);text-align:right;font-variant-numeric:tabular-nums}
.brain .bars i{display:block;height:7px;width:var(--w);background:var(--soft);transform-origin:left center}
.brain .bars i.in{animation:vzGrow 1.1s var(--ease) both}
.brain .bars+p{margin-top:10px;font-size:14px}
.brain .scene+.scene .ask{min-height:44px;padding:10px 16px;font-size:16px}
.brain .scene+.scene .ans{margin-top:12px}

/* 4 · the team desk: a request crosses the board */
.desk .stage{position:relative;display:grid;grid-template-columns:repeat(3,180px);column-gap:18px}
.desk .h{font-size:12px;color:var(--muted);padding-bottom:9px;margin-bottom:10px;border-bottom:1px solid var(--seam)}
.desk .card{height:56px;border:1px solid var(--seam);background:var(--raised);padding:9px 11px;color:var(--chalk);font-size:13.5px;line-height:1.3;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.desk .card span{font-size:12px;color:var(--muted)}
.desk .mover{position:absolute;left:0;top:102px;width:180px;background:var(--ground);border-color:var(--soft);transition:transform 1.2s var(--ease),border-color .5s}
.desk .mover.s1{transform:translateX(calc(100% + var(--cg,18px)))}
.desk .mover.s2{transform:translateX(calc(200% + 2 * var(--cg,18px)))}
.desk .mover .ap{display:none;align-items:center;gap:8px;color:var(--soft)}
.desk .mover .ap .tick{width:13px;height:13px}.desk .mover .ap .tick::after{left:3.5px;top:1px;height:6px}
.desk .mover.ok .who{display:none}
.desk .mover.ok .ap{display:flex;animation:vzIn .6s var(--ease) both}

/* phones and tablets (2026-11-19): the same pictures, fluid, across the screen above the headline.
   viz.js still shrinks a picture a little, or leaves it out, when the room above the headline is short. */
@media (max-width:1099px){
  .viz{top:calc(var(--top) + 6px);right:var(--g);width:auto;max-width:600px;font-size:13px}
  .viz .cap{font-size:12px;margin-bottom:12px}
  .chat .bub{gap:10px;margin-bottom:8px}
  .chat .t{width:34px;font-size:11px}
  .chat .bub p{font-size:14px;padding:8px 12px 9px;max-width:none}
  .chat .log{display:grid;grid-template-columns:15px 1fr;align-items:center;gap:3px 10px;margin:12px 0 0 44px;font-size:12px}
  .chat .log .sep{display:none}
  .chat .log span:not(.tick){grid-column:2}
  .prop .stage{gap:22px}
  .prop .srcs{gap:8px;padding-top:12px}
  .prop .src{width:104px;font-size:12.5px;padding:7px 9px 8px}
  .prop .src span{font-size:11px}
  .prop .src::after{width:22px}
  .prop .src.hot i{animation-name:vzRunS}
  .prop .doc{flex:1;min-width:0;width:auto;padding:12px 13px 13px}
  .prop .doc .h{font-size:13.5px;margin-bottom:11px}
  .prop .ln{height:5px;margin-bottom:7px}
  .prop .sum{margin-top:11px;padding-top:8px}
  .prop .ok{margin-top:10px;font-size:12px;gap:8px}
  .brain .ask{width:auto;font-size:14.5px;padding:10px 12px;min-height:44px}
  .brain .ask::before{margin-right:10px}
  .brain .caret{height:17px}
  .brain .ans{margin:12px 0 0 12px;max-width:none;padding-left:12px}
  .brain .ans p{font-size:14px}
  .brain .cite{gap:6px;margin-top:9px}
  .brain .cite span{font-size:11px;padding:4px 8px}
  .brain .feeds{gap:5px;margin-bottom:8px}
  .brain .feeds span{font-size:11px;padding:2px 7px}
  .brain .bars{grid-template-columns:64px 1fr 22px;gap:5px 10px;font-size:12px}
  .brain .bars+p{font-size:13px}
  .brain .scene+.scene .ask{min-height:40px;padding:9px 12px;font-size:14px}
  .desk .stage{--cg:8px;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--cg);padding-bottom:76px}
  .desk .h{font-size:11.5px;padding-bottom:7px;margin-bottom:8px}
  .desk .card{height:66px;padding:7px 6px 7px 7px;font-size:12px;text-wrap:balance}
  .desk .mover .ap{gap:5px;font-size:11px;white-space:nowrap}
  .desk .mover .ap .tick{width:11px;height:11px}.desk .mover .ap .tick::after{left:2.8px;top:.5px;width:3px;height:5.5px}
  .desk .card span{font-size:11px}
  .desk .mover{top:108px;width:calc((100% - 2 * var(--cg)) / 3)}
}
@keyframes vzRunS{from{translate:0 0;opacity:0}15%{opacity:1}85%{opacity:1}to{translate:18px 0;opacity:0}}
@media (prefers-reduced-motion:reduce){.viz *{animation:none!important}}
