/* kit.css (Mason, 2026-11-19): the drawn figures on /the-site-kit/. Everything inside .kx is an example business
   (Humo Tacos, the same mock as the editor demo), so it wears its own colors, never ours. Sizes ride the figure box. */
.kx{container-type:size;display:flex;align-items:center;justify-content:center}
.kx-tag{position:absolute;left:0;bottom:-22px;font:600 10px/1 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.14em;color:var(--stone)}
.kx{--h1:#140c09;--h2:#B8462A;--h3:#FBEBD7;--h4:#E9A23B;--h5:#2A120B}

/* the phone with a link-in-bio page that rolls by itself */
.kph{height:100%;aspect-ratio:9/18.5;border-radius:7cqh;background:#0d0b0c;padding:1.6cqh;box-shadow:0 40px 90px rgba(0,0,0,.65),0 0 120px color-mix(in srgb,var(--acc) 22%,transparent),inset 0 0 0 2px #2a2628}
.kph-scr{position:relative;width:100%;height:100%;border-radius:5.6cqh;overflow:hidden;background:var(--h1);color:var(--h3);container-type:size}
.kph-roll{position:absolute;left:0;right:0;top:0;display:flex;flex-direction:column;align-items:center;gap:2.4cqw;padding:0 6cqw 8cqw;animation:kroll 22s cubic-bezier(.45,0,.2,1) 1.2s infinite alternate}
@keyframes kroll{0%,12%{transform:translateY(0)}88%,100%{transform:translateY(calc(-100% + 100cqh))}}
.kb-top{position:relative;width:calc(100% + 12cqw);height:44cqw;margin-bottom:11cqw}
.kb-top>img{width:100%;height:100%;object-fit:cover;display:block}
.kb-av{position:absolute;left:50%;bottom:-9cqw;width:22cqw;height:22cqw;margin-left:-11cqw;border-radius:50%;overflow:hidden;border:1cqw solid var(--h1)}
.kb-av img{width:100%;height:100%;object-fit:cover}
.kb-name{font:900 11cqw/.9 'Big Shoulders Display',sans-serif;text-transform:uppercase}
.kb-line{font:400 4.6cqw/1.2 'Hanken Grotesk',sans-serif;opacity:.8;margin-bottom:2cqw}
.kb-btn{width:100%;text-align:center;font:700 4.6cqw/1 'Hanken Grotesk',sans-serif;padding:4.4cqw 0;border-radius:99px;border:1px solid rgba(251,235,215,.35)}
.kb-btn.on{background:var(--h3);color:var(--h5);border-color:var(--h3)}
.kb-lab{align-self:flex-start;margin-top:5cqw;font:600 3cqw/1 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.16em;color:var(--h4)}
.kb-grid{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:1.6cqw}
.kb-foot{margin-top:5cqw;font:600 3cqw/1 'IBM Plex Mono',monospace;letter-spacing:.12em;opacity:.55}
.kb-print{width:100%;display:flex;gap:3cqw;align-items:flex-end}

/* post tiles: six designs, one family */
.kt{position:relative;aspect-ratio:4/5;border-radius:3px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:9%;font-style:normal;container-type:inline-size}
.kt b{font:600 7cqw/1 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.12em}
.kt em{font:900 19cqw/.9 'Big Shoulders Display',sans-serif;text-transform:uppercase;font-style:normal}
.kt.k1{background:var(--h2);color:var(--h3)}
.kt.k2{background:var(--h3);color:var(--h5)}
.kt.k3{background:linear-gradient(rgba(20,12,9,.25),rgba(20,12,9,.8)),url(/img/humotruck-900.webp) center/cover;color:var(--h3)}
.kt.k4{background:var(--h5);color:var(--h4)}
.kt.k5{background:var(--h4);color:var(--h5)}
.kt.k6{background:linear-gradient(rgba(20,12,9,.2),rgba(20,12,9,.82)),url(/img/humotacos-900.webp) center/cover;color:var(--h3)}
.kgrid{height:100%;aspect-ratio:3.1/2.5;max-width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:1.4cqh;align-content:center}
.kgrid .kt{border-radius:4px;box-shadow:0 18px 40px rgba(0,0,0,.45)}
.kgrid .kt:nth-child(2),.kgrid .kt:nth-child(5){transform:translateY(-3cqh)}

/* three profiles: the same face, name and line in three shapes */
.kpf{position:relative;height:100%;aspect-ratio:1/1;max-width:100%}
.kpf-c{position:absolute;background:var(--h1);color:var(--h3);border-radius:10px;border:1px solid rgba(251,235,215,.14);box-shadow:0 24px 60px rgba(0,0,0,.55);display:flex;flex-direction:column;gap:1cqh;padding:3cqh;overflow:hidden}
.kpf-c .av{flex:none;width:11cqh;height:11cqh;border-radius:50%;background:url(/img/humotruck-900.webp) center/cover;border:.5cqh solid var(--h1)}
.kpf-c b{font:900 5.4cqh/.9 'Big Shoulders Display',sans-serif;text-transform:uppercase}
.kpf-c em{font:400 2.5cqh/1.25 'Hanken Grotesk',sans-serif;font-style:normal;opacity:.8}
.kpf-c u{align-self:flex-start;text-decoration:none;font:700 2cqh/1 'Hanken Grotesk',sans-serif;background:var(--h2);padding:1cqh 1.6cqh;border-radius:99px}
.kpf-c.a{left:0;top:4%;width:46%;align-items:center;text-align:center;transform:rotate(-4deg)}
.kpf-c.b{right:0;top:14%;width:58%;padding-top:0;transform:rotate(2.5deg);z-index:2}
.kpf-c.b .cv{display:block;margin:0 -3cqh;height:13cqh;background:url(/img/humotacos-900.webp) center/cover}
.kpf-c.b .av{margin-top:-6.5cqh;border-radius:14%}
.kpf-c.c{left:8%;bottom:3%;width:62%;flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:2cqh;transform:rotate(-1.5deg);z-index:3}
.kpf-c.c .av{width:8cqh;height:8cqh}
.kpf-c.c em{flex-basis:100%}

/* two print pieces */
.kp-menu,.kp-card{font-style:normal;display:flex;flex-direction:column}
.kp-menu{flex:1.1;aspect-ratio:3/4;background:var(--h3);color:var(--h5);padding:4cqw;gap:2cqw;border-radius:2px}
.kp-menu b{font:900 8cqw/.9 'Big Shoulders Display',sans-serif;text-transform:uppercase}
.kp-menu u{display:block;height:1px;background:currentColor;opacity:.35;margin-top:2cqw}
.kp-card{flex:1;aspect-ratio:7/4;background:var(--h2);color:var(--h3);padding:3cqw;justify-content:center;border-radius:2px}
.kp-card b,.kp-card em{font:900 8cqw/.85 'Big Shoulders Display',sans-serif;text-transform:uppercase;font-style:normal}
.kprint{position:relative;height:100%;aspect-ratio:1/1;max-width:100%}
.kprint .big{position:absolute;box-shadow:0 28px 60px rgba(0,0,0,.55)}
.kp-menu.big{left:6%;top:4%;width:52%;aspect-ratio:3/4.3;padding:5cqh;gap:0;transform:rotate(-5deg)}
.kp-menu.big b{font-size:10cqh;margin-bottom:3cqh}
.kp-menu.big span{display:flex;justify-content:space-between;font:600 2.6cqh/1 'Hanken Grotesk',sans-serif;padding:1.9cqh 0;border-top:1px solid rgba(42,18,11,.3)}
.kp-menu.big s{text-decoration:none;font-family:'IBM Plex Mono',monospace}
.kp-menu.big em{margin-top:auto;font:600 1.8cqh/1 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.16em;font-style:normal}
.kp-card.big{right:2%;bottom:10%;width:56%;aspect-ratio:7/4;padding:4cqh;transform:rotate(4deg)}
.kp-card.big b,.kp-card.big em{font-size:9cqh}
.kp-card.big span{margin-top:1.6cqh;font:400 2.2cqh/1 'Hanken Grotesk',sans-serif}

@media (max-width:760px){
  .kx-tag{display:none}
  .ch:first-of-type .kx{align-items:flex-start;overflow:hidden}
  .kph{height:auto;width:52%;border-radius:30px;padding:6px}
  .kph-scr{border-radius:24px}
}
@media (prefers-reduced-motion:reduce){.kph-roll{animation:none}}

/* the first screen on a laptop: the phone, and beside it the other three places (a profile, a card, a post) */
.kh-side{display:none}
@media (min-width:761px){
  .ch:first-of-type .kx{justify-content:flex-start;gap:5cqw;padding-left:4cqw}
  .kh-side{display:block;position:relative;flex:1;height:100%}
  .kh-side .kpf-c.c{left:0;top:6%;bottom:auto;width:92%;transform:rotate(2deg)}
  .kh-side .kp-card.big{position:absolute;left:10%;right:auto;top:36%;bottom:auto;width:74%;transform:rotate(-4deg);box-shadow:0 28px 60px rgba(0,0,0,.55)}
  .kh-side .kt{position:absolute;right:0;bottom:2%;width:46%;transform:rotate(5deg);box-shadow:0 22px 50px rgba(0,0,0,.5)}
}
@media (min-width:761px){
  .kh-side .kpf-c.c{top:3%;width:84%}
  .kh-side .kp-card.big{left:6%;top:52%;width:94%}
  .kh-side .kt{display:none}
}

/* 2026-11-22. The Kit's first screen: a whole small site on the phone (the Page's first screen is the link-in-bio). */
.ks{align-items:stretch}
.ks-bar{display:flex;justify-content:space-between;align-items:center;padding:5cqw 0 3cqw}
.ks-bar b{font:900 6cqw/1 'Big Shoulders Display',sans-serif;text-transform:uppercase}
.ks-bar i{width:6cqw;height:4cqw;border-top:2px solid currentColor;border-bottom:2px solid currentColor}
.ks .ks-hero{width:calc(100% + 12cqw);margin:0 -6cqw 2cqw;height:70cqw}
.ks-h{position:absolute;left:6cqw;right:6cqw;bottom:5cqw;font:900 13cqw/.86 'Big Shoulders Display',sans-serif;text-transform:uppercase;text-shadow:0 2px 18px rgba(0,0,0,.7)}
.ks .ks-hero>img{filter:brightness(.72)}
.ks-menu{display:flex;flex-direction:column}
.ks-menu span{display:flex;justify-content:space-between;font:600 4.4cqw/1 'Hanken Grotesk',sans-serif;padding:3.4cqw 0;border-top:1px solid rgba(251,235,215,.2)}
.ks-menu s{text-decoration:none;font-family:'IBM Plex Mono',monospace;color:var(--h4)}
.ks-about img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;border-radius:3px}
.ks-about p{font:400 4.4cqw/1.4 'Hanken Grotesk',sans-serif;margin:3cqw 0 0;opacity:.85}
.ks .kb-foot{align-self:center}

/* the board: colors, type, three words */
.kbd{height:100%;aspect-ratio:4/5;max-width:100%;box-sizing:border-box;background:var(--h3);color:var(--h5);border-radius:4px;padding:6cqh 5cqh;display:flex;flex-direction:column;gap:1.6cqh;box-shadow:0 28px 70px rgba(0,0,0,.55);transform:rotate(-2deg)}
.kbd>b{font:900 8cqh/.9 'Big Shoulders Display',sans-serif;text-transform:uppercase}
.kbd-lab{margin-top:2.4cqh;font:600 1.7cqh/1 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.16em;opacity:.6}
.kbd-sw{display:flex;gap:1.4cqh}
.kbd-sw i{flex:1;aspect-ratio:1/1;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(42,18,11,.18)}
.kbd-ty{display:flex;align-items:baseline;gap:2.4cqh}
.kbd-ty em{font:900 9cqh/.9 'Big Shoulders Display',sans-serif;text-transform:uppercase;font-style:normal;color:var(--h2)}
.kbd-ty span{font:400 2.4cqh/1.35 'Hanken Grotesk',sans-serif}
.kbd-w{display:flex;flex-wrap:wrap;gap:1.2cqh}
.kbd-w u{text-decoration:none;font:700 2.4cqh/1 'Hanken Grotesk',sans-serif;border:1px solid var(--h5);border-radius:99px;padding:1.2cqh 2cqh}
@media (min-width:761px){
  .kh-side .kbd{position:absolute;left:0;top:8%;height:auto;width:100%;aspect-ratio:4/5;padding:9% 8%;gap:1.6cqh;transform:rotate(3deg)}
  .kh-side .kbd>b{font-size:5.4cqh}.kh-side .kbd-ty em{font-size:6cqh}.kh-side .kbd-ty span{font-size:1.8cqh}.kh-side .kbd-w u{font-size:1.8cqh}
}

/* 2026-11-22, after the cold read: on a phone the "Example business" tag must show (Humo Tacos is made up), and
   The Page + Brand's first screen shows the board beside the phone, so the two pages do not open the same. */
@media (max-width:760px){
  .kx-tag{display:block;left:auto;right:0;bottom:auto;top:-18px;font-size:9px;z-index:2}
  .ch:first-of-type .kx-tag{top:2px;right:2px;background:rgba(6,5,7,.72);padding:4px 6px;border-radius:3px;color:var(--cream)}
  .ch:first-of-type .kx{gap:4%}
  .kph.kph-s{width:44%}
  .kh-side.kh-board{display:block;position:relative;width:46%;height:100%;container-type:size}
  .kh-board .kbd{position:absolute;left:0;right:0;top:4%;height:auto;aspect-ratio:4/5.4;padding:9% 8%;gap:1.5cqh;transform:rotate(3deg)}
  .kh-board .kbd>b{font-size:9cqh}.kh-board .kbd-lab{font-size:2.6cqh;margin-top:2cqh}.kh-board .kbd-ty em{font-size:9cqh}.kh-board .kbd-ty span{display:none}.kh-board .kbd-w u{font-size:3.2cqh;padding:1.4cqh 2cqh}
}
