@font-face{font-family:"Kid Sans";src:url(../assets/fonts/font-01.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Kid Sans";src:url(../assets/fonts/font-02.woff2) format("woff2");font-weight:500;font-style:italic;font-display:swap}
:root{--accent:#8A8089;--r:6px;--fs-s:15px;--fs-b:18px;--fs-l:clamp(26px,3vw,44px);--fs-xl:clamp(36px,5vw,72px);--fs-xxl:clamp(64px,10vw,168px);--m:clamp(16px,2vw,28px);--g:clamp(12px,1.4vw,24px)}
.g{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);padding-inline:var(--m)}
.g0{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g)}
.end{justify-self:end}
@media (max-width:760px){.g>*,.g0>*{grid-column:1/-1!important}.g>.end,.g0>.end{justify-self:start}}
#kcGrid{position:fixed;inset:0;z-index:9999;pointer-events:none;display:none;padding-inline:var(--m);grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g)}
#kcGrid.on{display:grid}#kcGrid i{background:rgba(253,78,0,.07);border-inline:1px solid rgba(253,78,0,.3)}
@media (max-width:760px){#kcGrid{grid-template-columns:repeat(4,minmax(0,1fr))}#kcGrid i:nth-child(n+5){display:none}}
:root{box-sizing:border-box;color-scheme:light;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:70;background:rgba(244,243,242,.92)}
body.hdr-dark::before{background:#1C0E17}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#F4F3F2;-webkit-font-smoothing:antialiased;overflow-x:clip}
[hidden]{display:none!important}
a{color:#000;text-decoration:none;transition:color 140ms ease-out}
a:hover{color:var(--accent)}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:transparent;transition:background 300ms ease-out}
header.is-scrolled{background:rgba(244,243,242,.8);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}
.kc-nav a{opacity:.6;transition:opacity 140ms ease-out,color 140ms ease-out}
.kc-nav a:hover,.kc-nav a[aria-current]{opacity:1}
.kc-row:hover{color:var(--accent)}
.kc-cta-pill:hover{background:var(--accent);color:#fff}
.kc-filter:hover{opacity:1!important;color:var(--accent)!important}

.kc-header{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);row-gap:12px;align-items:start;padding:16px var(--m);box-sizing:border-box}
.kc-h-left{grid-column:1/6}.kc-nav{grid-column:7/13}
.kc-h-left{min-height:30px}
.kc-intro{margin:0;max-width:400px;font-size:var(--fs-s);line-height:1.3;letter-spacing:-0.005em}
.kc-h-left{display:grid}
.kc-fold{grid-area:1/1;display:grid;grid-template-rows:1fr;transition:clip-path 420ms cubic-bezier(.22,1,.36,1),grid-template-rows 0s}
.kc-fold>div{overflow:hidden;min-height:0}
.kc-logo-small{display:inline-flex;line-height:0}
.kc-fold-intro{clip-path:inset(0 0 0 0);opacity:1;transition:clip-path 420ms cubic-bezier(.22,1,.36,1) 380ms,grid-template-rows 0s,opacity 0s 380ms}
.kc-fold-logo{clip-path:inset(0 100% 0 0);pointer-events:none;transition-delay:0s,0s}
/* fold away: the text scrambles first (animations.js) and fades out, then wipes out after 300ms; it keeps its height until the wipe is done */
header.is-moving .kc-fold-intro,body.on-work .kc-fold-intro{clip-path:inset(0 100% 0 0);opacity:0;transition:clip-path 420ms cubic-bezier(.22,1,.36,1) 300ms,grid-template-rows 0s 720ms,opacity 600ms ease-in 120ms}
header.is-scrolled .kc-fold-intro,body.on-work .kc-fold-intro{grid-template-rows:0fr}
header.is-moving .kc-fold-logo,body.on-work .kc-fold-logo{clip-path:inset(0 0 0 0);pointer-events:auto;transition-delay:680ms,0s}
@media (prefers-reduced-motion:reduce){.kc-fold{transition:none}}
#flyLogo{position:fixed;top:0;left:0;z-index:60;transform-origin:0 0;color:#000;line-height:0;will-change:transform}
#flyLogo svg{display:block;width:100%;height:auto}
body.on-work #flyLogo{display:none}
#flyLogo{display:none!important}
.m-mark svg{opacity:.15}
.kc-over{position:relative;z-index:1;background:#F4F3F2}
body:not(.on-work) header:not(.is-scrolled){box-shadow:0 1px 0 #1C0E17;background:#1C0E17;color:#F4F3F2}
body:not(.on-work) header:not(.is-scrolled) a{color:#F4F3F2}
body:not(.on-work) header:not(.is-scrolled) a:hover{color:var(--accent)}
#flyLogo{transition:color 250ms ease-out}
body:not(.on-work) header:not(.is-scrolled) ~ #flyLogo{color:#F4F3F2}
.kc-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 28px;font-size:var(--fs-s);font-weight:500;letter-spacing:0}
.kc-nav a{opacity:1!important}
@media (max-width:760px){.kc-header{grid-template-columns:1fr}.kc-h-left,.kc-nav{grid-column:1/-1}.kc-nav{justify-content:flex-start;gap:8px 20px}}
@media (max-width:760px){.kc-about-row{grid-template-columns:1fr!important}.kc-about-row>*{grid-column:auto!important;justify-self:start!important}}
footer a{color:#F4F3F2}footer a:hover{color:#F4F3F2;text-decoration:underline}
.kc-cv{animation:kcUp .9s cubic-bezier(.22,1,.36,1) both}
#case-main>.kc-cv:nth-child(2){animation-delay:.08s}#case-main>.kc-cv:nth-child(3){animation-delay:.14s}
@keyframes kcUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
#view-case dl dd,#view-case dl dt{min-width:0}
@media (max-width:760px){#view-case dl>div{grid-column:1/-1!important}}
.kc-more{display:grid;grid-template-rows:0fr;transition:grid-template-rows 600ms cubic-bezier(.22,1,.36,1)}
.kc-more.open{grid-template-rows:1fr}
.kc-more>div{overflow:hidden;min-height:0}
.kc-more-arrow{transition:transform 400ms cubic-bezier(.34,1.56,.64,1);position:relative;top:2px} /* top: centre the plus/× on the lowercase letters, not on the line box (which includes room for accents above) */
.kc-more-btn[aria-expanded="true"] .kc-more-arrow{transform:rotate(45deg)} /* plus turns into × when open */
.kc-more-btn:hover{color:var(--accent)}
/* Selected work (start page): on hover the case name (bottom left) and the client (caps, on column 5) fade in
   in small bold white type. Touch devices have no hover, so they keep the caption below instead */
.kc-strip .kc-case>div:first-child{position:relative}
.kc-strip .kc-case>div:first-child::after{content:"";/* the light wash on hover was removed 2026-11-10; this layer stays at opacity 0 */position:absolute;inset:0;z-index:1;background:rgba(244,243,242,.6);opacity:0;transition:opacity 400ms ease-out;pointer-events:none}
.kc-sname{position:absolute;left:0;right:0;bottom:0;z-index:2;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);align-items:end;padding-bottom:16px;color:#fff;font-size:var(--fs-b);font-weight:600;line-height:1.25;letter-spacing:-0.01em;pointer-events:none;opacity:0;transition:opacity 300ms ease-out}
.kc-sname>span:nth-child(2){grid-column:1/5;grid-row:1;padding-left:16px} /* case name, bottom left */
.kc-sname>span:first-child{grid-column:5/13;grid-row:1} /* client, on the column 5 key line – as written, not in capitals (2026-11-15) */
@media (hover:hover) and (pointer:fine){
  .kc-strip .kc-cap{display:none!important}
  .kc-strip .kc-case:hover .kc-sname,.kc-strip .kc-case:focus-visible .kc-sname{opacity:1}
}
@media (hover:none),(pointer:coarse){.kc-sname{display:none}}
.kc-swap{display:inline-grid;overflow:hidden;text-align:left;justify-items:start}
.kc-swap>span{grid-area:1/1;transition:transform 450ms cubic-bezier(.22,1,.36,1),opacity 300ms ease-out}
.kc-swap-b{transform:translateY(100%);opacity:0}
.kc-case:hover .kc-swap-a,.kc-case:focus-visible .kc-swap-a,.kc-row:hover .kc-swap-a,.kc-row:focus-visible .kc-swap-a{transform:translateY(-100%);opacity:0}
.kc-case:hover .kc-swap-b,.kc-case:focus-visible .kc-swap-b,.kc-row:hover .kc-swap-b,.kc-row:focus-visible .kc-swap-b{transform:none;opacity:1}
.kc-row .kc-swap{overflow:visible}
.kc-row .kc-swap>span{transform:none!important;transition:opacity 250ms ease-out}
@media (max-width:760px){.kc-fside{align-items:flex-start!important;text-align:left!important}}
.kc-wcard .kc-wcap{position:absolute;left:0;right:0;bottom:0;padding:40px 16px 14px;font-size:var(--fs-s);color:#F4F3F2;background:linear-gradient(transparent,rgba(28,14,23,.7));opacity:0;transform:translateY(6px);transition:opacity 300ms ease-out,transform 300ms ease-out;pointer-events:none}
.kc-wcard:hover .kc-wcap,.kc-wcard:focus-visible .kc-wcap{opacity:1;transform:none}
@media (hover:none){.kc-wcard .kc-wcap{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.kc-cv{animation:none}*{transition:none!important;scroll-behavior:auto!important}}
.kc-row{scroll-margin-top:96px}
/* About page: whole background in the green (test) – header follows */
body.on-about,body.on-about .kc-page{background:var(--about-bg,#00C568)!important}
body.on-about header,body.on-about header.is-scrolled{background:var(--about-bg,#00C568);-webkit-backdrop-filter:none;backdrop-filter:none}
/* Header logo: always the full "Kid Collective" wordmark */
.kc-logo-word{height:24px;width:auto}
/* Images: small rounded corners on every image box (all use an inline aspect-ratio) */
[style*="aspect-ratio"]{border-radius:var(--r);overflow:hidden}
button.kc-row{color:inherit}
#tjanster .kc-row>span{text-box:trim-start cap alphabetic}
/* Six disciplines accordion: plus turns into × when open */
.kc-plus{transition:transform 400ms cubic-bezier(.34,1.56,.64,1)}
.kc-row[aria-expanded="true"] .kc-plus{transform:rotate(45deg)}
.kc-acc{scroll-margin-top:96px}
/* Approach: "Turning logic" left, text and "into magic." from the middle column; stacked on small screens */
@media (max-width:760px){.kc-split .kc-split-2{grid-column:1/13!important}}
/* Start page end: Our approach (#om) + footer start light; when #om takes over the screen (body.kc-end, animations.js)
   the whole page – content, footer and header – fades to dark, like save-our-souls.com. Scrolling back fades it light again */
.kc-over,#om,#view-start footer,body{transition:background-color 700ms cubic-bezier(.22,1,.36,1),color 700ms cubic-bezier(.22,1,.36,1),box-shadow 700ms cubic-bezier(.22,1,.36,1)}
#view-start footer{background:#F4F3F2;color:#000}
#view-start footer a,#view-start footer a:hover{color:inherit}
body.kc-end,body.kc-end .kc-over,body.kc-end #view-start footer{background:#1C0E17}
body.kc-end #om,body.kc-end #view-start footer{color:#F4F3F2}
body.kc-end::before{background:#1C0E17}
header.is-scrolled.on-dark{background:#1C0E17;color:#F4F3F2;-webkit-backdrop-filter:none;backdrop-filter:none}
header.on-dark a{color:#F4F3F2}
header.on-dark a:hover{color:var(--accent)}
header.on-dark ~ #flyLogo{color:#F4F3F2}
#view-start footer{box-shadow:0 -1px 0 #F4F3F2}body.kc-end #view-start footer{box-shadow:0 -1px 0 #1C0E17} /* no hairline between #om and the footer at fractional heights */
/* About rows: number, heading and text start at the cap height, like Six disciplines */
.kc-arow>*{text-box:trim-start cap alphabetic}
/* Footer: one simple row on the 12-col grid – Contact left, Back to top on the column-5 key line, copyright right */
.kc-foot{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:baseline;column-gap:var(--g);padding:32px var(--m) 14px;font-size:var(--fs-l);line-height:1.15;letter-spacing:-0.03em}
.kc-foot>*{opacity:.66;transition:opacity 140ms ease-out}
.kc-foot>a{display:inline-flex;align-items:center}
.kc-foot>a:hover{opacity:1;text-decoration:none}
.kc-foot>:nth-child(1){grid-column:1/5;justify-self:start}
.kc-foot>:nth-child(2){grid-column:5/9;justify-self:start}
.kc-foot>:nth-child(3){grid-column:9/13;justify-self:end;text-align:right;white-space:nowrap}
@media (max-width:760px){.kc-foot{row-gap:12px}.kc-foot>:nth-child(1){grid-column:1/7}.kc-foot>:nth-child(2){grid-column:1/-1;justify-self:start}.kc-foot>:nth-child(3){grid-column:1/-1;justify-self:start;text-align:left}}
/* About page: the footer follows the green background (test) */
body.on-about footer{background:var(--about-bg,#00C568)!important;color:#000!important}
body.on-about footer a,body.on-about footer a:hover{color:#000}

/* Cursor: a dot everywhere; over anything clickable it turns into the 12-point Kid star. Dark (#1C0E17) on light backgrounds, light (#F4F3F2) on the dark ones; hotspot in the middle */
:root{--kc-cur:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='%231C0E17'%3E%3Ccircle cx='16' cy='16' r='9'/%3E%3C/g%3E%3C/svg%3E") 16 16,auto;--kc-cur-hover:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='%231C0E17'%3E%3Cpolygon points='19.88 1.51 20.95 7.43 26.61 5.39 24.57 11.05 30.49 12.12 25.90 16.00 30.49 19.88 24.57 20.95 26.61 26.61 20.95 24.57 19.88 30.49 16.00 25.90 12.12 30.49 11.05 24.57 5.39 26.61 7.43 20.95 1.51 19.88 6.10 16.00 1.51 12.12 7.43 11.05 5.39 5.39 11.05 7.43 12.12 1.51 16.00 6.10'/%3E%3C/g%3E%3C/svg%3E") 16 16,pointer;--kc-cur-l:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='%23F4F3F2'%3E%3Ccircle cx='16' cy='16' r='9'/%3E%3C/g%3E%3C/svg%3E") 16 16,auto;--kc-cur-hover-l:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='%23F4F3F2'%3E%3Cpolygon points='19.88 1.51 20.95 7.43 26.61 5.39 24.57 11.05 30.49 12.12 25.90 16.00 30.49 19.88 24.57 20.95 26.61 26.61 20.95 24.57 19.88 30.49 16.00 25.90 12.12 30.49 11.05 24.57 5.39 26.61 7.43 20.95 1.51 19.88 6.10 16.00 1.51 12.12 7.43 11.05 5.39 5.39 11.05 7.43 12.12 1.51 16.00 6.10'/%3E%3C/g%3E%3C/svg%3E") 16 16,pointer}
html,body{cursor:var(--kc-cur)}
a,button,summary,label,select,[role="button"],[style*="cursor: pointer"],[style*="cursor:pointer"]{cursor:var(--kc-cur-hover)!important}
body:not(.on-work):not(.on-about) header:not(.is-scrolled),header.on-dark,.kc-hero,body.kc-end .kc-over,body.kc-end #view-start footer,#view-kollektivet footer,#view-contact footer,#view-contact,body.on-contact header{cursor:var(--kc-cur-l)}
body:not(.on-work):not(.on-about) header:not(.is-scrolled) a,header.on-dark a,.kc-hero a,body.kc-end .kc-over a,body.kc-end #view-start footer a,#view-kollektivet footer a,#view-contact footer a,#view-contact a,body.on-contact header a{cursor:var(--kc-cur-hover-l)!important}
body.on-about #view-case footer{cursor:var(--kc-cur)}
body.on-about #view-case footer a{cursor:var(--kc-cur-hover)!important}

/* Contact page (#contact): dark like the hero, header follows; rows with a thin light rule like the About rows */
body.on-contact{background:#1C0E17}
body.on-contact header,body.on-contact header.is-scrolled{background:#1C0E17;color:#F4F3F2;-webkit-backdrop-filter:none;backdrop-filter:none}
body.on-contact header a,#view-contact main a{color:#F4F3F2}
body.on-contact header a:hover,#view-contact main a:hover{color:var(--accent)}
body.on-contact::before{background:#1C0E17}
#view-contact footer{box-shadow:0 -1px 0 rgba(244,243,242,.16)}
/* Contact info: one block in three equal columns (1–4, 5–8, 9–12) under a single thin rule; small label (fs-s, 66 %) over body text and underlined ↗ links (fs-b) */
.kc-cinfo{margin-top:32px;row-gap:48px;align-items:start}
.kc-cinfo::before{content:"";grid-column:1/13;border-top:1px solid rgba(244,243,242,.32);margin-bottom:-20px}
.kc-ccol{grid-column:span 4;display:flex;flex-direction:column;gap:40px;font-size:var(--fs-b);line-height:1.45}
/* the second item of every column (Talent & internship · Postal address · Follow us) starts on the same line: the columns share two rows */
@supports (grid-template-rows:subgrid){.kc-ccol{display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:40px;align-content:start}}
.kc-citem{display:flex;flex-direction:column;align-items:flex-start;gap:0} /* no extra gap: text lines and links are all one line-height apart */
.kc-clabel{margin:0 0 4px;font-size:var(--fs-s);opacity:.66}
.kc-ctext{margin:0}
.kc-citem a{overflow-wrap:anywhere} /* plain text links like the footer: no arrow, no underline – hover turns them the accent grey */
.kc-citem a svg{display:none}
@media (max-width:760px){.kc-ccol{grid-column:1/13}}
/* Selected work: cases sit close together (gutter) */
.kc-strip{row-gap:var(--g)}
@media (hover:none),(pointer:coarse){.kc-strip{row-gap:40px}} /* room for the caption under each image */

/* Glimpses (start page): a band of six images that slowly rolls left in an endless loop (animations.js clones the set and sets --dur).
   Two sizes that relate: portrait 4:5 is one unit (--u) wide, landscape 3:2 is two units + the gap. Every other image drops by the same step
   (--drop). Without JS / reduced motion: still, scrolls sideways */
.kc-glide{--u:clamp(180px,19vw,320px);--gap:clamp(16px,2vw,32px);--drop:calc(var(--u) * .5);display:flex;overflow-x:auto;scrollbar-width:none}
.kc-glide::-webkit-scrollbar{display:none}
.kc-glide-set{display:flex;flex:none;align-items:flex-start;gap:var(--gap);padding-right:var(--gap)}
.kc-glide-set:first-child{padding-left:var(--m)}
.kc-gl{flex:none}
.kc-gl-p{width:var(--u)}
.kc-gl-l{width:calc(var(--u) * 2 + var(--gap))}
.kc-gl-down{margin-top:var(--drop)}
.kc-glide.is-live{overflow:visible}
.kc-glide.is-live .kc-glide-set{padding-left:0;animation:kc-drift var(--dur,90s) linear infinite}
@keyframes kc-drift{to{transform:translateX(-100%)}}
@media (max-width:760px){.kc-glide{--u:42vw}}
@media (prefers-reduced-motion:reduce){.kc-glide.is-live .kc-glide-set{animation:none}}

/* Page intros: Work, About and Contact open the same way – same air under the header and the same statement type (fs-xl, columns 1–11) */
.kc-page-top{padding-top:clamp(64px,8vw,120px)}
.kc-page-h{grid-column:1/12;margin:0;font-size:var(--fs-xl);line-height:1.02;letter-spacing:-0.035em;font-weight:400}

/* Contact page fills the screen so the footer always sits on the bottom edge */
body.on-contact .kc-page{display:flex;flex-direction:column;min-height:100svh;background:#1C0E17!important}
body.on-contact #view-contact{flex:1;display:flex;flex-direction:column}
body.on-contact #view-contact main{flex:1}
/* Work and case pages: light footer on the light page, no rule (About keeps its green footer) */
#view-arbete footer,body:not(.on-about) #view-case footer{background:#F4F3F2!important;color:#000!important;box-shadow:none}
#view-arbete footer a,#view-arbete footer a:hover,body:not(.on-about) #view-case footer a,body:not(.on-about) #view-case footer a:hover{color:inherit}

/* Five disciplines: the services list in an open row – the bullet sits on the column 5 key line, the text follows; semibold */
.kc-svc{grid-column:5/11;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:var(--fs-b);line-height:1.45;font-weight:600}
.kc-svc li{position:relative;padding-left:1.1em}
.kc-svc li::before{content:"";position:absolute;left:0;top:.6em;width:.32em;height:.32em;border-radius:50%;background:currentColor}
.kc-staty{max-width:420px;object-fit:contain}
/* Official Kid Collective logo (assets/img/logo/*.svg, paths inlined in index.html): positive #1e0c18 on light, negative #fff on dark */
.kc-logo-word{color:#1e0c18;transition:color 250ms ease-out}
body:not(.on-work) header:not(.is-scrolled) .kc-logo-word,header.on-dark .kc-logo-word,body.on-contact header .kc-logo-word,.m-mark svg{color:#fff}
/* Start-page intro "Turning logic / into magic.": static by default (edit mode, reduced motion);
   animations.js adds .is-live – the stage sticks while the lines slide out left/right and the first case card grows behind them into its place at the top of the list */
.kc-lm{padding:clamp(96px,12vw,200px) var(--m) clamp(40px,5vw,80px)}
.kc-lm-h{margin:0;font-weight:400;position:relative;z-index:1}
.kc-lm-l1,.kc-lm-l2{display:block;will-change:transform}
.kc-lm-l2{text-align:right}
.kc-lm.is-live{height:210svh;padding:0}
.kc-lm.is-live .kc-lm-stage{position:sticky;top:var(--hdr,0px);height:calc(100svh - var(--hdr,0px));overflow-x:clip;overflow-y:visible;display:flex;flex-direction:column;justify-content:center;padding:0 var(--m);box-sizing:border-box}
.kc-lm-card{position:absolute;z-index:0;will-change:transform}
.kc-lm.is-live~#arbete{padding-top:0!important}
/* the statement sits above the first case (z-index 1) and its box stays full width in the middle of the stage even when the words have slid away – let the pointer through so hover on the case works everywhere */
.kc-lm.is-live .kc-lm-h{pointer-events:none}
/* Current page in the menu (Work, About, Contact – set as aria-current by app.js): full opacity + the same 1px underline as the buttons, no animation */
.kc-nav a[aria-current]{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
/* Contact: statement at the top, the info block anchored at the bottom just above the copyright line; no rule above the footer */
body.on-contact #view-contact main{display:flex;flex-direction:column}
body.on-contact #view-contact .kc-cinfo{margin-top:auto;padding-top:clamp(64px,8vw,120px)}
#view-contact footer{box-shadow:none}
/* Contact has no footer at all – the info block is the last thing on the screen */
#view-contact footer{display:none}
/* Back at the top, the header (folded to ~62px while scrolled) takes a moment to grow back to full height; until then the
   strip between it and the hero would show the light body. The hero extends its dark colour upwards behind the header. */
.kc-hero{box-shadow:0 -80px 0 #1C0E17}
/* ===== WORK PAGE SWITCHED OFF (2026-11-09) – not ready yet. Hides "Work" in the menu and the "All work" link on case pages.
   To switch it back on: delete the two lines below. (The page itself still works if you type #arbete in the address bar.) ===== */
.kc-nav a[data-nav="arbete"]{display:none!important}
a.kc-allwork{display:none!important}
/* Case pages: the menu folds up out of sight while scrolling down, back on scroll up (animations.js adds .kc-hdr-hide) */
header{transition:background 300ms ease-out,transform 450ms cubic-bezier(.22,1,.36,1)}
header.kc-hdr-hide{transform:translateY(-100%)}
/* ---------- Mobile (2026-11-10) ---------- */
/* Case film on touch screens: "Sound on / Sound off" instead of the player controls (app.js film()) */
.kc-sound{position:absolute;left:16px;bottom:14px;z-index:2;padding:6px 0;border:none;border-bottom:1px solid currentColor;background:none;color:#fff;font:inherit;font-size:var(--fs-s);line-height:1.2;cursor:pointer}
@media (max-width:760px){
  /* header intro text: no sideways wipe on phones – with four lines it showed as a narrow column of letters; it just fades */
  header.is-moving .kc-fold-intro,body.on-work .kc-fold-intro{clip-path:inset(0 0 0 0);transition:grid-template-rows 0s 420ms,opacity 300ms ease-out}
  /* Selected work: 4:5 cards fill a phone screen better than 16:9 */
  #arbete .kc-strip .kc-case>div:first-child{aspect-ratio:4 / 5!important}
  /* Five disciplines: number on top, then the title with the plus on its right, then the intro – tighter rows */
  #tjanster .kc-row{grid-template-columns:1fr auto!important;padding:24px 0!important;row-gap:10px!important}
  #tjanster .kc-row>span:nth-child(1){grid-column:1 / 2!important;grid-row:1}
  #tjanster .kc-row>span:nth-child(2){grid-column:1 / -1!important;grid-row:2}
  #tjanster .kc-row>span:nth-child(3){grid-column:1 / -1!important;grid-row:3}
  #tjanster .kc-row>.kc-plus{grid-column:2 / 3!important;grid-row:1;align-self:center;justify-self:end;width:18px;height:18px} /* on the number line, smaller */
  /* footer: smaller type on phones (fs-l wrapped the copyright line) */
  .kc-foot{font-size:var(--fs-b);padding-top:24px}
}
/* Selected work on touch screens (no hover): the caption shows the case name, then the client in grey */
@media (hover:none),(pointer:coarse){
  .kc-strip .kc-cap .kc-swap{display:flex;justify-content:space-between;gap:16px;width:100%;overflow:visible}
  .kc-strip .kc-cap .kc-swap>span{transform:none!important;opacity:1!important}
  .kc-strip .kc-cap .kc-swap-b{order:-1}
  .kc-strip .kc-cap .kc-swap-a{opacity:.6!important;text-align:right}
}
/* Phone menu (2026-11-10): the header is the logo left + "Menu" right; "Menu" opens a full-screen dark menu (app.js) with
   the nav links in fs-l and the header intro text under them. Desktop keeps the header as it is. */
.kc-menu-btn,.kc-mnav{display:none}
@media (max-width:760px){
  .kc-header{grid-template-columns:1fr auto!important;align-items:center}
  .kc-h-left{grid-column:1 / 2!important;min-height:0}
  .kc-fold-intro{display:none!important}
  .kc-fold-logo{clip-path:inset(0 0 0 0)!important;pointer-events:auto!important}
  .kc-nav{display:none!important}
  .kc-menu-btn{display:block;grid-column:2 / 3;padding:6px 0;border:none;background:none;color:var(--accent);font:inherit;font-size:var(--fs-s);font-weight:500;cursor:pointer}
  .kc-mnav{font-family:'Familjen Grotesk','Inter',system-ui,sans-serif;letter-spacing:-0.01em;display:flex;flex-direction:column;position:fixed;inset:0;z-index:80;overflow-y:auto;padding:16px var(--m) 32px;box-sizing:border-box;background:#1C0E17;color:#F4F3F2;opacity:0;transform:translateY(-12px);transition:opacity 300ms ease-out,transform 450ms cubic-bezier(.22,1,.36,1)}
  .kc-mnav[hidden]{display:none}
  .kc-mnav.open{opacity:1;transform:none}
  .kc-mnav-top{display:flex;justify-content:space-between;align-items:center;min-height:30px}
  .kc-mnav-logo{display:inline-flex;line-height:0;color:#fff}
  .kc-mnav-logo svg{height:24px;width:auto;color:#fff}
  .kc-mnav .kc-menu-btn{display:block;color:var(--accent)} /* "Close" in the same tint as "Menu" */
  .kc-mnav-links{display:flex;flex-direction:column;gap:6px;margin-top:clamp(64px,14svh,140px)}
  .kc-mnav-links a{color:#F4F3F2;font-size:var(--fs-l);line-height:1.15;letter-spacing:-0.03em}
  .kc-mnav-links a[aria-current]{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
  .kc-mnav-intro{margin:auto 0 0;padding-top:56px;max-width:420px;font-size:var(--fs-b);line-height:1.4;opacity:.66}
  html.kc-mnav-on,html.kc-mnav-on body{overflow:hidden}
}
@media (prefers-reduced-motion:reduce){.kc-mnav{transition:none}}
/* Phones, start page (2026-11-10): no dark hero – the page opens with the menu bar, then the statement and the cases on black;
   Five disciplines and the image band are light; Our approach turns black as before (body.kc-end). The header intro text is in the menu. */
@media (max-width:760px){
  .kc-hero{display:none!important}
  .kc-lm,#arbete{background:#1C0E17;color:#F4F3F2}
  /* "Turning logic / into magic." centred on the phone screen (2026-11-15, was 150px under the menu): half the screen − the menu bar (--hdr) − half the
     two-line statement (2 × line-height 0.92 × its font size, clamp(64px,15.5vw,…) = max(64px,15.5vw) on phones); the cases follow right under it */
  .kc-lm{padding-top:max(24px,calc(50svh - var(--hdr,63px) - 0.92 * max(64px,15.5vw)))!important}
  #arbete{padding-bottom:72px}
  #arbete a.kc-case{color:#F4F3F2;background:#1C0E17} /* the captions under the cards; the black hides the statement behind them */
  /* the statement stays put while the cases glide up over it (animations.js wraps #approach + #arbete in .kc-mstack) */
  .kc-mstack{position:sticky;z-index:0;background:#1C0E17} /* top: set by animations.js (screen height − own height) */
  /* the light part slides up over the black one, then the black Our approach over the light one */
  .kc-mwhite{position:sticky;z-index:1;background:#F4F3F2;color:#000}
  #view-start .kc-mwhite~#om{position:relative;z-index:2;background:#1C0E17;color:#F4F3F2}
  /* the same air above "Five disciplines, one collective." and "Our approach" on phones: 56px from the top of the section to the text */
  #tjanster{padding-top:60px!important}
  #om{padding-top:55px!important}
  .kc-mstack>.kc-lm{position:sticky;top:0;z-index:0}
  .kc-mstack>#arbete{position:relative;z-index:1;background:linear-gradient(to bottom,transparent clamp(40px,5vw,80px),#1C0E17 0)} /* opaque from the first case down: the case list slides up over the statement as one layer and the text never shows between the cases – but the air above the first case (its padding-top, same clamp as index.html) is see-through, so the first picture, not a black band, is what slides over the text (2026-11-15) */
  .kc-mstack .kc-lm-h{transform-origin:50% 40%}
}
/* No button may look like "text + 1px underline + ↗ arrow" anywhere (2026-11-10). Every link that had that look (Book an intro,
   Work with us, Get in touch, Visit Kid id, All work, …) is plain text now, like the footer links: no line under it, no arrow;
   hover = accent. Done here, for the inline styles in index.html and app.js, so new links in that style are caught too. */
a[style*="border-bottom: 1px solid currentColor"],a[style*="border-bottom:1px solid currentColor"]{border-bottom:0!important;padding-bottom:0!important}
a[style*="border-bottom: 1px solid currentColor"]:hover,a[style*="border-bottom:1px solid currentColor"]:hover{color:var(--accent)}
svg:has(> path[d="M7 17L17 7M9 7h8v8"]){display:none!important}
.kc-sound{border-bottom:0!important}
/* Contact page illustration (2026-11-12): white line drawing on transparent (assets/img/kontakt-illustration.png), in the free
   space between the statement and the contact info – columns 9–12 on desktop, centred there and in the height that is left */
.kc-cillu{flex:1;align-items:center;padding-top:clamp(16px,2vw,32px)}
.kc-cillu-img{grid-column:9 / 13;justify-self:center;display:block;width:100%;max-width:320px;max-height:min(24svh,250px);object-fit:contain}
@media (max-width:760px){
  .kc-cillu{padding-top:40px}
  .kc-cillu-img{max-width:240px;max-height:200px;justify-self:start}
}
/* Selected text (2026-11-12): a Kid colour picked at random for every new selection (app.js sets --kc-sel), black text on it */
::selection{background:var(--kc-sel,#D9B20E);color:#000}
/* About closing sentence (app.js .kc-about-cta): the whole sentence is the link to Contact; hover = accent like every link */
.kc-about-cta:hover{color:var(--accent)}
/* About page (coloured background): hover and the tinted "Menu" are black at reduced opacity, not the grey accent – the grey looked dull on the Kid colours (2026-11-12) */
/* About is white since 2026-11-15, so its hovers use the accent like every other light page (they were black at 50 % on the Kid colours) */
body.on-about a:hover,body.on-about button:hover,body.on-about .kc-about-cta:hover{color:var(--accent)!important}
/* Opened straight on a subpage (2026-11-12): the header shows the small logo from the first paint – no intro text first, no wipe
   (index.html <head> sets html.kc-sub0 + kc-preload, app.js removes them after the first route) */
html.kc-preload *,html.kc-preload *::before,html.kc-preload *::after{transition:none!important} /* page change / first paint: everything switches at once – header, body, footer (the body + footer otherwise faded 700ms from the last page's colour) */
html.kc-sub0 .kc-fold-intro{clip-path:inset(0 100% 0 0)!important;opacity:0!important;grid-template-rows:0fr!important}
html.kc-sub0 .kc-fold-logo{clip-path:inset(0 0 0 0)!important;pointer-events:auto!important}

/* Same on the start page (2026-11-15): "Five disciplines, one collective." sits 32px above its rule on phones (56px on desktop, inline margin-bottom in index.html) */
@media (max-width:760px){#tjanster>.g0:first-child{margin-bottom:32px!important}}
