/* lk41, the games studio at Point It Here.
   The studio sits on a cool chalk ground in toy-box colours. Sellam's band
   and its page switch to the app's own lacquer: a black ground, bone for
   reading, and the orpiment, lac and pacca rings of a turned post. */

:root {
  --chalk: #edf0f7;
  --chalk-deep: #dfe4f0;
  --ink: #1d1c3a;
  --ink-soft: #4f4f6d;
  --cobalt: #2e47d9;
  --cobalt-deep: #2236b0;
  --marigold: #ffb21e;
  --berry: #d9336b;
  --grass: #17976a;

  --kalu: #14120e;
  --kalu-soft: #231e17;
  --bone: #f3e9d6;
  --bone-soft: #c9bba4;
  --lac: #c62f1b;
  --orpiment: #efb118;
  --pacca: #1b7148;
  --band: linear-gradient(to bottom, var(--kalu) 0 1px, var(--orpiment) 1px 3px, var(--lac) 3px 6px, var(--pacca) 6px 8px, var(--kalu) 8px 9px);

  --display: "Bagel Fat One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lac-display: "Gemunu Libre", "Arial Narrow", "Iskoola Pota", sans-serif;
  --lac-body: "Yaldevi", "Iskoola Pota", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 76rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--chalk); }
html:has(body.lac-world) { background: var(--kalu); color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--cobalt); text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.02; }
h1 { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 10;
  background: var(--ink); color: #fff; padding: 0.5rem 0.9rem; border-radius: 6px;
}
.skip:focus { top: 0.75rem; color: #fff; }

/* ---- header and footer ---- */

.site-header { padding-block: 1.1rem; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 2rem; }

.wordmark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-size: 1.45rem; line-height: 1;
  color: var(--ink); text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.wordmark svg { width: 2.25rem; height: 2.25rem; flex: none; }

.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-nav a:not(.btn) { color: var(--ink); font-weight: 700; text-decoration: none; padding-block: 0.35rem; }
.site-nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 40rem) { .site-nav .nav-extra { display: none; } }

.site-footer { padding-block: 2.5rem 3rem; font-size: 0.95rem; color: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 2.5rem; }
.footer-grid p { margin: 0; }
.site-footer .wordmark { font-size: 1.2rem; }
.site-footer .wordmark svg { width: 1.8rem; height: 1.8rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
@media (max-width: 52rem) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- buttons ---- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.7rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }
.site-nav .btn { min-height: 2.6rem; padding: 0.5rem 1.1rem; }

.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-deep); color: #fff; }
.btn-quiet { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--chalk); }
.btn-marigold { background: var(--marigold); color: var(--ink); }
.btn-marigold:hover { background: #fff; color: var(--ink); }

/* ---- hero and the board ---- */

.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6.5rem);
}
.hero h1 { max-width: 11ch; }
.lede { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-soft); max-width: 34rem; margin-block: 1.5rem 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 56rem) { .hero { grid-template-columns: minmax(0, 1fr); } }

.board { margin: 0; }
.board canvas {
  display: block; width: 100%; height: auto; max-width: 100%;
  border-radius: 12px; background: #35200f;
  box-shadow: 0 2px 0 rgba(29, 28, 58, 0.25), 0 34px 60px -30px rgba(29, 28, 58, 0.65);
  touch-action: none; cursor: grab;
}
.board canvas:active { cursor: grabbing; }
.board canvas:focus-visible { outline-offset: 6px; }
.board figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.6rem 1rem; margin-top: 1.1rem; }
.hint { grid-column: 1 / -1; margin: 0; min-height: 1.6em; font-weight: 700; }
.figures { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; }
.figures div { display: flex; align-items: baseline; gap: 0.4rem; }
.figures dt { color: var(--ink-soft); }
.figures dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.btn-small {
  font: 700 0.95rem/1 var(--body); color: var(--cobalt); background: transparent;
  border: 2px solid currentColor; border-radius: 999px; padding: 0.55rem 0.95rem; cursor: pointer;
}
.btn-small:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.keys { grid-column: 1 / -1; margin: 0.25rem 0 0; max-width: 40rem; font-size: 0.9rem; color: var(--ink-soft); }

/* ---- Sellam's world ---- */

.lac-world { background: var(--kalu); color: var(--bone); font-family: var(--lac-body); }
.lac-world h1, .lac-world h2, .lac-world h3 { font-family: var(--lac-display); font-weight: 700; line-height: 0.95; }
.lac-world a { color: var(--orpiment); }
.lac-world a:hover { color: var(--bone); }
.lac-world :focus-visible { outline-color: var(--orpiment); }
.lac-world .wordmark, .lac-world .site-nav a:not(.btn) { color: var(--bone); }
.lac-world .btn-quiet { border-color: var(--bone-soft); color: var(--bone); }
.lac-world .btn-quiet:hover { background: var(--bone); border-color: var(--bone); color: var(--kalu); }
.lac-world .site-footer { color: var(--bone-soft); }

.band { height: 9px; background: var(--band); }

.sellam-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
@media (max-width: 60rem) { .sellam-grid { grid-template-columns: minmax(0, 1fr); } }
.sellam-copy p { max-width: 36rem; }

.app-icon { width: 104px; height: 104px; border-radius: 23px; margin-bottom: 1.5rem; }
.lac-world .lac-name { font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); line-height: 0.9; letter-spacing: -0.01em; }
.lac-script { font-family: var(--lac-display); font-weight: 600; color: var(--orpiment); font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin: 0.35rem 0 1.25rem; }

.lac-facts { list-style: none; padding: 0; margin: 1.5rem 0 2rem; max-width: 36rem; }
.lac-facts li { position: relative; padding-left: 1.5rem; margin-bottom: 0.55rem; color: var(--bone-soft); }
.lac-facts li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.6em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--lac);
  box-shadow: 0 0 0 2px var(--kalu), 0 0 0 3.5px var(--orpiment);
}

.lac-world .btn-lac, .btn-lac {
  display: inline-block; padding: 0.6rem 1.4rem;
  font-family: var(--lac-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2;
  color: var(--kalu); background: var(--orpiment); border: 1px solid var(--orpiment); text-decoration: none;
}
.lac-world .btn-lac:hover { background: var(--bone); border-color: var(--bone); color: var(--kalu); }
.lac-status { color: var(--bone-soft); font-size: 0.95rem; margin-top: 1rem; }

.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.25rem, 1fr)); gap: 1.75rem 1.25rem; }
.shelf a { display: block; color: var(--bone); text-decoration: none; }
.shelf a:hover h3 { color: var(--orpiment); }
.shelf .plan { margin-bottom: 0.75rem; }
.lac-world .shelf h3 { font-weight: 600; font-size: 1.45rem; line-height: 1.05; margin-bottom: 0.25rem; }
.shelf p { color: var(--bone-soft); font-size: 0.95rem; line-height: 1.45; margin: 0; }

/* the plan drawings, filled in by plans.js */
.plan { width: 100%; height: auto; aspect-ratio: 1; padding: 8%; background: var(--kalu-soft); }
.plan .i { fill: none; stroke: var(--orpiment); }
.plan .fi { fill: var(--orpiment); }
.plan .a { fill: var(--lac); }
.plan .sa { fill: none; stroke: var(--lac); }
.plan .g { fill: var(--kalu); }
.plan .sg { fill: none; stroke: var(--kalu); }
.plan .fp { fill: var(--pacca); }
.plan .wood { fill: #9c6a3a; fill-opacity: 0.35; }
.plan .dim { opacity: 0.55; }

/* ---- what we make ---- */

.make { padding-block: clamp(4rem, 8vw, 7rem); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end;
  gap: 1rem clamp(2rem, 5vw, 5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head p { margin: 0; max-width: 34rem; font-size: 1.2rem; color: var(--ink-soft); }
@media (max-width: 56rem) { .section-head { grid-template-columns: minmax(0, 1fr); } }

.kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem); }
@media (max-width: 44rem) { .kinds { grid-template-columns: minmax(0, 1fr); } }
.kind { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: start; gap: 1.25rem; }
.kind svg { width: 4.5rem; height: 4.5rem; }
.kind h3 { font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; margin-bottom: 0.4rem; }
.kind p { margin: 0; max-width: 30rem; color: var(--ink-soft); }

/* ---- how we build ---- */

.build { background: var(--chalk-deep); padding-block: clamp(4rem, 8vw, 7rem); }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 56rem) { .promises { grid-template-columns: minmax(0, 1fr); } }
.promises li { border-top: 5px solid var(--marigold); padding-top: 1.25rem; }
.promises li:nth-child(2) { border-top-color: var(--cobalt); }
.promises li:nth-child(3) { border-top-color: var(--berry); }
.promises h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.promises p { margin: 0; color: var(--ink-soft); }

/* ---- the ask ---- */

.ask { background: var(--cobalt); color: #fff; padding-block: clamp(4rem, 8vw, 7rem); }
.ask h2 { max-width: 15ch; }
.ask p { max-width: 36rem; margin: 1.25rem 0 2rem; font-size: 1.2rem; color: #e3e7ff; }
.ask :focus-visible { outline-color: var(--marigold); }

/* ---- Sellam's page ---- */

.game-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(2.5rem, 6vw, 5rem); }
.game-hero .app-icon { width: clamp(96px, 16vw, 168px); height: auto; border-radius: 22%; margin: 0; }
.lac-world .game-hero h1 { font-size: clamp(4rem, 3rem + 6vw, 7.5rem); line-height: 0.85; }
.game-hero .lede { color: var(--bone-soft); max-width: 40rem; margin-block: 1rem; }
@media (max-width: 36rem) { .game-hero { grid-template-columns: minmax(0, 1fr); } }

.names { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0.5rem 0 0.5rem; font-family: var(--lac-display); font-weight: 600; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); color: var(--orpiment); }
.names [lang="ta"] { font-family: "Tamil Sangam MN", "Nirmala UI", system-ui, sans-serif; font-weight: 600; font-size: 0.8em; color: var(--bone-soft); }

.games { padding-block: clamp(3rem, 6vw, 5rem); }
.group + .group { margin-top: clamp(3rem, 6vw, 5rem); }
.lac-world .games h2, .lac-world .made h2, .lac-world .help h2 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.4rem); margin-bottom: 0.75rem; }
.group-lede { max-width: 40rem; margin-bottom: 1.5rem; color: var(--bone-soft); }

.game { display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr); gap: 1.25rem clamp(1.5rem, 4vw, 3.5rem); padding-block: 2.25rem; border-top: 1px solid rgba(243, 233, 214, 0.14); }
@media (max-width: 36rem) { .game { grid-template-columns: minmax(0, 1fr); } .game .plan { max-width: 11rem; } }
.lac-world .game h3 { font-size: 2.3rem; line-height: 1; }
.game .names { font-size: 1.3rem; margin: 0.35rem 0 0.9rem; }
.game .line { font-size: 1.25rem; margin-bottom: 1.25rem; max-width: 40rem; }
.game dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 0; }
@media (max-width: 48rem) { .game dl { grid-template-columns: minmax(0, 1fr); } }
.game dt { font-weight: 600; color: var(--orpiment); margin-bottom: 0.2rem; }
.game dd { margin: 0; color: var(--bone-soft); }
.game .try { margin: 1.25rem 0 0; }

.made { background: var(--kalu-soft); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.made-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; }
@media (max-width: 52rem) { .made-grid { grid-template-columns: minmax(0, 1fr); } }
.lac-world .made h3, .lac-world .help h3 { font-weight: 600; font-size: 1.55rem; line-height: 1.1; margin-bottom: 0.5rem; }
.made p { margin: 0; color: var(--bone-soft); }

.help { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 5rem); margin-top: 2rem; }
@media (max-width: 52rem) { .help-grid { grid-template-columns: minmax(0, 1fr); } }
.help p { max-width: 36rem; color: var(--bone-soft); }
.answer { border-left: 4px solid var(--lac); background: var(--kalu-soft); padding: 1rem 1.25rem; font-size: 1.2rem; color: var(--bone); }
.lac-world .help .answer { color: var(--bone); }
.faq { margin: 2rem 0 0; }
.faq dt { font-weight: 600; color: var(--orpiment); margin-top: 1.25rem; }
.faq dd { margin: 0.2rem 0 0; color: var(--bone-soft); max-width: 36rem; }

/* ---- plain pages ---- */

.prose { max-width: 44rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.prose h1 { margin-bottom: 1rem; }
.prose h2 { font-family: var(--body); font-weight: 700; font-size: 1.35rem; line-height: 1.3; margin: 2.25rem 0 0.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.35rem; }
.prose li::marker { color: var(--berry); }
.prose .lede { margin-block: 0 1.5rem; }

/* ---- device frames around real screenshots ---- */

.phone { margin: 0; padding: 3%; border-radius: 15% / 6.9%; background: #0b0b0e; box-shadow: inset 0 0 0 1.5px #3b3b44, 0 28px 50px -28px rgba(0, 0, 0, 0.75); }
.phone img { display: block; width: 100%; height: auto; border-radius: 12.5% / 5.75%; }

.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; max-width: 40rem; margin-inline: auto; }
.phones .phone:nth-child(1) { transform: translateX(16%) rotate(-7deg) scale(0.86); }
.phones .phone:nth-child(2) { position: relative; z-index: 1; }
.phones .phone:nth-child(3) { transform: translateX(-16%) rotate(7deg) scale(0.86); }

/* ---- hero: where it runs ---- */

.platforms { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--ink-soft); font-weight: 700; font-size: 0.95rem; }
.platforms li { display: flex; align-items: center; gap: 0.45rem; }
.platforms svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Sellam band: figures, phones, the row of plans ---- */

.sellam-grid.sellam-top { align-items: center; padding-block-end: 0; }
.lac-figures { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0 0 2rem; }
.lac-figures div { display: flex; flex-direction: column-reverse; }
.lac-figures dd { margin: 0; font-family: var(--lac-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--orpiment); }
.lac-figures dt { color: var(--bone-soft); font-size: 0.95rem; }
.shelf.shelf-row { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); margin-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.lac-world .shelf-row h3 { font-size: 1.25rem; }
.shelf-row p { font-size: 0.9rem; }

/* ---- what we make, with art ---- */

.kind { grid-template-columns: 6.5rem minmax(0, 1fr); }
.kind > svg { width: 6.5rem; height: 6.5rem; }
.examples { list-style: none; padding: 0; margin: 0.9rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.examples li { padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--chalk-deep); color: var(--ink); font-size: 0.85rem; font-weight: 700; }

/* ---- services ---- */

.services { background: var(--chalk-deep); padding-block: clamp(4rem, 8vw, 7rem); }
.services-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 60rem) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .services-grid { grid-template-columns: minmax(0, 1fr); } }
.services-grid .icon {
  display: block; width: 3.25rem; height: 3.25rem; padding: 0.7rem; margin-bottom: 1rem; border-radius: 1rem;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  background: var(--marigold); color: var(--ink);
}
.services-grid .icon .dot { fill: currentColor; stroke: none; }
.services-grid li:nth-child(2) .icon { background: var(--cobalt); color: #fff; }
.services-grid li:nth-child(3) .icon { background: var(--berry); color: #fff; }
.services-grid li:nth-child(4) .icon { background: var(--grass); color: #fff; }
.services-grid li:nth-child(5) .icon { background: var(--ink); color: var(--marigold); }
.services-grid li:nth-child(6) .icon { background: #fff; color: var(--cobalt); }
.services-grid h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.services-grid p { margin: 0; color: var(--ink-soft); }

/* ---- how a project runs ---- */

.process { background: var(--ink); color: var(--chalk); padding-block: clamp(4rem, 8vw, 7rem); }
.process .section-head p { color: #c3c4de; }
.process a { color: var(--marigold); }
.process :focus-visible { outline-color: var(--marigold); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.steps li { position: relative; }
.step-mark {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; margin-bottom: 1.1rem; border-radius: 50%;
  background: var(--marigold); color: var(--ink); font-family: var(--display); font-size: 1.45rem; line-height: 1;
}
.steps li:nth-child(2) .step-mark { background: var(--chalk); }
.steps li:nth-child(3) .step-mark { background: var(--berry); color: #fff; }
.steps li:nth-child(4) .step-mark { background: var(--grass); color: #fff; }
.steps li:nth-child(5) .step-mark { background: var(--cobalt); color: #fff; box-shadow: inset 0 0 0 2px var(--chalk); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.5rem; left: 3.5rem; right: -1.25rem; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(237, 240, 247, 0.45) 0 8px, transparent 8px 14px);
}
.steps h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }
.steps p { margin: 0; color: #c3c4de; font-size: 1rem; }
@media (max-width: 60rem) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .steps li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1.25rem; }
  .step-mark { grid-row: span 2; margin: 0; }
  .steps li > h3, .steps li > p { grid-column: 2; }
  .steps li:not(:last-child)::after {
    top: 3.5rem; bottom: -1.75rem; left: 1.5rem; right: auto; width: 3px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(237, 240, 247, 0.45) 0 8px, transparent 8px 14px);
  }
}

/* ---- the studio ---- */

.studio { padding-block: clamp(4rem, 8vw, 7rem); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; gap: 2.5rem clamp(2rem, 5vw, 5rem); margin-bottom: clamp(3.5rem, 7vw, 5.5rem); }
@media (max-width: 56rem) { .studio-grid { grid-template-columns: minmax(0, 1fr); } }
.studio-grid p { max-width: 36rem; color: var(--ink-soft); }
.studio-grid .lede { color: var(--ink); margin-block: 1.25rem 1rem; }
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; margin: 0; }
.proof div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-top: 1rem; border-top: 5px solid var(--marigold); }
.proof div:nth-child(2) { border-top-color: var(--cobalt); }
.proof div:nth-child(3) { border-top-color: var(--berry); }
.proof div:nth-child(4) { border-top-color: var(--grass); }
.proof dd { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; }
.proof dt { margin-top: 0.4rem; color: var(--ink-soft); }
.proof-note { margin: 1.25rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.studio h3.sub { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); line-height: 1.05; margin-bottom: 2rem; }

/* ---- questions ---- */

.asked { background: var(--chalk-deep); padding-block: clamp(4rem, 8vw, 7rem); }
.asked-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; gap: 2rem clamp(2rem, 5vw, 5rem); }
@media (max-width: 56rem) { .asked-grid { grid-template-columns: minmax(0, 1fr); } }
.asked-grid > div p { color: var(--ink-soft); font-size: 1.2rem; margin-top: 1rem; max-width: 26rem; }
.questions { border-top: 2px solid var(--ink); }
.questions details { border-bottom: 1px solid rgba(29, 28, 58, 0.18); }
.questions summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.15rem; font-weight: 700; font-size: 1.15rem; cursor: pointer; list-style: none;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--marigold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%231d1c3a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat;
  transition: transform 0.2s ease;
}
.questions details[open] summary::after { transform: rotate(45deg); }
.questions details p { margin: 0 0 1.25rem; max-width: 44rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .questions summary::after { transition: none; } }

/* ---- Sellam's page: the screens, the phones beside each game, the guide ---- */

.screens { overflow-x: auto; padding-block: clamp(2.5rem, 5vw, 4rem); scrollbar-color: var(--kalu-soft) transparent; }
.screens:focus-visible { outline-offset: -3px; }
.screens ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-auto-flow: column; grid-auto-columns: clamp(9.5rem, 20vw, 12.5rem); gap: 1.25rem; width: max-content; }
.screens figure { margin: 0; }
.screens figcaption { margin-top: 0.7rem; text-align: center; font-family: var(--lac-display); font-weight: 600; font-size: 1.15rem; color: var(--bone); }

.game-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.9rem; }
.game-head .plan { width: 4.5rem; flex: none; padding: 0.35rem; }
.game .game-head .names { margin: 0.3rem 0 0; }

.guide { display: grid; grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr); align-items: center; gap: 2rem clamp(2rem, 6vw, 6rem); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
@media (max-width: 40rem) { .guide { grid-template-columns: minmax(0, 1fr); } .guide .phone { max-width: 13rem; } }
.guide p { max-width: 36rem; color: var(--bone-soft); }
.lac-world .guide h2 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.4rem); margin-bottom: 1rem; }
.guide ul { margin-top: 1.5rem; }
