/* Miniature Beasts: the website's one stylesheet (every page). Phone first: every band is laid out at 390 px wide, then on its side, then on a laptop. */
:root {
  color-scheme: light;
  --forest: #172e25;
  --forest-2: #20392e;
  --paper: #f5f2e9;
  --cream: #ece6d8;
  --sage: #dce3c5;
  --ink: #222e26;
  --muted: #56664f;
  --on-dark: #e5eadd;
  --on-dark-2: rgb(229 234 221 / .72);
  --lime: #dcdf9b;
  --orange: #ee9b58;
  --line: #cfd2c4;
  /* the book's faces where a reader has them; their nearest system cousins elsewhere */
  --display: "Bricolage Grotesque", "Avenir Next", "Avenir", "Segoe UI", system-ui, sans-serif;
  --text: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-hero: clamp(2.4rem, 7.4vw, 4.6rem);
  --fs-h2: clamp(1.9rem, 5.2vw, 3.1rem);
  --fs-h3: clamp(1.25rem, 3vw, 1.6rem);
  --fs-body: 1.125rem;
  --fs-small: .875rem;
  --gutter: 20px;
  --content: 1180px;
  --radius: 16px;
  font-family: var(--text);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; } /* an anchor jump lands its headline under the sticky bar (one row 56 px, two rows on a phone), never behind it */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: var(--fs-body); line-height: 1.5; overflow-x: clip; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p, figure, ul, ol, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .wordmark, .button, .eyebrow, .more, nav { font-family: var(--display); }
h1 { font-size: var(--fs-hero); font-weight: 800; line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 750; line-height: 1.15; letter-spacing: -.01em; }
.eyebrow { font-size: var(--fs-small); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.lede { margin-top: 14px; max-width: 32em; text-wrap: pretty; }
.small, figcaption { font-size: var(--fs-small); line-height: 1.45; color: var(--muted); }
figcaption { margin-top: 8px; }
.wrap { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -100px; z-index: 9; background: var(--paper); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

/* buttons and links */
.button { display: inline-block; font-weight: 750; font-size: 1.05rem; line-height: 1.2; padding: 14px 24px; border-radius: 999px; text-decoration: none; text-align: center; }
.button.primary { background: var(--orange); color: var(--forest); }
.button.quiet { box-shadow: inset 0 0 0 1.5px currentColor; }
.button:hover { filter: brightness(1.05); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.more { display: inline-block; margin-top: 18px; font-weight: 750; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.more::after { content: " →"; }

/* the bar on every page: wordmark, three pages, Play */
.bar { position: sticky; top: 0; z-index: 5; background: rgb(23 46 37 / .96); color: var(--on-dark); backdrop-filter: blur(6px); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; }
.wordmark { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.bar nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: .98rem; }
.bar nav a { text-decoration: none; }
.bar nav a[aria-current="page"] { color: var(--lime); }
.bar nav a:hover { text-decoration: underline; }
.bar .button { padding: 8px 18px; font-size: .95rem; }
.bar .pages { display: none; }

/* the top of the front page: the felted Loika, the headline, Play */
.top { background: var(--forest); color: var(--on-dark); }
.top-pic { position: relative; overflow: hidden; }
.top-pic img { width: 100%; height: 46svh; min-height: 280px; max-height: 560px; object-fit: cover; object-position: 26% 60%; }
.top-words { padding: 22px var(--gutter) 30px; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; }
.top h1 span { display: block; color: var(--lime); }
.top .lede { color: var(--on-dark); }
.top .button.quiet { color: var(--on-dark); }

/* a band: one picture, one headline, one line (front page). Phone: the picture on top, the words under it. */
.band { padding: 0 0 56px; }
.band + .band { padding-top: 8px; }
.band .pic { margin: 0 0 22px; }
.band .pic img { width: 100%; }
.band .words { padding: 0 var(--gutter); max-width: 34rem; }
.band.paint .pic img { aspect-ratio: 4 / 3; object-fit: cover; }
.band.object .pic { background: var(--cream); padding: 24px 12% 18px; }
.band.object .pic img { max-height: 46svh; width: auto; margin: 0 auto; }
.band.dark { background: var(--forest); color: var(--on-dark); padding-top: 48px; }
.band.dark .eyebrow { color: var(--lime); }
.band.dark figcaption { color: var(--on-dark-2); }
.band.sage { background: var(--sage); padding-top: 48px; }
.band.cream { background: var(--cream); padding-top: 40px; }
.band.cream.object .pic { background: transparent; }
.band.fog { background: #cdd0d8; padding-top: 0; }
.band.fog .pic { background: transparent; padding-top: 0; }
/* the call painting is a soft circle on grey paper: show only its circle (AD 11-18), the picture itself unchanged */
.band .pic.circle img { clip-path: circle(35% at 50% 50.5%); }
.band.dark.object .pic { background: transparent; }
.band .pic.right img { object-position: 82% 50%; }

/* the kit: the painting on a soft table */
.kit { background: radial-gradient(120% 90% at 50% 40%, #e8e2d2, #d9d1bf); padding: 28px 4% 22px; }
.kit img { width: 100%; filter: drop-shadow(0 18px 22px rgb(40 34 20 / .28)); }
.jobs { display: grid; gap: 10px; margin-top: 18px; }
.jobs li { display: grid; grid-template-columns: 7.2em 1fr; gap: 10px; align-items: baseline; }
.jobs b { font-family: var(--display); font-weight: 800; }

/* the felt family: a row of Loikas */
.family { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 4px; padding: 0 var(--gutter); }
.family figure { text-align: center; }
.family img { width: 100%; }
.family figcaption { margin-top: 0; font-family: var(--display); font-weight: 700; color: var(--ink); }
.band.sage .family figcaption { color: var(--ink); }

/* the parents' answers */
.answers { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.answers div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.answers dt { font-family: var(--display); font-weight: 750; }
.answers dd { color: var(--muted); }
.dark .answers, .dark .answers div { border-color: rgb(229 234 221 / .2); }
.dark .answers dd { color: var(--on-dark-2); }

/* deeper pages: a page head, then sections */
.head { padding: 40px 0 28px; }
.head.dark { background: var(--forest); color: var(--on-dark); }
.head.dark .eyebrow { color: var(--lime); }
.section { padding: 48px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.sage { background: var(--sage); border-top: 0; }
.section.dark { background: var(--forest); color: var(--on-dark); border-top: 0; }
.section.dark .eyebrow { color: var(--lime); }
.section.dark figcaption, .section.dark .small { color: var(--on-dark-2); }
.section.cream { background: var(--cream); border-top: 0; }
.section h2 + p, .section h2 + .lede { margin-top: 12px; }
.prose p + p { margin-top: 12px; }
.prose { max-width: 36em; }
.split { display: grid; gap: 26px; }
.bleed { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
.bleed img { width: 100%; }
.note { font-style: italic; color: var(--muted); border-left: 3px solid var(--orange); padding-left: 14px; margin-top: 18px; max-width: 34em; }
.dark .note { color: var(--on-dark-2); }

/* spec rows (devices) */
.specs { display: grid; margin-top: 18px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 4px; }
.dark .specs, .dark .specs div { border-color: rgb(229 234 221 / .2); }
.dark .specs dt { color: var(--on-dark-2); }
.num { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -.02em; display: block; }

/* one device from the kit painting, framed in CSS (the same signed picture, never a new file) */
.cut { overflow: hidden; border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 40%, #e8e2d2, #d9d1bf); aspect-ratio: 4 / 3; position: relative; }
.cut img { position: absolute; max-width: none; }
/* each crop shows one device only (AD 11-19): the Station x 70-975 of the painting, the Companion from x 1008 */
.cut.station img { width: 176.8%; left: -7.7%; top: -1%; }
.cut.companion img { width: 287.8%; left: -181.3%; top: -6%; }
.cut.companion { aspect-ratio: 3 / 4; }
.cut.caddy img { width: 100%; left: 0; top: -62%; }
.cut.caddy { aspect-ratio: 16 / 7; }

/* three screens at the same scale (a diagram) */
.screens { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.screen { border: 3px solid var(--ink); border-radius: 6px; display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; text-align: center; line-height: 1.3; padding: 4px; background: #fff; }
.screen.c { width: calc(var(--u) * 1.47); height: calc(var(--u) * 1.96); background: #e9efe2; }
.screen.s { width: calc(var(--u) * 6.1); height: calc(var(--u) * 3.58); background: #e2eae1; }
.screen.y { width: calc(var(--u) * 5.47); height: calc(var(--u) * 1.88); background: #e8e6df; }
.screens { --u: 46px; }
.screens figure { display: grid; justify-items: start; }

/* parts table */
.parts { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .95rem; }
.parts th, .parts td { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); }
.parts th { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.steps { counter-reset: s; display: grid; gap: 10px; margin-top: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2em 1fr; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; color: var(--orange); }

/* families */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 18px; text-align: center; }
.trio figcaption { color: var(--ink); font-family: var(--display); font-weight: 700; margin-top: 0; }
.trio .role { display: block; font-family: var(--text); font-weight: 400; color: var(--muted); font-size: var(--fs-small); }
.seeds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; align-items: end; }
.seeds img { max-height: 150px; width: auto; margin: 0 auto; }
.kin { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.kin li { font-family: var(--display); font-weight: 700; font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .55); }
.stamps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.stamps figure { background: #fbf8f0; border-radius: 10px; padding: 8px; box-shadow: 0 10px 22px -16px rgb(0 0 0 / .45); }
.stamps svg { width: 100%; height: auto; }
.stamps figcaption, .section.dark .stamps figcaption { font-family: var(--display); font-weight: 700; color: var(--ink); text-align: center; margin-top: 4px; }
.code { font-family: var(--mono); font-size: .82rem; word-break: break-all; background: rgb(255 255 255 / .6); padding: 2px 6px; border-radius: 4px; }
.dark .code { background: rgb(255 255 255 / .1); }

/* the world: lands and kinds */
.land { padding: 44px 0 36px; }
.land + .land { border-top: 1px solid var(--line); }
.land .landpic { margin: 18px calc(-1 * var(--gutter)) 0; }
.land .landpic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: 22px; }
.kinds figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.kinds figure.felt img { object-fit: contain; background: var(--cream); padding: 10%; }
.kinds h3 { margin-top: 10px; font-size: 1.15rem; }
.kinds .words-only { border-top: 2px solid var(--line); padding-top: 4px; align-self: start; }
.kinds p { font-size: .98rem; line-height: 1.4; }
.kinds .where { display: block; margin-top: 4px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.landnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.landnav a { font-family: var(--display); font-weight: 700; font-size: .9rem; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--sage); }

/* the end of every page: Play, then the footer */
.end { background: var(--forest); color: var(--on-dark); padding: 52px 0 28px; }
.end h2 span { color: var(--lime); }
.foot { margin-top: 48px; border-top: 1px solid rgb(229 234 221 / .2); padding-top: 24px; display: grid; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot .small { color: var(--on-dark-2); }

/* phone: the three pages in a second row under the bar */
@media (max-width: 759px) {
  .bar .wrap nav a:not(.button) { display: none; }
  .bar .pages { display: flex; justify-content: space-around; gap: 4px; background: var(--forest-2); color: var(--on-dark); font-family: var(--display); font-weight: 700; font-size: .92rem; }
  .pages a { text-decoration: none; padding: 9px 6px; }
  .pages a[aria-current="page"] { color: var(--lime); }
  .actions .button { flex: 1 1 auto; }
}

/* on its side and wider: pictures beside the words */
@media (min-width: 760px), (orientation: landscape) and (min-width: 640px) {
  :root { --gutter: 32px; }
  /* the words sit on the quiet water to the right of the clover, as on the live page the owner kept */
  .top { position: relative; min-height: calc(100svh - 56px); max-height: 980px; display: flex; align-items: center; justify-content: flex-end; }
  .top-pic { position: absolute; inset: 0; }
  .top-pic img { height: 100%; max-height: none; min-height: 0; object-position: 100% 56%; }
  /* the words keep to the calm water right of the clover leaf (the leaf ends at 67% of the picture's width, the words start at 70%) */
  .top-words { position: relative; margin: 0 3% 0 0; width: 27%; padding: 0 0 4% 0; color: var(--forest); text-shadow: 0 0 22px rgb(245 242 233 / .7); }
  .top h1 { font-size: clamp(1.6rem, 3.3vw, 3.2rem); }
  .top h1 span { color: #2f5a2c; }
  .top .lede { color: var(--ink); font-size: clamp(1rem, 1.5vw, 1.25rem); }
  .top .button { text-shadow: none; }
  .top .button.quiet { color: var(--forest); background: rgb(245 242 233 / .6); }
  .band { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: center; gap: 0 clamp(24px, 4vw, 64px); padding: 0; min-height: min(86svh, 760px); }
  .band + .band { padding-top: 0; }
  .band.flip { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); }
  .band.flip .pic { order: 2; }
  .band .pic { margin: 0; height: 100%; display: grid; align-items: center; }
  .band.paint .pic img { height: 100%; aspect-ratio: auto; }
  .band .words { padding: 48px var(--gutter); max-width: none; }   /* the side padding below grows with the screen; a fixed max-width left the words ~100 px wide at 2000 px (owner, 11-19) */
  .band.flip .words { padding-left: max(var(--gutter), calc((100vw - var(--content)) / 2)); }
  .band:not(.flip) .words { padding-right: max(var(--gutter), calc((100vw - var(--content)) / 2)); }
  .band.object .pic { padding: 6% 10%; }
  .band.object .pic img { max-height: 70svh; }
  .band.dark, .band.sage, .band.cream { padding-top: 0; }
  .band.wide { display: block; min-height: 0; padding: 64px 0; }
  .band.wide .words { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
  .family { grid-template-columns: repeat(7, minmax(0, 1fr)); max-width: calc(var(--content) + 2 * var(--gutter)); margin: 28px auto 0; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
  .split.top-align { align-items: start; }
  .head { padding: 64px 0 44px; }
  .section { padding: 72px 0; }
  .bleed { margin: 0; }
  .bleed img { border-radius: var(--radius); }
  .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .land .landpic { margin: 22px 0 0; }
  .land .landpic img { border-radius: var(--radius); aspect-ratio: 21 / 9; }
  .screens { --u: 62px; }
  .foot { grid-template-columns: 1fr auto; align-items: start; }
}
/* phone on its side: short screens keep each band inside one screen */
@media (orientation: landscape) and (max-height: 520px) {
  .top { min-height: calc(100svh - 56px); }
  .band { min-height: calc(100svh - 56px); }
  .band.object .pic img { max-height: 76svh; }
  h1 { font-size: 1.9rem; }
  .top h1 { font-size: 1.45rem; }
  h2 { font-size: 1.75rem; }
  .top .lede { font-size: .85rem; margin-top: 6px; }
  .top .actions { margin-top: 14px; }
  .top .button { padding: 10px 16px; font-size: .95rem; }
  .jobs { gap: 4px; margin-top: 10px; font-size: 1rem; }
  .band .kit { padding: 14px 4%; }
  .lede { font-size: 1rem; }
  .band .words { padding: 24px var(--gutter); }
}
@media (min-width: 1100px) {
  .kinds.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* front page: the two devices, each with its game on its screen */
.duo { background: var(--forest); color: var(--on-dark); padding: 48px 0 56px; }
.duo .eyebrow { color: var(--lime); }
.duo h2 span { display: block; color: var(--lime); }
.duo .small { color: var(--on-dark-2); margin-top: 8px; }
.devices { display: grid; gap: 22px; margin-top: 24px; }
.dev figcaption { color: var(--on-dark); font-size: 1rem; line-height: 1.4; margin-top: 10px; }
.dev figcaption b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--lime); margin-bottom: 2px; }
.dev.c { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); gap: 14px; align-items: center; }
.dev.c figcaption { margin-top: 0; }

/* front page: the secret, opened by the visitor */
.secret .trio { max-width: 520px; }
.secret .lede { margin-top: 16px; }
.reveal { margin-top: 18px; max-width: 34em; }
.reveal summary { display: inline-block; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 750; padding: 12px 18px; border-radius: 12px; border: 2px dashed var(--orange); background: rgb(255 255 255 / .45); }
.reveal summary::-webkit-details-marker { display: none; }
.reveal summary::after { content: " ?"; color: var(--orange); }
.reveal[open] summary { border-style: solid; }
.reveal[open] summary::after { content: ""; }
.reveal p { margin-top: 12px; padding-left: 14px; border-left: 3px solid var(--orange); }

/* one trip in three moments */
.moments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; margin-top: 24px; }
.tile { background: #f6f1e4; border-radius: 14px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.tile img { width: 86%; height: 86%; object-fit: contain; }
/* a round painting shown through one clean disc, the same size and margin in every tile (AD 11-19): the picture itself unchanged, placed so its painted circle fills the disc */
.tile .disc { position: relative; width: 78%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.tile .disc img { position: absolute; max-width: none; height: auto; object-fit: initial; }
.disc.call img { width: 125.7%; left: -12.85%; top: -29.9%; }   /* the call circle: centre 450,572, radius 358 of 900x1133 (as site-2's AD-passed clip) */
.disc.incu img { width: 112.5%; left: -5.75%; top: -7%; }      /* inside the incubator's ragged vignette: centre 446,456, radius 400 of 900x920 */
.moments h3 { margin-top: 12px; font-size: 1.15rem; }
.moments p { font-size: .98rem; line-height: 1.4; color: var(--muted); margin-top: 4px; }

/* the three things to gather */
.gather { display: grid; gap: 14px; margin-top: 22px; }
.gather div { border-left: 4px solid var(--c); padding: 4px 0 4px 16px; }
.gather dt { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--c); }
.gather dd .from { display: block; color: var(--on-dark-2); font-size: .98rem; }
.gather .energy { --c: #f2b15c; }
.gather .data { --c: #78b6f0; }
.gather .essence { --c: #8fd47b; }

/* the hand-off, drawn as one cycle of steps (a diagram) */
.handoff { counter-reset: h; display: grid; gap: 10px; margin-top: 22px; }
.handoff li { counter-increment: h; display: grid; grid-template-columns: 2.4em 1fr; gap: 4px 10px; align-items: start; background: rgb(255 255 255 / .55); border-radius: 12px; padding: 12px 14px; }
.handoff li::before { content: counter(h); grid-row: span 2; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--forest); color: var(--lime); font-family: var(--display); font-weight: 800; }
.handoff b { font-family: var(--display); font-weight: 800; }
.handoff .where { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.handoff span:not(.where) { grid-column: 2; font-size: .98rem; line-height: 1.4; }
.dark .handoff li { background: rgb(255 255 255 / .07); }
.dark .handoff .where { color: var(--on-dark-2); }

/* how it plays: a mechanic beside its recording */
.mech { display: grid; gap: 22px; align-items: center; }
.mech .tile { max-width: 360px; width: 100%; }
.mech + .mech { margin-top: 44px; }
.tag { display: inline-block; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: rgb(238 155 88 / .18); color: #8a4a17; margin-bottom: 10px; }
.dark .tag { color: var(--orange); background: rgb(238 155 88 / .14); }
.partners { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.partners div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.partners dt { font-family: var(--display); font-weight: 800; }

@media (min-width: 760px), (orientation: landscape) and (min-width: 640px) {
  .duo { padding: 72px 0; }
  .devices { grid-template-columns: minmax(0, 30fr) minmax(0, 70fr); align-items: start; gap: 32px; }
  .dev.c { display: block; }
  .dev.c figcaption { margin-top: 10px; }
  .moments { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .gather { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .handoff { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .handoff li { grid-template-columns: 1fr; }
  .handoff li::before { grid-row: auto; }
  .handoff span:not(.where) { grid-column: 1; }
  .mech { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .mech.wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
/* phone on its side: the two devices fit one screen */
@media (orientation: landscape) and (max-height: 520px) {
  .devices { grid-template-columns: minmax(0, 24fr) minmax(0, 76fr); max-width: 125svh; }
  .duo { padding: 28px 0 36px; }
  .duo .lede { font-size: 1rem; }
  .moments { max-width: 170svh; }
  .mech .tile { max-width: 60svh; }
}
