@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/BricolageGrotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/BricolageGrotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/Figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/Figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* kend.app: a quiet frame, and each game a world in its own colour (the redesign of 2026-11-13).
   Chemibloom's pages carry a copy of the built file (its decision 0161): after a change here, copy it there. */
:root {
  --paper: #edeff2;
  --surface: #ffffff;
  --ink: #0f1115;
  --ink-2: #3d424b;
  --muted: #5d636e;
  --line: #d3d7de;
  --accent: #ffc629;
  --mark: #ffc629;
  --radius: 22px;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d0e11;
    --surface: #17191e;
    --ink: #f2f3f5;
    --ink-2: #c7cbd2;
    --muted: #9097a1;
    --line: #262a31;
    --mark: rgba(255, 198, 41, .36);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 12px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; margin: 0; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 26px/1 var(--display); letter-spacing: -.04em; text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.site-header nav { display: flex; gap: 4px; }
.site-header nav a { font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.site-header nav a:hover { background: var(--surface); }

/* home: the studio's line. The yellow under "knowing" is the brand's own (the owner, 2026-11-13): Kend means known. */
.hero { padding-block: clamp(36px, 7vw, 88px) clamp(32px, 5vw, 60px); }
.hero h1 { font-size: clamp(48px, 9.4vw, 124px); line-height: .92; letter-spacing: -.045em; margin: 0; }
.mark-hl { background: linear-gradient(transparent 60%, var(--mark) 60% 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero p { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; margin: clamp(18px, 2.4vw, 28px) 0 0; }

/* a game's world: a band in the game's own colour (--field, --on and --on-2 come from the game's entry), the
   newest game first. The band is dark in both themes, so what stands on it never changes with the theme. */
.world { background: var(--field); color: var(--on); }
.world-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 6.5vw, 88px); }
.world .app-icon { width: 76px; height: 76px; border-radius: 22.5%; display: block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 10px 24px -10px rgba(0, 0, 0, .6); }
.world h1, .world h2 { font-size: clamp(42px, 5.6vw, 76px); line-height: .96; letter-spacing: -.04em; margin: 20px 0 0; }
.world h2 a { text-decoration: none; }
.world h2 a:hover { text-decoration: underline; text-decoration-thickness: .06em; }
.kind { margin: 10px 0 0; color: var(--on-2); font-size: 16px; }
.pitch { margin: 18px 0 0; font-size: clamp(18px, 1.7vw, 20px); line-height: 1.5; max-width: 34ch; }
.news { display: inline-block; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #0f1115; font-weight: 700; font-size: 15px; line-height: 1.3; }
.news[hidden] { display: none; }
.world .badges { margin-top: 26px; }
.world .badge img { height: 46px; }
.world .soon { color: var(--on-2); font-size: 16px; }
.about { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--on); }

.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); align-items: start; --s1: clamp(18px, 3vw, 44px); --s2: clamp(36px, 6vw, 88px); }
.screens img { width: 100%; height: auto; display: block; border-radius: clamp(14px, 1.8vw, 22px); }
.screens img:nth-child(2) { margin-top: var(--s1); }
.screens img:nth-child(3) { margin-top: var(--s2); }
.screens.lift img { box-shadow: 0 24px 44px -24px rgba(0, 0, 0, .8); }

/* the one moment: the newest game's screens arrive as the page opens */
@media (prefers-reduced-motion: no-preference) {
  .world.newest .screens img { animation: arrive .7s cubic-bezier(.2, .7, .2, 1) both; }
  .world.newest .screens img:nth-child(2) { animation-delay: .09s; }
  .world.newest .screens img:nth-child(3) { animation-delay: .18s; }
  @keyframes arrive { from { opacity: 0; transform: translateY(28px); } }
}

#games { scroll-margin-top: 64px; }
.after { padding-block: clamp(40px, 6vw, 72px) 0; }
.after p { margin: 0; font: 700 clamp(22px, 2.6vw, 30px)/1.25 var(--display); letter-spacing: -.02em; max-width: 30ch; }
.after p + p { font: 400 17px/1.6 var(--text); letter-spacing: 0; color: var(--ink-2); margin-top: 10px; max-width: 52ch; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge { display: inline-flex; line-height: 0; border-radius: 9px; }
.badge img { height: 44px; width: auto; }
.soon { color: var(--muted); font-size: 15px; }

/* a game's own page: its world, the text holding still while its six screens pass */
.back { display: inline-block; margin-top: 26px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back:hover { color: var(--ink); text-decoration: underline; }
.world .back { margin-top: 0; padding-top: 22px; color: var(--on-2); }
.world .back:hover { color: var(--on); }
.world.page .world-in { padding-top: clamp(24px, 3vw, 40px); align-items: start; }
.world.page .lead { position: sticky; top: 88px; }
.world.page .pitch { font: 700 clamp(20px, 2.1vw, 24px)/1.3 var(--display); letter-spacing: -.01em; max-width: 26ch; }
.longer { margin: 14px 0 0; color: var(--on-2); max-width: 44ch; }
.screens.six img:nth-child(4) { margin-top: calc(var(--s2) * -1); }
.screens.six img:nth-child(5) { margin-top: calc(var(--s1) - var(--s2)); }
.screens.six img:nth-child(6) { margin-top: 0; }

.block { padding-top: clamp(44px, 6vw, 80px); }
.block > h2 { margin-bottom: 8px; }
/* `parts`, never `facts`: Chemibloom's own stylesheet has a `.facts` of its own, and its pages wear both files */
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); margin: 0; }
.parts div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.parts dt { font: 800 21px/1.2 var(--display); letter-spacing: -.02em; }
.parts dd { margin: 6px 0 0; color: var(--ink-2); max-width: 52ch; }
.help { margin: 0; }
.help > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.help dt { font-weight: 700; }
.help dd { margin: 0; color: var(--ink-2); max-width: 62ch; }
.path { font-weight: 700; color: var(--ink); }
details { margin-top: 8px; }
summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.langs { columns: 2; column-gap: 18px; list-style: none; margin: 10px 0 0; padding: 0; font-size: 15px; }
.langs li { margin: 3px 0; break-inside: avoid; }

/* a game's side pages (a press kit, an event, accessibility): on the frame's paper, in the same plain parts */
.game-hero { padding-bottom: clamp(28px, 5vw, 56px); }
.game-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 20px; }
.app-icon { width: 64px; height: 64px; border-radius: 22.5%; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 6px 16px -6px rgba(0, 0, 0, .35); }
.app-icon.lg { width: 88px; height: 88px; }
.chip { display: inline-block; margin-top: 18px; color: var(--muted); font-weight: 600; font-size: 16px; }
.game-hero h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1; margin: 6px 0 10px; }
.tagline { font: 700 clamp(19px, 2.2vw, 23px)/1.35 var(--display); letter-spacing: -.01em; margin: 0 0 12px; }
.lede { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 50ch; margin: 0 0 22px; }
.game-art { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1024 / 500; background: #111; }
.game-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 40vw, 228px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; }
.shot-row img { width: 100%; height: auto; border-radius: 18px; scroll-snap-align: start; display: block; background: var(--surface); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); }
.feature { padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature .chip { margin-top: 0; font-size: 15px; }
.feature h3 { font-size: 21px; line-height: 1.2; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); }
.help-card { padding: 18px 0; border-bottom: 1px solid var(--line); }
.help-card h3 { font: 700 17px/1.4 var(--text); letter-spacing: 0; margin: 0 0 4px; }
.help-card p { margin: 0 0 10px; color: var(--ink-2); max-width: 52ch; }
.help-card p:last-child { margin-bottom: 0; }

/* text pages */
.prose { max-width: 740px; padding-top: 28px; }
.prose h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1; margin: 18px 0 16px; }
.prose h2 { font-size: 26px; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ol, .prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.email { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 4px; font: 800 clamp(21px, 3vw, 28px)/1 var(--display); letter-spacing: -.02em; text-decoration: none; background: var(--surface); padding: 16px 22px; border-radius: 16px; border: 1px solid var(--line); }
.email:hover { text-decoration: underline; }

/* smart download link */
.get { display: grid; justify-items: center; text-align: center; padding-block: clamp(48px, 10vw, 110px) 20px; }
.get .app-icon { width: 112px; height: 112px; }
.get h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1; margin: 20px 0 8px; }
.get .tagline { margin-bottom: 26px; }
.get .badges { justify-content: center; }
.hint { color: var(--muted); font-size: 14px; margin-top: 18px; }
/* audit SOC-08: a friend's invite code, shown to an iPhone before the App Store */
.invite { display: grid; justify-items: center; gap: 10px; width: min(100%, 380px); margin: 0 0 26px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.invite[hidden], .badge[hidden], .hint[hidden] { display: none; }
.invite p { margin: 0; }
.invite-label { color: var(--muted); font-size: 15px; }
.invite-code { font: 700 clamp(34px, 11vw, 44px)/1.1 var(--display); letter-spacing: .12em; -webkit-user-select: all; user-select: all; }
.invite-copy { font: 600 17px/1 var(--text); min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--accent); color: #0f1115; cursor: pointer; }
.invite-copy:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.invite-line { color: var(--ink-2); font-size: 16px; line-height: 1.45; }

/* footer */
.site-footer { margin-top: clamp(56px, 9vw, 112px); border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding-block: 36px 20px; }
.foot h2 { font: 700 15px/1.2 var(--text); letter-spacing: 0; color: var(--muted); margin: 6px 0 10px; }
.foot nav a { display: block; width: fit-content; text-decoration: none; margin: 7px 0; color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand p { color: var(--muted); margin: 12px 0 0; max-width: 34ch; }
.legal { padding-block: 0 36px; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .world-in, .game-hero-grid { grid-template-columns: 1fr; }
  .game-art { order: -1; }
  .screens { max-width: 560px; }
  .parts, .feature-grid, .help-grid { grid-template-columns: 1fr; }
  .world.page .lead { position: static; }
  .screens.six { max-width: none; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(150px, 42vw, 220px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; }
  .screens.six img, .screens.six img:nth-child(n) { margin-top: 0; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .wrap { width: min(1120px, 100% - 32px); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .site-header nav a { padding: 8px 10px; }
  .help > div { grid-template-columns: 1fr; }
  .world .app-icon { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
