  :root{
    --paper:#ffffff; --wool:#f9f8f6; --linen:#ecebe7; --oat:#d8d4cc; --ash:#625d53; --body:#35322d; --ink:#1b1a17;
    --thread:#e23b2e; --thread-hover:#c9301f; --thread-ink:#c0291d; --thread-wash:#fdf0ee;
   
    --blush-bg:#fbe9e5; --blush:#a93326; --sand-bg:#f8f0d6; --sand:#7d5e12; --sage-bg:#e9f1e5; --sage:#37613a;
    --sky-bg:#e6eff6; --sky:#2f536f; --teal-bg:#e2f1ee; --teal:#235e57; --lilac-bg:#efe9f5; --lilac:#564377; --clay-bg:#f1eee8; --clay:#5f5a50;
    --pat-a:.06; --grain:.03; --u-d:8px; --u-g:6px; --rule-d:12px; --rule-g:14px;
    --display:"Fraunces",Georgia,serif; --text:"Atkinson Hyperlegible",system-ui,sans-serif; --maxw:1160px; color-scheme:light;
    --p-dc:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='22' viewBox='0 0 24 22'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M3 4V15M9 4V15M15 4V15M21 4V15'/%3E%3Cpath d='M1 3.5H5M7 3.5H11M13 3.5H17M19 3.5H23'/%3E%3Cpath d='M1 18H5M8 18H12M15 18H19M22 18H26M-2 18H2' stroke-width='1.1'/%3E%3C/g%3E%3C/svg%3E"); --s-dc:24px 22px;
    --p-croc:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='16' viewBox='0 0 20 16'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M2 4q4-3.5 8 0q-4 3.5-8 0'/%3E%3Cpath d='M12 12q4-3.5 8 0q-4 3.5-8 0M-8 12q4-3.5 8 0q-4 3.5-8 0'/%3E%3C/g%3E%3C/svg%3E"); --s-croc:20px 16px;
    --p-granny:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='40' viewBox='0 0 36 40'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M5 15L4 5M8 15V5M11 15L12 5M23 15L22 5M26 15V5M29 15L30 5'/%3E%3Cpath d='M-4 35L-5 25M-1 35V25M2 35L3 25M14 35L13 25M17 35V25M20 35L21 25M32 35L31 25M35 35V25M38 35L39 25'/%3E%3C/g%3E%3C/svg%3E"); --s-granny:36px 40px;
    --p-vst:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='28' viewBox='0 0 24 28'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 2L6 12L11 2M13 2L18 12L23 2'/%3E%3Cpath d='M-5 16L0 26L5 16M7 16L12 26L17 16M19 16L24 26L29 16'/%3E%3C/g%3E%3C/svg%3E"); --s-vst:24px 28px;
    --p-moss:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M2 3H7M11 9H16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); --s-moss:18px 12px;
    --p-ripple:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='18' viewBox='0 0 28 18'%3E%3Cpath d='M0 13L7 5L14 13L21 5L28 13' fill='none' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E"); --s-ripple:28px 18px;
    --p-waffle:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23000'%3E%3Cpath d='M0 .75H20M.75 0V20' stroke-width='1.5'/%3E%3Crect x='5.5' y='5.5' width='9' height='9' rx='1' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E"); --s-waffle:20px 20px;
    --p-knit:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M2.2 1.6L6 6.4L9.8 1.6' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); --s-knit:12px 8px;
    --p-chain-v:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='60' viewBox='0 0 14 60'%3E%3Cg fill='none' stroke='%23000'%3E%3Cellipse cx='7' cy='5.5' rx='3' ry='6' stroke-width='1.6'/%3E%3Cellipse cx='6.6' cy='17.5' rx='3.3' ry='6.6' transform='rotate(-5 6.6 17.5)' stroke-width='1.4'/%3E%3Cellipse cx='7.3' cy='29.5' rx='2.8' ry='5.8' transform='rotate(5 7.3 29.5)' stroke-width='1.7'/%3E%3Cellipse cx='7' cy='41.5' rx='3.2' ry='6.4' transform='rotate(-3 7 41.5)' stroke-width='1.5'/%3E%3Cellipse cx='6.6' cy='53.5' rx='3' ry='6' transform='rotate(6 6.6 53.5)' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E"); --s-chain-v:14px 60px;
    --p-chain:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='14' viewBox='0 0 84 14'%3E%3Cg fill='none' stroke='%23000'%3E%3Cellipse cx='6' cy='7' rx='6.5' ry='3.1' stroke-width='1.6'/%3E%3Cellipse cx='18.5' cy='6.6' rx='7.2' ry='3.5' transform='rotate(6 18.5 6.6)' stroke-width='1.4'/%3E%3Cellipse cx='31' cy='7.3' rx='6' ry='2.8' transform='rotate(-5 31 7.3)' stroke-width='1.8'/%3E%3Cellipse cx='43.5' cy='7' rx='7.6' ry='3.3' transform='rotate(3 43.5 7)' stroke-width='1.5'/%3E%3Cellipse cx='56' cy='6.5' rx='6.2' ry='3' transform='rotate(-8 56 6.5)' stroke-width='1.7'/%3E%3Cellipse cx='68' cy='7.4' rx='7' ry='3.6' transform='rotate(4 68 7.4)' stroke-width='1.4'/%3E%3Cellipse cx='79.5' cy='7' rx='6.4' ry='2.9' transform='rotate(-3 79.5 7)' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E"); --s-chain:84px 14px;
  }
  @media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){
    --paper:#1a1b1e; --wool:#222327; --linen:#34363b; --oat:#54575e; --ash:#aaadb4; --body:#d7d9de; --ink:#f4f5f7;
    --thread:#f24b3c; --thread-hover:#f76a5d; --thread-ink:#f58d81; --thread-wash:#2b1a16;
    --blush-bg:#2e1f1c; --blush:#f0a79d; --sand-bg:#2b2516; --sand:#e3c477; --sage-bg:#1b261b; --sage:#9dc59a;
    --sky-bg:#18232d; --sky:#9dc1de; --teal-bg:#16261f; --teal:#8fd0c3; --lilac-bg:#221c2c; --lilac:#c4aee0; --clay-bg:#25262a; --clay:#aeb1b8; --pat-a:.14; --dove:var(--ink); color-scheme:dark}}
  :root[data-theme="dark"]{
    --paper:#1a1b1e; --wool:#222327; --linen:#34363b; --oat:#54575e; --ash:#aaadb4; --body:#d7d9de; --ink:#f4f5f7;
    --thread:#f24b3c; --thread-hover:#f76a5d; --thread-ink:#f58d81; --thread-wash:#2b1a16;
    --blush-bg:#2e1f1c; --blush:#f0a79d; --sand-bg:#2b2516; --sand:#e3c477; --sage-bg:#1b261b; --sage:#9dc59a;
    --sky-bg:#18232d; --sky:#9dc1de; --teal-bg:#16261f; --teal:#8fd0c3; --lilac-bg:#221c2c; --lilac:#c4aee0; --clay-bg:#25262a; --clay:#aeb1b8; --pat-a:.14; --dove:var(--ink); color-scheme:dark}

  /* interaction colour: one token set, three schemes to compare (rose is the default) */
  :root{--act:#e5675c; --act-ink:#b5352a; --act-hover:#8f2219; --act-wash:#fdefed; --sel-bg:#1b1a17; --sel-fg:#ffffff; --sel-bd:#1b1a17}
  :root[data-act="graphite"]{--act:#2b2925; --act-ink:#2b2925; --act-hover:#121110; --act-wash:#f3f2ef; --sel-bg:#1b1a17; --sel-fg:#ffffff; --sel-bd:#1b1a17}
  :root[data-act="clay"]{--act:#b4694f; --act-ink:#8f4c35; --act-hover:#6f3624; --act-wash:#f7efea; --sel-bg:#1b1a17; --sel-fg:#ffffff; --sel-bd:#1b1a17}
  @media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){--act:#f08a80; --act-ink:#f6a49b; --act-hover:#ffc4bd; --act-wash:#2c1b18; --sel-bg:#f3f1ec; --sel-fg:#151413; --sel-bd:#f3f1ec} }
  :root[data-theme="dark"]{--act:#f08a80; --act-ink:#f6a49b; --act-hover:#ffc4bd; --act-wash:#2c1b18; --sel-bg:#f3f1ec; --sel-fg:#151413; --sel-bd:#f3f1ec}
  :root[data-theme="dark"][data-act="graphite"]{--act:#e4e0d8; --act-ink:#e4e0d8; --act-hover:#ffffff; --act-wash:#222327; --sel-bg:#f3f1ec; --sel-fg:#151413; --sel-bd:#f3f1ec}
  :root[data-theme="dark"][data-act="clay"]{--act:#d99a82; --act-ink:#e6b19c; --act-hover:#f3cfc0; --act-wash:#2a201b; --sel-bg:#f3f1ec; --sel-fg:#151413; --sel-bd:#f3f1ec}
  :root{--ok:#17703F; --ok-wash:#E7F4EC; --ok-wash2:#D3EBDC}
  :root[data-theme="dark"]{--ok:#6BD496; --ok-wash:#173324; --ok-wash2:#1E4130}
  @media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){--ok:#6BD496; --ok-wash:#173324; --ok-wash2:#1E4130} }
  *{box-sizing:border-box} [hidden]{display:none !important}
  html,body{overflow-x:clip}
  html{scroll-padding-top:88px}
  body{background:var(--paper); color:var(--body); margin:0; font-family:var(--text); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; position:relative;
    font-variation-settings:"SOFT" 100,"WONK" 1} /* Fraunces off its default face: rounder terminals, leaning h n m; Atkinson has no such axes and ignores it */
  body::after{content:""; position:fixed; inset:0; pointer-events:none; z-index:0; opacity:var(--grain); mix-blend-mode:multiply;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .25 0 0 0 0 .24 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E")}
  .wrap{position:relative; z-index:1; max-width:var(--maxw); margin:0 auto; padding-left:max(20px,env(safe-area-inset-left,0px)); padding-right:max(20px,env(safe-area-inset-right,0px)); padding-block:0}
  h1,h2,h3,h4{font-family:var(--display); font-weight:600; letter-spacing:-.02em; color:var(--ink); text-wrap:balance; margin:0; line-height:1.12}
  p{margin:0; text-wrap:pretty} img,video{max-width:100%; display:block}
  .small{font-size:13.5px; color:var(--ash)}

  /* stitches and fabric */
  .rule{height:1px; background:var(--linen)}
  .u{text-decoration:none; color:var(--act-ink); font-weight:700; background-image:repeating-linear-gradient(90deg,var(--act) 0 var(--u-d),transparent var(--u-d) calc(var(--u-d) + var(--u-g))); background-size:100% 2px; background-repeat:no-repeat; background-position:0 100%; padding-bottom:4px; transition:color .18s}
  .u:hover{color:var(--act-hover)}
  .sew{background-image:repeating-linear-gradient(90deg,var(--sew-c,var(--act)) 0 var(--u-d),transparent var(--u-d) calc(var(--u-d) + var(--u-g))); background-size:0 2px; background-repeat:no-repeat; background-position:0 100%; padding-bottom:7px; transition:background-size .3s ease}
  :where(a,button):hover .sew, :where(a,button):focus-visible .sew, .sew[aria-current="page"]{background-size:100% 2px}
  /* on a heading the underline runs under each line of the title */
  h3 > .sew{padding-bottom:4px} h3:has(> .sew){line-height:1.5; padding-bottom:2px}
  .chain{height:14px; background:var(--thread); -webkit-mask:var(--p-chain) repeat-x left center / var(--s-chain); mask:var(--p-chain) repeat-x left center / var(--s-chain)}
  .fab{position:relative; isolation:isolate}
  .fab::before{content:""; position:absolute; inset:0; border-radius:inherit; z-index:-1; pointer-events:none; background:var(--pat-ink,var(--ink)); opacity:var(--pat-a);
    -webkit-mask-image:var(--pat); mask-image:var(--pat); -webkit-mask-size:var(--pat-size); mask-size:var(--pat-size); -webkit-mask-repeat:repeat; mask-repeat:repeat; transition:opacity .25s}
  .ask-mat::before{content:""; position:absolute; inset:0; pointer-events:none; background:var(--pat-ink); opacity:var(--pat-a); -webkit-mask:var(--pat) repeat 0 0 / var(--pat-size); mask:var(--pat) repeat 0 0 / var(--pat-size)}
  .ask-mat > *{position:relative}
  .f-dc{--pat:var(--p-dc); --pat-size:var(--s-dc)} .f-croc{--pat:var(--p-croc); --pat-size:var(--s-croc)} .f-granny{--pat:var(--p-granny); --pat-size:var(--s-granny)} .f-vst{--pat:var(--p-vst); --pat-size:var(--s-vst)}
  .f-moss{--pat:var(--p-moss); --pat-size:var(--s-moss)} .f-ripple{--pat:var(--p-ripple); --pat-size:var(--s-ripple)} .f-waffle{--pat:var(--p-waffle); --pat-size:var(--s-waffle)}
  .seamed{position:relative}
  .seamed > svg.seam{position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; margin:0 !important; transform:none !important; pointer-events:none; overflow:visible; z-index:2}
  .seamed > svg.seam rect{fill:none; stroke:var(--seam-c,var(--oat)); stroke-width:var(--seam-w,1.5); stroke-dasharray:var(--seam-d,8) var(--seam-g,8); stroke-linecap:round; transition:stroke .2s}

  /* nav: wordmark, bold links with a sewn underline, a stitch divider, icon buttons */
  .nav{display:flex; align-items:center; justify-content:space-between; gap:18px; padding-block:16px 14px; position:sticky; top:env(safe-area-inset-top,0px); z-index:20; background:var(--paper)}
  .wordmark{font-family:var(--display); font-weight:600; color:var(--ink); font-size:22px; text-decoration:none; letter-spacing:-.01em}
  .nav-r{display:flex; align-items:center; gap:22px}
  .nav ul{list-style:none; display:flex; gap:22px; margin:0; padding:0; align-items:center}
  .nav a.link{color:var(--body); text-decoration:none; font-size:15px; font-weight:700; transition:color .18s}
  .nav a.link:hover,.nav a.link:focus-visible{color:var(--ink); outline:none}
  @media (min-width:641px){ .nav-r > .div + .icons{margin-left:-9px} } /* the icon buttons carry 9px of air; match the gap on the text side */
  .nav .div{width:2px; height:20px; background:repeating-linear-gradient(180deg,var(--oat) 0 4px,transparent 4px 8px)}
  .icons{gap:4px !important}
  .ib{width:36px; height:36px; display:grid; place-items:center; border-radius:10px; color:var(--body); background:none; border:0; cursor:pointer; text-decoration:none; transition:color .18s, background .18s; --seam-c:transparent; --seam-d:5; --seam-g:5}
  .ib:hover{color:var(--ink); background:var(--wool); --seam-c:var(--oat)} .ib:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  .ib svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
  .ib .sun{display:none} [data-theme="dark"] .ib .sun{display:block} [data-theme="dark"] .ib .moon{display:none}

  /* tags */
  .tag{display:inline-block; font-size:13px; font-weight:700; line-height:1; padding:8px 13px; border-radius:999px; white-space:nowrap; color:var(--c); background-color:var(--bg);
    background-image:repeating-linear-gradient(0deg,color-mix(in srgb,var(--c) 10%,transparent) 0 1px,transparent 1px 8px),repeating-linear-gradient(90deg,color-mix(in srgb,var(--c) 10%,transparent) 0 1px,transparent 1px 8px)}
  .t-blush{--c:var(--blush); --bg:var(--blush-bg)} .t-sand{--c:var(--sand); --bg:var(--sand-bg)} .t-sage{--c:var(--sage); --bg:var(--sage-bg)} .t-sky{--c:var(--sky); --bg:var(--sky-bg)} .t-lilac{--c:var(--lilac); --bg:var(--lilac-bg)} .t-clay{--c:var(--clay); --bg:var(--clay-bg)} .t-teal{--c:var(--teal); --bg:var(--teal-bg)}
  .t-plain{--c:var(--body); --bg:var(--wool)}
  .tags{display:flex; flex-wrap:wrap; gap:8px}

  /* hero */
  .hero{display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:72px; align-items:center; padding-block:68px 52px}
  .name{display:inline-block; position:relative}
  .name h1{font-size:clamp(46px,7.5vw,74px); line-height:1; letter-spacing:-.03em}
  /* signature: the dots of the i's are solid red thread dots (name and wordmark) */
  .knotted .k{position:relative}
  .knotted .k::after{content:""; position:absolute; left:50%; top:.285em; width:.155em; height:.155em; margin-left:-.0775em; border-radius:50%; background:var(--thread)}
  .name .k::after{transform:scale(0); transition:transform .45s cubic-bezier(.3,1.6,.5,1)}
  .name.on .k::after{transform:scale(1)}
  .name .k:nth-child(2)::after{transition-delay:.12s} .name .k:nth-child(3)::after{transition-delay:.24s}
  .wordmark .k::after{width:.19em; height:.19em; margin-left:-.095em; top:.265em; background:var(--thread); transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
  .wordmark:hover .k::after{transform:translateY(-2px)} .wordmark:hover .k:nth-child(2)::after{transition-delay:.06s}
  .hero .role{margin:12px 0 0; font-size:20px; color:var(--ink); font-weight:700; text-wrap:balance}
  .hero .pitch{margin:16px 0 0; font-family:var(--display); font-size:clamp(22px,2.3vw,28px); line-height:1.35; font-weight:500; letter-spacing:-.01em; color:var(--ink); max-width:34rem}
  .hero .pitch em{font-style:normal; color:var(--thread-ink); white-space:nowrap}
  .photowrap{position:relative; justify-self:end; width:min(100%,330px); padding:34px 44px 34px}
  .photobox{position:relative; transform:rotate(-1.2deg)}
  .patch{position:absolute; inset:0; transform:translate(12px,12px); border-radius:20px; background:color-mix(in srgb,var(--thread) 14%,var(--paper)); --seam-c:var(--thread); --seam-w:2; --seam-d:7; --seam-g:6; --seam-inset:6}
  .photo{position:relative; z-index:1; margin:0; padding:10px; border-radius:20px; background:var(--paper); border:1.5px solid var(--ink)}
  .photo img{border-radius:12px; aspect-ratio:4/5; object-fit:cover; width:100%}
  .photo figcaption{font-size:12px; color:var(--ash); padding:9px 4px 0; text-align:right}
  .around .tag{position:absolute; z-index:4; rotate:var(--r,0deg)}
  .around .a2{top:6px; left:-6px; --r:-3deg} .around .a3{top:46%; right:-12px; --r:4deg} .around .a4{bottom:46px; left:-24px; --r:-2deg} .around .a5{bottom:0; right:4px; --r:1.5deg}

  /* tools: simple lines; each tool is a woven label, stitched along its top and bottom */
  .tools{display:flex; flex-direction:column; gap:12px; padding-block:4px 6px}
  /* the tools sit on a crochet mat: wool with a faint red double crochet, like the ask palette */
  .tools-mat{position:relative; border-radius:22px; background:var(--wool); padding:26px 30px 28px; gap:8px}
  .tools-mat::before{content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:var(--thread); opacity:.085; -webkit-mask:var(--p-moss) repeat 0 0 / var(--s-moss); mask:var(--p-moss) repeat 0 0 / var(--s-moss)}
  .tools-mat > .say:nth-child(n){position:relative; margin-left:0}
  @media (max-width:640px){ .tools-mat{padding:18px 18px 20px; border-radius:18px} .tools-mat .say{font-size:17px} }
  .say{font-size:18px; color:var(--body); line-height:2.2}
  .say:nth-child(2){margin-left:clamp(28px,16vw,190px)}
  .tool{position:relative; display:inline-block; vertical-align:middle}
  .mark{--st:var(--oat); --dove:#190041; display:inline-flex; align-items:center; gap:8px; font:inherit; font-size:15px; font-weight:700; line-height:1; color:var(--ink); cursor:help; margin:0 0 0 2px;
    padding:10px 13px 10px 11px; border-radius:4px; border:1px solid var(--linen); background-color:#fff;
    background-image:repeating-linear-gradient(90deg,var(--st) 0 5px,transparent 5px 9px),repeating-linear-gradient(90deg,var(--st) 0 5px,transparent 5px 9px);
    background-size:calc(100% - 10px) 1.5px,calc(100% - 10px) 1.5px; background-position:5px 3.5px,5px calc(100% - 3.5px); background-repeat:no-repeat;
    transition:transform .2s, border-color .2s}
  .mark svg,.mark img{width:16px; height:16px; flex:none}
  .mark:hover,.mark[aria-expanded="true"]{transform:translateY(-2px); --st:var(--act); border-color:color-mix(in srgb,var(--act) 30%,var(--paper))}
  .mark:focus-visible{outline:2px solid var(--act); outline-offset:3px}
  :root[data-theme="dark"] .mark{background-color:#22201e; color:var(--ink); border-color:var(--linen); --dove:#c9b8ff; --st:var(--oat)}
  :root[data-theme="dark"] .mark[aria-controls="pop-fullstory"] img{background:#fff; border-radius:4px; padding:1px}
  @media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .mark{background-color:#22201e; color:var(--ink); border-color:var(--linen); --dove:#c9b8ff; --st:var(--oat)} :root:not([data-theme="light"]) .mark[aria-controls="pop-fullstory"] img{background:#fff; border-radius:4px; padding:1px} }
  .pop{position:absolute; left:0; top:calc(100% + 10px); width:min(320px,80vw); background:var(--paper); border-radius:14px; padding:10px; z-index:30; line-height:1.45; cursor:default; border:1px solid var(--linen); box-shadow:0 10px 30px rgba(27,26,23,.10); --seam-c:transparent;
    opacity:0; transform:translateY(6px); pointer-events:none; transition:opacity .2s, transform .2s; text-align:left; display:flex; flex-direction:column; gap:9px}
  .pop.on{opacity:1; transform:none; pointer-events:auto}
  .pop .film{display:block; border-radius:9px; overflow:hidden; background:var(--wool); aspect-ratio:16/9}
  .pop .film img,.pop .film video{width:100%; height:100%; object-fit:cover; object-position:left top}
  /* real screenshots from my work, two of them taking turns */
  .pop .film.shots{position:relative}
  .pop .film.shots img{position:absolute; inset:0; animation:pop-shot 8s ease-in-out infinite}
  .pop .film.shots img + img{animation-delay:-4s}
  .pop:not(.on) .film.shots img{animation-play-state:paused}
  @keyframes pop-shot{0%,42%{opacity:1} 50%,92%{opacity:0} 100%{opacity:1}}
  @media (prefers-reduced-motion:reduce){ .pop .film.shots img{animation:none} .pop .film.shots img + img{opacity:0} }
  .pop .ph-logo{height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px}
  .pop .ph-logo svg,.pop .ph-logo img{width:40px; height:40px}
  .pop .ph-logo small{font-size:12px; color:var(--ash)}
  .pop .desc{display:block; font-size:14px; font-weight:400; color:var(--body); padding:2px 4px 3px; min-height:2.9em}
  /* thread between sections */
  .thread{display:flex; justify-content:center; height:110px; width:100%}
  .thread svg{height:100%; width:auto; overflow:visible}
  .thread path{fill:none; stroke:var(--thread); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; clip-path:inset(0 0 100% 0); transition:clip-path 1.1s cubic-bezier(.2,.7,.2,1)}
  .thread.on path{clip-path:inset(-10px)}
  section{padding-block:12px 52px}
  .sec-head{display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:28px; flex-wrap:wrap}
  .sec-head h2{font-size:30px}

  /* home: selected work */
  .work{display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); gap:34px; align-items:start}
  .list{display:flex; flex-direction:column}
  .row{text-align:left; width:100%; background:none; cursor:pointer; font:inherit; display:grid; grid-template-columns:34px 1fr; gap:5px 10px; align-items:start; padding:20px 16px; border:0; border-radius:14px; position:relative; transition:background .18s; color:var(--body); text-decoration:none}
  .row + .row::before{content:""; position:absolute; left:16px; right:16px; top:0; height:1px; background:var(--linen)}
  .row .idx{font-size:12.5px; color:var(--ash); padding-top:4px}
  .row h3{font-size:19px; line-height:1.25; color:var(--body); transition:color .18s}
  .row p{margin:0; grid-column:2; font-size:14px; color:var(--ash); line-height:1.45}
  .row:hover{background:var(--wool)} .row[aria-current="true"]{background:var(--act-wash)}
  .row[aria-current="true"]::after{content:""; position:absolute; left:0; top:18px; bottom:18px; width:3px; border-radius:2px; background:repeating-linear-gradient(180deg,var(--act) 0 8px,transparent 8px 16px)}
  .row[aria-current="true"] + .row::before{opacity:0} .row[aria-current="true"] h3{color:var(--ink)} .row[aria-current="true"] .idx{color:var(--act-ink)}
  .row:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  .preview{position:sticky; top:84px; border-radius:20px; background:var(--wool); overflow:hidden; border:1px solid var(--linen); --seam-w:2; --seam-c:transparent; transition:border-color .2s}
  .preview:hover,.preview:focus-visible{border-color:transparent; --seam-c:var(--act); outline:none}
  .mat{padding:14px}
  .pv-media{aspect-ratio:16/10; border-radius:12px; overflow:hidden; background:var(--paper); border:1px solid var(--linen)}
  .pv-media img{width:100%; height:100%; object-fit:cover; object-position:left top; transition:opacity .28s ease}
  .pv-body{padding:18px 22px 22px; background:var(--paper)}
  .pv-meta{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px}
  .pv-body h3{font-size:24px; line-height:1.2} .pv-body .desc{margin:8px 0 18px; font-size:15.5px}

  /* home: share and grow */
  .blanket{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px}
  .square{border-radius:18px; background:var(--paper); overflow:hidden; display:flex; flex-direction:column; text-decoration:none; color:inherit; transition:transform .25s cubic-bezier(.2,.7,.2,1), border-color .2s; border:1px solid var(--linen); --seam-c:transparent}
  .square .mat{padding:10px; --pat-ink:var(--c); background:var(--paper); transition:background .25s}
  .square .img{aspect-ratio:16/10; border-radius:11px; overflow:hidden; background:var(--bg)}
  .square .img img{width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.2,.7,.2,1)}
  .square .body{padding:14px 18px 20px; display:flex; flex-direction:column; gap:9px}
  .square h3{font-size:17px; line-height:1.25; align-self:flex-start} .square p{font-size:14px}
  .square:hover,.square:focus-visible{transform:translateY(-4px); border-color:transparent; --seam-c:var(--act); outline:none}
  .square:hover .mat{background:var(--bg); --pat-a:.14} .square:hover .img img{transform:scale(1.035)}
  .s-blush{--c:var(--blush); --bg:var(--blush-bg)} .s-sand{--c:var(--sand); --bg:var(--sand-bg)} .s-sage{--c:var(--sage); --bg:var(--sage-bg)} .s-sky{--c:var(--sky); --bg:var(--sky-bg)} .s-lilac{--c:var(--lilac); --bg:var(--lilac-bg)} .s-clay{--c:var(--clay); --bg:var(--clay-bg)}

  /* ===== case study: a calm reading layout (section list left, one text column) ===== */
  .cs{padding-block:40px 24px}
  .crumb{font-size:14px; font-weight:700; color:var(--ash); text-decoration:none; display:inline-flex; gap:8px; align-items:center; margin-bottom:26px}
  .crumb:hover{color:var(--act-ink)}
  .cs-head{max-width:760px}
  .cs-head h1{font-size:clamp(34px,5vw,50px); line-height:1.04}
  .cs-head .lede{font-size:19px; margin:14px 0 0; color:var(--body)}
  .cs-hero{margin-top:34px}
  .cs-meta{margin-top:26px; padding-top:22px; position:relative}
  .cs-meta::before{content:""; position:absolute; left:0; right:0; top:0; height:1px; background:var(--linen)}
  .cs-sec + .cs-sec::before{content:""; position:absolute; left:0; right:0; top:-3px; height:8px; background:var(--oat); -webkit-mask:var(--p-knit) repeat-x left center / var(--s-knit); mask:var(--p-knit) repeat-x left center / var(--s-knit)}
  .cs-meta dl{margin:0; display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:22px}
  .cs-meta dt{font-size:13px; color:var(--ash); margin-bottom:5px} .cs-meta dd{margin:0; font-size:15px; color:var(--ink); line-height:1.45}
  .cs-meta .tags{margin-top:20px}
  .cs-body{display:grid; grid-template-columns:150px minmax(0,1fr); gap:56px; margin-top:64px; align-items:start}
  .toc{position:sticky; top:96px}
  /* a single thread runs down the side; the section you are reading is where it turns red */
  .toc ol{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; border-left:2px solid var(--linen)}
  .toc a{position:relative; display:block; font-size:14px; color:var(--ash); text-decoration:none; padding:5px 0 5px 16px; transition:color .18s}
  .toc a::before{content:""; position:absolute; left:-2px; top:2px; bottom:2px; width:2px; border-radius:2px; background:var(--thread); transform:scaleY(0); transition:transform .2s ease}
  .toc a:hover{color:var(--ink)} .toc a[aria-current="true"]{color:var(--ink); font-weight:700} .toc a[aria-current="true"]::before{transform:none}
  @media (prefers-reduced-motion:reduce){ .toc a::before{transition:none} }
  .toc a:focus-visible{outline:2px solid var(--act); outline-offset:2px; border-radius:4px}
  .cs-main{min-width:0; max-width:760px}
  .cs-sec{position:relative; padding:44px 0 52px; scroll-margin-top:84px}
  .cs-sec:first-child{padding-top:0}
  .cs-sec > h2{font-size:30px; margin:0 0 20px; display:flex; align-items:baseline; gap:12px}
  .cs-sec > h2 .no{font-family:var(--text); font-size:13px; font-weight:700; color:var(--thread-ink); letter-spacing:0; transform:translateY(-4px)}
  .cs h3{font-size:20px; margin:34px 0 10px} .cs h3.first{margin-top:0}
  .cs p,.cs li{font-size:16.5px; line-height:1.65} .cs p + p{margin-top:12px}
  .cs strong{color:var(--ink)}
  .cs .stat{font-family:var(--display); font-size:30px; color:var(--thread-ink); font-weight:600; letter-spacing:-.02em; line-height:1}
  /* lists: a small cross stitch instead of a bullet */
  .cs ul{list-style:none; margin:12px 0 0; padding:0; display:grid; gap:10px}
  .cs ul li{position:relative; padding-left:24px}
  .cs ul li::before{content:""; position:absolute; left:2px; top:.78em; width:10px; height:2.5px; border-radius:2px; background:var(--thread)}
  .label{font-size:14px; font-weight:700; color:var(--ink); margin:24px 0 0}
  /* paired text and media */
  .split{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; align-items:start; margin-top:24px}
  .split.s-57{grid-template-columns:minmax(0,5fr) minmax(0,7fr)} .split.s-75{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
  .split.mid{align-items:center} .split > :first-child{margin-top:0}
  .ph{margin:0}
  .ph img,.ph video{width:100%; height:auto; border-radius:10px; border:1px solid var(--linen); background:var(--wool)}
  .ph figcaption{font-size:13px; color:var(--ash); margin-top:8px}
  .lb{cursor:zoom-in}
  /* definition rows (problems, constraints) */
  .defs{display:flex; flex-direction:column}
  .defs > div{padding:14px 0; position:relative}
  .defs > div:first-child{padding-top:0}
  .defs > div + div::before{content:""; position:absolute; left:0; right:0; top:0; height:1px; background:var(--linen)}
  .defs b{display:block; color:var(--ink); font-size:16.5px; margin-bottom:3px} .defs p{font-size:15.5px}
  .note{margin-top:26px; border-radius:14px; background:var(--wool); padding:18px 20px 18px 28px; position:relative; overflow:hidden}
  .note::before{content:""; position:absolute; left:4px; top:12px; bottom:12px; width:10px; background:var(--thread); -webkit-mask:var(--p-chain-v) repeat-y center top / 10px auto; mask:var(--p-chain-v) repeat-y center top / 10px auto}
  .note b{display:block; color:var(--ink); font-size:15px; margin-bottom:4px} .note p{font-size:16px}
  /* design implication */
  .impl{margin-top:22px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px}
  .impl > div{border-radius:14px; background:var(--wool); padding:18px; display:flex; flex-direction:column; gap:8px}
  .impl span{width:36px; height:36px; display:grid; place-items:center; border-radius:50%; background:var(--paper); color:var(--ink); margin-bottom:4px; border:1px solid var(--linen); --seam-c:transparent}
  .impl b{color:var(--ink); font-size:15.5px; line-height:1.3} .impl p{font-size:14.5px; line-height:1.55}
  /* stitched diagrams (redrawn from the old generated images) */
  .pat{border-radius:16px; background:var(--wool); padding:20px; margin:0; --seam-c:transparent}
  .pat .ttl{font-size:14px; font-weight:700; color:var(--ash); margin-bottom:14px}
  .ba{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px}
  .ba .col{display:flex; flex-direction:column; align-items:center; text-align:center; --c:var(--ash); --cw:var(--linen)}
  .ba .after{--c:var(--thread); --cw:var(--thread-wash)}
  .ba .head{font-weight:700; font-size:13px; padding:4px 14px; border-radius:999px; background:var(--cw); color:var(--body)}
  .ba .after .head{background:#B8291F; color:#fff}
  .ba .node{width:100%; background:var(--paper); border-radius:9px; padding:7px 10px; font-size:13.5px; color:var(--ink); line-height:1.35; border:1.5px solid var(--cw)}
  .ba .after .node{border-color:color-mix(in srgb,var(--thread) 35%,var(--paper))}
  .ba .arr{display:block; width:12px; height:20px; position:relative; flex:none}
  .ba .arr::before{content:""; position:absolute; left:5px; top:2px; bottom:5px; width:2px; background:repeating-linear-gradient(180deg,var(--c) 0 3px,transparent 3px 5px)}
  .ba .arr::after{content:""; position:absolute; left:1px; bottom:1px; width:10px; height:7px; background:var(--c); -webkit-mask:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5L6 6.5L10.5 1.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5L6 6.5L10.5 1.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
  .ba .loop{display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; color:var(--body); background:var(--linen); border-radius:999px; padding:3px 11px}
  .ba .loop svg{width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}
  .loopfig{margin-top:26px}
  .loopfig .steps{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; position:relative}
  .loopfig .steps::before{content:""; position:absolute; left:12.5%; right:12.5%; top:19px; height:2px; background:repeating-linear-gradient(90deg,var(--thread) 0 8px,transparent 8px 14px)}
  .loopfig .go{position:absolute; top:15px; width:8px; height:10px; background:var(--thread); -webkit-mask:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5L6 6.5L10.5 1.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5L6 6.5L10.5 1.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transform:rotate(-90deg)}
  .loopfig .g1{left:calc(37.5% - 30px)} .loopfig .g2{left:calc(62.5% - 30px)} .loopfig .g3{left:calc(87.5% - 30px)}
  .loopfig .step{position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; gap:3px}
  .loopfig .step i{width:40px; height:40px; border-radius:50%; background:var(--paper); display:grid; place-items:center; font-style:normal; font-weight:700; font-size:13px; color:var(--thread-ink); --seam-c:var(--thread); --seam-w:2; --seam-d:5; --seam-g:4; margin-bottom:8px; z-index:1}
  .loopfig .step b{color:var(--ink); font-size:15px} .loopfig .step span{font-size:13.5px; color:var(--body); line-height:1.4}
  .loopfig .back{position:relative; margin:12px 12.5% 0; height:20px; border:2px dashed var(--thread); border-top:0; border-radius:0 0 16px 16px}
  .loopfig .back::before{content:""; position:absolute; left:-7px; top:-9px; width:12px; height:9px; background:var(--thread); -webkit-mask:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5L6 6.5L10.5 1.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5L6 6.5L10.5 1.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transform:rotate(180deg)}
  .chart{width:100%; height:auto; display:block; overflow:visible}
  .chart text{font-family:var(--text); font-size:13.5px; fill:var(--ink)}
  .chart .d{fill:var(--ash); font-size:12px} .chart .s{fill:var(--thread-ink); font-size:12px; font-weight:700; paint-order:stroke; stroke:var(--wool); stroke-width:4px}
  .chart .node{fill:var(--paper); stroke:var(--oat); stroke-width:1.5; stroke-dasharray:6 5; stroke-linecap:round}
  .chart .dec{fill:var(--thread-wash); stroke:var(--thread); stroke-width:1.5; stroke-dasharray:6 5; stroke-linecap:round}
  .chart .term{fill:var(--paper); stroke:var(--ink); stroke-width:1.5}
  .chart .yarn{fill:none; stroke:var(--thread); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
  .chart .brk{fill:none; stroke:var(--oat); stroke-width:1.5; stroke-linecap:round}
  .chart .key text{font-size:12px; fill:var(--body)}
  /* key designs */
  .kd1{border-radius:18px; background:var(--wool); padding:22px; --seam-c:transparent}
  .kd1 .eyebrow{margin-bottom:4px} .kd1 h3{margin:0 0 6px} .kd1 > p{font-size:15.5px; margin-bottom:20px}
  .kd1 .cmp{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px}
  .kd1 .opt{display:flex; flex-direction:column; gap:10px}
  .kd1 .opt small{font-size:13px; font-weight:700; color:var(--ash)} .kd1 .win small{color:var(--thread-ink)}
  .kd1 .opt img{border-radius:9px; border:1px solid var(--linen); background:var(--paper); aspect-ratio:4/3; object-fit:cover; object-position:left top; width:100%}
  .kd1 .lose img{opacity:.8} .kd1 .win img{outline:2px solid var(--thread); outline-offset:3px}
  .kd1 h4{font-size:16.5px; margin-top:4px} .kd1 .opt ul{margin-top:2px; gap:6px} .kd1 .opt li{font-size:14.5px; line-height:1.5}
  .eyebrow{display:block; font-size:13px; font-weight:700; color:var(--thread-ink)}
  .kds{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:32px}
  .kd{display:flex; flex-direction:column; gap:12px}
  .kd img{width:100%; aspect-ratio:4/3; object-fit:cover; object-position:left top; border-radius:10px; border:1px solid var(--linen); background:var(--wool)}
  .kd h3,.kd h4{font-size:17px; line-height:1.25; margin:2px 0 4px} .kd p{font-size:14.5px; line-height:1.55}
  /* impact: points beside the pattern chart */
  .impact{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:36px; align-items:start}
  .impact .label:first-child{margin-top:0}
  .impact .pat{position:sticky; top:96px; padding:16px 14px}
  /* reflection */
  .refl{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:6px 36px}
  .refl > div{padding:18px 0; position:relative}
  .refl > div::before{content:""; position:absolute; left:0; right:0; top:0; height:1px; background:var(--linen)}
  .refl .n{display:block; font-size:13px; font-weight:700; color:var(--thread-ink); margin-bottom:6px}
  .refl b{display:block; color:var(--ink); font-size:17px; line-height:1.3; margin-bottom:6px} .refl p{font-size:15px; line-height:1.6}
  /* before / after slider */
  .bas{position:relative}
  .bas .frame{position:relative; overflow:hidden; border-radius:14px; border:1px solid var(--linen); user-select:none; touch-action:pan-y; background:var(--paper)}
  .bas .frame img{width:100%; height:auto; pointer-events:none}
  .bas .before{position:absolute; inset:0; clip-path:inset(0 calc(100% - var(--p,0%)) 0 0)}
  .bas .before img{width:100%; height:100%; object-fit:cover; object-position:left top}
  .bas .handle{position:absolute; top:0; bottom:0; left:var(--p,0%); width:0; z-index:3}
  .bas .handle::before{content:""; position:absolute; top:0; bottom:0; left:-1px; width:2px; background:repeating-linear-gradient(180deg,var(--thread) 0 8px,transparent 8px 13px)}
  .bas .knob{position:absolute; top:50%; left:0; width:38px; height:38px; transform:translate(-50%,-50%); border-radius:50%; background:var(--paper); border:2px solid var(--thread); display:grid; place-items:center; cursor:ew-resize; color:var(--thread-ink)}
  .bas .knob:focus-visible{outline:2px solid var(--act); outline-offset:3px}
  .bas .knob svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
  .bas .lbl{position:absolute; top:12px; z-index:2; font-size:12.5px; font-weight:700; padding:4px 10px; border-radius:999px}
  .bas .lbl.b{left:12px; background:var(--linen); color:var(--body)} .bas .lbl.a{right:12px; background:#B8291F; color:#fff}
  .bas .sbs{display:none; grid-template-columns:1fr 1fr; gap:12px}
  .bas.is-sbs .frame{display:none} .bas.is-sbs .sbs{display:grid}
  .bas .sbs figure{margin:0; position:relative} .bas .sbs img{width:100%; height:auto; border-radius:12px; border:1px solid var(--linen)} .bas .sbs .lbl{left:10px; right:auto; top:10px}
  /* the view switch is a mode, not a tab: plain words, the chosen one underlined with a running stitch */
  .bas .seg{display:flex; justify-content:center; gap:18px; margin-top:14px}
  .bas .seg button{position:relative; font:inherit; font-size:13.5px; font-weight:700; color:var(--ash); background:none; border:0; border-radius:4px; padding:6px 2px 9px; cursor:pointer; transition:color .15s}
  .bas .seg button::after{content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:repeating-linear-gradient(90deg,var(--act) 0 6px,transparent 6px 10px); opacity:0; transform:scaleX(.4); transition:opacity .2s, transform .25s cubic-bezier(.2,.7,.2,1)}
  .bas .seg button:hover{color:var(--ink)}
  .bas .seg button[aria-pressed="true"]{color:var(--ink)}
  .bas .seg button[aria-pressed="true"]::after{opacity:1; transform:none}
  .bas .seg button:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  /* screens inside a before / after comparison */
  .bas .screens{display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px}
  .tabs button,.bas .screens button{font:inherit; font-size:13.5px; font-weight:700; color:var(--body); background:var(--paper); border:1px solid var(--linen); border-radius:999px; padding:6px 13px; cursor:pointer; transition:background .15s, color .15s, border-color .15s}
  .tabs button:hover,.bas .screens button:hover{border-color:var(--oat); color:var(--ink)}
  .tabs button[aria-selected="true"],.bas .screens button[aria-selected="true"]{background:var(--sel-bg); border-color:var(--sel-bd); color:var(--sel-fg)}
  .tabs button:focus-visible,.bas .screens button:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  .bas .frame img{transition:opacity .2s}
  /* figures with captions */
  .fig{margin:24px 0 0} .fig img{width:100%; height:auto; border-radius:10px; border:1px solid var(--linen); background:var(--wool)}
  .fig figcaption,.cap{font-size:13.5px; color:var(--ash); margin-top:8px; text-align:center}
  .pair{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; margin-top:24px} .pair .fig{margin:0}
  /* design values strip */
  .values{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin:4px 0 26px}
  .values > div{border-radius:12px; background:var(--wool); padding:12px 13px; display:flex; flex-direction:column; gap:3px}
  .values .n{font-size:12.5px; font-weight:700; color:var(--thread-ink)} .values b{font-size:15px; color:var(--ink); line-height:1.3} .values small{font-size:13px; color:var(--ash); line-height:1.35}
  /* definition grid in two columns */
  .defs.two{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:32px}
  .defs.two > div{padding:14px 0} .defs.two > div:nth-child(2){padding-top:0} .defs.two > div:nth-child(2)::before{display:none}
  .box{margin-top:24px; border-radius:16px; background:var(--wool); padding:20px 22px}
  .box > .label:first-child{margin-top:0; margin-bottom:14px; font-size:16px}
  /* bold lead-in lists */
  .cs ul.leads li strong{color:var(--ink)}
  .note ol.goals{list-style:none; margin:8px 0 0; padding:0; display:grid; gap:6px; counter-reset:g}
  .note ol.goals li{counter-increment:g; position:relative; padding-left:32px; font-size:16px; line-height:1.55}
  .note ol.goals li::before{content:counter(g,decimal-leading-zero); position:absolute; left:0; top:.15em; font-size:13px; font-weight:700; color:var(--thread-ink)}
  .cs-head + .cs-body{margin-top:48px}
  /* key design cards in two columns */
  .kds.two{grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 22px; margin-top:16px}
  .kds.two .kd img{aspect-ratio:16/10}
  .kds .kd ul{margin-top:6px; gap:5px} .kds .kd li{font-size:14.5px; line-height:1.5}
  .kds .kd.wide{grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; align-items:center}
  .kds.fit .kd img{aspect-ratio:auto; object-fit:contain; background:var(--paper)}
  .grp{font-size:17px; margin:30px 0 0 !important} .grp:first-child{margin-top:0 !important}
  .kdv{margin-top:34px} .kdv h4{font-size:17px; margin:2px 0 12px}
  /* carousel of workshop slides */
  .slides{margin-top:24px}
  .slides .tabs{display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px}
  .slides .stage{position:relative; border-radius:12px; overflow:hidden; border:1px solid var(--linen); background:var(--wool); aspect-ratio:16/9}
  .slides .stage img{position:absolute; inset:0; width:100%; height:100%; object-fit:contain; transition:opacity .2s}
  .slides .nav2{position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%; border:1px solid var(--linen); background:var(--paper); color:var(--ink); display:grid; place-items:center; cursor:pointer; z-index:2}
  .slides .nav2:hover{border-color:var(--oat)} .slides .nav2:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  .slides .nav2 svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
  .slides .prev{left:10px} .slides .next{right:10px}
  .slides .count{position:absolute; right:12px; bottom:10px; font-size:12.5px; font-weight:700; color:var(--ink); background:var(--paper); border-radius:999px; padding:3px 10px; z-index:2}
  .lottie{margin-top:24px; border-radius:12px; overflow:hidden; border:1px solid var(--linen); background:#fff; aspect-ratio:16/9}
  .lottie svg{display:block}
  /* writing: one calm column */
  .post .cs-head{max-width:680px}
  .post-body{max-width:680px; margin-top:40px; padding-top:30px; position:relative}
  .post-body::before{content:""; position:absolute; left:0; right:0; top:-3px; height:8px; background:var(--oat); -webkit-mask:var(--p-knit) repeat-x left center / var(--s-knit); mask:var(--p-knit) repeat-x left center / var(--s-knit)}
  .post-body h2{font-size:26px; margin:38px 0 12px; scroll-margin-top:90px}
  .post-body p{font-size:18px; line-height:1.7} .post-body p + p{margin-top:16px}
  .post-body ul,.post-body ol{margin-top:14px} .post-body :is(ul,ol) + p{margin-top:16px} .post-body li{font-size:18px; line-height:1.65}
  .post-body ol.num{list-style:none; padding:0; display:grid; gap:10px; counter-reset:n}
  .post-body ol.num li{counter-increment:n; position:relative; padding-left:34px}
  .post-body ol.num li::before{content:counter(n,decimal-leading-zero); position:absolute; left:0; top:.2em; font-size:13px; font-weight:700; color:var(--thread-ink)}
  .post-body h3{font-size:20px; margin:28px 0 8px}
  .post-body ul{padding-left:22px} .post-body li + li{margin-top:6px}
  .post-body figure{margin:30px 0}
  .post-body figure img,.post-body figure video{display:block; width:100%; height:auto; border-radius:14px; border:1px solid var(--linen); background:var(--wool)}
  .post-body figure img.lb{cursor:zoom-in}
  .post-body figcaption{margin-top:10px; font-size:14px; line-height:1.5; color:var(--ash); text-align:center}
  .post-body .post-row{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; margin:30px 0}
  .post-body .post-row figure{margin:0}
  .post-body p img{max-width:100%; height:auto; border-radius:8px}
  .post-body blockquote{margin:26px 0; padding:2px 0 2px 18px; border-left:3px solid var(--thread)}
  .post-body blockquote p{font-family:var(--display); font-size:21px; line-height:1.5; color:var(--ink)}
  .post-body code{font-size:.88em; background:var(--wool); border:1px solid var(--linen); border-radius:6px; padding:1px 5px}
  .post-body pre{margin:22px 0; padding:16px 18px; background:var(--wool); border:1px solid var(--linen); border-radius:12px; overflow-x:auto}
  .post-body pre code{background:none; border:0; padding:0; font-size:14px; line-height:1.6}
  .post-body hr{border:0; border-top:1.5px dashed var(--oat); margin:36px 0}
  .post-end{max-width:680px; margin:44px 0 0; font-size:16px}
  .post .cs-head,.post-body{word-break:keep-all; overflow-wrap:break-word} /* Korean breaks between words, not syllables */
  /* archive */
  .gal{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:22px}
  .gal.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .gal img{width:100%; height:auto; border-radius:10px; border:1px solid var(--linen); background:var(--wool)}
  .yr{font-family:var(--display); font-size:22px; font-weight:600; color:var(--ink); margin:30px 0 0}
  .cs-sec .kicker{margin-bottom:6px}
  /* video */
  .vid{position:relative; cursor:pointer}
  .vid .state{position:absolute; right:12px; bottom:12px; font-size:12.5px; font-weight:700; color:#fff; background:rgba(27,26,23,.7); padding:5px 11px; border-radius:999px; opacity:0; transition:opacity .2s}
  .vid.paused .state{opacity:1}
  /* explore more */
  .more{margin-top:40px; padding-top:44px; position:relative}
  .more::before{content:""; position:absolute; left:0; right:0; top:-3px; height:8px; background:var(--oat); -webkit-mask:var(--p-knit) repeat-x left center / var(--s-knit); mask:var(--p-knit) repeat-x left center / var(--s-knit)}
  .more h2{font-size:26px; margin:0 0 20px}
  .rail{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px}
  .rail a{border-radius:16px; background:var(--paper); overflow:hidden; text-decoration:none; color:inherit; display:flex; flex-direction:column; border:1px solid var(--linen); --seam-c:transparent; transition:transform .25s, border-color .2s}
  .rail a:hover,.rail a:focus-visible{transform:translateY(-4px); border-color:transparent; --seam-c:var(--act); outline:none}
  .rail .mat{padding:9px} .rail .im{aspect-ratio:16/10; border-radius:9px; overflow:hidden; background:var(--paper); border:1px solid var(--linen)}
  .rail .im img{width:100%; height:100%; object-fit:cover; object-position:left top}
  .rail .body{padding:12px 14px 16px; display:flex; flex-direction:column; gap:8px} .rail h3{font-size:16.5px; margin:0; align-self:flex-start}

  /* ===== about ===== */
  .ab-hero{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:52px; align-items:center; padding-block:60px 40px}
  .ab-hero .role{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:16px 0 22px; font-size:17px; font-weight:700; color:var(--ink)}
  .ab-hero .role i{width:18px; height:2px; background:repeating-linear-gradient(90deg,var(--thread) 0 6px,transparent 6px 10px)}
  .ab-hero .mission{font-size:19px; line-height:1.6}
  .ab-hero .mission strong{color:var(--ink)}
  .acc{display:flex; gap:8px; height:380px}
  .acc button{position:relative; flex:1 1 0; min-width:0; border:0; padding:0; border-radius:16px; overflow:hidden; cursor:pointer; background:var(--wool); transition:flex-grow .55s cubic-bezier(.2,.7,.2,1); --seam-c:transparent; --seam-w:2; --seam-inset:9}
  .acc button[aria-pressed="true"]{flex-grow:5; --seam-c:var(--paper)}
  .acc img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
  .acc span{position:absolute; left:12px; bottom:12px; z-index:3; font:inherit; font-size:13px; font-weight:700; padding:6px 11px; border-radius:999px; background:var(--paper); color:var(--ink); white-space:nowrap; opacity:0; transform:translateY(6px); transition:opacity .25s .15s, transform .25s .15s}
  .acc button[aria-pressed="true"] span{opacity:1; transform:none}
  .acc button:focus-visible{outline:2px solid var(--act); outline-offset:3px}
  .ab-sec{padding-block:44px 40px; position:relative}
  .ab-sec + .ab-sec::before{content:""; position:absolute; left:0; right:0; top:-3px; height:8px; background:var(--oat); -webkit-mask:var(--p-knit) repeat-x left center / var(--s-knit); mask:var(--p-knit) repeat-x left center / var(--s-knit)}
  .kicker{font-size:14px; font-weight:700; color:var(--thread-ink); margin-bottom:8px}
  .ab-sec h2{font-size:30px} .ab-sec .intro{font-size:17.5px; margin-top:10px; max-width:44rem} .ab-sec .intro strong{color:var(--ink)}
  /* journey: a red thread with a knot per year */
  .tl{--yc:140px; --gp:46px; --rx:calc(var(--yc) + var(--gp) / 2); position:relative; margin-top:40px}
  .tl::before{content:""; position:absolute; left:calc(var(--rx) - 1px); top:8px; bottom:8px; width:2px; background:repeating-linear-gradient(180deg,var(--oat) 0 7px,transparent 7px 13px)}
  .tl .fill{position:absolute; left:calc(var(--rx) - 1px); top:8px; width:2px; height:var(--tl,0px); background:repeating-linear-gradient(180deg,var(--thread) 0 7px,transparent 7px 13px); transition:height .2s linear}
  .tl-item{display:grid; grid-template-columns:var(--yc) minmax(0,1fr); gap:var(--gp); padding-bottom:56px; position:relative}
  .tl-item:last-child{padding-bottom:0}
  .tl-year{position:sticky; top:96px; align-self:start; font-family:var(--display); font-size:26px; font-weight:600; color:var(--oat); text-align:right; letter-spacing:-.02em; line-height:1.15; white-space:nowrap; transition:color .4s}
  .tl-item::after{content:""; box-sizing:border-box; position:absolute; left:calc(var(--rx) - 7px); top:9px; width:14px; height:14px; border-radius:50%; background:var(--paper); border:2px solid var(--oat); transition:border-color .4s, background .4s}
  .tl-item.on .tl-year{color:var(--ink)} .tl-item.on::after{border-color:color-mix(in srgb,var(--thread) 62%,var(--paper)); background:color-mix(in srgb,var(--thread) 62%,var(--paper))}
  .tl-body{max-width:600px}
  .tl-body h3{font-size:22px; line-height:1.25}
  .tl-body .sub{display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; font-size:14.5px; font-weight:700; color:var(--ash); margin:6px 0 16px}
  .tl-body .sub i{width:4px; height:4px; border-radius:50%; background:var(--oat)}
  .tl-body p{font-size:16.5px}
  .tl-pics{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:16px}
  .tl-pics img{width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:12px; border:1px solid var(--linen); background:var(--wool)}
  .tl-pics.one{grid-template-columns:1fr} .tl-pics.one img{aspect-ratio:16/9}
  .tl-pics.three img:first-child{grid-column:1 / -1; aspect-ratio:16/9}
  .tl-pics a{display:block; grid-column:1 / -1}
  /* community */
  .cards3{display:grid; grid-template-columns:minmax(0,1fr); gap:14px; margin-top:26px; max-width:820px}
  .cards3 > div{border-radius:16px; background:var(--paper); padding:12px; display:grid; grid-template-columns:200px minmax(0,1fr); grid-template-rows:auto 1fr; column-gap:22px; row-gap:6px; align-items:start; border:1px solid var(--linen)}
  .cards3 .th{display:block; grid-row:1 / span 2; width:100%; aspect-ratio:16/10; border-radius:10px; overflow:hidden; border:1px solid var(--linen); background:var(--wool)}
  .cards3 .th img{width:100%; height:100%; object-fit:cover}
  .cards3 b{color:var(--ink); font-size:17px; line-height:1.3; padding-top:10px} .cards3 p{font-size:15px}
  /* toolkit */
  .kit{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:26px}
  .kit > div{border-radius:16px; background:var(--paper); overflow:hidden; border:1px solid var(--linen)}
  .kit h3{font-family:var(--text); font-size:14.5px; font-weight:700; letter-spacing:0; color:var(--ink); padding:13px 16px; background:var(--wool); display:flex; align-items:center; gap:9px}
  .kit .gi{width:26px; height:26px; flex:none; display:grid; place-items:center; border-radius:7px; color:var(--c); background:color-mix(in srgb,var(--c) 12%,var(--paper))}
  .kit .gi svg{width:16px; height:16px}
  .kit ul{list-style:none; margin:0; padding:4px 0}
  .kit li{display:flex; align-items:center; gap:11px; padding:8px 16px; font-size:15px; color:var(--ink); position:relative}
  .kit li + li::before{content:""; position:absolute; left:16px; right:16px; top:0; height:1px; background:var(--linen)}
  .kit .lg{width:26px; height:26px; flex:none; border-radius:7px; display:grid; place-items:center; background:var(--wool); border:1px solid var(--linen)}
  .kit .lg svg,.kit .lg img{width:15px; height:15px}
  .kit .lg img{border-radius:3px}
  .kit .lg.ic{color:var(--c); background:color-mix(in srgb,var(--c) 9%,var(--paper)); border-color:color-mix(in srgb,var(--c) 18%,var(--paper))}
  .kit .lg.ic svg{width:16px; height:16px}
    /* traveling: a cross stitch world */
  .map{margin-top:26px; border-radius:18px; background:var(--wool); padding:14px; --seam-c:transparent}
  .map-in{position:relative; width:100%; aspect-ratio:119 / 60}
  .map-in svg{position:absolute; inset:0; width:100%; height:100%; overflow:visible}
  .map .land path{fill:none; stroke:var(--oat); stroke-width:.17; stroke-linecap:round}
  .map .leads line{stroke:var(--ash); stroke-width:1; stroke-dasharray:3 2; vector-effect:non-scaling-stroke; opacity:.7}
  .map .pin{position:absolute; width:8px; height:8px; margin:-4px 0 0 -4px; border-radius:50%; background:var(--thread); box-shadow:0 0 0 2px var(--wool)}
  .map .badge{position:absolute; transform:translate(-50%,-50%); display:flex; align-items:center; gap:4px; z-index:2; pointer-events:none}
  .map .badge img{width:20px; height:20px; border-radius:50%; object-fit:cover; border:2px solid var(--ink); background:#fff; flex:none}
  .map .badge b{font-size:10.5px; font-weight:700; line-height:16px; color:var(--ink); background:var(--paper); border:1px solid var(--linen); border-radius:999px; padding:1px 7px; white-space:nowrap}
  @media (max-width:760px){ .map .badge b{display:none} .map .badge img{width:14px; height:14px; border-width:1.5px} }


  /* ===== craft ===== */
  .craft{padding-block:48px 24px}
  .craft-head h1{font-size:clamp(40px,6vw,58px); line-height:1}
  .craft-head .lede{font-size:18.5px; margin:14px 0 0; max-width:38rem}
  .chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:26px}
  .chip{font:inherit; font-size:14px; font-weight:700; color:var(--body); background:var(--paper); border:1px solid var(--linen); border-radius:999px; padding:8px 15px; cursor:pointer; transition:background .18s, color .18s, border-color .18s}
  .chip:hover{border-color:var(--act); color:var(--act-ink)}
  .chip[aria-pressed="true"]{background:var(--sel-bg); border-color:var(--sel-bd); color:var(--sel-fg)}
  .chip:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  .gallery{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px 20px; margin-top:30px; align-items:start}
  @media (max-width:860px){ .gallery{grid-template-columns:repeat(2,minmax(0,1fr))} }
  @media (max-width:540px){ .gallery{grid-template-columns:1fr} }
  .craft-card{display:block; min-width:0}
  .craft-card[hidden]{display:none}
  .craft-card .cm img{width:100%; height:auto; object-fit:cover; border-radius:14px; border:1px solid var(--linen); background:var(--wool); display:block}
  .craft-card .cm.empty{border-radius:14px; background:var(--bg); --pat-ink:var(--c); --pat-a:.16; display:grid; place-items:center}
  .craft-card .cm.empty span{font-size:13px; font-weight:700; color:var(--c); background:var(--paper); border-radius:999px; padding:6px 12px; position:relative; z-index:1}
  .craft-card .askdemo{position:relative; border-radius:14px; background:var(--wool); aspect-ratio:1/1; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:8px; padding:22px; overflow:hidden}
  .craft-card .askdemo::before{content:""; position:absolute; inset:0; background:var(--thread); opacity:.08; -webkit-mask:var(--p-dc) repeat 0 0 / var(--s-dc); mask:var(--p-dc) repeat 0 0 / var(--s-dc)}
  .askdemo > *{position:relative}
  .askdemo .f{align-self:stretch; display:flex; align-items:center; gap:8px; margin-bottom:4px; padding:8px 8px 8px 12px; border-radius:14px; background:var(--paper); font-size:14px; color:var(--body); outline:1.6px dashed var(--act); outline-offset:-4px}
  .askdemo .f svg{width:17px; height:17px; fill:none; stroke:var(--act-ink); stroke-width:2; stroke-linecap:round}
  .askdemo .f i{margin-left:auto; width:30px; height:30px; border-radius:10px; background:var(--thread)}
  .askdemo .b{font-size:13px; color:var(--ink); background:var(--paper); border:1px solid var(--linen); border-radius:999px; padding:7px 12px}
  /* work kind labels in the list */
  .row h3 .kind{font-family:var(--text); font-size:12px; letter-spacing:0; padding:5px 9px; margin-left:10px; vertical-align:3px}
  /* photo carousel inside a card */
  .craft-card .car{position:relative; border-radius:14px; overflow:hidden; background:var(--wool); aspect-ratio:4/5}
  .craft-card .car img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border:0; border-radius:0}
  .craft-card .car img[hidden]{display:none}
  .cnav{position:absolute; top:50%; z-index:2; width:34px; height:34px; margin-top:-17px; border-radius:50%; border:1px solid var(--linen); background:var(--paper); color:var(--ink); display:grid; place-items:center; cursor:pointer; opacity:0; transition:opacity .2s, border-color .15s}
  .cnav svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}
  .cnav.prev{left:10px} .cnav.next{right:10px} .cnav:hover{border-color:var(--act)} .cnav:focus-visible{opacity:1; outline:2px solid var(--act); outline-offset:2px}
  .car:hover .cnav,.car:focus-within .cnav{opacity:1}
  @media (hover:none){ .cnav{opacity:1} }
  .car .cnt{position:absolute; right:10px; bottom:10px; z-index:2; font-size:12px; font-weight:700; color:var(--ink); background:var(--paper); border-radius:999px; padding:3px 9px}
  .craft-card .row2{display:flex; align-items:center; gap:8px} .craft-card .row2 small{font-size:12.5px; font-weight:700; color:var(--ash)}
  /* screenshots sit on a sky mat so every card shares one frame */
  .craft-card .cm.shot{aspect-ratio:4/5; border-radius:14px; background:var(--sky-bg); --pat-ink:var(--sky); --pat-a:.12; display:grid; place-items:center; padding:18px}
  .craft-card .cm.shot img{width:100%; height:auto; max-height:100%; object-fit:contain; border-radius:10px; box-shadow:0 8px 22px rgba(27,26,23,.10)}
  .craft-card .cm.shot video{width:100%; height:auto; border-radius:10px; box-shadow:0 8px 22px rgba(27,26,23,.10); background:var(--paper)}
  .craft-card .cm.shot.car{display:block; padding:0}
  .craft-card .cm.shot.car img{inset:auto; left:18px; top:50%; transform:translateY(-50%); width:calc(100% - 36px); height:auto}
  /* motto at the top of craft */
  .motto{margin:18px 0 0; max-width:40rem}
  .motto blockquote{margin:0}
  .motto blockquote p{font-family:var(--display); font-style:italic; font-weight:400; font-size:clamp(28px,4.2vw,40px); line-height:1.1; color:var(--thread); margin:0}
  .motto blockquote p::before{content:"\201C"} .motto blockquote p::after{content:"\201D"}
  .motto figcaption{font-size:18px; color:var(--body); margin-top:12px; line-height:1.6}
  /* writing cards */
  .craft-card .wr{display:block; text-decoration:none; color:inherit}
  .craft-card .wm{display:flex; align-items:flex-end; aspect-ratio:4/5; position:relative; overflow:hidden; padding:16px; border-radius:14px; background:var(--sand-bg); --pat-ink:var(--sand); --pat-a:.16; transition:--pat-a .2s}
  .craft-card .wm b{position:relative; font-size:12.5px; font-weight:700; color:var(--sand); background:var(--paper); border-radius:999px; padding:5px 11px}
  .craft-card .wr:hover .wm{--pat-a:.26}
  .craft-card .wm.ban{background:var(--wool)} .craft-card .wm.ban img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.2,.7,.2,1)}
  .craft-card .wr:hover .wm.ban img{transform:scale(1.03)}
  .craft-card .wr h3{align-self:flex-start}
  .craft-card .wr:focus-visible{outline:2px solid var(--act); outline-offset:3px; border-radius:14px}
  .craft-card .cb{padding:12px 4px 6px; display:flex; flex-direction:column; gap:7px; align-items:flex-start}
  .craft-card h3{font-size:18px; line-height:1.25} .craft-card p{font-size:14.5px}

  /* ===== how this site is made: a sheet from the right ===== */
  .sheet-scrim{position:fixed; inset:0; z-index:70; background:color-mix(in srgb,var(--ink) 38%,transparent); opacity:0; transition:opacity .3s}
  .sheet{position:fixed; top:0; right:0; bottom:0; z-index:71; width:min(460px,100vw); background:var(--paper); overflow-y:auto; overscroll-behavior:contain;
    transform:translateX(100%); transition:transform .38s cubic-bezier(.2,.7,.2,1); padding:22px max(24px,env(safe-area-inset-right,0px)) 40px 26px;
    border-left:2px dashed color-mix(in srgb,var(--thread) 45%,var(--paper))}
  .sheet-open .sheet-scrim{opacity:1} .sheet-open .sheet{transform:none}
  .sheet header{display:flex; align-items:center; justify-content:space-between; gap:12px; position:sticky; top:-22px; background:var(--paper); padding:6px 0 12px; margin-top:-6px; z-index:1}
  .sheet header b{font-family:var(--display); font-size:24px; font-weight:600; color:var(--ink)}
  .sheet .x{width:36px; height:36px; border-radius:50%; border:0; background:var(--wool); cursor:pointer; color:var(--body); display:grid; place-items:center}
  .ask .x:focus-visible,.sheet .x:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  .sheet .x svg{width:16px; height:16px; stroke:currentColor; stroke-width:2; fill:none; stroke-linecap:round}
  .sheet h3{font-family:var(--text); font-size:13.5px; font-weight:700; color:var(--thread-ink); letter-spacing:0; margin:28px 0 10px}
  .sheet p{font-size:15.5px; line-height:1.65} .sheet p + p{margin-top:10px}
  .sheet p strong{color:var(--ink)}
  .sheet .swatches{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px}
  .sheet .sw{display:flex; flex-direction:column; gap:5px; font-size:12px; color:var(--ash); line-height:1.3}
  .sheet .sw i{display:block; height:40px; border-radius:10px; border:1px solid var(--linen)}
  .sheet .sw b{color:var(--ink); font-size:12.5px}
  .sheet .actpick{margin-top:12px; padding:14px; border-radius:14px; background:var(--wool); display:flex; flex-direction:column; gap:10px}
  .sheet .actpick b{font-size:13.5px; color:var(--ink)} .sheet .actpick small{font-size:12px; color:var(--ash)}
  .seg2{display:flex; flex-wrap:wrap; gap:6px}
  .seg2 button{font:inherit; font-size:13.5px; font-weight:700; color:var(--body); background:var(--paper); border:1px solid var(--linen); border-radius:999px; padding:6px 13px; cursor:pointer}
  .seg2 button:hover{border-color:var(--act); color:var(--act-ink)}
  .seg2 button[aria-pressed="true"]{background:var(--sel-bg); border-color:var(--sel-bd); color:var(--sel-fg)}
  .seg2 button:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  .sheet .yarns{display:flex; gap:6px; margin-top:10px} .sheet .yarns i{flex:1; height:14px; border-radius:999px}
  .sheet .type{display:grid; gap:6px; padding:14px 16px; border-radius:14px; background:var(--wool)}
  .sheet .type .d{font-family:var(--display); font-size:30px; font-weight:600; color:var(--ink); line-height:1.1; letter-spacing:-.02em}
  .sheet .type .t{font-size:15px; color:var(--body)} .sheet .type small{font-size:12px; color:var(--ash)}
  .sheet .details{display:grid; grid-template-columns:1fr 1fr; gap:8px}
  .sheet .det{border-radius:14px; background:var(--wool); padding:14px; display:flex; flex-direction:column; gap:10px; align-items:flex-start; justify-content:space-between; min-height:110px}
  .sheet .det small{font-size:12px; color:var(--ash); line-height:1.35}
  .sheet .det .knotted{font-family:var(--display); font-weight:600; font-size:36px; line-height:1; color:var(--ink)}
  .sheet .det .run{width:100%; height:2px; background:repeating-linear-gradient(90deg,var(--thread) 0 8px,transparent 8px 14px)}
  .sheet .det .knit{width:100%; height:8px; background:var(--oat); -webkit-mask:var(--p-knit) repeat-x left center / var(--s-knit); mask:var(--p-knit) repeat-x left center / var(--s-knit)}
  .sheet .det .chv{width:100%; height:12px; background:var(--thread); -webkit-mask:var(--p-chain) repeat-x left center / auto 12px; mask:var(--p-chain) repeat-x left center / auto 12px}
  .sheet .det .seam-demo{width:100%; height:34px; border-radius:10px; background:var(--paper); --seam-c:var(--act)}
  .sheet .det .mark{cursor:default}
  .sheet ol{margin:0; padding:0; list-style:none; display:grid; gap:12px; counter-reset:s}
  .sheet ol li{position:relative; padding-left:34px; font-size:15px; line-height:1.55; counter-increment:s}
  .sheet ol li::before{content:counter(s,decimal-leading-zero); position:absolute; left:0; top:1px; font-size:12.5px; font-weight:700; color:var(--thread-ink)}
  .sheet ol li b{color:var(--ink)}
  .sheet .more-link{display:inline-block; margin-top:22px}
  /* chat, back to top, lightbox */
  /* ask any question: a search icon in the nav (or cmd/ctrl K) opens a floating palette. Crochet mat, sewn input, prompts float in. After the first message it grows into a conversation, full width on demand. */
  .ib .tip{position:absolute; top:calc(100% + 8px); left:50%; transform:translate(-50%,-4px); white-space:nowrap; font-size:12px; font-weight:700; color:var(--paper); background:var(--ink); padding:5px 9px; border-radius:8px; opacity:0; pointer-events:none; transition:opacity .15s, transform .15s; z-index:5}
  .ib:hover .tip,.ib:focus-visible .tip{opacity:1; transform:translate(-50%,0)}
  .nav .icons .dv{display:flex; align-items:center; padding:0 4px}
  .nav .icons li:last-child .tip{left:auto; right:0; transform:translate(0,-4px)}
  .nav .icons li:last-child .ib:hover .tip,.nav .icons li:last-child .ib:focus-visible .tip{transform:none}
  @media (hover:none){ .ib .tip{display:none} }
  .ib .tip kbd{font:inherit; opacity:.7; margin-left:6px}
  .ask-root{position:fixed; inset:0; z-index:65; font-family:var(--text)}
  .ask-scrim{position:absolute; inset:0; background:color-mix(in srgb,var(--ink) 22%,transparent); animation:fade .2s both}
  @keyframes fade{from{opacity:0}}
  .ask-box{--top:max(70px,11vh); padding:0; margin:0; position:absolute; left:50%; top:var(--top); transform:translateX(-50%); width:min(660px,calc(100vw - 24px)); max-height:calc(100dvh - var(--top) - 16px); display:flex; flex-direction:column;
    background:var(--paper); border:1px solid var(--linen); border-radius:22px; overflow:hidden; box-shadow:0 24px 60px rgba(27,26,23,.18), 0 3px 10px rgba(27,26,23,.06); animation:drop .26s cubic-bezier(.2,.7,.2,1) both}
  @keyframes drop{from{opacity:0; transform:translate(-50%,-10px) scale(.985)}}
  :root[data-theme="dark"] .ask-box,:root[data-theme="dark"] .dock{box-shadow:0 24px 60px rgba(0,0,0,.55)}
  .ask-box button,.dock button{font:inherit; cursor:pointer}
  .ask-box svg,.dock svg,.dk-pill svg{fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
  /* the mat: wool with a faint red double crochet, the input sewn onto it */
  .ask-mat,.dk-mat,.dk-head{position:relative; background:var(--wool)}
  .ask-mat::before,.dk-mat::before,.dk-head::before{content:""; position:absolute; inset:0; pointer-events:none; background:var(--thread); opacity:.075; -webkit-mask:var(--p-dc) repeat 0 0 / var(--s-dc); mask:var(--p-dc) repeat 0 0 / var(--s-dc)}
  .ask-mat > *,.dk-mat > *,.dk-head > *{position:relative}
  .ask-mat{padding:14px}
  .ask-field{position:relative; display:flex; align-items:center; gap:10px; padding:8px 8px 8px 16px; border-radius:16px; background:var(--paper); --seam-c:var(--act); --seam-w:1.8; --seam-d:6; --seam-g:5; --seam-inset:4; box-shadow:0 1px 2px rgba(27,26,23,.05)}
  .ask-field .si{width:20px; height:20px; flex:none; color:var(--act-ink)}
  .ask-field input{flex:1; min-width:0; font:inherit; font-size:17px; color:var(--ink); background:none; border:0; padding:9px 0; caret-color:var(--thread)}
  .ask-field input:focus{outline:none} .ask-field input::placeholder{color:var(--body); opacity:.75}
  .ask-field kbd{font:inherit; font-size:12px; font-weight:700; color:var(--ash); border:1px solid var(--linen); border-radius:6px; padding:2px 7px; margin-right:6px}
  .ask-send{width:40px; height:40px; flex:none; border-radius:12px; border:0; display:grid; place-items:center; background:var(--act-wash); color:var(--act-ink); transition:background .15s, color .15s, transform .15s}
  .ask-send.ready{background:var(--thread); color:#fff} .ask-send.ready:hover{background:var(--thread-hover); transform:translateY(-1px)}
  .ask-send svg{width:18px; height:18px}
  /* results */
  .sr{overflow-y:auto; overscroll-behavior:contain; padding:8px 8px 4px; min-height:0}
  .sr .grp{font-size:12.5px; font-weight:700; color:var(--ash); padding:10px 12px 6px}
  .sr .opt{display:flex; align-items:flex-start; gap:12px; width:100%; text-align:left; text-decoration:none; color:inherit; background:none; border:0; border-radius:14px; padding:11px 12px; position:relative}
  .sr .opt[aria-selected="true"]{background:var(--act-wash)}
  .sr .opt .ic{width:30px; height:30px; flex:none; border-radius:9px; display:grid; place-items:center; background:var(--wool); color:var(--ash)}
  .sr .opt .ic svg{width:16px; height:16px}
  .sr .opt[aria-selected="true"] .ic{background:var(--paper); color:var(--act-ink)}
  .sr .opt .tx{flex:1; min-width:0; display:flex; flex-direction:column; gap:3px}
  .sr .opt .hd{display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:15px; color:var(--ink); font-weight:700; line-height:1.3}
  .sr .opt .hd .tt,.dk-log .srcc .hd .tt{min-width:0}
  .sr .opt .hd i{font-style:normal; font-weight:400; color:var(--ash)}
  .sr .opt .hd .tag{font-size:11.5px; padding:4px 8px}
  .sr .opt .sn{font-size:13.5px; color:var(--body); line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
  .sr mark{background:color-mix(in srgb,var(--thread) 16%,var(--paper)); color:var(--ink); border-radius:3px; padding:0 2px}
  .sr .enter{align-self:center; font-size:12px; font-weight:700; color:var(--ash); opacity:0} .sr .opt[aria-selected="true"] .enter{opacity:1}
  .sr .opt.ask{border:1.5px dashed color-mix(in srgb,var(--thread) 45%,var(--paper)); margin:4px 0 6px; background:color-mix(in srgb,var(--thread) 5%,var(--paper))}
  .sr .opt.ask[aria-selected="true"]{background:var(--act-wash); border-color:var(--act)}
  .sr .opt.ask .ic{background:var(--paper); color:var(--thread)} .sr .opt.ask .ic svg{width:22px; height:22px}
  .sr .opt.ask .hd{color:var(--thread-ink)} .sr .opt.ask .sn{-webkit-line-clamp:3}
  .sr .chipsr{display:flex; flex-wrap:wrap; gap:8px; padding:2px 12px 8px}
  .sr .chipsr .opt{width:auto; padding:8px 14px; border-radius:999px; border:1px solid var(--linen); font-size:14px; color:var(--ink); gap:8px; align-items:center}
  .sr .chipsr .opt svg{width:16px; height:16px; color:var(--thread)}
  .sr .none{padding:14px 12px 4px; font-size:14px; color:var(--ash)}
  .sr-foot{display:flex; gap:16px; justify-content:flex-end; padding:9px 16px 11px; border-top:1px solid var(--linen); font-size:12px; color:var(--ash)}
  .sr-foot kbd{font:inherit; font-weight:700; color:var(--body); border:1px solid var(--linen); border-radius:6px; padding:1px 6px; margin-right:5px}
  .ask-box :focus-visible,.dock :focus-visible,.dk-pill:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  /* the assistant docks bottom right, no overlay, and follows you across pages */
  .qm{display:inline-grid; place-items:center; color:var(--thread)} .qm svg{width:100%; height:100%; transform:rotate(-9deg)}
  .dock{position:fixed; z-index:55; right:calc(18px + env(safe-area-inset-right,0px)); bottom:calc(18px + env(safe-area-inset-bottom,0px)); width:min(410px,calc(100vw - 36px)); height:min(600px,calc(100dvh - 110px)); display:flex; flex-direction:column;
    background:var(--paper); border:1px solid var(--linen); border-radius:22px; overflow:hidden; box-shadow:0 18px 50px rgba(27,26,23,.16), 0 3px 10px rgba(27,26,23,.06); animation:dockIn .28s cubic-bezier(.2,.7,.2,1) both; font-family:var(--text)}
  .dock.noanim,.dk-pill.noanim{animation:none}
  @keyframes dockIn{from{opacity:0; transform:translateY(14px) scale(.98)}}
  .dock.full{width:calc(100vw - 32px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)); height:calc(100dvh - 32px); right:16px; bottom:16px}
  .dk-head{display:flex; align-items:center; gap:10px; padding:11px 10px 11px 14px; border-bottom:1px solid var(--linen)}
  .dk-head .dpatch{width:34px; height:34px; border-radius:50%; background:var(--paper); display:grid; place-items:center; outline:1.5px dashed color-mix(in srgb,var(--thread) 55%,var(--paper)); outline-offset:-4px}
  .dk-head .dpatch .qm{width:22px; height:22px}
  .dk-head b{flex:1; font-family:var(--display); font-size:18px; font-weight:600; color:var(--ink); letter-spacing:-.01em}
  .dk-head button{width:34px; height:34px; border-radius:10px; border:0; background:none; color:var(--body); display:grid; place-items:center}
  .dk-head button:hover{background:var(--paper); color:var(--ink)} .dk-head svg{width:16px; height:16px}
  .dock .shrink{display:none} .dock.full .grow{display:none} .dock.full .shrink{display:block}
  .dk-scroll{flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='240' viewBox='0 0 320 240'%3E%3Cg fill='none' stroke='%23E23B2E' stroke-opacity='0.16' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-width='2.2' d='M330 22C270 30 262 84 220 96C176 108 140 78 160 54C180 30 214 62 196 104C178 146 116 134 92 166C74 190 58 204 40 210'/%3E%3Cpath stroke-width='2.2' stroke-dasharray='7 7' d='M330 60C300 70 296 96 270 110'/%3E%3Cpath stroke-width='3' d='M12 222L46 206'/%3E%3Cellipse cx='42' cy='208' rx='4.5' ry='2' transform='rotate%28-25 42 208%29' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E") no-repeat right -6px bottom 6px / 300px auto}
  :root[data-theme="dark"] .dk-scroll{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='240' viewBox='0 0 320 240'%3E%3Cg fill='none' stroke='%23F08A80' stroke-opacity='0.14' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-width='2.2' d='M330 22C270 30 262 84 220 96C176 108 140 78 160 54C180 30 214 62 196 104C178 146 116 134 92 166C74 190 58 204 40 210'/%3E%3Cpath stroke-width='2.2' stroke-dasharray='7 7' d='M330 60C300 70 296 96 270 110'/%3E%3Cpath stroke-width='3' d='M12 222L46 206'/%3E%3Cellipse cx='42' cy='208' rx='4.5' ry='2' transform='rotate%28-25 42 208%29' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E")}
  @media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .dk-scroll{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='240' viewBox='0 0 320 240'%3E%3Cg fill='none' stroke='%23F08A80' stroke-opacity='0.14' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-width='2.2' d='M330 22C270 30 262 84 220 96C176 108 140 78 160 54C180 30 214 62 196 104C178 146 116 134 92 166C74 190 58 204 40 210'/%3E%3Cpath stroke-width='2.2' stroke-dasharray='7 7' d='M330 60C300 70 296 96 270 110'/%3E%3Cpath stroke-width='3' d='M12 222L46 206'/%3E%3Cellipse cx='42' cy='208' rx='4.5' ry='2' transform='rotate%28-25 42 208%29' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E")} }
  .dk-col{max-width:720px; margin:0 auto; padding:20px 20px 12px; display:flex; flex-direction:column; gap:20px}
  .dk-log{display:flex; flex-direction:column; gap:22px}
  .dk-empty{font-size:15px; color:var(--body); line-height:1.6; margin:4px 0 0}
  .dk-log .q{display:flex; gap:10px; align-items:flex-start}
  .dk-log .q .qm{width:24px; height:24px; flex:none; margin-top:1px}
  .dk-log .q p{font-family:var(--display); font-size:19px; font-weight:600; line-height:1.3; color:var(--ink); letter-spacing:-.01em}
  .dk-log .a{padding-left:34px; display:flex; flex-direction:column; gap:12px}
  .dk-log .a p{font-size:15.5px; line-height:1.65; color:var(--body)}
  .dk-log .src{display:flex; flex-direction:column; gap:8px}
  .dk-log .src{margin-top:4px; padding-top:14px; border-top:1.5px dashed var(--linen)}
  .dk-log .src-h{display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; margin:0 0 2px; font-size:13px; color:var(--body)}
  .dk-log .src-h svg{width:15px; height:15px; align-self:center; fill:none; stroke:var(--act-ink); stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
  .dk-log .src-h b{font-size:13.5px; color:var(--ink); font-weight:700}
  .dk-log .srcc .n{flex:none; width:20px; height:20px; border-radius:50%; display:grid; place-items:center; font-size:11.5px; font-weight:700; color:var(--act-ink); background:var(--paper); outline:1.2px dashed color-mix(in srgb,var(--thread) 55%,var(--paper)); outline-offset:-3px}
  .dk-log .srcc{display:flex; flex-direction:column; gap:4px; text-decoration:none; color:inherit; padding:11px 13px; border-radius:14px; background:var(--wool); border:1px solid transparent; transition:border-color .15s, transform .15s}
  .dk-log .srcc:hover{border-color:var(--act); transform:translateY(-1px)}
  .dk-log .srcc .hd{display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:14px; font-weight:700; color:var(--ink)} .dk-log .srcc .hd i{font-style:normal; font-weight:400; color:var(--ash)}
  .dk-log .srcc .tag{font-size:11.5px; padding:4px 8px; background-image:none} .dk-log .srcc .sn{font-size:13px; color:var(--body); line-height:1.5; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; overflow:hidden}
  .dk-log .srcc mark{background:color-mix(in srgb,var(--thread) 16%,var(--paper)); color:var(--ink); border-radius:3px; padding:0 2px}
  .dk-log .typing{padding:2px 0 2px 30px; height:46px}
  .dk-log .typing .fl{width:40px; height:44px; overflow:visible}
  .fl path,.fl circle{fill:none; stroke:var(--thread); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
  .fl circle{fill:var(--thread); stroke:none} .fl .fl-leaf{stroke-width:1.4}
  .fl-sway{transform-box:view-box; transform-origin:20px 43px; animation:fl-sway 2.2s ease-in-out infinite alternate}
  .fl-head{transform-box:fill-box; transform-origin:center; animation:fl-spin 5s ease-in-out infinite}
  .fl-petals{stroke-dasharray:100; animation:fl-sew 2.6s ease-in-out infinite}
  .fl-stem{animation:fl-limp 2.2s ease-in-out infinite alternate}
  @keyframes fl-sway{0%{transform:rotate(-9deg)} 100%{transform:rotate(8deg)}}
  @keyframes fl-spin{0%{transform:rotate(0) scale(.94)} 50%{transform:rotate(36deg) scale(1.04)} 100%{transform:rotate(72deg) scale(.94)}}
  @keyframes fl-sew{0%{stroke-dashoffset:100} 55%{stroke-dashoffset:0} 80%{stroke-dashoffset:0} 100%{stroke-dashoffset:-100}}
  @keyframes fl-limp{0%{d:path("M20 16C19 22 22.5 27 20 33S18.5 40 20 43")} 100%{d:path("M20 16C22 21 17.5 27 20.5 33S21.5 40 20 43")}}
  @media (prefers-reduced-motion:reduce){ .fl-sway,.fl-head,.fl-petals,.fl-stem{animation:none} .fl-petals{stroke-dasharray:none} }
  .dk-log .a .tbl{overflow-x:auto; margin:4px 0 2px; border-radius:12px; border:1px solid var(--linen)}
  .dk-log .a .tbl:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  .dk-log .a table{border-collapse:collapse; width:100%; font-size:13.5px; line-height:1.45}
  .dk-log .a th{text-align:left; font-weight:700; color:var(--ink); background:var(--wool); padding:9px 12px; border-bottom:1px solid var(--linen); white-space:nowrap}
  .dk-log .a td{padding:9px 12px; border-top:1px solid var(--linen); vertical-align:top; color:var(--body); min-width:96px}
  .dk-log .a tbody tr:first-child td{border-top:0}
  .dk-log .a .h{font-weight:700; color:var(--ink); margin-bottom:-4px}
  .dk-log .a ol{padding-left:1.3em}
  .dk-log .a code{font-size:.92em; background:var(--wool); padding:1px 5px; border-radius:5px}
  .dk-sp{flex:none}
  @keyframes dot{50%{transform:translateY(-3px); opacity:1}}
  .dk-mat{padding:12px 14px 14px; border-top:1px solid var(--linen)}
  .dk-mat > *{max-width:720px; margin-left:auto; margin-right:auto}
  .dk-sugs{display:flex; flex-direction:column; align-items:flex-start; gap:8px; margin-top:4px} .dk-sugs:empty{display:none}
  .dk-sugs button{display:inline-flex; align-items:center; gap:9px; max-width:100%; text-align:left; font-size:14px; line-height:1.35; font-weight:700; color:var(--ink); background:none; border:0; border-radius:10px; padding:5px 8px 5px 2px; transition:color .15s}
  .dk-sugs button::before{content:""; flex:none; width:22px; height:22px; border-radius:50%; border:1.5px dashed color-mix(in srgb,var(--thread) 60%,var(--paper)); background:var(--paper) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23E23B2E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px; transition:transform .2s}
  .dk-sugs button:hover{color:var(--act-ink)} .dk-sugs button:hover::before{transform:translateX(2px)}
  .dk-sugs button span{text-decoration:underline; text-decoration-style:dashed; text-decoration-color:transparent; text-underline-offset:4px; transition:text-decoration-color .15s}
  .dk-sugs button:hover span{text-decoration-color:var(--act)}
  .dk-mat .ask-field input{font-size:15.5px; padding:7px 0}
  .dk-mat .ask-field .qm{width:20px; height:20px; flex:none}
  .dk-pill{position:fixed; z-index:55; right:calc(18px + env(safe-area-inset-right,0px)); bottom:calc(18px + env(safe-area-inset-bottom,0px)); display:flex; align-items:center; gap:9px; height:48px; padding:0 18px 0 8px; border-radius:999px; border:1px solid var(--linen); background:var(--paper); color:var(--ink); font:inherit; font-size:15px; font-weight:700; cursor:pointer; box-shadow:0 10px 30px rgba(27,26,23,.14); animation:dockIn .24s both}
  .dk-pill .dpatch{width:34px; height:34px; border-radius:50%; background:var(--wool); display:grid; place-items:center; outline:1.5px dashed color-mix(in srgb,var(--thread) 55%,var(--paper)); outline-offset:-4px} .dk-pill .qm{width:20px; height:20px}
  .dk-pill:hover{border-color:var(--act)}
  /* the closed assistant is a tiny handle, bottom right */
  .dk-pill{width:42px; height:42px; padding:0; justify-content:center; gap:0; box-shadow:0 6px 18px rgba(27,26,23,.12)}
  .dk-pill .dpatch{width:34px; height:34px}
  .dk-pill .lbl{position:absolute; right:calc(100% + 8px); top:50%; transform:translate(4px,-50%); white-space:nowrap; font-size:13px; font-weight:700; color:var(--paper); background:var(--ink); border-radius:8px; padding:6px 10px; opacity:0; pointer-events:none; transition:opacity .15s, transform .15s}
  .dk-pill:hover .lbl,.dk-pill:focus-visible .lbl{opacity:1; transform:translate(0,-50%)}
  @media (hover:none){ .dk-pill .lbl{display:none} }
  @media (max-width:640px){ .ask-box{--top:10px; width:calc(100vw - 20px)} .sr-foot{display:none} .ask-field kbd{display:none}
    .dock,.dock.full{inset:0; width:auto; height:auto; border-radius:0; border:0} .dk-head .tg{display:none} .dk-pill .lbl{display:none} }
  #totop{border:1px solid var(--linen) !important; --seam-c:transparent; position:fixed; left:calc(50% - 22px); bottom:calc(20px + env(safe-area-inset-bottom,0px)); box-shadow:0 4px 14px rgba(27,26,23,.08); width:44px; height:44px; border-radius:50%; background:var(--paper); border:0; cursor:pointer; z-index:40; display:grid; place-items:center; color:var(--ink); opacity:0; transform:translateY(10px); pointer-events:none; transition:opacity .25s, transform .25s; --seam-d:6; --seam-g:6; --seam-w:1.8}
  #totop.on{opacity:1; transform:none; pointer-events:auto} #totop:hover{--seam-c:var(--act); border-color:transparent !important; color:var(--act-ink)} #totop:focus-visible{outline:2px solid var(--act); outline-offset:3px}
  #totop svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
  .lightbox{position:fixed; inset:0; z-index:80; background:color-mix(in srgb,var(--ink) 82%,transparent); display:grid; place-items:center; padding:max(56px,env(safe-area-inset-top,0px)) max(64px,env(safe-area-inset-right,0px)) 56px; cursor:zoom-out; animation:fade .18s both}
  .lightbox img{max-width:min(1200px,100%); max-height:82vh; width:auto; height:auto; border-radius:12px; background:var(--paper); cursor:default}
  .lightbox .lbn{position:fixed; top:50%; margin-top:-24px; width:48px; height:48px; border-radius:50%; border:0; background:var(--paper); color:var(--ink); display:grid; place-items:center; cursor:pointer}
  .lightbox .lbn svg,.lightbox .lbx svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}
  .lightbox .lbn.prev{left:14px} .lightbox .lbn.next{right:14px} .lightbox .lbn:hover{color:var(--act-ink)}
  .lightbox .lbx{position:fixed; top:14px; right:14px; width:42px; height:42px; border-radius:50%; border:0; background:var(--paper); color:var(--ink); display:grid; place-items:center; cursor:pointer}
  .lightbox .lbc{position:fixed; bottom:16px; left:50%; transform:translateX(-50%); font-size:13px; font-weight:700; color:var(--ink); background:var(--paper); padding:5px 12px; border-radius:999px}
  .lightbox button:focus-visible{outline:2px solid var(--act); outline-offset:3px}
  @media (max-width:640px){ .lightbox{padding:56px 10px 64px} .lightbox .lbn{top:auto; bottom:10px; margin:0} .lightbox .lbc{bottom:22px} }

  footer{padding:28px 0 72px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center}
  .lh-link{display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; color:var(--ok); text-decoration:none; padding:6px 12px; border-radius:999px; background:var(--ok-wash); transition:background .15s}
  .lh-link:hover{background:var(--ok-wash2)} .lh-link:focus-visible{outline:2px solid var(--ok); outline-offset:2px}
  .lh-dot{width:9px; height:9px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 3px color-mix(in srgb,var(--ok) 25%,transparent)}
  footer ul{list-style:none; margin:0; padding:0; display:flex; gap:20px}
  footer ul a{color:var(--body); text-decoration:none; font-size:14.5px; font-weight:700} footer ul a:hover{color:var(--act-ink)}

  @media (prefers-reduced-motion:reduce){ *{transition:none !important} .sheet{transition:none} .thread path{clip-path:inset(-10px)} .name .k::after{transform:scale(1)} }
  @media (max-width:1060px){ .cs-body{grid-template-columns:1fr; gap:0} .toc{display:none} .cs-main{max-width:none} }
  @media (max-width:860px){ .impl{grid-template-columns:1fr} .kit{grid-template-columns:1fr 1fr} .cs-meta dl{grid-template-columns:1fr 1fr} .ab-hero{grid-template-columns:1fr; gap:32px} .acc{height:300px} }
  @media (max-width:760px){
    .hero{grid-template-columns:1fr; gap:36px; padding-block:44px 36px} .photowrap{justify-self:center; width:min(100%,330px); padding:30px 22px} .around .a3{right:-4px} .around .a4{left:-4px}
    .work{grid-template-columns:1fr; gap:24px} .preview{position:relative; top:auto} .blanket{grid-template-columns:repeat(2,minmax(0,1fr))} .thread{height:84px}
    .nav-r,.nav ul{gap:14px}
  }
  @media (max-width:640px){
    .split,.split.s-57,.split.s-75,.impact,.refl,.kd1 .cmp,.rail{grid-template-columns:1fr} .impact .pat{position:relative; top:auto}
    .kds{grid-template-columns:1fr 1fr} .kds.two,.defs.two,.pair,.gal.g3{grid-template-columns:1fr} .kds .kd.wide{grid-template-columns:1fr} .values{grid-template-columns:1fr 1fr} .values > div:last-child{grid-column:1 / -1} .defs.two > div:nth-child(2){padding-top:14px} .defs.two > div:nth-child(2)::before{display:block} .cards3 > div{grid-template-columns:120px minmax(0,1fr); column-gap:14px} .cards3 b{padding-top:2px} .loopfig .steps{grid-template-columns:1fr 1fr; row-gap:18px} .loopfig .steps::before,.loopfig .back{display:none}
    .tl::before,.tl .fill{left:6px} .tl-item{grid-template-columns:1fr; gap:6px; padding-left:30px} .tl-item::after{left:0} .tl-year{position:static; text-align:left; font-size:24px}
  }
  @media (max-width:460px){ .blanket,.kds,.kit,.gal{grid-template-columns:1fr} .ib{width:32px; height:32px} .icons{gap:0 !important} .nav-r{gap:12px} .nav ul{gap:12px} .nav{gap:10px} .cards3 > div{grid-template-columns:1fr} .cards3 .th{grid-row:auto} .ba{grid-template-columns:1fr} .nav .div,.nav .hide-s{display:none} .cs-sec > h2{font-size:26px} .acc{height:240px} }
  @media (max-width:350px){ .nav .icons li:has(> a[aria-label="CV"]){display:none} }

  /* ===== work page ===== */
  .workpg{padding-block:48px 24px}
  .wk-tools{margin-top:26px; display:flex; flex-direction:column; gap:16px}
  .wk-tools .chips{margin-top:0}
  .wk-search{display:flex; align-items:center; gap:10px; max-width:520px; padding:12px 16px; border-radius:16px; background:var(--paper); cursor:text; --seam-c:var(--act); --seam-w:1.8; --seam-d:6; --seam-g:5; --seam-inset:4; box-shadow:0 1px 2px rgba(27,26,23,.05)}
  .wk-search svg{width:19px; height:19px; flex:none; fill:none; stroke:var(--act-ink); stroke-width:2; stroke-linecap:round}
  .wk-search input{flex:1; min-width:0; border:0; outline:0; background:transparent; font:inherit; font-size:16px; color:var(--ink)}
  .wk-search input::placeholder{color:var(--ash)}
  .wk-search input::-webkit-search-cancel-button{cursor:pointer}
  .wk-search:focus-within{box-shadow:0 0 0 3px var(--act-wash)}
  .wk-count{font-size:14px; color:var(--ash); margin:22px 0 0; min-height:1.2em}
  .wk-list{display:flex; flex-direction:column; gap:56px; margin-top:16px}
  .wk[hidden]{display:none}
  .wk-media{border-radius:20px; background:var(--wool); --pat-ink:var(--thread); --pat-a:.07; padding:22px; display:grid; gap:16px; align-items:center; min-height:220px}
  .wk-media.pair{grid-template-columns:1fr 1fr}
  .wk-media.solo{grid-template-columns:minmax(0,700px); justify-content:center}
  .wk-media figure{margin:0; position:relative; min-width:0}
  .wk-media img{display:block; width:100%; height:auto; border-radius:12px; border:1px solid var(--linen); background:var(--paper); box-shadow:0 10px 26px rgba(27,26,23,.10); cursor:zoom-in; transition:transform .35s cubic-bezier(.2,.7,.2,1)}
  .wk-media img:hover{transform:translateY(-2px)}
  .wk-media video{display:block; width:100%; height:auto; border-radius:12px; border:1px solid var(--linen); background:var(--paper); box-shadow:0 10px 26px rgba(27,26,23,.10)}
  .wk-media img:focus-visible{outline:2px solid var(--act); outline-offset:3px}
  .wk-media .lbl{position:absolute; top:10px; left:10px; z-index:2; font-size:12.5px; font-weight:700; padding:4px 10px; border-radius:999px}
  .wk-media .lbl.b{background:var(--linen); color:var(--body)} .wk-media .lbl.a{background:#B8291F; color:#fff}
  .wk-media .more{position:absolute; right:10px; bottom:10px; z-index:2; font-size:12px; font-weight:700; color:var(--ink); background:var(--paper); border:1px solid var(--linen); border-radius:999px; padding:3px 9px; pointer-events:none}
  .wk-body{display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:20px 4px 0; max-width:46rem}
  .wk-body .idx{font-size:12.5px; font-weight:700; color:var(--act-ink)}
  .wk-body h2{font-size:clamp(24px,3vw,30px); line-height:1.15; margin:0}
  .wk-body h2 a{color:var(--ink); text-decoration:none}
  .wk-meta{display:flex; flex-wrap:wrap; align-items:center; gap:8px}
  .wk-area{font-size:13.5px; font-weight:700; color:var(--ink); padding-right:10px; margin-right:2px; border-right:2px dotted var(--oat); line-height:1.2}
  .wk-body p{font-size:16.5px; color:var(--body); margin:4px 0 0; max-width:40rem}
  .wk-body .u{margin-top:2px}
  .wk-none{margin-top:20px; display:flex; flex-direction:column; align-items:flex-start; gap:12px}
  .wk-none p{font-size:17px; color:var(--body); margin:0}
  @media (max-width:720px){ .wk-media{padding:14px; gap:10px; border-radius:16px; min-height:0} .wk-list{gap:44px} }
  @media (max-width:460px){ .wk-media.pair{grid-template-columns:1fr} }
  .vh{position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}

  /* ===== unlock ===== */
  .unlock{min-height:calc(100dvh - 260px); display:grid; place-items:center; padding-block:48px}
  .unlock-card{position:relative; width:min(420px,100%); display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding:30px 28px 26px; border-radius:22px; background:var(--wool)}
  .unlock-card::before{content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:var(--thread); opacity:.07; -webkit-mask:var(--p-moss) repeat 0 0 / var(--s-moss); mask:var(--p-moss) repeat 0 0 / var(--s-moss)}
  .unlock-card > *{position:relative}
  .unlock-card .lock{width:44px; height:44px; border-radius:50%; background:var(--paper); display:grid; place-items:center; outline:1.5px dashed color-mix(in srgb,var(--thread) 55%,var(--paper)); outline-offset:-5px; margin-bottom:4px}
  .unlock-card .lock svg{width:20px; height:20px; fill:none; stroke:var(--act-ink); stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
  .unlock-card h1{font-size:clamp(26px,4vw,32px); line-height:1.15; margin:0}
  .unlock-card p{font-size:16px; color:var(--body); margin:0 0 6px; line-height:1.6}
  .unlock-field{align-self:stretch; padding:10px 14px; cursor:text}
  .unlock-field input{flex:1; min-width:0; border:0; outline:0; background:transparent; font:inherit; font-size:16px; color:var(--ink)}
  .unlock-field:focus-within{box-shadow:0 0 0 3px var(--act-wash)}
  .unlock-card.bad .unlock-field{--seam-c:#B8291F; animation:shake .3s}
  .unlock-err{font-size:14px !important; font-weight:700; color:#B8291F !important; margin:0 !important}
  :root[data-theme="dark"] .unlock-err{color:#FF8A7E !important}
  .unlock-btn{align-self:stretch; font:inherit; font-size:16px; font-weight:700; border:1px solid var(--sel-bd); background:var(--sel-bg); color:var(--sel-fg); border-radius:14px; padding:12px 16px; cursor:pointer; transition:opacity .15s}
  .unlock-btn:hover{opacity:.88} .unlock-btn:focus-visible{outline:2px solid var(--act); outline-offset:3px}
  .unlock-card .back{font-size:14.5px; margin-top:4px}
  @keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
  @media (prefers-reduced-motion:reduce){ .unlock-card.bad .unlock-field{animation:none} }
  /* ===== lighthouse ===== */
  .lhpg{padding-block:48px 24px}
  .lh-table-wrap{margin-top:28px; overflow-x:auto; border-radius:18px; border:1px solid var(--linen)}
  .lh-table{width:100%; border-collapse:collapse; font-size:15px; min-width:560px}
  .lh-table th,.lh-table td{padding:13px 16px; text-align:left; border-bottom:1px solid var(--linen)}
  .lh-table thead th{font-size:13px; font-weight:700; color:var(--ash); background:var(--wool)}
  .lh-table tbody tr:last-child th,.lh-table tbody tr:last-child td{border-bottom:0}
  .lh-table tbody th{font-weight:700}
  /* page names in the Lighthouse table: no underline until you point at one, so the table stays light */
  .lh-table .u{background-size:0 2px; transition:background-size .3s ease} .lh-table .u:hover,.lh-table .u:focus-visible{background-size:100% 2px}
  @media (prefers-reduced-motion:reduce){ .lh-table .u{transition:none} }
  .dl-table{min-width:720px} .dl-table th,.dl-table td{white-space:nowrap}
  .lh-table .sc{display:inline-grid; place-items:center; min-width:40px; height:30px; border-radius:999px; font-weight:700; font-size:14px; padding:0 8px}
  .lh-table .sc.g{color:var(--ok); background:var(--ok-wash)}
  .lh-table .sc.a{color:#8A5300; background:#FBEFD9}
  .lh-table .sc.r{color:#B8291F; background:#FDECEA}
  :root[data-theme="dark"] .lh-table .sc.a{color:#F2C26B; background:#3A2C12} :root[data-theme="dark"] .lh-table .sc.r{color:#FF8A7E; background:#3D1A17}
  .lh-note{font-size:14.5px; color:var(--body); margin-top:16px; max-width:44rem; line-height:1.6}
  .dk-log .a ul{margin:0; padding-left:18px; font-size:15.5px; line-height:1.6; color:var(--body)} .dk-log .a li{margin:2px 0} .dk-log .a b{color:var(--ink)}

  /* ===== tool previews: drawn demos with sample content (no product data) ===== */
  .pop .demo{position:relative; display:block; font-size:9.5px; line-height:1.3; color:var(--ink); background:var(--wool); --a:6s}
  .pop .demo *{box-sizing:border-box}
  .pop:not(.on) .demo *{animation-play-state:paused !important}
  @media (prefers-reduced-motion:reduce){ .pop .demo *{animation:none !important} }
  .demo .ty{display:inline-block; overflow:hidden; white-space:nowrap; vertical-align:bottom; max-width:100%; animation:dm-type var(--a) steps(40) infinite both}
  @keyframes dm-type{0%{max-width:0}35%,100%{max-width:100%}}

  /* Mixpanel: adoption before and after a release */
  .d-mix{padding:10px 12px}
  .d-mix .hd{display:flex; justify-content:space-between; align-items:baseline} .d-mix .hd b{font-size:11px} .d-mix .hd i{font-style:normal; color:var(--ash)}
  .d-mix .bars{position:relative; display:flex; align-items:flex-end; gap:7px; height:58%; margin-top:8px; padding-bottom:1px; border-bottom:1px solid var(--oat)}
  .d-mix .bars i{flex:1; height:var(--h); border-radius:3px 3px 0 0; background:color-mix(in srgb,#7856FF 45%,var(--paper)); transform-origin:bottom; animation:dm-grow var(--a) cubic-bezier(.2,.7,.2,1) infinite both; animation-delay:calc(var(--d) * .12s)}
  .d-mix .bars i:nth-child(n+5){background:#7856FF}
  .d-mix .bars em{position:absolute; left:calc(50% - 1px); top:-4px; bottom:0; border-left:1.5px dashed var(--thread); font-style:normal; font-weight:700; color:var(--thread); padding-left:4px; font-size:8.5px}
  .d-mix .ft{display:flex; justify-content:space-around; margin-top:5px; color:var(--ash); font-weight:700}
  @keyframes dm-grow{0%{transform:scaleY(0)}30%,100%{transform:scaleY(1)}}

  /* Dovetail: highlights become tags, tags become themes */
  .d-dove{padding:9px 10px; display:flex; flex-direction:column; gap:5px}
  .d-dove .q{display:flex; align-items:center; justify-content:space-between; gap:6px; background:var(--paper); border:1px solid var(--linen); border-radius:6px; padding:4px 6px}
  .d-dove .hl{background:linear-gradient(transparent 55%,color-mix(in srgb,#F5C04A 70%,transparent) 55%) no-repeat 0 0 / 100% 100%; animation:dm-hl var(--a) ease infinite both; animation-delay:calc(var(--d) * .5s)}
  @keyframes dm-hl{0%{background-size:0 100%}25%,100%{background-size:100% 100%}}
  .d-dove .tg,.d-dove .th b{font-size:8.5px; padding:2px 6px; border-radius:99px; white-space:nowrap}
  .d-dove .t1{background:#EADCFF; color:#4B2A8C} .d-dove .t2{background:#D8F0E4; color:#1D6A43}
  .d-dove .q .tg{animation-name:dm-in-30; animation-duration:var(--a); animation-timing-function:ease; animation-iteration-count:infinite; animation-fill-mode:both}
  .d-dove .q:nth-child(2) .tg{animation-name:dm-in-38; } .d-dove .q:nth-child(3) .tg{animation-name:dm-in-46; }
  .d-dove .th{display:flex; align-items:center; gap:5px; margin-top:auto; animation-name:dm-in-62; animation-duration:var(--a); animation-timing-function:ease; animation-iteration-count:infinite; animation-fill-mode:both} .d-dove .th i{font-style:normal; font-weight:700; color:var(--ash)}

  /* Fullstory: a replay finds a rage click */
  .d-fs{padding:8px}
  .d-fs .app{position:absolute; inset:8px 8px 22px; border-radius:6px; background:var(--paper); border:1px solid var(--linen); overflow:hidden}
  .d-fs .bar{position:absolute; inset:0 0 auto; height:12px; background:var(--linen)}
  .d-fs .side{position:absolute; left:0; top:12px; bottom:0; width:22%; background:var(--wool); border-right:1px solid var(--linen)}
  .d-fs .main{position:absolute; left:26%; right:6%; top:22px; display:flex; flex-direction:column; gap:6px}
  .d-fs .main i{height:9px; border-radius:3px; background:var(--linen)} .d-fs .main i:nth-child(2){width:70%}
  .d-fs .main .btn{align-self:flex-end; width:auto; height:auto; padding:3px 8px; font-style:normal; font-weight:700; background:var(--ink); color:var(--paper)}
  .d-fs .cur{position:absolute; width:13px; height:13px; fill:var(--ink); stroke:var(--paper); stroke-width:1; left:20%; top:70%; animation:dm-cur var(--a) ease-in-out infinite both; z-index:2}
  @keyframes dm-cur{0%{left:20%; top:70%}35%{left:78%; top:44%}40%{left:78%; top:44%}44%{left:79%; top:45%}48%{left:78%; top:44%}52%{left:79%; top:45%}80%,100%{left:79%; top:45%}}
  .d-fs .rip{position:absolute; left:calc(78% - 8px); top:calc(44% - 8px); width:18px; height:18px; border-radius:50%; border:2px solid var(--thread); opacity:0; animation:dm-rip var(--a) ease-out infinite both}
  @keyframes dm-rip{0%,38%{opacity:0; transform:scale(.3)}42%{opacity:1}50%{opacity:0; transform:scale(1.6)}51%{opacity:1; transform:scale(.3)}58%,100%{opacity:0; transform:scale(1.6)}}
  .d-fs .rage{position:absolute; right:14px; top:20%; font-weight:700; color:#fff; background:#B8291F; padding:2px 7px; border-radius:99px; animation-name:dm-in-54; animation-duration:var(--a); animation-timing-function:ease; animation-iteration-count:infinite; animation-fill-mode:both}
  .d-fs .trk{position:absolute; left:8px; right:8px; bottom:8px; height:5px; border-radius:99px; background:var(--linen); overflow:hidden}
  .d-fs .pl{display:block; height:100%; background:var(--thread); animation:dm-play var(--a) linear infinite both}
  @keyframes dm-play{0%{width:0}100%{width:100%}}

  /* Miro: a journey map comes together */
  .d-miro{background:var(--wool) radial-gradient(var(--oat) .8px,transparent .9px) 0 0 / 10px 10px; display:grid; grid-template-columns:repeat(3,1fr); padding:6px; gap:4px}
  .d-miro .lane{border-radius:5px; background:color-mix(in srgb,var(--paper) 60%,transparent); padding:3px 5px} .d-miro .lane i{font-style:normal; font-weight:700; color:var(--ash)}
  .d-miro .ln{position:absolute; inset:0; width:100%; height:100%; fill:none; stroke:var(--ink); stroke-width:1.5; stroke-dasharray:260; animation:dm-draw var(--a) ease infinite both}
  @keyframes dm-draw{0%,45%{stroke-dashoffset:260}75%,100%{stroke-dashoffset:0}}
  .d-miro .st{position:absolute; width:27%; padding:5px 6px; font-weight:700; font-size:8.5px; color:#1b1a17; box-shadow:0 2px 4px rgba(0,0,0,.12); animation:dm-in-4 var(--a) ease infinite both}
  .d-miro .s1{animation-name:dm-in-4; left:5%; top:24%; background:#FFE07A; rotate:-3deg} .d-miro .s2{animation-name:dm-in-12; left:37%; top:44%; background:#FFC3D0; rotate:2deg} .d-miro .s3{animation-name:dm-in-20; left:68%; top:66%; background:#BFE3FF; rotate:-2deg} .d-miro .s4{animation-name:dm-in-28; left:66%; top:20%; background:#C8F0C0; rotate:3deg}

  /* Lovable: a prompt turns into a screen */
  .d-lov{padding:8px; display:flex; flex-direction:column; gap:6px}
  .d-lov .pr{background:var(--paper); border:1px solid var(--linen); border-radius:6px; padding:4px 7px; color:var(--body)}
  .d-lov .scr{flex:1; position:relative; border-radius:6px; background:var(--paper); border:1px solid var(--linen); overflow:hidden}
  .d-lov .scr i{position:absolute; border-radius:3px; background:var(--linen); animation-duration:var(--a); animation-timing-function:ease; animation-iteration-count:infinite; animation-fill-mode:both}
  .d-lov .b1{left:6%; right:6%; top:8%; height:14%; animation-name:dm-in-36; background:color-mix(in srgb,#F26B5B 30%,var(--paper)) !important}
  .d-lov .b2{left:6%; width:40%; top:30%; height:28%; animation-name:dm-in-42; } .d-lov .b3{right:6%; width:40%; top:30%; height:28%; animation-name:dm-in-46; }
  .d-lov .b4{left:6%; right:6%; top:66%; height:9%; animation-name:dm-in-50; } .d-lov .b5{left:6%; width:60%; top:80%; height:9%; animation-name:dm-in-54; }
  .d-lov .go{position:absolute; right:14px; bottom:14px; font-weight:700; color:#fff; background:linear-gradient(90deg,#F26B5B,#B04DE0); padding:3px 8px; border-radius:99px; animation-name:dm-in-66; animation-duration:var(--a); animation-timing-function:ease; animation-iteration-count:infinite; animation-fill-mode:both}

  /* Claude: a prompt, a design system skill, an artifact */
  .d-cl{display:grid; grid-template-columns:42% 1fr; gap:6px; padding:7px; --a:7s}
  .d-cl .chat{display:flex; flex-direction:column; gap:5px}
  .d-cl .me{align-self:flex-end; background:var(--linen); border-radius:8px; padding:4px 6px; max-width:100%}
  .d-cl .me .ty{white-space:normal; max-height:3.9em; max-width:none; animation:dm-type2 var(--a) steps(6) infinite both}
  @keyframes dm-type2{0%{max-height:0; opacity:.3}22%,100%{max-height:3.9em; opacity:1}}
  .d-cl .ai{display:flex; gap:3px; padding:2px 2px; animation-name:dm-in-22; animation-duration:var(--a); animation-timing-function:ease; animation-iteration-count:infinite; animation-fill-mode:both} .d-cl .ai i{width:5px; height:5px; border-radius:50%; background:#D97757; animation:dm-dot 1s ease-in-out infinite alternate} .d-cl .ai i:nth-child(2){animation-delay:.2s} .d-cl .ai i:nth-child(3){animation-delay:.4s}
  @keyframes dm-dot{to{opacity:.3; transform:translateY(-2px)}}
  .d-cl .sk{align-self:flex-start; font-weight:700; color:#8A3E26; background:#F6E3DA; border-radius:99px; padding:2px 7px; animation-name:dm-in-28; animation-duration:var(--a); animation-timing-function:ease; animation-iteration-count:infinite; animation-fill-mode:both}
  .d-cl .art{position:relative; border-radius:7px; background:var(--paper); border:1px solid var(--linen); padding:5px; display:flex; flex-direction:column; gap:4px; overflow:hidden}
  .d-cl .ah{font-weight:700; color:var(--ash)}
  .d-cl .tok{display:flex; gap:3px} .d-cl .tok i{width:14px; height:9px; border-radius:2px; animation-duration:var(--a); animation-timing-function:ease; animation-iteration-count:infinite; animation-fill-mode:both}
  .d-cl .tok i:nth-child(1){background:#E23B2E; animation-name:dm-in-34; } .d-cl .tok i:nth-child(2){background:#1b1a17; animation-name:dm-in-36; } .d-cl .tok i:nth-child(3){background:#F3C969; animation-name:dm-in-38; } .d-cl .tok i:nth-child(4){background:#9DC59A; animation-name:dm-in-40; }
  .d-cl .cmp{display:flex; gap:4px} .d-cl .card{flex:1; border:1px solid var(--linen); border-radius:4px; padding:3px; display:flex; flex-direction:column; gap:2px; animation-name:dm-in-46; animation-duration:var(--a); animation-timing-function:ease; animation-iteration-count:infinite; animation-fill-mode:both}
  .d-cl .card:nth-child(2){animation-name:dm-in-50; } .d-cl .card b{height:5px; width:60%; border-radius:2px; background:var(--ink)} .d-cl .card i{height:4px; border-radius:2px; background:var(--linen)}
  .d-cl .chart{flex:1; display:flex; align-items:flex-end; gap:3px; min-height:16px} .d-cl .chart i{flex:1; border-radius:2px 2px 0 0; background:#E23B2E; transform-origin:bottom; animation:dm-grow2 var(--a) cubic-bezier(.2,.7,.2,1) infinite both}
  .d-cl .chart i:nth-child(1){height:40%} .d-cl .chart i:nth-child(2){height:65%} .d-cl .chart i:nth-child(3){height:50%} .d-cl .chart i:nth-child(4){height:85%} .d-cl .chart i:nth-child(5){height:70%}
  @keyframes dm-grow2{0%,56%{transform:scaleY(0)}68%,100%{transform:scaleY(1)}}
  .d-cl .btn{align-self:flex-end; font-weight:700; color:#fff; background:#1b1a17; border-radius:4px; padding:2px 6px; animation-name:dm-in-72; animation-duration:var(--a); animation-timing-function:ease; animation-iteration-count:infinite; animation-fill-mode:both}
  :root[data-theme="dark"] .d-cl .btn{background:#E23B2E}
  @keyframes dm-in-4{0%,4%{opacity:0; transform:translateY(4px) scale(.94)}11%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-12{0%,12%{opacity:0; transform:translateY(4px) scale(.94)}19%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-20{0%,20%{opacity:0; transform:translateY(4px) scale(.94)}27%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-22{0%,22%{opacity:0; transform:translateY(4px) scale(.94)}29%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-28{0%,28%{opacity:0; transform:translateY(4px) scale(.94)}35%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-30{0%,30%{opacity:0; transform:translateY(4px) scale(.94)}37%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-34{0%,34%{opacity:0; transform:translateY(4px) scale(.94)}41%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-36{0%,36%{opacity:0; transform:translateY(4px) scale(.94)}43%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-38{0%,38%{opacity:0; transform:translateY(4px) scale(.94)}45%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-40{0%,40%{opacity:0; transform:translateY(4px) scale(.94)}47%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-42{0%,42%{opacity:0; transform:translateY(4px) scale(.94)}49%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-46{0%,46%{opacity:0; transform:translateY(4px) scale(.94)}53%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-50{0%,50%{opacity:0; transform:translateY(4px) scale(.94)}57%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-54{0%,54%{opacity:0; transform:translateY(4px) scale(.94)}61%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-62{0%,62%{opacity:0; transform:translateY(4px) scale(.94)}69%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-66{0%,66%{opacity:0; transform:translateY(4px) scale(.94)}73%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  @keyframes dm-in-72{0%,72%{opacity:0; transform:translateY(4px) scale(.94)}79%,92%{opacity:1; transform:none}98%,100%{opacity:0}}
  .pop .film.d-cl,.pop .film.d-miro{display:grid} .pop .film.d-dove,.pop .film.d-lov{display:flex}
  .d-fs .rage{right:auto; left:30%; top:64%}

  /* 404: thread the needle */
  .nf{padding-block:36px 8px}
  .nf-head{max-width:640px; margin-bottom:30px}
  .nf-head .nf-code{font-family:var(--display); font-weight:600; font-style:italic; font-size:clamp(64px,12vw,108px); line-height:.9; letter-spacing:-.02em; color:var(--thread-ink); margin:0 0 12px}
  .nf-head h1{font-size:clamp(28px,4.4vw,40px); line-height:1.12; margin:0 0 12px}
  .nf-head p{font-size:17px; line-height:1.65; color:var(--body); margin:0}
  .nf-bar{display:flex; align-items:baseline; gap:18px; margin-bottom:12px; flex-wrap:wrap}
  .nf-bar h2{font-size:21px; margin:0; flex:1; min-width:max-content}
  .nf-stat{font-size:14.5px; color:var(--ash)} .nf-stat b{color:var(--ink); font-variant-numeric:tabular-nums; margin-left:4px}
  .nf-stage{position:relative; height:clamp(340px,50vw,430px); border-radius:20px; background:var(--wool); overflow:hidden; touch-action:none; cursor:pointer; user-select:none; -webkit-user-select:none; -webkit-tap-highlight-color:transparent}
  .nf-stage:focus{outline:none} .nf-stage:focus-visible{outline:2px solid var(--act); outline-offset:3px}
  .nf-stage canvas{display:block}
  .nf-over{position:absolute; inset:0; display:grid; place-items:center; padding:16px}
  .nf-over[hidden]{display:none}
  @media (min-width:640px){ .nf-over{justify-items:start; padding:20px 28px} }
  .nf-card{max-width:330px; text-align:center; padding:20px 22px; border-radius:16px; background:color-mix(in srgb,var(--paper) 93%,transparent); outline:1.5px dashed color-mix(in srgb,var(--thread) 55%,var(--paper)); outline-offset:-6px; box-shadow:0 10px 30px rgba(27,26,23,.08); cursor:default}
  .nf-msg{font-family:var(--display); font-size:21px; line-height:1.25; color:var(--ink); margin:0 0 6px}
  .nf-sub{font-size:14.5px; line-height:1.5; color:var(--body); margin:0 0 14px}
  .nf-go{font:inherit; font-size:15.5px; font-weight:700; border:1px solid var(--sel-bd); background:var(--sel-bg); color:var(--sel-fg); border-radius:12px; padding:10px 18px; cursor:pointer; transition:opacity .15s}
  .nf-go:hover{opacity:.88} .nf-go:focus-visible{outline:2px solid var(--act); outline-offset:3px}
  .nf-help{font-size:14px; line-height:1.55; color:var(--ash); margin:12px 0 0; max-width:640px}

  /* phones: the pages as icon tabs in the bar, a "more" button with a dropdown, a bar that hides while scrolling down */
  .nav-menu{display:none}
  .nav-menu .cross{display:none} .nav-menu[aria-expanded="true"] .bars{display:none} .nav-menu[aria-expanded="true"] .cross{display:block}
  .nav-menu .bars circle{fill:currentColor; stroke:none}
  .nav{transition:transform .28s cubic-bezier(.2,.7,.2,1)}
  .nav .mi{display:none}
  .foot-nav{display:none}
  @media (max-width:640px){
    .nav.has-menu{gap:8px}
    .nav.has-menu .nav-r > .div,.nav.has-menu .icons > li:not(:first-child){display:none}
    .nav.has-menu .nav-r,.nav.has-menu .nav-r > ul{gap:0} .nav.has-menu .hide-s{display:list-item} .nav.has-menu .nav-menu{display:grid}
    .nav.has-menu .nav-r > ul:not(.icons) a.link{display:flex; flex-direction:column; align-items:center; gap:3px; min-width:46px; min-height:44px; justify-content:center; padding:2px 2px 0; border-radius:12px; color:var(--body)}
    .nav.has-menu a.link .sew{font-size:11px; line-height:1.2; background:none; padding:0}
    .nav.has-menu .mi{display:block; width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; overflow:visible}
    .nav.has-menu .mi *{transform-box:fill-box; transform-origin:center}
    .nav.has-menu a.link:has([aria-current="page"]){color:var(--act-ink); background:var(--act-wash)}
    .nav.has-menu a.link:active{background:var(--wool)}
    .nav.has-menu .ib{width:44px; height:44px; border-radius:12px} .nav.has-menu .ib svg{width:22px; height:22px}
    .nav.has-menu .icons .tip{display:none}
    .nav.nav-hide{transform:translateY(calc(-100% - env(safe-area-inset-top,0px)))}
  }
  @media (max-width:360px){ .nav.has-menu .nav-r > ul:not(.icons) a.link{min-width:40px} }
  /* each icon moves once when you touch it */
  .nav .mi-build .spk{fill:var(--thread); stroke:var(--thread); stroke-width:1}
  .nav a.link:active .mi-work .split{animation:mi-slide .9s ease-in-out}
  .nav a.link:active .mi-make .wind{animation:mi-spin .9s cubic-bezier(.3,.8,.3,1)}
  .nav a.link:active .mi-about .eye{animation:mi-blink .4s ease}
  .nav a.link:active .mi-build .spk{animation:mi-spark .6s ease}
  @keyframes mi-spark{0%,100%{transform:none} 45%{transform:scale(1.45) rotate(45deg)}}
  @keyframes mi-slide{0%,100%{transform:none} 35%{transform:translateX(-3.5px)} 70%{transform:translateX(3.5px)}}
  @keyframes mi-spin{from{transform:rotate(-200deg)} to{transform:none}}
  @keyframes mi-blink{0%,100%{transform:none} 50%{transform:scaleY(.1)}}
  @media (prefers-reduced-motion:reduce){ .nav{transition:none} .nav .mi,.nav .mi *{animation:none !important} }
  .msh-root{position:fixed; inset:0; z-index:70}
  .msh-root[hidden]{display:none}
  .msh-scrim{position:absolute; inset:0; background:rgba(27,26,23,.18); opacity:0; transition:opacity .2s}
  .msh{position:absolute; right:max(12px,env(safe-area-inset-right,0px)); width:min(300px,calc(100vw - 24px)); max-height:calc(100dvh - 90px); overflow:auto; background:var(--paper); border-radius:18px; padding:10px; box-shadow:0 12px 40px rgba(27,26,23,.2); outline:none; opacity:0; transform:translateY(-6px); transform-origin:top right; transition:opacity .18s, transform .2s cubic-bezier(.2,.7,.2,1)}
  .msh::before{content:""; position:absolute; inset:5px; border-radius:14px; border:1.5px dashed color-mix(in srgb,var(--thread) 40%,var(--paper)); pointer-events:none}
  .msh-root.on .msh-scrim{opacity:1} .msh-root.on .msh{opacity:1; transform:none}
  @media (prefers-reduced-motion:reduce){ .msh,.msh-scrim{transition:none} }
  .msh-tools{list-style:none; margin:0; padding:0 4px; display:grid; gap:8px}
  .msh-tools a,.msh-tools button{display:flex; align-items:center; gap:10px; width:100%; min-height:52px; padding:0 14px; border-radius:14px; background:var(--wool); border:0; color:var(--ink); font:inherit; font-size:15px; font-weight:700; text-decoration:none; text-align:left; cursor:pointer}
  .msh-tools svg{width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
  .msh-tools .sun{display:none} [data-theme="dark"] .msh-tools .sun{display:block} [data-theme="dark"] .msh-tools .moon{display:none}
  .msh a:focus-visible,.msh button:focus-visible{outline:2px solid var(--act); outline-offset:2px}
  @media (prefers-reduced-motion:reduce){ .msh,.msh-scrim{transition:none} }

  /* wide screens: a sparse knit stitch in the side margins, drawn a little unevenly by hand, fading out before it reaches the content */
  :root{--bg-p:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='128' viewBox='0 0 144 128'%3E%3Cpath d='M5.2 6.1L8.7 12.2L13.1 6.3M42.2 3.5L45.6 9.2L49.7 3.7M78.4 6.1L83.3 10.8L86.5 4.3M112.2 3.3L115.6 9.6L120.1 4.3M23.8 36.3L26.8 43.6L31.2 37.7M58.7 36.5L62.7 42.8L65.6 36.2M96.5 35.6L100.7 42.3L103.8 35.4M6.4 67.8L9.3 74.1L13.4 68.4M39.4 67.7L43.6 73.3L48.1 67.5M76.3 69.7L80.1 75.3L83.4 69.6M112.7 69.7L115.9 75.9L120.1 70.0M21.8 100.6L26.0 106.1L30.4 99.6M58.4 100.7L61.3 107.1L66.0 101.9M93.5 100.4L98.2 106.5L102.5 100.0M129.6 102.4L133.8 108.4L138.5 101.6' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); --bg-s:144px 128px}
  @media (min-width:1260px){
    body::before{content:""; position:fixed; inset:0; z-index:0; pointer-events:none; background:var(--thread); opacity:.07;
      --edge:calc(50% - var(--maxw)/2);
      -webkit-mask:var(--bg-p) repeat 0 0 / var(--bg-s), linear-gradient(90deg,#000 0,#000 calc(var(--edge) - 90px),transparent calc(var(--edge) + 10px),transparent calc(100% - var(--edge) - 10px),#000 calc(100% - var(--edge) + 90px),#000 100%);
      -webkit-mask-composite:source-in;
      mask:var(--bg-p) repeat 0 0 / var(--bg-s), linear-gradient(90deg,#000 0,#000 calc(var(--edge) - 90px),transparent calc(var(--edge) + 10px),transparent calc(100% - var(--edge) - 10px),#000 calc(100% - var(--edge) + 90px),#000 100%);
      mask-composite:intersect}
    :root[data-theme="dark"] body::before{opacity:.1}
  }
  .msh-tools .sw{margin-left:auto; flex:none; width:42px; height:26px; border-radius:13px; background:var(--ash); position:relative; transition:background .2s}
  .msh-tools .sw i{position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:var(--paper); transition:transform .2s cubic-bezier(.2,.7,.2,1)}
  .msh-tools [aria-checked="true"] .sw{background:var(--act-ink)} .msh-tools [aria-checked="true"] .sw i{transform:translateX(16px)}
  .msh-tools .lk{margin-left:auto; width:17px; height:17px; color:var(--ash)}
  .ib .tip .tip-lk{width:11px; height:11px; display:inline-block; vertical-align:-1px; margin-left:3px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
  @media (prefers-reduced-motion:reduce){ .msh-tools .sw,.msh-tools .sw i{transition:none} }
  /* links in assistant tables: red text only; the stitched underline appears on hover and focus */
  .dk-log .a td .u,.dk-log .a th .u{background-size:0 2px; transition:background-size .2s ease}
  .dk-log .a td .u:hover,.dk-log .a td .u:focus-visible,.dk-log .a th .u:hover,.dk-log .a th .u:focus-visible{background-size:100% 2px}
  .dk-log .a td .u:focus-visible,.dk-log .a th .u:focus-visible{outline:2px solid var(--act); outline-offset:2px; border-radius:3px}
  @media (prefers-reduced-motion:reduce){ .dk-log .a td .u{transition:none} }

  /* motion with a meaning: leaving pulls a thread along the nav, pages change under a nav that stays put,
     a new theme dyes outward from your tap, and a seam pulls through as it appears */
  .nav::after{content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:repeating-linear-gradient(90deg,var(--thread) 0 8px,transparent 8px 14px); opacity:0; pointer-events:none}
  .leaving .nav::after{width:88%; opacity:1; transition:width 5s cubic-bezier(.1,.7,.1,1) .15s, opacity .2s .15s}
  .leaving .nav.nav-hide{transform:none}
  @keyframes vt-out{to{opacity:0}}
  @keyframes vt-in{from{opacity:0; transform:translateY(12px)}}
  @keyframes seam-pull{from{stroke-dashoffset:24}}
  @media (prefers-reduced-motion:no-preference){
    @view-transition{navigation:auto}
    .nav{view-transition-name:nav}
    ::view-transition-old(root){animation:vt-out .15s ease-in both}
    ::view-transition-new(root){animation:vt-in .38s cubic-bezier(.2,.7,.2,1) .05s both}
    .vt-dye .nav{view-transition-name:none}
    .vt-dye::view-transition-old(root),.vt-dye::view-transition-new(root){animation:none; mix-blend-mode:normal}
    :is(.square,.ib,#totop):is(:hover,:focus-visible) > svg.seam rect{animation:seam-pull .7s cubic-bezier(.2,.7,.2,1)}
  }

  /* dark mode: patterns are quiet grey, not red, so they texture the surface without adding a colour cast */
  :root[data-theme="dark"] .tools-mat::before{background:var(--ink); opacity:.06}
  :root[data-theme="dark"] .wk-media{--pat-ink:var(--ink); --pat-a:.05}
