/* Nokime — site stylesheet. Paper only, his call (27 Oct 2026; dark only from 22 Sept): one token set on :root,
   every colour through a token. The typefaces and the serif/sans tokens sit below. */

:root{
  --bg:#F3F1E8;--bg-2:#ECE9DE;--card:#FBFAF5;--hair:#E2DFD3;--rule:#CFCBBC;   /* the paper of the logo's light version */
  --ink:#15170F;--ink-2:#45483C;--ink-3:#64675B;
  --accent:#3E6B1F;--accent-ink:#FFFFFF;   /* the logo's green on a light ground (5.6:1 on the paper) */
  --brass:#876510;   /* Manager's gold, deepened to read on the paper (4.8:1) */
  --blue:#2038D5;    /* the Jobs blue itself */
  --fade:linear-gradient(90deg,#2038D5,#3652AE,#515E86,#6C645A,#876510); /* Jobs blue straight to the Manager brass, mixed in OKLab so the middle stays clean; every stop reads at 4.5:1 or more */
  --paint-c:#BBEB8A;--paint-m:#E7C370;--paint-j:#4B75FF;   /* the three bright brand colours, used as paint on the paper (the welcome door), never for text */
  --art-1:#E9E9E6;--art-2:#D7D7D3;--art-3:#BCBCB6;--art-line:#585853;   /* the atlas's own light drawings (copius.fr) */
  --head:rgba(243,241,232,.88);
  --shadow:0 1px 2px rgba(21,23,15,.08);--lift:0 18px 48px rgba(21,23,15,.14);
  color-scheme:light;
  --serif:"Fraunces",Georgia,"Iowan Old Style","Times New Roman",serif;
  --sans:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  --r:14px;
}

/* ---------- base ---------- */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.6;
  font-optical-sizing:auto;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html[lang="en"] [data-lang="fr"],html[lang="fr"] [data-lang="en"]{display:none}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
img,svg{display:block;max-width:100%}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}

p,li{text-wrap:pretty}   /* no last word left alone on its line */
h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.005em;margin:0;text-wrap:balance}
.display{font-size:clamp(38px,5.6vw,68px);line-height:1.06;margin-bottom:.32em;font-variation-settings:"opsz" 96}
.page-hero .display{font-size:clamp(34px,4.6vw,58px)}
h2{font-size:clamp(28px,3.4vw,42px);line-height:1.1}
h3{font-size:24px;line-height:1.2}
p{margin:0 0 1em}
.lead{font-size:19px;line-height:1.55;color:var(--ink-2);max-width:60ch}
.kicker + .lead{margin-top:2px}
.kicker{font-family:var(--serif);font-size:clamp(26px,3vw,36px);line-height:1.15;margin:0 0 12px;text-wrap:balance}
.eyebrow,.tag{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:500;color:var(--ink-3);margin:0 0 14px}
.small{font-size:13.5px;color:var(--ink-3)}
.brandword{color:var(--ink-3)}

/* ---------- buttons, links ---------- */
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:999px;border:1px solid var(--rule);
  background:var(--card);color:var(--ink);font:inherit;font-weight:500;font-size:15px;line-height:1;cursor:pointer;
  transition:transform .15s,border-color .15s,background .15s,filter .15s}
.btn:hover{border-color:var(--ink-3);transform:translateY(-1px)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.btn.primary:hover{filter:brightness(1.06)}
.btn.small{padding:9px 14px;font-size:14px}
.btn .arrow{transition:transform .15s}
.btn:hover .arrow{transform:translateX(2px)}
.link{font-weight:500;border-bottom:1px solid var(--rule);padding-bottom:2px;transition:border-color .15s}
.link:hover{border-color:var(--ink)}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}

/* ---------- header ---------- */
.site-head{position:sticky;top:0;z-index:20;background:var(--bg);background:var(--head);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--hair)}
.head-row{display:flex;align-items:center;gap:28px;height:64px}
.brand{display:inline-flex;align-items:center;gap:9px;font-family:var(--serif);font-size:23px;letter-spacing:-.01em;color:var(--ink)}
/* the découpe: one knife cut through a block, cream for the dining room, green for the kitchen; the wordmark is Archivo, subset to its six letters */
.mark{width:26px;height:26px;flex:none}
.mark .cut-a{fill:currentColor}
.mark .cut-b{fill:var(--accent)}
.brand .word{font-family:'Nokime Wordmark',var(--sans);font-weight:700;font-stretch:112%;font-size:22px;letter-spacing:-.015em;line-height:1}
.site-foot .mark{width:30px;height:30px}
.nav{display:flex;gap:22px;margin-left:8px}
.nav a{font-size:15px;color:var(--ink-2);padding:6px 0;border-bottom:1px solid transparent;transition:color .15s,border-color .15s}
.nav a:hover,.nav a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--ink)}
.head-tools{margin-left:auto;display:flex;align-items:center;gap:8px}
.tbtn{height:34px;min-width:34px;padding:0 10px;border-radius:999px;border:1px solid var(--hair);background:transparent;
  color:var(--ink-2);font:inherit;font-size:13px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.tbtn:hover{border-color:var(--rule);color:var(--ink)}
.tbtn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.menu{display:none}

/* ---------- hero ---------- */
.hero{padding:72px 0 56px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}

/* explanations fold behind a quiet plus; the page shows one line per thing */
.more{margin:10px 0 0;max-width:60ch}
.more summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:500;color:var(--ink-3);padding:4px 0;transition:color .15s}
.more summary::-webkit-details-marker{display:none}
.more summary::before{content:"+";display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid var(--rule);border-radius:50%;font-size:13px;line-height:1;color:var(--ink-2);flex:none}
.more[open] summary::before{content:"−"}
.more summary:hover{color:var(--ink)}
.more > :not(summary){margin-top:10px}
.more p{color:var(--ink-2);font-size:15.5px;margin:0 0 .8em}
.more p:last-child{margin-bottom:0}

/* ---------- proof strip ---------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:28px 0;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair)}
.stats.three{grid-template-columns:repeat(3,1fr)}
.stat-n{font-family:var(--serif);font-size:34px;line-height:1;margin:0 0 6px;font-variant-numeric:tabular-nums}
.stats.problems{column-gap:40px}                 /* same columns as the three tools below */
.problems .stat-n{font-size:26px;line-height:1.15;text-wrap:balance}
@media (min-width:961px){.problems .stat-n{min-height:2.3em;max-width:9.5em}}   /* every question on two lines (FR and EN both hold from 8.5 to 10.5em), so the three descriptions start level */
/* the title's two halves and the three questions carry their tool's colour: ideas/Copius green, Jobs blue, Manager brass */
.display .hl{font-style:italic;font-weight:400}.hl-idea,.t-copius{color:var(--accent)}.hl-calm,.t-manager{color:var(--brass)}.t-jobs{color:var(--blue)}
/* « sans se prendre la tête » fades from Jobs to Manager; the padding keeps the italic's overhang inside the painted box */
@supports ((-webkit-background-clip:text) or (background-clip:text)){.display .hl-calm{background:var(--fade);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;padding:0 .08em;margin:0 -.08em;-webkit-box-decoration-break:slice;box-decoration-break:slice}}   /* questions, not figures: smaller and allowed to wrap */
.stat-l{margin:0;font-size:14px;color:var(--ink-2)}

/* ---------- sections ---------- */
.section{padding:88px 0}
.section.tight{padding-top:24px}
.section-head{max-width:720px}
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:0 40px;margin-top:40px;border-top:1px solid var(--hair)}
.product{padding:36px 0 40px;border-bottom:1px solid var(--hair);display:flex;flex-direction:column}
.product h3{font-size:28px;margin:6px 0 4px}
.product .sub{font-family:var(--serif);font-size:19px;color:var(--ink-2);margin:0 0 12px}
.product p:not(.sub):not(.tag){color:var(--ink-2)}
.product .link{align-self:flex-start;margin-top:18px}
.product:not(.next) .link{margin-top:auto;padding-top:18px}   /* the three links share the cards' bottom line, however long each line above */
.product .more{margin-bottom:4px}
.product.next{color:var(--ink-3);grid-column:1/-1;flex-direction:row;align-items:baseline;gap:14px;padding:18px 0 20px}
.product.next p{color:var(--ink-3)}
.product.next .tag{margin:0}
.product.next h3{font-size:22px;margin:0}
.art-cluster{position:relative;height:120px;width:210px;margin-bottom:10px}
.art-cluster span{position:absolute;width:96px;height:96px}
.art-cluster span:nth-child(1){left:0;top:14px}
.art-cluster span:nth-child(2){left:60px;top:0}
.art-cluster span:nth-child(3){left:116px;top:22px}
.art-cluster .art{width:100%;height:100%}
.art-cluster.single span{position:static;display:block;width:104px;height:104px;margin:8px 0 0 4px}
.art-cluster.spread span{width:82px;height:82px}
.art-cluster.spread span:nth-child(1){left:0;top:24px}
.art-cluster.spread span:nth-child(2){left:64px;top:0}
.art-cluster.spread span:nth-child(3){left:128px;top:22px}
.hd-mark{display:inline-block;width:.82em;height:.82em;margin-left:.22em;vertical-align:-.06em;color:var(--blue)}   /* l’hirondelle de Nokime Jobs, right after the name (his ask 13 Oct: next to the name, not flying out) */
.hd-note{margin:0 0 14px;font-size:14px;font-weight:500}
.hd-note a{color:var(--blue);border-bottom:1px solid currentColor}

.founders{background:var(--bg-2)}
.founders-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.founders-card{background:var(--card);border:1px solid var(--hair);border-radius:var(--r);padding:28px;box-shadow:var(--shadow)}
.founders-card .btn{margin-top:14px}
.founders-card .btn + .small{margin:12px 0 0}   /* the note under the button: room above, the card's padding below */

/* ---------- sub-pages ---------- */
.page-hero{padding:72px 0 40px}
.mosaic{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-top:36px}
.mosaic figure{margin:0;text-align:center}
.mosaic .art{width:100%;height:auto;aspect-ratio:1}
.mosaic figcaption{font-size:12.5px;color:var(--ink-3);margin-top:2px}
.prose{max-width:720px}
.prose p,.prose li{font-size:17px;color:var(--ink-2)}
.prose h2{font-size:clamp(24px,2.6vw,32px);margin:44px 0 12px;color:var(--ink)}
.prose > h2:first-child,.prose > [data-lang] > h2:first-child{margin-top:0}   /* the page hero already spaces the first heading */
.prose ul{padding-left:20px}
.prose .state li{padding:12px 0;border-top:1px solid var(--hair);list-style:none}
.prose .state{padding:0}
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:36px}
.reason{border-top:1px solid var(--rule);padding-top:18px;display:flex;flex-direction:column}
.reason h2{font-size:22px;margin-bottom:6px}
.reason p{color:var(--ink-2)}
.reason .btn{align-self:flex-start;margin-top:auto}
.address{margin-top:48px;padding:28px;border:1px solid var(--hair);border-radius:var(--r);background:var(--card);
  display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.address .mail{font-family:var(--serif);font-size:clamp(22px,3vw,32px);border-bottom:1px solid var(--rule)}
.address .mail:hover{border-color:var(--ink)}

/* ---------- drawings (same classes as the atlas) ---------- */
.art .f1{fill:var(--art-1)}.art .f2{fill:var(--art-2)}.art .f3{fill:var(--art-3)}.art .dot{fill:var(--art-line)}
.art .s{fill:none;stroke:var(--art-line);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.art .sf{stroke:var(--art-line);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* ---------- footer ---------- */
.site-foot{border-top:1px solid var(--hair);padding:48px 0 28px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px}
.foot-grid nav,.foot-links{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.foot-grid a:not(.brand){color:var(--ink-2);font-size:15px}
.foot-grid a:not(.brand):hover{color:var(--ink)}
.foot-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:36px;padding-top:18px;border-top:1px solid var(--hair);font-size:13.5px;color:var(--ink-3);flex-wrap:wrap}
.foot-bottom a{color:var(--ink-3)}
.foot-bottom a:hover{color:var(--ink)}

/* ---------- hero still life: six atlas drawings, loosely set ---------- */
.hero-art{position:relative;height:400px}
.hero-art span{position:absolute;display:block}
.hero-art span:nth-child(1){left:4%;top:22%;width:46%}
.hero-art span:nth-child(2){left:62%;top:2%;width:24%}
.hero-art span:nth-child(3){left:76%;top:46%;width:18%}
.hero-art span:nth-child(4){left:52%;top:66%;width:22%}
.hero-art span:nth-child(5){left:32%;top:0;width:22%}
.hero-art span:nth-child(6){left:8%;top:78%;width:18%}
.hero-art .art{width:100%;height:auto;aspect-ratio:1}
@media (max-width:960px){.hero-art{height:300px}}
@media (max-width:720px){.hero-art{height:auto;display:flex;gap:12px;margin-top:8px}.hero-art span{position:static;width:22%!important}}

/* ---------- the Manager preview: a real recording of the tool ---------- */
.shot{margin:0}
.shot-frame{border:1px solid var(--hair);border-radius:var(--r);overflow:hidden;background:var(--card);box-shadow:var(--lift)}
.shot-video{display:block;width:100%;height:auto;aspect-ratio:1280/900;background:var(--card)}
.shot figcaption{margin-top:12px;font-size:13.5px;color:var(--ink-3)}
.shot-section{padding-top:8px}
/* the Jobs page: l'hirondelle de Nokime Jobs, the swallow beside its title in the Jobs blue */
.hd-section{padding-top:24px}
.hd-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 24px;align-items:start}
.hd-row .lead{max-width:52ch}
.hd-more{margin:18px 0 0}
.hd-read{margin:12px 0 0;font-size:15px;color:var(--ink-2);line-height:1.8}
.hd-art{width:56px;height:auto;color:var(--blue);margin-top:2px}
@media (max-width:720px){.hd-row{gap:0 16px}.hd-art{width:42px}}

/* ---------- responsive ---------- */
@media (max-width:960px){
  .hero-grid,.founders-grid{grid-template-columns:1fr;gap:36px}
  .products{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr;gap:24px}
  .stats,.stats.three{grid-template-columns:1fr 1fr}
  .stats.three .stat:last-child{grid-column:1/-1}
  .stats.problems{grid-template-columns:1fr;gap:18px}                 /* three problems read as lines on a phone, not a 2+1 grid */
  .mosaic{grid-template-columns:repeat(4,1fr)}
  .foot-grid{grid-template-columns:1fr;gap:20px}
}
@media (max-width:720px){
  .wrap{padding:0 16px}
  .hero{padding:44px 0 36px}
  .page-hero{padding:44px 0 28px}
  .section{padding:64px 0}
  .nav{display:none;position:absolute;left:0;right:0;top:64px;flex-direction:column;gap:0;background:var(--bg);
    border-bottom:1px solid var(--hair);padding:8px 16px 12px;margin:0}
  .nav.open{display:flex}
  .nav a{padding:12px 0;border-bottom:1px solid var(--hair)}
  .nav a[aria-current="page"]{border-bottom-color:var(--hair)}
  .menu{display:inline-flex}
  .head-tools .btn{display:none}
  .stat-n{font-size:28px}
  .mosaic{grid-template-columns:repeat(3,1fr);gap:12px}
}
