/* kaelitovakneo.com — a wall of Delft tiles: cobalt on tin-white glaze, corner ornaments at the grout crossings */
:root {
  --tin: #F8F6EE;
  --grout: #D7D2C8;
  --wash: #D9E8FB;
  --pale: #9DB8E8;
  --cobalt: #254DAC;
  --ink: #0F2156;
  --inkSoft: #3E4C6E;
  --biscuit: #DEB495;
  --clay: #5B301C;
  --card: #E6C3A7;
  --tile: 106px;
  --pad: 48px;
  --sec: 106px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tile-shadow: 6px 16px 26px rgb(15 33 86 / .22);
  /* grout grid: joints every tile, the "spider" corner (centre + four dots) at each crossing */
  --g-grout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='106' height='106'%3E%3Cpath d='M0 0V106M0 0H106' stroke='%23D7D2C8' stroke-width='3' fill='none'/%3E%3Cg fill='%239DB8E8' opacity='.9'%3E%3Ccircle r='1.92'/%3E%3Ccircle cx='106' r='1.92'/%3E%3Ccircle cy='106' r='1.92'/%3E%3Ccircle cx='106' cy='106' r='1.92'/%3E%3Ccircle cx='6' cy='6' r='2.4'/%3E%3Ccircle cx='100' cy='6' r='2.4'/%3E%3Ccircle cx='6' cy='100' r='2.4'/%3E%3Ccircle cx='100' cy='100' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  --g-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='106' height='106'%3E%3Cpath d='M0 0V106M0 0H106' stroke='%23FFFFFF' stroke-width='3' fill='none'/%3E%3Cg fill='%239DB8E8' opacity='.6'%3E%3Ccircle r='1.92'/%3E%3Ccircle cx='106' r='1.92'/%3E%3Ccircle cy='106' r='1.92'/%3E%3Ccircle cx='106' cy='106' r='1.92'/%3E%3Ccircle cx='6' cy='6' r='2.4'/%3E%3Ccircle cx='100' cy='6' r='2.4'/%3E%3Ccircle cx='6' cy='100' r='2.4'/%3E%3Ccircle cx='100' cy='100' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  --g-cobalt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='106' height='106'%3E%3Cpath d='M0 0V106M0 0H106' stroke='%239DB8E8' stroke-width='3' fill='none' opacity='.35'/%3E%3Cg fill='%23D9E8FB' opacity='.35'%3E%3Ccircle r='1.92'/%3E%3Ccircle cx='106' r='1.92'/%3E%3Ccircle cy='106' r='1.92'/%3E%3Ccircle cx='106' cy='106' r='1.92'/%3E%3Ccircle cx='6' cy='6' r='2.4'/%3E%3Ccircle cx='100' cy='6' r='2.4'/%3E%3Ccircle cx='6' cy='100' r='2.4'/%3E%3Ccircle cx='100' cy='100' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  --g-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='106' height='106'%3E%3Cpath d='M0 0V106M0 0H106' stroke='%23D7D2C8' stroke-width='3' fill='none' opacity='.6'/%3E%3Cg fill='%239DB8E8' opacity='.5'%3E%3Ccircle r='1.92'/%3E%3Ccircle cx='106' r='1.92'/%3E%3Ccircle cy='106' r='1.92'/%3E%3Ccircle cx='106' cy='106' r='1.92'/%3E%3Ccircle cx='6' cy='6' r='2.4'/%3E%3Ccircle cx='100' cy='6' r='2.4'/%3E%3Ccircle cx='6' cy='100' r='2.4'/%3E%3Ccircle cx='100' cy='100' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
}
@media (max-width: 899px) { :root { --tile: 56px; --pad: 12px; --sec: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tin); color: var(--ink); font: 400 17px/1.6 var(--text); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cobalt); color: var(--tin); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
@media (max-width: 899px) { body { font-size: 15px; } }

/* ---------- type ---------- */
.h1, .h2, .h1-page, .gt-title, .blk-t, .it-title, .f-brand, .ck-title, .qa h3, .q-t, .sub-t, .k-mail, .logo-t, .sim-t, .gal-t { font-family: var(--display); font-weight: 600; font-optical-sizing: auto; }
.h1 { font-size: 92px; line-height: .96; letter-spacing: -.03em; }
.h2 { font-size: 54px; line-height: 1.02; letter-spacing: -.015em; }
.h1-page { font-size: 72px; line-height: .98; letter-spacing: -.025em; max-width: 848px; }
.f-it { font: italic 600 24px/1.1 var(--display); color: var(--clay); }
.p { font-size: 17px; line-height: 1.6; }
.p + .p { margin-top: 16px; }
.p--soft { color: var(--inkSoft); }
.lead { font-size: 19px; color: var(--inkSoft); }
.link { font-weight: 500; color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }
.link--ink { color: var(--ink); }
@media (max-width: 899px) {
  .h1 { font-size: 44px; }
  .h2 { font-size: 32px; }
  .h1-page { font-size: 38px; }
  .p { font-size: 15px; }
  .lead { font-size: 16px; }
}

/* ---------- world pieces ---------- */
/* quarter-circle corner ornaments: four tiles together make the full motif */
.q { position: relative; --q: 22px; --qc: var(--cobalt); --qo: 1; }
.q::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--qo);
  background:
    radial-gradient(circle at 0 0, var(--qc) var(--q), transparent calc(var(--q) + .6px)),
    radial-gradient(circle at 100% 0, var(--qc) var(--q), transparent calc(var(--q) + .6px)),
    radial-gradient(circle at 0 100%, var(--qc) var(--q), transparent calc(var(--q) + .6px)),
    radial-gradient(circle at 100% 100%, var(--qc) var(--q), transparent calc(var(--q) + .6px)),
    radial-gradient(circle at 0 0, transparent calc(var(--q) * 1.5 - 1px), var(--qc) calc(var(--q) * 1.5 - .75px) calc(var(--q) * 1.5 + .75px), transparent calc(var(--q) * 1.5 + 1px)),
    radial-gradient(circle at 100% 0, transparent calc(var(--q) * 1.5 - 1px), var(--qc) calc(var(--q) * 1.5 - .75px) calc(var(--q) * 1.5 + .75px), transparent calc(var(--q) * 1.5 + 1px)),
    radial-gradient(circle at 0 100%, transparent calc(var(--q) * 1.5 - 1px), var(--qc) calc(var(--q) * 1.5 - .75px) calc(var(--q) * 1.5 + .75px), transparent calc(var(--q) * 1.5 + 1px)),
    radial-gradient(circle at 100% 100%, transparent calc(var(--q) * 1.5 - 1px), var(--qc) calc(var(--q) * 1.5 - .75px) calc(var(--q) * 1.5 + .75px), transparent calc(var(--q) * 1.5 + 1px)); }
.grout { background-image: var(--g-grout); background-size: var(--tile) var(--tile); background-position: calc(50% + var(--tile) / 2) 0; }
.grout--white { background-image: var(--g-white); }
.grout--cobalt { background-image: var(--g-cobalt); }
.grout--soft { background-image: var(--g-soft); }
.medal { position: absolute; pointer-events: none; }
.medal circle { fill: none; }
.cmark { width: 16px; height: 16px; flex: none; fill: var(--cobalt); }
.frieze { height: 14px; background: radial-gradient(circle, var(--tin) 2.4px, transparent 2.9px) 0 50% / 18px 14px repeat-x, var(--cobalt); }
.slot { position: absolute; background: var(--grout); box-shadow: inset 0 4px 10px rgb(15 33 86 / .18); }
.loose { position: absolute; display: grid; place-items: center; background: var(--tin); border: 1.5px solid var(--grout); box-shadow: var(--tile-shadow); --q: 17%; }
.loose .medal { position: static; width: 56%; height: 56%; }
.loose .medal circle { stroke: var(--cobalt); }
.plate { display: inline-flex; align-items: center; justify-content: center; padding: 16px 26px; background: var(--cobalt); color: var(--tin); border: 2px solid var(--cobalt); font: 600 16px/1.2 var(--text); text-decoration: none; transition: background .15s, color .15s; }
.plate:hover { background: var(--ink); border-color: var(--ink); }
.plate--ghost { background: transparent; color: var(--cobalt); }
.plate--ghost:hover { background: var(--wash); border-color: var(--cobalt); color: var(--cobalt); }
@media (max-width: 899px) { .frieze { height: 10px; background-size: 14px 10px; } .plate { padding: 13px 18px; font-size: 15px; } }

/* ---------- header ---------- */
.top { background: var(--tin); position: relative; z-index: 20; }
.top-in { max-width: 1368px; margin: 0 auto; padding: 22px var(--pad) 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; text-decoration: none; }
.logo-tile { width: 40px; height: 40px; border: 1.5px solid var(--cobalt); background: var(--tin); display: grid; place-items: center; --q: 9px; overflow: hidden; }
.logo-tile span { font: 600 22px/1 var(--display); color: var(--cobalt); position: relative; z-index: 1; }
.logo-t { font-size: 26px; letter-spacing: -.02em; color: var(--ink); }
.tabs { display: flex; gap: 6px; align-items: flex-end; }
.tab { display: block; padding: 13px 30px; border: 1.5px solid var(--pale); border-bottom: 0; background: var(--tin); font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ink); transition: background .15s; }
.tab:hover { background: var(--wash); }
.tab.is-on { padding-block: 16px; background: var(--cobalt); border-color: var(--cobalt); color: var(--tin); font-weight: 600; }
@media (max-width: 899px) {
  .top-in { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 14px; }
  .logo { padding-bottom: 0; }
  .logo-tile { width: 32px; height: 32px; --q: 7px; }
  .logo-tile span { font-size: 18px; }
  .logo-t { font-size: 21px; }
  .tabs { gap: 4px; }
  .tabs li { flex: 1 1 0; }
  .tab, .tab.is-on { padding: 11px 0; text-align: center; font-size: 14px; }
}

/* ---------- sections ---------- */
.in { position: relative; z-index: 1; width: 100%; max-width: 1368px; margin: 0 auto; padding: 0 var(--pad); }
.sec { position: relative; padding: var(--sec) 0; overflow: clip; }
.sec--tin { background-color: var(--tin); }
.sec--wash { background-color: var(--wash); }
.sec--cobalt { background-color: var(--cobalt); color: var(--tin); }
.sec--biscuit { background-color: var(--biscuit); }
.head { display: grid; gap: 16px; max-width: 742px; margin-bottom: 48px; }
.sec--cobalt .h2 { color: var(--tin); }
.sec--cobalt .lead { color: var(--wash); }
@media (max-width: 899px) { .head { gap: 10px; margin-bottom: 28px; } }

/* ---------- hero: the tile wall ---------- */
.hero { position: relative; height: 742px; overflow: clip; background-color: var(--tin); }
.hero > * { position: absolute; }
.panel { --x: max(var(--pad), calc(50% - 636px)); left: var(--x); top: 106px; width: 636px; height: 530px; z-index: 2; padding: 44px 40px 40px; border: 8px solid var(--cobalt); background: var(--tin); display: flex; flex-direction: column; gap: 26px; }
.panel::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid var(--cobalt); pointer-events: none; }
.hero-lead { font-size: 20px; line-height: 1.5; max-width: 510px; }
.hero-acts { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
/* the art: right half of the wall, laid out on the 636-px frame of the mockup */
.hero { --ax: calc(max(var(--pad), 50% - 636px) + 636px); }
.medal--hero { left: calc(var(--ax) + 32px); top: 24px; width: 616px; height: 616px; }
.medal--hero circle { stroke: var(--pale); }
.vase { left: calc(var(--ax) + 62px); top: 20px; width: 556px; height: 702px; object-fit: contain; z-index: 1; }
.hero .slot { left: calc(var(--ax) + 530px); top: 424px; width: 106px; height: 106px; z-index: 1; }
.loose--hero { left: calc(var(--ax) + 530px); top: 424px; width: 106px; height: 106px; z-index: 3; box-shadow: none; }
.museum { left: max(var(--pad), calc(50% - 636px)); top: 658px; width: 424px; z-index: 2; padding: 12px 14px; background: #fff; box-shadow: 0 4px 10px rgb(15 33 86 / .1); font-size: 12px; line-height: 1.4; color: var(--inkSoft); }
/* the one fallen tile settles back into the wall once on load: tilt 6° → 0, ~900 ms, ease-out */
.js .loose--hero { animation: settle 900ms cubic-bezier(.16, .84, .3, 1) 250ms both; }
@keyframes settle {
  from { transform: translate(-6px, 76px) rotate(6deg) scale(1.094); box-shadow: var(--tile-shadow); }
  to { transform: none; box-shadow: 0 0 0 transparent; }
}
@media (max-width: 1367px) and (min-width: 1100px) {
  .panel { width: 560px; height: auto; min-height: 500px; }
  .hero { --ax: calc(var(--pad) + 560px); }
  .h1 { font-size: 80px; }
  .medal--hero, .vase, .hero .slot, .loose--hero { transform-origin: 0 0; }
  .medal--hero { left: calc(var(--ax) + 20px); width: 480px; height: 480px; top: 40px; }
  .vase { left: calc(var(--ax) + 46px); width: 430px; height: 543px; top: 40px; }
  .hero .slot, .loose--hero { left: calc(var(--ax) + 420px); top: 400px; }
  .js .loose--hero { animation-name: settle; }
}
@media (max-width: 1099px) {
  .hero { height: 728px; }
  .panel { --x: var(--pad); left: var(--pad); right: var(--pad); top: 28px; width: auto; height: auto; min-height: 372px; padding: 24px 18px 22px; border-width: 5px; gap: 16px; }
  .panel::before { inset: 4px; }
  .hero-lead { font-size: 16px; }
  .hero-acts { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero { --ax: max(var(--pad), calc(50% - 168px)); }
  .medal--hero { left: calc(var(--ax) + 12px); top: 416px; width: 253px; height: 253px; }
  .vase { left: calc(var(--ax) + 22px); top: 418px; width: 233px; height: 294px; }
  .hero .slot, .museum { display: none; }
  .loose--hero { left: calc(var(--ax) + 266px); top: 594px; width: 60px; height: 60px; box-shadow: var(--tile-shadow); }
  @keyframes settle-m { from { transform: translateY(-24px) rotate(6deg); } to { transform: none; } }
  .js .loose--hero { animation-name: settle-m; }
}
@media (max-width: 1099px) and (min-width: 700px) {
  .hero { height: 760px; }
  .panel { right: auto; width: 600px; }
}

/* ---------- G: one glazed tile per game ---------- */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gtile { --q: 22px; --qo: .85; display: grid; gap: 14px; align-content: start; padding: 26px 26px 32px; background: var(--tin); border: 1.5px solid var(--grout); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.mat { aspect-ratio: 1; padding: 8px; border: 1.5px solid var(--cobalt); }
.mat img { width: 100%; height: 100%; object-fit: cover; }
.gt-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--inkSoft); }
.no { font: italic 400 20px/1 var(--display); color: var(--cobalt); flex: none; }
.gt-title { font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.gt-line { font-size: 16px; line-height: 1.5; color: var(--inkSoft); }
.gt-link { font-size: 15px; justify-self: start; }
.gt-link::before { content: ""; position: absolute; inset: 0; z-index: 2; }
/* hover: the tile lifts out of the wall, tilts 2°, cobalt joint, link underlined harder */
.gtile:hover, .gtile:focus-within { z-index: 3; border-color: var(--cobalt); box-shadow: inset 0 0 0 1.5px var(--cobalt), var(--tile-shadow); transform: translateY(-6px) rotate(2deg); --qo: 1; }
.gtile:hover .gt-link, .gtile:focus-within .gt-link { text-decoration-thickness: 2px; }
@media (max-width: 1099px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .wall { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gtile { --q: 14px; padding: 16px 16px 22px; gap: 10px; }
  .no { font-size: 17px; }
  .gt-title { font-size: 24px; }
  .gt-line { font-size: 15px; }
}

/* ---------- L: glossary ---------- */
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.term { --q: 16px; --qo: .8; padding: 34px 26px 30px; background: var(--tin); border: 1.5px solid var(--grout); display: grid; gap: 10px; align-content: start; }
.term dt { font: italic 600 26px/1.15 var(--display); color: var(--cobalt); }
.term dd { font-size: 15px; line-height: 1.55; }
.term--painted { --q: 30px; --qo: 1; grid-column: span var(--span); background: var(--wash); display: grid; place-items: center; min-height: 240px; overflow: hidden; }
.medal--term { position: absolute; inset: 20px; width: auto; height: auto; margin: auto; aspect-ratio: 1; max-height: calc(100% - 40px); }
.medal--term circle, .medal--k circle { stroke: var(--cobalt); }
.children { position: relative; height: calc(100% - 80px); max-height: 240px; width: auto; }
.term--painted .children { height: 70%; }
@media (max-width: 1099px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .term--painted { grid-column: span 1; } }
@media (max-width: 699px) {
  .terms { grid-template-columns: minmax(0, 1fr); gap: 1px; }
  .term { padding: 18px 16px; }
  .term dt { font-size: 20px; }
  .term--painted { display: none; }
}

/* ---------- Y: covers in the cobalt panel ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gal { padding: 0 10px; display: grid; gap: 12px; align-content: start; }
.gal-mat { --q: 14px; aspect-ratio: 1; padding: 18px; background: var(--tin); }
.gal-mat img { width: 100%; height: 100%; object-fit: cover; }
.gal figcaption { display: grid; gap: 6px; }
.gal-t { font-size: 18px; line-height: 1.15; color: var(--tin); }
.gal-c { font-size: 13px; line-height: 1.4; color: var(--wash); }
@media (max-width: 1099px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; } }
@media (max-width: 699px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .gal { padding: 0; }
  .gal-mat { --q: 10px; padding: 12px; }
  .gal-t { font-size: 16px; }
}

/* ---------- X: controls and sessions ---------- */
.sec--x { padding-top: calc(var(--sec) + 14px); }
.frieze--top { position: absolute; left: 0; right: 0; top: 0; }
.loose--x { --q: 17%; width: 120px; height: 120px; right: max(calc(var(--pad) + 212px), calc(50% - 636px + 212px)); top: 116px; transform: rotate(-12deg); z-index: 2; }
.facts-table { width: 100%; border: 1.5px solid var(--cobalt); border-collapse: collapse; }
.facts-table thead th { background: var(--wash); padding: 14px 0 14px 24px; text-align: left; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.facts-table tbody tr { border-top: 1.5px solid var(--grout); }
.facts-table tbody th, .facts-table td { padding: 18px 0 18px 24px; text-align: left; font-size: 15px; vertical-align: middle; }
.facts-table td:last-child, .facts-table thead th:last-child { padding-right: 24px; }
.facts-table tbody th { width: 25%; }
.facts-table tbody th a { font: 600 22px/1.2 var(--display); text-decoration: none; color: var(--ink); }
.facts-table tbody th a:hover { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.chip { display: inline-block; padding: 5px 10px; background: var(--cobalt); color: var(--tin); font-size: 13px; font-weight: 600; }
.note { margin-top: 24px; font-size: 14px; color: var(--inkSoft); }
@media (max-width: 1099px) {
  .loose--x { display: none; }
  .facts-table, .facts-table tbody, .facts-table tr, .facts-table th, .facts-table td { display: block; }
  .facts-table thead { display: none; }
  .facts-table tbody tr { padding: 14px; }
  .facts-table tbody tr:first-child { border-top: 0; }
  .facts-table tbody th, .facts-table td, .facts-table td:last-child { width: auto; padding: 3px 0; font-size: 14px; }
  .facts-table tbody th a { font-size: 19px; }
  .facts-table td.td-genre { padding: 6px 0; }
  .facts-table td[data-l]::before { content: attr(data-l) ": "; }
}

/* ---------- A: about, on the biscuit back of a tile ---------- */
.a-row { display: flex; align-items: center; gap: var(--tile); }
.a-text { flex: 0 1 636px; display: grid; gap: 22px; justify-items: start; }
.sec--biscuit .h2 { color: var(--clay); }
.a-body { font-size: 19px; line-height: 1.55; color: var(--clay); }
.back-card { flex: 0 0 510px; position: relative; padding: 34px 32px 30px; background-color: var(--card);
  background-image: radial-gradient(circle, rgb(91 48 28 / .2) 1.2px, transparent 1.6px), radial-gradient(circle, rgb(91 48 28 / .16) 1px, transparent 1.4px);
  background-size: 37px 53px, 61px 29px; background-position: 7px 11px, 23px 3px;
  border: 1.5px solid rgb(91 48 28 / .35); box-shadow: 6px 16px 28px rgb(91 48 28 / .28); transform: rotate(3deg); }
.bc-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; }
.f-k { font: italic 400 34px/1 var(--display); color: var(--ink); }
.back-card dl > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid rgb(91 48 28 / .3); }
.back-card dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--clay); }
.back-card dd { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.back-card a { text-decoration: none; }
@media (max-width: 1099px) {
  .a-row { flex-direction: column; align-items: stretch; gap: 32px; }
  .a-text { flex-basis: auto; }
  .back-card { flex-basis: auto; transform: none; padding: 20px 18px; max-width: 520px; }
  .back-card dl > div { grid-template-columns: 104px minmax(0, 1fr); }
  .a-body { font-size: 16px; }
}

/* ---------- F: questions ---------- */
.bigq { position: absolute; inset: 0; --q: 90px; --qc: var(--pale); --qo: .55; }
.bigq::after { content: ""; position: absolute; inset: 0; opacity: var(--qo);
  background:
    radial-gradient(circle at 0 0, var(--qc) var(--q), transparent calc(var(--q) + .6px)),
    radial-gradient(circle at 100% 0, var(--qc) var(--q), transparent calc(var(--q) + .6px)),
    radial-gradient(circle at 0 100%, var(--qc) var(--q), transparent calc(var(--q) + .6px)),
    radial-gradient(circle at 100% 100%, var(--qc) var(--q), transparent calc(var(--q) + .6px)),
    radial-gradient(circle at 0 0, transparent calc(var(--q) * 1.5 - 1px), var(--qc) calc(var(--q) * 1.5 - .75px) calc(var(--q) * 1.5 + .75px), transparent calc(var(--q) * 1.5 + 1px)),
    radial-gradient(circle at 100% 0, transparent calc(var(--q) * 1.5 - 1px), var(--qc) calc(var(--q) * 1.5 - .75px) calc(var(--q) * 1.5 + .75px), transparent calc(var(--q) * 1.5 + 1px)),
    radial-gradient(circle at 0 100%, transparent calc(var(--q) * 1.5 - 1px), var(--qc) calc(var(--q) * 1.5 - .75px) calc(var(--q) * 1.5 + .75px), transparent calc(var(--q) * 1.5 + 1px)),
    radial-gradient(circle at 100% 100%, transparent calc(var(--q) * 1.5 - 1px), var(--qc) calc(var(--q) * 1.5 - .75px) calc(var(--q) * 1.5 + .75px), transparent calc(var(--q) * 1.5 + 1px)); }
.bigq--legal { --q: 70px; --qo: .4; }
.qas { display: grid; grid-template-columns: repeat(2, minmax(0, 583px)); gap: 8px var(--tile); }
.qa { padding: 24px 0; border-top: 1.5px solid var(--pale); display: grid; gap: 10px; align-content: start; }
.qa h3 { font-size: 22px; line-height: 1.2; }
.qa p { font-size: 16px; color: var(--inkSoft); }
@media (max-width: 899px) { .bigq { --q: 46px; } .qas { grid-template-columns: minmax(0, 1fr); gap: 0; } .qa { padding: 18px 0; } .qa h3 { font-size: 19px; } .qa p { font-size: 15px; } }

/* ---------- K: report an error ---------- */
.k-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.k-text { flex: 0 1 742px; display: grid; gap: 20px; justify-items: start; }
.k-body { font-size: 18px; }
.k-mail { font-size: 40px; letter-spacing: -.02em; color: var(--cobalt); text-underline-offset: 6px; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.k-tile { flex: 0 0 406px; height: 406px; margin-top: -20px; --q: 40px; background: var(--tin); border: 1.5px solid var(--grout); display: grid; place-items: center; overflow: hidden; }
.medal--k { width: 360px; height: 360px; left: 22px; top: 22px; }
.k-tile .children { height: 286px; }
@media (max-width: 1099px) { .k-tile { display: none; } }
@media (max-width: 899px) { .k-body { font-size: 16px; } .k-mail { font-size: 22px; } }

/* ---------- marquee + footer ---------- */
.marquee { background: var(--cobalt); padding: 22px 0; overflow: hidden; }
.mq-row { display: flex; align-items: center; gap: 34px; width: max-content; white-space: nowrap; }
.mq-row span { font: italic 400 28px/1.1 var(--display); color: var(--tin); }
.mq-row .cmark { fill: var(--wash); }
.footer { background: var(--ink); color: var(--tin); padding: 64px 0 40px; }
.f-cols { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 0; }
.f-about { display: grid; gap: 14px; align-content: start; }
.f-brand { font-size: 34px; }
.f-about p:last-child { font-size: 15px; color: var(--wash); max-width: 424px; }
.f-h { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pale); margin-bottom: 10px; }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer li { overflow-wrap: anywhere; }
.footer a { text-decoration: none; }
.footer a:hover, .linkish:hover { text-decoration: underline; text-underline-offset: 3px; }
.linkish { background: none; border: 0; padding: 0; font-size: 15px; color: var(--tin); text-align: left; }
.f-base { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--inkSoft); font-size: 13px; color: var(--pale); }
.f-base p:last-child { max-width: 742px; text-align: right; }
@media (max-width: 899px) {
  .marquee { padding: 14px 0; }
  .mq-row { gap: 20px; }
  .mq-row span { font-size: 20px; }
  .footer { padding: 40px 0 28px; }
  .f-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .f-brand { font-size: 26px; }
  .f-base { flex-direction: column; gap: 10px; margin-top: 32px; }
  .f-base p:last-child { text-align: left; }
}

/* ---------- inner pages: title band ---------- */
.band { background-color: var(--wash); padding: 40px 0 72px; }
.band .in { display: grid; gap: 26px; justify-items: start; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
.crumbs li { display: inline-flex; gap: 10px; }
.crumbs li + li::before { content: "›"; color: var(--inkSoft); }
.crumbs a { color: var(--cobalt); text-underline-offset: 3px; }
.crumbs [aria-current] { font-weight: 500; }
.band-lead { font-size: 19px; max-width: 742px; }
.band-meta { font-size: 14px; color: var(--inkSoft); margin-top: -8px; }
.band--legal .h1-page { font-size: 64px; }
@media (max-width: 899px) {
  .band { padding: 24px 0 40px; }
  .band .in { gap: 16px; }
  .band-lead { font-size: 16px; }
  .band--legal .h1-page { font-size: 34px; }
  .crumbs ol { font-size: 13px; }
}

/* ---------- games index: the tile slides out of the wall ---------- */
.sec--index { padding-top: 40px; }
.index-row { display: flex; gap: 52px; align-items: flex-start; }
.index { flex: 0 1 848px; }
.irow { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 28px; padding: 26px 20px; border-bottom: 1.5px solid var(--grout); transition: background .2s, border-color .2s; }
.ithumb { display: none; }
.ino { font: italic 400 30px/1 var(--display); color: var(--inkSoft); opacity: .75; }
.itext { display: grid; gap: 8px; }
.it-title { font-size: 32px; line-height: 1.1; letter-spacing: -.02em; }
.it-title a { text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.it-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.it-line { font-size: 16px; color: var(--inkSoft); }
.it-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--inkSoft); }
.ilink { font-size: 15px; font-weight: 500; color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.il-b { display: none; }
.irow:hover, .irow:focus-within { background: var(--wash); border-bottom-color: var(--cobalt); }
.irow:hover .ino, .irow:focus-within .ino { color: var(--cobalt); opacity: 1; }
.irow:hover .it-title a, .irow:focus-within .it-title a { text-decoration: underline; }
.irow:hover .il-a, .irow:focus-within .il-a { display: none; }
.irow:hover .il-b, .irow:focus-within .il-b { display: inline; }
.preview-col { flex: 0 0 338px; position: sticky; top: 140px; margin-top: 160px; }
.preview-slot { position: relative; width: 338px; height: 338px; }
.slot--preview { inset: 0; }
.preview { --q: 30px; position: absolute; inset: 0; padding: 22px; background: var(--tin); border: 2px solid var(--cobalt); box-shadow: var(--tile-shadow); opacity: 0; transform: none; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview.is-out { opacity: 1; transform: translate(-18px, -22px) rotate(-3deg); }
.medal--index { width: 560px; height: 560px; right: -260px; bottom: -260px; opacity: .6; }
.medal--index circle { stroke: var(--pale); }
@media (max-width: 1099px) { .preview-col { display: none; } }
@media (max-width: 899px) {
  .sec--index { padding-top: 20px; }
  .irow { grid-template-columns: 42px 64px minmax(0, 1fr); gap: 14px; padding: 18px 10px; }
  .ithumb { display: block; width: 64px; height: 64px; padding: 3px; border: 1.5px solid var(--cobalt); }
  .ino { font-size: 14px; }
  .it-title { font-size: 21px; }
  .it-line { font-size: 14px; }
  .it-facts { flex-direction: column; gap: 3px; }
  .ilink { display: none; }
  .medal--index { display: none; }
}

/* ---------- game page ---------- */
.band--guide { padding-bottom: 72px; }
.cardwrap { background: var(--tin); }
.fcard { display: flex; gap: 48px; padding: 40px; background: var(--biscuit); box-shadow: 0 12px 30px rgb(91 48 28 / .25); }
.face { --q: 30px; flex: 0 0 338px; height: 338px; padding: 22px; background: var(--tin); }
.face img { width: 100%; height: 100%; object-fit: cover; }
.fc-right { flex: 1 1 auto; display: grid; gap: 24px; align-content: start; }
.fc-head { display: flex; justify-content: space-between; align-items: center; }
.fc-head .f-it { font-size: 30px; }
.f-no { font: italic 400 30px/1 var(--display); color: var(--ink); }
.fc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc-grid > div { padding: 12px 16px 12px 0; border-top: 1px solid rgb(91 48 28 / .3); display: grid; gap: 4px; align-content: start; }
.fc-grid dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--clay); }
.fc-grid dd { font-size: 16px; line-height: 1.4; }
.fc-where { display: grid; gap: 6px; justify-items: start; }
.fc-where p { font-size: 14px; color: var(--clay); }
.sec--blocks { padding-top: 64px; }
.blk { display: grid; grid-template-columns: 318px minmax(0, 742px); gap: var(--tile); padding: 44px 0; border-top: 1.5px solid var(--grout); }
.blk-t { font-size: 32px; line-height: 1.15; letter-spacing: -.02em; }
.blk-b { display: grid; gap: 16px; align-content: start; }
.blk-b .p + .p { margin-top: 0; }
.keys { display: grid; gap: 12px; }
.keys li { display: flex; align-items: center; gap: 18px; font-size: 17px; }
kbd { flex: none; padding: 8px 14px; background: var(--wash); border: 1.5px solid var(--cobalt); color: var(--cobalt); font: 600 14px/1.2 var(--text); }
.tips { display: grid; gap: 16px; }
.tips li { display: flex; gap: 16px; align-items: flex-start; font-size: 17px; }
.tips .cmark { margin-top: 5px; }
.sub-t { font-size: 22px; margin-top: 8px; }
.q-t { font-size: 20px; line-height: 1.25; }
.q-t:not(:first-child) { margin-top: 10px; }
.sims { display: grid; grid-template-columns: repeat(2, minmax(0, 371px)); }
.sim { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1.5px solid var(--grout); text-decoration: none; height: 100%; transition: border-color .2s, background .2s; }
.sim:hover { border-color: var(--cobalt); background: var(--wash); }
.sim-th { flex: none; width: 72px; height: 72px; padding: 4px; border: 1.5px solid var(--cobalt); }
.sim-tx { display: grid; gap: 4px; }
.sim-t { font-size: 19px; line-height: 1.2; color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.sim-w { font-size: 14px; line-height: 1.45; color: var(--inkSoft); }
@media (max-width: 1099px) { .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .face { flex-basis: 260px; height: 260px; } }
@media (max-width: 899px) {
  .band--guide { padding-bottom: 40px; }
  .fcard { flex-direction: column; gap: 20px; padding: 18px 16px; }
  .face { --q: 22px; flex: none; width: 100%; height: auto; aspect-ratio: 1; }
  .fc-head .f-it, .f-no { font-size: 22px; }
  .fc-grid { grid-template-columns: minmax(0, 1fr); }
  .fc-grid dd { font-size: 15px; }
  .sec--blocks { padding-top: 36px; }
  .blk { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 26px 0; }
  .blk-t { font-size: 24px; }
  .keys li, .tips li { font-size: 15px; }
  .sims { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ---------- about: contact on biscuit ---------- */
.c-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.c-text { flex: 0 1 742px; display: grid; gap: 18px; }
.reasons { display: grid; gap: 10px; font-size: 17px; color: var(--clay); }
.c-rows > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 12px 0; border-top: 1px solid rgb(91 48 28 / .3); }
.c-rows dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--clay); }
.c-rows dd { font-size: 17px; }
.c-rows a { text-underline-offset: 3px; }
.back-card--c { flex: 0 0 434px; margin-top: 10px; }
@media (max-width: 1099px) { .back-card--c { display: none; } }
@media (max-width: 899px) { .c-rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .reasons, .c-rows dd { font-size: 15px; } }

/* ---------- legal ---------- */
.sec--legal { padding-top: 40px; }
.sec--legal .p { font-size: 16px; }

/* ---------- cookie popup ---------- */
.cookie { --q: 22px; position: fixed; z-index: 60; left: 24px; bottom: 24px; width: min(500px, calc(100% - 24px)); padding: 34px; background: var(--tin); border: 4px solid var(--cobalt); box-shadow: var(--tile-shadow); display: grid; gap: 16px; }
.cookie[hidden] { display: none; }
.ck-title { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.ck-text { font-size: 15px; }
.ck-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ck-manage { display: grid; gap: 10px; justify-items: start; padding: 14px 16px; background: var(--wash); }
.ck-manage[hidden] { display: none; }
.ck-opt { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.ck-opt input { accent-color: var(--cobalt); width: 16px; height: 16px; }
.ck-link { justify-self: start; font-size: 14px; position: relative; z-index: 1; }
.cookie > * { position: relative; z-index: 1; }
.js .cookie.is-open { animation: ck-in .5s cubic-bezier(.16, .84, .3, 1) both; }
@keyframes ck-in { from { opacity: 0; transform: translateY(20px) rotate(2deg); } }
@media (max-width: 899px) {
  .cookie { --q: 16px; left: 12px; right: 12px; bottom: 12px; width: auto; padding: 24px 20px; }
  .ck-title { font-size: 23px; }
}

/* ---------- reduced motion: static, the tile is already in the wall ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .gtile:hover, .gtile:focus-within { transform: none; }
  .preview.is-out { transform: none; }
}
.sim-th img, .ithumb img { width: 100%; height: 100%; object-fit: cover; }

.f-social { display: flex; gap: 12px; }
.f-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; color: inherit; transition: background .2s, color .2s; }
.f-social a:hover { background: var(--tin); color: var(--ink); text-decoration: none; }
.f-social svg { width: 18px; height: 18px; fill: currentColor; }
