/* xfme.co.uk - the look of XFME Desktop's own window (port/host/xfme_shell.cpp): brushed gunmetal, riveted panels,
   engraved silver plates, red PLAY buttons, brass-edged controls and red 7-segment meters. The colour values are the
   shell's (kWin, kFace, kHi, kLo, kText, kRed, kAmber, kLed ...). */

:root {
  color-scheme: dark;
  --win: #16181b;
  --face: #1d2024;
  --bar: #1c1e22;
  --hi: #5a5f66;
  --lo: #050607;
  --edge: #0b0c0e;
  --text: #e8e8e6;
  --text2: #a6a9ad;
  --text3: #7d8187;
  --red: #da1f1f;
  --amber: #f2b23c;
  --led: #ff2b1c;
  --led-off: #2a0805;
  --gold: #f7bc2e;
  --green: #52d03a;
  --brass: #a88352;
  --brass-lo: #5c442a;
  --well: #060607;
  --well-edge: #3a3e44;
  --narrow: "Bahnschrift SemiCondensed", "Bahnschrift", "DIN Condensed", "DIN Alternate", "Roboto Condensed", "Arial Narrow", sans-serif;
  --wide: "Bahnschrift", "DIN Alternate", "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --gutter: 16px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--wide);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--win);
  background-image: url(../img/grain.png);
  background-blend-mode: overlay;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffd27a; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
main { flex: 1; padding: 22px 0 40px; }
h1, h2, h3 { font-family: var(--narrow); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.muted { color: var(--text2); }
.small { font-size: 15px; }

/* ---------------------------------------------------------------- materials */
/* a riveted panel: black edge, light bevel top-left, dark bevel bottom-right, brushed face, a screw in each corner */
.panel {
  position: relative;
  background-color: var(--face);
  background-image: url(../img/screw.png), url(../img/screw.png), url(../img/screw.png), url(../img/screw.png), url(../img/grain.png);
  background-position: top 6px left 6px, top 6px right 6px, bottom 6px left 6px, bottom 6px right 6px, 0 0;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-size: 10px 10px, 10px 10px, 10px 10px, 10px 10px, 256px 256px;
  background-blend-mode: normal, normal, normal, normal, overlay;
  border: 1px solid var(--lo);
  box-shadow: inset 1px 1px 0 var(--hi), inset -1px -1px 0 var(--edge), 0 2px 10px rgba(0, 0, 0, .35);
  padding: 22px 24px 24px;
}
.panel::before {           /* the fine dark line just inside the bevel */
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(0, 0, 0, .45);
  pointer-events: none;
}
.panel > * { position: relative; }
.panel-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--narrow); font-weight: 600; font-size: 22px; letter-spacing: .04em; text-transform: uppercase;
  color: #dcddde; text-shadow: 0 1px 0 rgba(0, 0, 0, .7);
  margin: 0 0 14px;
}
.panel-title svg { width: 22px; height: 22px; flex: none; }

/* the black window sunk into the metal (fields, readouts, the machine's bezel) */
.well {
  background: var(--well);
  border: 1px solid var(--well-edge);
  border-radius: 3px;
  box-shadow: inset 0 8px 8px -6px rgba(0, 0, 0, .9);
}

/* an engraved silver plate (MACHINE CONTROLS, the XFME badge) */
.plate {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 8px 26px;
  background-color: #a9abaf;
  background-image: url(../img/screw.png), url(../img/screw.png), url(../img/screw.png), url(../img/screw.png),
                    url(../img/grain.png), linear-gradient(#d9dadc, #a9abaf 50%, #86888c);
  background-position: top 5px left 5px, top 5px right 5px, bottom 5px left 5px, bottom 5px right 5px, 0 0, 0 0;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, no-repeat;
  background-size: 8px 8px, 8px 8px, 8px 8px, 8px 8px, 256px 256px, 100% 100%;
  background-blend-mode: normal, normal, normal, normal, overlay, normal;
  border: 1px solid #2a2b2e;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .6), inset -1px -1px 0 rgba(74, 76, 80, .8), 0 0 0 1px rgba(0, 0, 0, .6);
  font-family: var(--narrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #18191b; text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  text-align: center;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--narrow); font-size: 18px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
  border-radius: 4px; cursor: pointer; white-space: nowrap;
  background: linear-gradient(#3b3e44, #1a1c20);
  border: 1px solid #3e4147;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 1px 0 rgba(0, 0, 0, .6);
  transition: box-shadow .15s, border-color .15s, filter .15s;
}
.btn:hover { color: #fff; border-color: #6a6e75; }
.btn:active { background: linear-gradient(#181a1d, #24262a); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .6); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-red {
  color: #fff;
  background: linear-gradient(#f23a30, #a60e0e);
  border: 1px solid #ff7c6c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 0 1px rgba(0, 0, 0, .55), 0 0 18px rgba(255, 40, 30, .28);
}
.btn-red:hover { color: #fff; border-color: #ffa294; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(0, 0, 0, .55), 0 0 26px rgba(255, 40, 30, .5); }
.btn-red:active { background: linear-gradient(#b81614, #7a0a0a); }
.btn-brass { border-color: var(--brass); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 14px rgba(242, 178, 60, .12); }
.btn-brass:hover { border-color: #d6a96a; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }

/* ---------------------------------------------------------------- the masthead */
.masthead {
  position: sticky; top: 0; z-index: 5;
  background-color: var(--bar);
  background-image: url(../img/grain.png);
  background-blend-mode: overlay;
  border-bottom: 2px solid var(--lo);
  box-shadow: inset 0 1px 0 var(--hi), inset 0 -1px 0 #08090a, 0 4px 14px rgba(0, 0, 0, .45);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding-top: 8px; padding-bottom: 8px; }
.logo-frame {
  display: flex; align-items: center; flex: none;
  padding: 9px 18px; background-color: #15161a;
  background-image: url(../img/grain.png); background-blend-mode: overlay;
  border: 1px solid #000; box-shadow: inset 1px 1px 0 #000, inset -1px -1px 0 #44484f, 0 0 0 2px #0c0d0f;
}
.logo-frame img { display: block; height: 46px; width: auto; }
.nav { display: flex; gap: 8px; flex: none; }
.nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 92px; height: 44px; padding: 0 12px;
  font-family: var(--narrow); font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text); text-decoration: none; border-radius: 3px;
  background: linear-gradient(#2c2f34, #181a1d); border: 1px solid #3a3d42;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.nav a:hover { border-color: #6a6e75; color: #fff; }
.nav a[aria-current="page"] {
  color: #fff; background: linear-gradient(#e82a26, #a41010); border-color: #ff7262;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 14px rgba(255, 40, 30, .3);
}

/* ---------------------------------------------------------------- the footer */
.footer {
  margin-top: auto;
  background-color: var(--bar); background-image: url(../img/grain.png); background-blend-mode: overlay;
  border-top: 2px solid var(--lo); box-shadow: inset 0 1px 0 var(--hi);
  padding: 22px 0 26px; color: var(--text2); font-size: 15px;
}
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.badge { flex: none; flex-direction: column; min-height: 0; padding: 10px 26px 8px; }
.badge .mark { display: flex; align-items: center; gap: 10px; font-family: var(--wide); font-style: italic; font-weight: 700; font-size: 30px; letter-spacing: -.01em; line-height: 1; color: #161719; }
.badge .mark svg { width: 26px; height: 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
.badge .sub { font-size: 10.5px; letter-spacing: .12em; margin-top: 4px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer nav a { color: var(--text); text-decoration: none; font-family: var(--narrow); letter-spacing: .05em; text-transform: uppercase; }
.footer nav a:hover { color: var(--amber); }
.footer .credit { flex: 1 1 320px; margin: 0; line-height: 1.5; }
.visit-meter .meter-face { min-height: 40px; padding: 4px 9px; }
.visit-meter .seg svg { height: 26px; }

/* ---------------------------------------------------------------- 7-segment meters and lamps */
.meter { display: inline-flex; flex-direction: column; gap: 4px; }
.meter-label { font-family: var(--narrow); font-size: 13px; letter-spacing: .1em; color: var(--text2); text-transform: uppercase; }
.meter-face { display: inline-flex; align-items: center; justify-content: flex-end; padding: 6px 10px; min-height: 46px; }
.seg { font-family: var(--mono); font-weight: 700; color: var(--led); font-size: 26px; letter-spacing: .05em; text-shadow: 0 0 8px rgba(255, 43, 28, .55); }
.seg svg { display: block; height: 32px; width: auto; overflow: visible; }
.seg .on { fill: var(--led); filter: drop-shadow(0 0 3px rgba(255, 43, 28, .75)); }
.seg .off { fill: var(--led-off); }

.lamp {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, #5d4a2a, #2b2110 70%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7);
}
.lamp.green { background: radial-gradient(circle at 35% 35%, #d9ffcc, var(--green) 45%, #1d6b10); box-shadow: 0 0 10px rgba(82, 208, 58, .8), inset 0 0 0 1px rgba(0, 0, 0, .4); }
.lamp.amber { background: radial-gradient(circle at 35% 35%, #fff1c9, var(--amber) 45%, #8a5c0c); box-shadow: 0 0 10px rgba(242, 178, 60, .7), inset 0 0 0 1px rgba(0, 0, 0, .4); }
.lamp.blink { animation: blink 1.6s steps(1, end) infinite; }
@keyframes blink { 50% { background: radial-gradient(circle at 35% 35%, #5d4a2a, #2b2110 70%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7); } }

/* ---------------------------------------------------------------- the home page */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: center; padding: 34px 36px 36px; }
.kicker { font-family: var(--narrow); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin: 0 0 12px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .6); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: transparent; text-shadow: none; background: linear-gradient(#ffe98a, #ffa32a 38%, #ff5a2a 72%, #e8341c); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); }
.hero .lead { font-size: 19px; color: #d4d5d7; max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* the reel window: four reels that stop on X F M E */
.cabinet { padding: 18px; }
.reels { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 34px; }
.reel { --cell: 112px; position: relative; height: calc(var(--cell) * 3); overflow: hidden; border-radius: 2px;
        background: linear-gradient(90deg, #cfcabd, #fbf8ef 30%, #fffdf6 55%, #ddd8ca); box-shadow: inset 0 0 0 1px #000; }
.reel::after {          /* the curve of the drum: dark at the top and bottom */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .78), rgba(0, 0, 0, .2) 22%, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, .2) 78%, rgba(0, 0, 0, .78));
}
/* the stopping symbols are the band's first three cells; the spin starts at the band's foot and runs down to them,
   so the symbols travel down the window as on a real machine */
.band { display: flex; flex-direction: column; will-change: transform; transform: translateY(0); }
.cell { flex: none; height: var(--cell); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.cell svg { width: 66%; height: 66%; }
.cell img { width: 74%; height: auto; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.reels .line { position: absolute; left: 0; right: 0; top: 50%; height: 0; pointer-events: none; }
.reels .arrow { position: absolute; top: -13px; width: 0; height: 0; border-top: 13px solid transparent; border-bottom: 13px solid transparent; opacity: .35; transition: opacity .3s, filter .3s; }
.reels .arrow.l { left: 8px; border-left: 20px solid var(--led); }
.reels .arrow.r { right: 8px; border-right: 20px solid var(--led); }
.cabinet.won .arrow { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 43, 28, .9)); }
.cabinet-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.cabinet-foot .plate { font-size: 15px; min-height: 46px; padding: 6px 22px; }

@media (prefers-reduced-motion: no-preference) {
  .spin .band { animation: spin var(--t) cubic-bezier(.18, .7, .28, 1.02) both; }
  .spin .reel:nth-child(1) { --t: 1.5s; }
  .spin .reel:nth-child(2) { --t: 1.9s; }
  .spin .reel:nth-child(3) { --t: 2.3s; }
  .spin .reel:nth-child(4) { --t: 2.7s; }
  @keyframes spin { from { transform: translateY(calc(var(--cell) * (3 - var(--n)))); } }
}

/* the platform lamps */
.platforms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.platform { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.platform svg { width: 26px; height: 26px; flex: none; color: var(--text2); }
.platform b { display: block; font-family: var(--narrow); font-size: 17px; letter-spacing: .05em; font-weight: 600; }
.platform span.state { display: block; font-family: var(--narrow); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.platform.now span.state { color: var(--green); }
.platform .lamp { margin-left: auto; }

.section { margin-top: 22px; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature p { color: #c9cbcf; margin: 0; }
.feature .panel-title { font-size: 20px; }
.feature .panel-title svg { color: var(--amber); }

.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; align-items: center; }

/* ---------------------------------------------------------------- video players */
.player { position: relative; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; }
.player iframe, .player .facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade { display: block; background: #000 center / cover no-repeat; cursor: pointer; padding: 0; }
.facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55)); }
.facade .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 86px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(#f23a30, #a60e0e); border: 1px solid #ff7c6c; box-shadow: 0 0 24px rgba(255, 40, 30, .55);
}
.facade .play::before { content: ""; margin-left: 6px; border-left: 24px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.facade:hover .play { filter: brightness(1.12); }
.video { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.video + .video { margin-top: 22px; }
.video h2 { font-size: 26px; color: #fff; }
.video .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--narrow); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--text2); margin-bottom: 12px; }
.video .meta span { display: inline-flex; align-items: center; gap: 6px; }
.bezel { padding: 10px; }

/* ---------------------------------------------------------------- download */
.dl { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
.dl .edition { display: block; height: 52px; width: auto; margin: 4px 0 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 20px; }
.sha { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.sha code { flex: 1; min-width: 0; padding: 9px 12px; font-family: var(--mono); font-size: 13px; color: var(--text); overflow-wrap: anywhere; }
.sha .btn { min-height: 38px; padding: 0 14px; font-size: 15px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 2px 0 14px 44px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: var(--narrow); font-weight: 700; color: #fff;
  background: linear-gradient(#f23a30, #a60e0e); border: 1px solid #ff7c6c;
}
.note { display: flex; gap: 12px; padding: 14px 16px; margin-top: 14px; font-size: 15.5px; color: #d4d5d7; }
.note svg { width: 22px; height: 22px; flex: none; color: var(--amber); margin-top: 2px; }
.soon { text-align: left; }
.soon .head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.soon .head svg { width: 30px; height: 30px; color: var(--text2); }
.soon h3 { font-size: 22px; margin: 0; }
.soon .state { font-family: var(--narrow); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.soon p { color: #c9cbcf; margin: 0; }
.soon .head .lamp { margin-left: auto; }

/* ---------------------------------------------------------------- about */
.prose { max-width: 46em; }
.prose p, .prose li { color: #d4d5d7; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--red); }
.editions .edition-logo { display: block; height: 44px; width: auto; margin: 2px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 3px; font-family: var(--narrow); font-size: 15px; letter-spacing: .04em; background: #101114; border: 1px solid #34373c; }
.tribute { text-align: center; padding: 34px 28px; }
.tribute .plate { display: inline-flex; font-size: 17px; padding: 10px 36px; margin-bottom: 18px; }
.tribute p { max-width: 42em; margin: 0 auto 1em; color: #d4d5d7; }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); color: #fff; margin-bottom: 8px; }
.page-head p { color: var(--text2); font-size: 18px; margin: 0; max-width: 44em; }

/* ---------------------------------------------------------------- tutorial */
.tut-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.tut-main > * + * { margin-top: 22px; }
.tut-nav { position: sticky; top: 104px; padding: 18px 14px 14px; }
.tut-nav-head { margin: 0 0 10px 6px; font-family: var(--narrow); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); cursor: pointer; list-style: none; }
.tut-nav-head::-webkit-details-marker { display: none; }
.tut-nav-head::after { content: ""; display: inline-block; margin-left: 10px; vertical-align: middle; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--amber); }
.tut-nav-box:not([open]) .tut-nav-head { margin-bottom: 0; }
.tut-nav-box:not([open]) .tut-nav-head::after { transform: rotate(-90deg); }
.tut-nav-all { margin: 10px 8px 0; font-size: 14.5px; }
.tut-nav ol { list-style: none; margin: 0; padding: 0; }
.tut-nav li a, .tut-nav li span { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 3px; text-decoration: none; color: var(--text); font-family: var(--narrow); font-size: 16px; line-height: 1.25; }
.tut-nav li a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.tut-nav li b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; background: #101114; border: 1px solid #3a3d42; color: var(--text2); }
.tut-nav li [aria-current="page"] { background: linear-gradient(#e82a26, #a41010); color: #fff; box-shadow: inset 0 0 0 1px #ff7262; }
.tut-nav li [aria-current="page"] b { background: rgba(0, 0, 0, .25); border-color: rgba(255, 255, 255, .5); color: #fff; }
.tut-nav .soon-item { color: var(--text3); }
.tut-nav .soon-item em { font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-left: auto; }

.mfme-box { border-left: 4px solid var(--amber); }
.mfme-box .panel-title { color: var(--amber); }
.same-changed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.same-changed li { position: relative; padding-left: 92px; color: #d4d5d7; }
.same-changed li::before { position: absolute; left: 0; top: 2px; width: 78px; text-align: center; font-family: var(--narrow); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; padding: 1px 0; border-radius: 3px; }
.same-changed li.same::before { content: "SAME"; color: #b9f2a8; background: #12300c; border: 1px solid #2f6b22; }
.same-changed li.changed::before { content: "NEW IN XFME"; color: #ffe2a6; background: #3a2706; border: 1px solid #8c6a40; font-size: 11px; }

.shot { margin: 0; padding: 8px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 2px; }
.shot figcaption { padding: 8px 4px 2px; font-size: 14.5px; color: var(--text2); }
.shot.narrow { max-width: 420px; }
.shot.inline-right { float: right; width: 190px; margin: 0 0 14px 22px; }
.annotated { position: relative; }
.pin {
  position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: var(--narrow); font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(#f23a30, #a60e0e); border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 12px rgba(255, 40, 30, .7);
  text-decoration: none;
}
.legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; counter-reset: pin; }
.legend li { counter-increment: pin; position: relative; padding-left: 40px; color: #d4d5d7; }
.legend li::before {
  content: counter(pin); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: var(--narrow); font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(#f23a30, #a60e0e); border: 1px solid #ff7c6c;
}
.legend b { color: #fff; font-family: var(--narrow); letter-spacing: .03em; }

kbd {
  display: inline-block; min-width: 1.6em; padding: 0 .45em; font-family: var(--narrow); font-size: .88em; line-height: 1.55; text-align: center;
  color: #fff; background: linear-gradient(#3b3e44, #1a1c20); border: 1px solid #55595f; border-bottom-width: 2px; border-radius: 4px;
}
code { font-family: var(--mono); font-size: .9em; color: #f3d9a4; background: rgba(0, 0, 0, .35); padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; }
.sha code, .steps code { background: none; padding: 0; color: inherit; }

.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #2e3136; }
.compare thead th { font-family: var(--narrow); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--text2); background: #101114; border-bottom: 1px solid #44484f; }
.compare tbody th { font-family: var(--narrow); font-weight: 600; color: #fff; width: 20%; }
.compare td { color: #d4d5d7; }
.compare td.xfme { color: #fff; }
.table-scroll { overflow-x: auto; }

.tut-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tut-card { display: block; text-decoration: none; color: var(--text); padding: 22px 22px 20px; transition: box-shadow .15s; }
.tut-card:hover { color: var(--text); box-shadow: inset 1px 1px 0 var(--hi), inset -1px -1px 0 var(--edge), 0 0 0 1px var(--brass), 0 4px 18px rgba(0, 0, 0, .5); }
.tut-card h3 { font-size: 21px; margin: 10px 0 6px; color: #fff; }
.tut-card p { margin: 0; color: #c9cbcf; font-size: 15.5px; }
.tut-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; font-family: var(--narrow); font-weight: 700; color: #fff; background: linear-gradient(#f23a30, #a60e0e); border: 1px solid #ff7c6c; }
.tut-card.is-soon { opacity: .7; }
.tut-card.is-soon .tut-num { background: #2a2c31; border-color: #44484f; }
.tut-card .state { display: inline-block; margin-top: 10px; font-family: var(--narrow); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }

/* ---------------------------------------------------------------- systems */
.sys-meters { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 0 0 22px; }
.sys-jump .chips { margin-top: 0; }
a.chip { color: var(--text); text-decoration: none; }
a.chip:hover { color: #fff; border-color: #6a6e75; }
a.chip-video { border-color: #8c3a30; }
.sys-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 15px; color: var(--text2); }
.sys-key > span { display: inline-flex; align-items: center; gap: 8px; }
.makers { columns: 3 340px; column-gap: 22px; }
.maker { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 22px; scroll-margin-top: 110px; }
#video, #displays { scroll-margin-top: 110px; }
.maker .panel-title { margin-bottom: 6px; }
.maker .count { margin-left: auto; min-width: 30px; padding: 1px 8px; text-align: center; font-size: 15px; letter-spacing: .04em; color: var(--text2); background: #101114; border: 1px solid #34373c; border-radius: 3px; }
.sys-list { list-style: none; margin: 0; padding: 0; }
.sys-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 9px 0; border-top: 1px solid #2e3136; }
.sys-list li:first-child { border-top: 0; }
.sys-list li.addon { margin-left: 18px; padding-top: 6px; border-top-style: dashed; }
.sys-list li.addon .sys-name::before { content: "+ "; color: var(--text3); }
.sys-plus { font-family: var(--narrow); font-size: 18px; color: var(--text3); }
.sys-name { font-family: var(--narrow); font-weight: 600; font-size: 19px; letter-spacing: .02em; color: #fff; }
.sys-maker { flex-basis: 100%; font-family: var(--narrow); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.sys-gam { margin-left: auto; font-size: 13px; color: var(--text3); background: none; padding: 0; }
.sys-key .sys-gam { margin-left: 0; color: var(--text2); }
.sys-note { flex-basis: 100%; font-size: 15px; line-height: 1.45; color: var(--text2); }
.tag { display: inline-block; padding: 1px 7px; border-radius: 3px; font-family: var(--narrow); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.tag.video { color: #ffd2c8; background: #3a0d09; border: 1px solid #9a3a2c; }
.tag.new { color: #ffe2a6; background: #3a2706; border: 1px solid #8c6a40; }
.tag.soon { color: #c9d6e6; background: #141c26; border: 1px solid #4a5e78; }
.compare th .tag { margin-left: 6px; }
.compare.two tbody th { width: 38%; }

/* ---------------------------------------------------------------- news */
.news-list { display: grid; gap: 18px; }
.news-card { display: block; text-decoration: none; color: var(--text); padding: 22px 24px 20px; transition: box-shadow .15s; }
.news-card:hover { color: var(--text); box-shadow: inset 1px 1px 0 var(--hi), inset -1px -1px 0 var(--edge), 0 0 0 1px var(--brass), 0 4px 18px rgba(0, 0, 0, .5); }
.news-card h2 { font-size: 26px; color: #fff; margin: 6px 0 8px; }
.news-card p { margin: 0 0 10px; color: #c9cbcf; max-width: 52em; }
.news-card .more { font-family: var(--narrow); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.news-card time, .news-latest time, .post-meta { font-family: var(--narrow); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.news-latest-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.news-latest h3 { font-size: 24px; margin: 4px 0 6px; }
.news-latest h3 a { color: #fff; text-decoration: none; }
.news-latest h3 a:hover { color: var(--amber); }
.news-latest p { margin: 0; color: #c9cbcf; max-width: 50em; }
.news-latest .actions { margin-top: 0; }
.feed-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.feed-link svg { width: 16px; height: 16px; }
.post { max-width: 900px; }
.post .prose { max-width: none; }
.post .prose h2 { font-size: 24px; color: #fff; margin: 1.4em 0 .5em; }
.post .prose h2:first-child { margin-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 6px 0 4px; }
.gallery figure { margin: 0; padding: 6px; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 2px; }
.gallery figcaption { padding: 6px 2px 0; font-size: 13.5px; line-height: 1.35; color: var(--text2); }
.sign-off { color: #fff; font-family: var(--narrow); font-size: 19px; letter-spacing: .03em; }

.prevnext { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.prevnext .btn { white-space: normal; text-align: center; }
.prose h3 { font-size: 21px; color: #fff; margin: 1.3em 0 .45em; }
.prose h3:first-child { margin-top: 0; }
.clear { clear: both; }

/* ---------------------------------------------------------------- narrower screens */
@media (max-width: 1100px) {
  .platforms { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 26px 22px 26px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video, .dl, .split { grid-template-columns: 1fr; }
  .tut-layout { grid-template-columns: 1fr; }
  .tut-nav { position: static; }
  .tut-nav ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; }
  .legend { grid-template-columns: 1fr; }
  .logo-frame img { height: 40px; }
  .nav .nav-home { display: none; }            /* the logo is the way home here */
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 6px; }
  .nav a { min-width: 0; padding: 0 10px; font-size: 15px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .masthead { position: static; }
  .masthead .wrap { flex-direction: column; gap: 10px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .logo-frame img { height: 38px; }
  .nav { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .nav a { min-width: 0; padding: 0 2px; font-size: 13px; letter-spacing: .02em; height: 42px; }
  .tut-nav ol { grid-template-columns: 1fr; }
  .shot.inline-right { float: none; width: auto; max-width: 200px; margin: 0 auto 16px; }
  .pin { width: 20px; height: 20px; font-size: 11.5px; border-width: 1.5px; }
  .same-changed li { padding-left: 0; padding-top: 24px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: 12px 0; border-bottom: 1px solid #2e3136; }
  .compare th, .compare td { border: 0; padding: 3px 0; }
  .compare tbody th { width: auto; font-size: 17px; }
  .compare td[data-label]::before { content: attr(data-label); display: block; font-family: var(--narrow); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); }
  .compare td:empty { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .sys-meters { display: grid; grid-template-columns: repeat(2, max-content); }
  .platforms { grid-template-columns: 1fr 1fr; }
  .panel { padding: 20px 18px 20px; }
  .reels { padding: 10px 26px; gap: 5px; }
  .reel { --cell: 78px; }
  .reels .arrow { top: -10px; border-top-width: 10px; border-bottom-width: 10px; }
  .reels .arrow.l { left: 5px; border-left-width: 15px; }
  .reels .arrow.r { right: 5px; border-right-width: 15px; }
  .cabinet { padding: 14px; }
  .hero .lead { font-size: 17px; }
  .actions .btn { flex: 1 1 100%; }
  .video h2 { font-size: 22px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .reel { --cell: 64px; }
  .reels { padding: 8px 22px; }
  .platforms { grid-template-columns: 1fr; }
  .nav a { font-size: 11.5px; letter-spacing: 0; }
}
