/* Cynic, cynic-hosting.com's home and about pages. Dark, one family (Onest), the contour backdrop moving behind
   everything, and the content on a wall of translucent tiles that fills the screen at any aspect ratio (owner, Oct 26:
   "very spacey ... needs to be filled"). Each product is lit in its own colour inside its own tile only. */
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --canvas: #000;
  --ink: #f5f5f7;
  --ink-2: #a7a7a7;          /* 8.6:1 on the canvas, 7.4:1 on a tile over the brightest contour */
  --ink-3: #8b8b8b;          /* 6.1:1 on the canvas, 5.2:1 on a tile */
  --line: rgb(255 255 255 / .12);
  --cynic: #ffee00;
  --on-cynic: #0e0e0e;
  --rmm: #d65a32;
  --on-rmm: #0e0e0e;         /* dark label on the brand orange, 5.4:1, like the other two products */
  --osm: #75c2ff;
  --on-osm: #04101c;
  --osm-hot: #d6efff;
  --metal: #c9d3dc;
  --led: #4fd37e;
  --tile: rgb(14 17 22 / .3);
  --tile-edge: rgb(255 255 255 / .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-draw: cubic-bezier(.6, 0, .3, 1);
  /* the wall: as wide as the screen allows up to --cap, which widens on ultrawide screens so they fill too */
  --gutter: clamp(1rem, 2.2vw, 2.5rem);
  --cap: 100rem;
  --gap: .875rem;
  --radius: 1.5rem;
  --pad: clamp(1.5rem, 2.6vw, 2.75rem);
  color-scheme: dark;
}
@media (min-aspect-ratio: 2 / 1) and (min-width: 2000px) {
  :root { --cap: 132rem; }
}

*, *::before, *::after { box-sizing: border-box; }
/* Everything is sized in rem, and the root size follows the monitor gently: 16px through 1080p, about 1.15x on any
   1440p screen, ultrawide included (owner: 1.44x was "too zoomed in"), more only on very large viewports. */
html { font-size: clamp(16px, min(.78vw, 1.42vh), 40px); }
html { background: var(--canvas); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0; color: var(--ink); background: transparent;
  font: 400 1.0625rem/1.5 var(--font); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, figure, ol { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: .1875rem solid var(--osm); outline-offset: .1875rem; border-radius: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Selected text: a neutral grey with white text, as on the panel; never yellow, never the system default */
::selection { background: #3a3a3d; color: #fff; }
/* Safari paints the selection of an unfocused window its own way unless told; a rule of its own, since other browsers
   reject the selector and would drop any rule that shares it */
::selection:window-inactive { background: #3a3a3d; color: #fff; }
.skip { position: fixed; left: 1rem; top: -3.75rem; z-index: 60; padding: .625rem 1rem; border-radius: 62.4375rem; background: var(--ink); color: #000; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- the backdrop: one light pool per product, contour lines behind the whole page (owner: keep it) ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--canvas); }
.amb { position: absolute; inset: -10%; opacity: 0; transition: opacity 1.6s var(--ease); }
/* Only cool or neutral light here: rust and yellow at low brightness turn brown and olive on black. The product
   colours live on the marks themselves (tight halos), never as washes. */
.amb-hero { background: radial-gradient(46% 40% at 50% 34%, rgb(150 175 210 / .10), transparent 72%), radial-gradient(30% 30% at 78% 38%, rgb(117 194 255 / .10), transparent 72%); }
.amb-rmm { background: radial-gradient(56% 46% at 50% 40%, rgb(40 150 190 / .17), transparent 72%), radial-gradient(60% 40% at 50% 104%, rgb(40 150 190 / .07), transparent 70%); }
.amb-osm { background: radial-gradient(58% 46% at 50% 24%, rgb(117 194 255 / .16), transparent 72%), radial-gradient(60% 40% at 50% 104%, rgb(117 194 255 / .08), transparent 70%); }
.amb-cynic { background: radial-gradient(58% 46% at 50% 22%, rgb(200 212 232 / .075), transparent 72%), radial-gradient(60% 40% at 50% 104%, rgb(200 212 232 / .045), transparent 70%); }
html[data-amb="hero"] .amb-hero, html[data-amb="rmm"] .amb-rmm, html[data-amb="osm"] .amb-osm, html[data-amb="cynic"] .amb-cynic { opacity: 1; }
.topo-wrap {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 45%, #000 35%, transparent 100%);
  mask-image: radial-gradient(120% 95% at 50% 45%, #000 35%, transparent 100%);
}
/* The contour lines are a mask, so each section can tint them. The tile repeats top to bottom without a seam, and
   app.js moves the layer up by a fraction of the scroll (--py, wrapped at one tile, --tile) for the parallax. */
.topo {
  position: absolute; left: 0; right: 0; top: 0; height: calc(100% + var(--tile, 102vw));
  background: rgb(255 255 255 / .075); transition: background-color 1.6s var(--ease);
  -webkit-mask: url("img/topo.svg?v=52b926a440") top center / 100% auto repeat-y;
  mask: url("img/topo.svg?v=52b926a440") top center / 100% auto repeat-y;
  transform: translate3d(0, calc(var(--py, 0) * -1px), 0); will-change: transform;
}
html[data-amb="rmm"] .topo { background-color: rgb(90 195 230 / .10); }
html[data-amb="osm"] .topo { background-color: rgb(117 194 255 / .10); }
html[data-amb="cynic"] .topo { background-color: rgb(255 255 255 / .065); }
.grain { position: absolute; inset: 0; background: url("img/grain.png"); opacity: .55; }

/* ---------- the top: big logo far left, floating tabs in the middle, the yellow Sign in box far right, no bar
   (owner, Oct 20; the tabs came back with the pages, Oct 26). Below 1100 px the tabs fold into the Menu sheet. ---------- */
.topbar {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0; padding: 1rem 1.75rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; pointer-events: none;
}
.logo { justify-self: start; grid-column: 1; }
/* pinned to their columns: with the tabs hidden, auto-placement would pull these into the middle */
.top-end { position: relative; justify-self: end; display: flex; align-items: center; gap: .5rem; grid-column: 3; }
.tabs { display: none; grid-column: 2; }
/* floating text, no boxes; only the current page sits on a backing box (owner, Oct 27). No blur (see Landmines). */
.tabs { gap: .25rem; }
.tabs a {
  padding: .75rem .875rem; border-radius: .75rem; text-decoration: none; font-size: .9375rem; font-weight: 600; line-height: 1;
  text-box: trim-both cap alphabetic; white-space: nowrap; color: rgb(245 245 247 / .78); transition: color .2s, background .2s;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
@media (min-width: 1100px) {
  .tabs { display: flex; }
  .menu { display: none; }
}
.menu { position: static; }
.menu-btn {
  display: block; padding: 1.125rem 1.125rem; border-radius: .875rem; list-style: none; cursor: pointer; user-select: none;
  -webkit-user-select: none; font-size: 1.0625rem; font-weight: 700; line-height: 1; text-box: trim-both cap alphabetic;
  white-space: nowrap; color: var(--ink); background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16);
}
.menu-btn::-webkit-details-marker { display: none; }
.menu-btn::marker { content: ""; }
.burger { display: inline-block; width: 1rem; height: 1rem; margin-left: .5rem; vertical-align: -.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-sheet {
  position: absolute; right: 0; top: calc(100% + .5rem); display: grid; width: min(20rem, calc(100vw - 2rem)); padding: .375rem;
  border-radius: 1.125rem; background: rgb(17 18 21);
  box-shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / .85), inset 0 0 0 1px rgb(255 255 255 / .12);
}
.menu[open] .menu-sheet { animation: menu-in .16s var(--ease); }
.menu-sheet a { display: flex; align-items: center; min-height: 3rem; padding: 0 1rem; border-radius: .75rem; text-decoration: none; font-size: 1.0625rem; font-weight: 600; }
.menu-sheet a:hover, .menu-sheet a:focus-visible { background: rgb(255 255 255 / .08); }
.menu-sheet a:focus-visible { outline-offset: -.1875rem; }
.menu-sheet a[aria-current="page"] { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.topbar > * { pointer-events: auto; }
/* Not a bar: once the page moves, the content fades and blurs as it passes under the logo and the button. */
.topbar::before {
  content: ""; position: absolute; inset: 0 0 -2rem; z-index: -1; pointer-events: none;
  background: linear-gradient(rgb(0 0 0 / .78), rgb(0 0 0 / .5) 50%, transparent);
  -webkit-backdrop-filter: blur(.625rem); backdrop-filter: blur(.625rem);
  -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent);
  opacity: 0; transition: opacity .35s var(--ease);
}
html.scrolled .topbar::before { opacity: 1; }
.logo { display: flex; align-items: center; gap: .875rem; min-width: 0; text-decoration: none; font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; }
.badge { display: block; width: 3.5rem; height: auto; aspect-ratio: 71 / 72; }

/* the sign-in menu: a <details>, styled as the yellow box; the menu drops under it, right-aligned */
/* both menus drop from the right edge of the group, so neither hangs off a 320 px screen */
.account { position: static; }
.signin {
  display: block; padding: 1.125rem 1.375rem 1.125rem 1.625rem; border-radius: .875rem; list-style: none; cursor: pointer;
  background: var(--cynic); color: var(--on-cynic); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.005em;
  line-height: 1; text-box: trim-both cap alphabetic; text-decoration: none; white-space: nowrap; user-select: none;
  -webkit-user-select: none; box-shadow: 0 .625rem 1.75rem -.75rem rgb(0 0 0 / .7); transition: filter .2s;
}
.signin::-webkit-details-marker { display: none; }
.signin::marker { content: ""; }
.signin:hover { filter: brightness(1.08); }
.chev {
  display: inline-block; width: .75rem; height: .75rem; margin-left: .5rem; vertical-align: .05em;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
.account[open] .chev { transform: rotate(180deg); }
.account-menu {
  position: absolute; right: 0; top: calc(100% + .5rem); width: min(21.5rem, calc(100vw - 2rem)); padding: .375rem;
  /* Opaque, an outer shadow and a hairline, nothing else: a menu must read over anything. In WebKit a blur, a
     blurred inset box-shadow, a masked rim or a background even 3% short of opaque on this element (inside the fixed
     header) let the page behind show through at about 40% (measured Oct 26). */
  border-radius: 1.125rem; background: rgb(17 18 21);
  box-shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / .85), inset 0 0 0 1px rgb(255 255 255 / .12);
}
.account[open] .account-menu { animation: menu-in .16s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-.375rem); } }
.account-menu :is(a, button) { display: grid; width: 100%; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; gap: .1875rem; min-height: 3.5rem; padding: .875rem 1rem; border-radius: .75rem; text-decoration: none; }
.account-menu :is(a, button):hover, .account-menu :is(a, button):focus-visible { background: rgb(255 255 255 / .08); }
.account-menu :is(a, button):focus-visible { outline-offset: -.1875rem; }
.account-menu strong { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.account-menu span { color: var(--ink-2); font-size: .9375rem; line-height: 1.35; }
.account-menu > * + * { margin-top: .125rem; }

/* ---------- hero: the three products drawing themselves, then the headline ---------- */
.hero {
  width: min(100% - 2 * var(--gutter), var(--cap)); margin: 0 auto;
  padding: clamp(6rem, 8vw, 7.25rem) 0 clamp(1.75rem, 3vw, 2.5rem); text-align: center;
}
h1 { margin-top: clamp(1.5rem, 2.6vw, 2.25rem); font-size: clamp(2.375rem, 4.6vw, 4.25rem); line-height: 1.04; font-weight: 700; letter-spacing: -.04em; }
.hero-sub { max-width: 46ch; margin: 1rem auto 0; color: var(--ink-2); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.45; }
/* ---------- the home page's logo carousel: one logo in front, the other two tucked behind it to either side ---------- */
.hero-home { padding-top: clamp(6rem, 8vw, 7.5rem); }
.carousel { width: min(100%, 50rem); margin: 0 auto; }
.car-stage { display: flex; justify-content: center; gap: 2rem; }
.car-slide { display: block; width: clamp(9.5rem, 24vw, 19rem); text-decoration: none; border-radius: 1.5rem; }
.car-slide .mark { width: 100%; }
.car-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.car-name { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -.025em; }
.car-line { max-width: 34ch; margin: .375rem auto 0; color: var(--ink-2); text-wrap: balance; }
.car-link {
  display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .875rem; padding: 0 1.25rem; border-radius: .875rem;
  color: var(--ink); font-weight: 700; text-decoration: none; text-box: trim-both cap alphabetic;
  background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16);
}
.car-link:hover { background: rgb(255 255 255 / .14); }
.car-nav { display: none; }
/* with script: a stage the logos turn on; side logos smaller, dimmer and partly behind the front one */
:is(.js, .still) .car-stage { position: relative; display: block; height: clamp(9.5rem, 24vw, 19rem); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
:is(.js, .still) .car-slide {
  position: absolute; left: 50%; top: 0; margin-left: calc(clamp(9.5rem, 24vw, 19rem) / -2);
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
:is(.js, .still) .car-slide[data-pos="0"] { z-index: 3; transform: none; opacity: 1; }
:is(.js, .still) .car-slide[data-pos="-1"] { z-index: 1; transform: translateX(-62%) scale(.6); opacity: .5; cursor: pointer; }
:is(.js, .still) .car-slide[data-pos="1"] { z-index: 1; transform: translateX(62%) scale(.6); opacity: .5; cursor: pointer; }
:is(.js, .still) .car-slide[data-pos="-1"]:hover, :is(.js, .still) .car-slide[data-pos="1"]:hover { opacity: .65; }
:is(.js, .still) .car-caps { display: block; min-height: 6.5rem; }
:is(.js, .still) .car-cap[hidden] { display: none; }
:is(.js, .still) .car-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .75rem; }
.car-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; color: var(--ink);
  background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); transition: background .2s;
}
.car-btn:hover { background: rgb(255 255 255 / .16); }
.car-btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.car-dots { display: flex; gap: .5rem; }
.car-dots i { width: .5rem; height: .5rem; border-radius: 50%; background: rgb(255 255 255 / .25); transition: background .3s, width .3s var(--ease); }
.car-dots i.on { width: 1.5rem; border-radius: .25rem; background: var(--ink); }
.hero-home h1 { margin-top: clamp(1.25rem, 2.4vw, 2rem); font-size: clamp(2rem, 3.6vw, 3.25rem); }

/* ---------- the marks, drawn ---------- */
.mark { display: block; width: 6rem; height: auto; aspect-ratio: 1; overflow: visible; }
.mark .ln { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mark-cynic .ln { stroke: var(--cynic); stroke-width: 3; }
.mark-cynic .led { fill: var(--cynic); }
.mark-rmm .g { stroke: #e2603a; stroke-width: 2.8; }
.mark-rmm .m { stroke: #e9e9ea; stroke-width: 1.8; }
.mark-rmm .k { stroke: #9fb3bf; stroke-width: 1.7; }
.mark-rmm .p { stroke: #ff8a5c; stroke-width: 2.5; }
.mark-osm .o { stroke: #dcecfb; stroke-width: 6; }
.mark-osm .h { stroke: rgb(117 194 255 / .7); stroke-width: 2.6; }
.mark-osm .v { stroke: rgb(117 194 255 / .55); stroke-width: 2; }
.mark-osm .r { stroke: rgb(117 194 255 / .45); stroke-width: 2; }
.mark-osm .sg { fill: none; stroke: rgb(117 194 255 / .3); stroke-width: 11; stroke-linecap: round; }
.mark-osm .sl { fill: none; stroke: var(--osm-hot); stroke-width: 3.2; stroke-linecap: round; }

/* ---------- the wall ---------- */
.wall {
  width: min(100% - 2 * var(--gutter), var(--cap)); margin: 0 auto; padding: var(--gap) 0 clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
}
/* A tile is clear glass over the contours, so the backdrop he wants kept runs under the whole page: a light tint,
   the lines under it lifted a little brighter (no blur: any blur erases one-pixel contour lines), and a rim that
   catches light at the top left (the Dusk material) instead of a flat grey border. */
.tile {
  grid-column: 1 / -1; position: relative; isolation: isolate; container-type: inline-size;
  padding: var(--pad); border-radius: var(--radius); background: var(--tile);
  -webkit-backdrop-filter: brightness(1.4) saturate(1.3); backdrop-filter: brightness(1.4) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--tile-edge), 0 1.5rem 3rem -1.5rem rgb(0 0 0 / .6);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, rgb(255 255 255 / .34), rgb(255 255 255 / .06) 22%, transparent 55%, rgb(255 255 255 / .1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tile-in { height: 100%; }
/* spans: s3 pairs up from 760 px; everything else is full width until 1100 px */
.wall > * { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .s3, .tab-6 { grid-column: span 6; }
}
@media (min-width: 1100px) {
  .s3 { grid-column: span 3; }
  .s4 { grid-column: span 4; }
  .s6 { grid-column: span 6; }
  .s8 { grid-column: span 8; }
  .rows-2 { grid-row: span 2; }
}
/* a heading for the row of tiles under it: on the canvas, not in a tile */
.row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 2rem; padding: clamp(1.75rem, 3.5vw, 3rem) .25rem .25rem; }
.row-head h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; }
.row-head p { color: var(--ink-2); font-size: 1.0625rem; }
.row-head a { color: var(--ink); text-underline-offset: .1875rem; }
.row-head:first-child { padding-top: 0; }

.tile :is(h2, h3) { display: flex; align-items: center; gap: .875rem; font-size: clamp(1.875rem, 2.6vw, 2.75rem); line-height: 1.05; font-weight: 700; letter-spacing: -.035em; }
.tile-mark { flex: none; width: 3.25rem; }
.lead { margin-top: .875rem; font-size: clamp(1.1875rem, 1.6vw, 1.5rem); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.body { max-width: 40em; margin-top: .75rem; color: var(--ink-2); font-size: 1.0625rem; }
.lead, .body, .hero-sub, figcaption, .figures dd, .pick .role, .work dd, .dest { text-wrap: pretty; }
.figures {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); gap: 1rem 1.5rem;
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.figures dt { font-size: clamp(1.75rem, 2.4vw, 2.5rem); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; }
.figures dt span { font-size: .5em; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); }
.figures dd { margin-top: .375rem; color: var(--ink-2); font-size: .9375rem; line-height: 1.35; }
.t-rmm .figures dt { color: var(--rmm); }
.t-osm .figures dt { color: var(--osm); }
.ctas { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.75rem; }
.dest { margin-top: .75rem; color: var(--ink-2); font-size: .9375rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.125rem; padding: 0 1.5rem;
  border-radius: .875rem; text-decoration: none; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.005em; text-box: trim-both cap alphabetic;
  transition: filter .2s, background .2s, transform .2s var(--ease);
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: scale(.98); }
.btn-rmm { background: var(--rmm); color: var(--on-rmm); }
.btn-osm { background: var(--osm); color: var(--on-osm); }
.btn-cynic { background: var(--cynic); color: var(--on-cynic); }
.btn-ghost { background: rgb(255 255 255 / .08); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.btn-ghost:hover { background: rgb(255 255 255 / .14); filter: none; }

/* Rust Map Maker and Osmium: words on top, the picture under them at the foot of the tile; side by side once a tile
   is wide enough (a full-width tile on a tablet, a half on an ultrawide) */
.t-rmm .tile-in, .t-osm .tile-in, .t-shot .tile-in { display: flex; flex-direction: column; gap: 1.75rem; }
.tile-art { margin-top: auto; }
/* the map's box is a little taller than the screenshot's, because its edge fades out */
.shot-map img {
  width: min(100%, max(16rem, calc(62cqi - 1.25 * var(--pad)))); margin-inline: auto;
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
}
/* Two products side by side: the map is the larger picture and rises from the foot of its tile like a horizon,
   cropped by the tile's edge, so the row stays as tall as the Osmium tile */
@media (min-width: 1100px) {
  .t-rmm { overflow: hidden; }
  .t-rmm .shot-map { margin-bottom: calc(-1 * var(--pad) - 24cqi); }
  .t-rmm .shot-map img { width: min(100%, 88cqi); }
}
@container (min-width: 56rem) {
  .t-rmm .shot-map { margin-bottom: 0; }
  .t-rmm .tile-in, .t-osm .tile-in, .t-shot .tile-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4cqi, 4rem); }
  .tile-art { margin-top: 0; }
  .shot-map img { width: min(100%, 30rem); }
}
.shot-ui img { width: 100%; border-radius: clamp(.625rem, 1.2vw, 1rem); box-shadow: 0 2.5rem 5rem -2rem rgb(117 194 255 / .32), 0 0 0 1px rgb(255 255 255 / .1); }
figcaption { margin-top: .875rem; color: var(--ink-3); font-size: .875rem; }

.plans { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.plans th, .plans td { height: 3.25rem; padding: 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.plans thead th { height: auto; padding-bottom: .75rem; color: var(--ink-3); font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.plans :is(th, td):first-child { padding-left: .75rem; }
.plans :is(th, td):last-child { padding-right: .75rem; text-align: right; }
.plans :is(th, td):nth-child(2) { color: var(--ink-2); }
.plans :is(th, td) + :is(th, td) { padding-left: 1rem; }
.plans tbody th { font-weight: 700; }
.plans tbody td:last-child { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.02em; }
/* a line of business in a smaller tile: status, words, a "from" price, then its button at the foot */
.t-line .tile-in, .t-fit .tile-in, .t-faq .tile-in { display: flex; flex-direction: column; }
.t-line .ctas, .t-fit .ctas, .build .ctas { margin-top: auto; padding-top: 1.5rem; }
.tile :is(h2, h3):has(.tag) { flex-wrap: wrap; row-gap: .5rem; }
/* availability, beside the heading: open in brand yellow, closed as an outline */
.tag {
  display: inline-block; padding: .5rem .75rem; border-radius: .5rem; font-size: .8125rem; font-weight: 700; line-height: 1;
  letter-spacing: 0; text-box: trim-both cap alphabetic; white-space: nowrap; color: var(--ink-2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22);
}
.tag-open { color: var(--on-cynic); background: var(--cynic); box-shadow: none; }
.from { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .625rem; margin-top: 1.25rem; color: var(--ink-2); font-size: .9375rem; }
.from strong { color: var(--ink); font-size: clamp(2rem, 2.6vw, 2.5rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.ticks { display: grid; gap: .5rem; margin-top: 1rem; color: var(--ink-2); }
.ticks li { padding-left: 1.25rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .625rem; height: 1.5px; background: var(--ink-3); }

/* a closed-for-now notice: words left, actions right on wide tiles */
.t-notice .tile-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; }
.t-notice .tile-in > div:first-child { flex: 1 1 26rem; }
.t-notice .ctas { margin-top: 0; }
.t-notice h2 { font-size: clamp(1.5rem, 2vw, 2rem); }

/* tables that may be wider than a phone scroll inside their tile, never the page */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 46rem; border-collapse: collapse; text-align: left; }
.compare :is(th, td) { padding: .875rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.compare thead th { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.015em; }
.compare thead a { text-decoration: none; }
.compare thead a:hover { text-decoration: underline; text-underline-offset: .1875rem; }
.compare tbody th { color: var(--ink-3); font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.compare tbody td { color: var(--ink-2); }
.compare tbody tr:nth-child(5) td { color: var(--ink); font-weight: 700; }
.tiers { min-width: 34rem; }
.tiers tbody td:not(:last-child) { color: var(--ink-2); }

/* the home page: calmer rows; each offer is one link */
.wall-calm { row-gap: calc(var(--gap) * 1.25); }
.t-offer { text-decoration: none; transition: background .25s var(--ease); }
.t-offer:hover { background: rgb(26 30 38 / .45); }
.t-offer .tile-in { display: flex; flex-direction: column; }
.t-offer h3 { font-size: clamp(1.375rem, 1.8vw, 1.75rem); }
.t-offer .from { margin-top: auto; padding-top: 1.25rem; }
.t-offer .go { align-self: flex-start; margin-top: 1rem; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgb(255 255 255 / .35); }
.t-offer:hover .go { text-decoration-color: currentColor; }
/* the home page's headings are centred over their rows (his "centre everything") */
.wall-calm .row-head { flex-direction: column; align-items: center; text-align: center; }
/* sections of words sit straight on the backdrop, no box */
.tile.bare { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tile.bare::after { display: none; }
.bare .work, .bare .why { text-align: left; }
.why { display: grid; gap: 1.5rem 2.5rem; }
.why dt { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.015em; }
.why dd { margin-top: .375rem; color: var(--ink-2); }
@container (min-width: 46rem) {
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (min-width: 72rem) {
  .why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.t-why .ctas { margin-top: 2rem; justify-content: center; }

/* game art: each game's official wide hero image with its title logo over it, across the top of its tile */
.game-art { position: relative; display: block; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 1.25rem; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 1920 / 620; }
.ga-hero img { width: 100%; height: 100%; object-fit: cover; }
.game-art:has(.ga-logo)::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 75% at 50% 50%, rgb(0 0 0 / .45), transparent 75%); }
.ga-logo { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; padding: 6% 0; }
.ga-logo img { width: auto; height: 100%; max-width: 46%; object-fit: contain; }
.game-art-lead { margin: 0 0 1.25rem; border-radius: 1rem; box-shadow: 0 0 0 1px rgb(255 255 255 / .1); }
.game .ctas { margin-top: 1.25rem; }
.game-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(6.5rem, 30%), 1fr)); gap: .5rem; margin-top: 1rem; }
.game-strip a { display: block; border-radius: .5rem; overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / .1); transition: transform .2s var(--ease); }
.game-strip a:hover { transform: translateY(-2px); }
.game-thumb img { width: 100%; height: auto; aspect-ratio: 616 / 353; object-fit: cover; }

/* dedicated builds */
.build h3 { font-size: clamp(1.625rem, 2.2vw, 2.125rem); }
.build .tile-in { display: flex; flex-direction: column; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); gap: .875rem 1.5rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.specs dt { color: var(--ink-3); font-size: .875rem; font-weight: 600; }
.specs dd { margin-top: .125rem; }

/* Rust, the lead game: words and its plan table side by side when the tile is wide */
.t-rust .tile-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
@container (min-width: 60rem) {
  .t-rust .tile-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 3rem; }
}
.game .from { margin-top: .75rem; margin-bottom: 1rem; }
.game h3 { font-size: clamp(1.5rem, 2vw, 1.875rem); }
.more { columns: 14rem 4; column-gap: 2rem; margin-top: 1.25rem; color: var(--ink-2); }
.more li { break-inside: avoid; padding: .3125rem 0; }

.faq { display: grid; gap: 1.125rem; margin-top: 1.25rem; }
.faq dt { font-weight: 700; }
.faq dd { margin-top: .25rem; color: var(--ink-2); }
.faq a, .t-faq .body a { color: var(--ink); text-underline-offset: .1875rem; }

/* About Cynic and Game servers, side by side on wide screens */
.work { display: grid; gap: 1.25rem 2.5rem; margin-top: 1.5rem; }
.work dt { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.015em; }
.work dd { margin-top: .375rem; color: var(--ink-2); }
@container (min-width: 40rem) {
  .work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.t-work .tile-in { display: flex; flex-direction: column; }
.t-work .ctas { margin-top: auto; padding-top: 1.75rem; }
.t-work .work:first-child { margin-top: 0; }
@container (min-width: 56rem) {
  .work:not(.work-2) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tile .body a { color: var(--ink); text-underline-offset: .1875rem; }

/* ---------- about page ---------- */
.hero-about .mark, .hero-page .mark { width: clamp(4.5rem, 8vw, 6.25rem); margin: 0 auto 1.375rem; }
.hero-page h1 { margin-top: 0; }
.t-half h2 { font-size: clamp(1.5rem, 2vw, 1.875rem); }
.t-half p { margin-top: .75rem; color: var(--ink-2); line-height: 1.6; }
.t-half a { color: var(--ink); text-underline-offset: .1875rem; }
@media (min-width: 900px) {
  .t-half { grid-column: span 6; }
}
.band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.band img { width: 100%; aspect-ratio: 3 / 2; border-radius: 1rem; box-shadow: 0 0 0 1px rgb(255 255 255 / .08); }
.t-band { padding: var(--gap); }
.t-contact .tile-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.t-contact h2 { font-size: clamp(1.5rem, 2vw, 1.875rem); }
.t-contact .ctas { margin-top: 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: rgb(0 0 0 / .6); }
.foot-in { max-width: 76rem; margin: 0 auto; padding: 3.5rem 1.25rem 2.75rem; text-align: center; }
.foot-brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.foot-brand .badge { width: 2.5rem; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 13.5rem)); justify-content: center; gap: 2rem 1.25rem; margin-top: 2.25rem; }
.foot-cols div { display: flex; flex-direction: column; align-items: center; gap: .625rem; }
.foot-cols h4 { margin: 0 0 .25rem; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.foot-cols a, .foot-cols span { color: var(--ink-3); font-size: .9375rem; text-decoration: none; }
.foot-cols a:hover { color: var(--ink); }
.legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 2.75rem; color: var(--ink-3); font-size: .875rem; }
.legal a { color: var(--ink-3); text-decoration: none; }
.legal a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- motion: drawing, rising, lights ---------- */
.js :is(.hero, .reveal) .ln { stroke-dasharray: var(--len, 1200) var(--gap-len, 1300); stroke-dashoffset: var(--off, 1250); stroke-opacity: 0; }
.js :is(.hero.go, .reveal.in) .ln {
  stroke-dashoffset: 0; stroke-opacity: 1;
  transition: stroke-dashoffset var(--dur, 1.2s) var(--ease-draw) calc(var(--base, 0ms) + var(--d, 0ms)),
    stroke-opacity .12s linear calc(var(--base, 0ms) + var(--d, 0ms));
}
.reveal { --dur: 1.2s; --base: 80ms; }
.m-rmm { --base: 100ms; }
.m-osm { --base: 200ms; }

.js :is(.hero, .reveal) .dt { opacity: 0; }
.js :is(.hero.go, .reveal.in) .dt { opacity: 1; transition: opacity .8s var(--ease) 1s; }
.js :is(.hero, .reveal) .mark-osm .seams .dt { opacity: 0; transition: none; }
.js :is(.hero.go, .reveal.in) .mark-osm .seams .dt { animation: seam 2.2s var(--ease) calc(var(--base, 0ms) + 1.05s) both; }
@keyframes seam {
  0% { opacity: 0; }
  28% { opacity: 1; }
  100% { opacity: .72; }
}
.js :is(.hero, .reveal) .mark-rmm .pin { transform: translateY(-.5625rem); opacity: 0; }
.js :is(.hero.go, .reveal.in) .mark-rmm .pin {
  transform: none; opacity: 1;
  transition: transform 1s cubic-bezier(.3, 1.5, .5, 1) calc(var(--base, 0ms) + .6s), opacity .4s var(--ease) calc(var(--base, 0ms) + .6s);
}

.led { animation: blink 3s steps(1, end) infinite; }
.led.b1 { animation-duration: 2.3s; animation-delay: -.4s; }
.led.b2 { animation-duration: 3.7s; animation-delay: -1.9s; }
.led.b3 { animation: flicker 1.1s linear infinite; }
.led.b4 { animation-duration: 5.1s; animation-delay: -2.6s; }
.led.b5 { animation-duration: 2.9s; animation-delay: -1.1s; }
.led.b6 { animation-duration: 4.3s; animation-delay: -3.2s; }
@keyframes blink {
  0%, 100% { fill-opacity: 1; }
  7% { fill-opacity: .25; }
  10% { fill-opacity: 1; }
  54% { fill-opacity: .35; }
  57% { fill-opacity: 1; }
}
@keyframes flicker {
  0%, 100% { fill-opacity: 1; }
  20% { fill-opacity: .2; }
  32% { fill-opacity: 1; }
  48% { fill-opacity: .3; }
  56% { fill-opacity: 1; }
  80% { fill-opacity: .15; }
}

/* the hero fades in with the drawing; section text is always rendered and only slides into place */
.js .hero .rise { opacity: 0; transform: translateY(1.125rem); }
.js .hero.go .rise { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--rd, 0s), transform .9s var(--ease) var(--rd, 0s); }
.js .reveal .rise { transform: translateY(1.25rem); }
.js .reveal.in .rise { transform: none; transition: transform 1s var(--ease) var(--rd, 0s); }
.js .hero h1 { filter: blur(.5rem); }
.js .hero.go h1 { filter: none; transition: opacity .7s var(--ease) var(--rd), transform .9s var(--ease) var(--rd), filter .8s var(--ease) var(--rd); }
.reveal .r1 { --rd: .05s; }
.reveal .r2 { --rd: .16s; }
.reveal .r3 { --rd: .28s; }
.reveal .r4 { --rd: .4s; }
.hero .r1 { --rd: .1s; }
.hero .r2 { --rd: .3s; }
.js .topo-wrap { animation: topo-in 2.6s var(--ease) backwards; }
@keyframes topo-in { from { opacity: 0; } }
.js .topbar { animation: tabs-in .9s var(--ease) .3s backwards; }
@keyframes tabs-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- widths ---------- */
@media (max-width: 760px) {
  :root { --radius: 1.25rem; --gap: .625rem; }
  html { scroll-padding-top: 1rem; }
  /* phones: logo and Sign in sit at the top of the page and scroll away with it */
  .topbar { position: absolute; padding: .75rem 1rem; }
  .topbar::before { display: none; }
  .logo { font-size: 1.375rem; gap: .625rem; }
  .badge { width: 2.625rem; }
  .signin, .menu-btn { padding: .9375rem 1rem .9375rem 1.125rem; font-size: .9375rem; }
  :root { --pad: 1.25rem; }
  .hero { padding-top: 5.5rem; }
  .hero-about, .hero-page { padding-top: 6rem; }
  .row-head { padding-top: 1.75rem; }
  .band { gap: .5rem; }
  .band img { border-radius: .75rem; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 15rem)); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 13rem)); }
}
@media (max-width: 560px) {
  .foot-cols { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .plans :is(th, td) { font-size: .9375rem; }
  /* room for the logo, Sign in and the menu at 320: the menu keeps its icon and its name for screen readers */
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .burger { margin-left: 0; }
  .menu-btn { padding-inline: .9375rem; }
}
@media (max-width: 360px) {
  .logo span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.js, .still) .car-slide { transition: none; }
}

@media print {
  .ambient, .topbar { display: none; }
  .js .ln { stroke-dashoffset: 0 !important; stroke-opacity: 1 !important; }
  .js .rise, .js .dt, .js .pin { opacity: 1 !important; transform: none !important; filter: none !important; }
}
