/* Pulsedrop website. The page is a desktop of Winamp windows: gold-on-slate title bars, bevelled buttons,
   an LCD for anything the app would show on its display. Verdana throughout, as in 2001. */
@font-face {
  font-family: 'Silkscreen';
  src: url('fonts/silkscreen-latin-400-normal.woff2') format('woff2');
  font-display: swap;
}
:root {
  --desk: #14141d;
  --body: #29293b;
  --hi: #5c5c7c;
  --lo: #0b0b11;
  --text: #dedeea;
  --dim: #a3a3bd;
  --gold: #dcc67d;
  --lcd: #00e400;
  --ui: Verdana, Tahoma, 'DejaVu Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --pixel: 'Silkscreen', 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { background: var(--desk); color: var(--text); font: 16px/1.65 var(--ui); -webkit-text-size-adjust: 100%; }
body { margin: 0; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--lcd); outline-offset: 2px; }
img, video { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* top bar */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding: 14px 0; font-size: 13px; }
.top .name { display: flex; align-items: center; gap: 9px; margin-right: auto; font: 15px var(--pixel); letter-spacing: 1px; color: var(--gold); text-decoration: none; }
.top .name img { width: 24px; height: 24px; }
.top a { text-decoration: none; }
.top a:hover { text-decoration: underline; }

/* a Winamp window */
.win { background: var(--body); border: 1px solid var(--lo); box-shadow: inset 1px 1px 0 var(--hi), inset -1px -1px 0 #17171f; margin: 0 0 28px; }
.bar { display: flex; align-items: center; gap: 10px; height: 20px; margin: 3px 3px 0; padding: 0 6px; }
.bar::before, .bar::after { content: ''; flex: 1; height: 8px; background: repeating-linear-gradient(to bottom, var(--gold) 0 1px, transparent 1px 3px); opacity: 0.75; }
.bar::before { flex: 0 0 18px; }
.bar h2, .bar p { margin: 0; font: 11px var(--pixel); letter-spacing: 1.5px; color: var(--gold); white-space: nowrap; text-transform: uppercase; }
.pane { padding: 22px 26px 26px; }
.pane > :first-child { margin-top: 0; }
.pane > :last-child { margin-bottom: 0; }
.shot { margin: 3px; border: 1px solid var(--lo); background: #000; }
.shot img, .shot video { width: 100%; }

/* hero */
.hero .pane { padding-top: 28px; }
.hero .pane + .shot { margin-top: 0; }
h1 { font: bold clamp(30px, 5.2vw, 54px)/1.08 var(--ui); letter-spacing: -0.035em; margin: 0 0 16px; max-width: 17ch; }
.lede { font-size: 18px; max-width: 62ch; margin: 0 0 24px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn { display: inline-block; padding: 10px 18px; font: bold 14px var(--ui); color: var(--text); text-decoration: none; background: #3a3a52; border: 1px solid var(--lo); box-shadow: inset 1px 1px 0 #7a7a9c, inset -1px -1px 0 #1c1c28; }
.btn:hover { background: #45455f; color: #fff; }
.btn:active { box-shadow: inset 1px 1px 0 #1c1c28, inset -1px -1px 0 #7a7a9c; }
.btn.go { background: #0c2a0c; color: var(--lcd); box-shadow: inset 1px 1px 0 #1f6a1f, inset -1px -1px 0 #041004; }
.btn.go:hover { background: #103a10; color: #7dff7d; }
.cta small { color: var(--dim); font-size: 13px; }

/* the display: what the app itself would print */
.lcd { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: #0c2a0c; border: 1px solid var(--lo); margin: 26px 0 0; }
.lcd div { background: #000; padding: 12px 14px 13px; }
.lcd b { display: block; font: 22px/1.1 var(--pixel); color: var(--lcd); font-weight: normal; }
.lcd span { display: block; font-size: 13px; line-height: 1.45; color: var(--dim); margin-top: 4px; }

/* text */
h3 { font: bold 17px/1.35 var(--ui); margin: 26px 0 6px; }
p, ul, ol, table, details { margin: 0 0 14px; }
.pane p, .pane li { max-width: 70ch; }
ul, ol { padding-left: 20px; }
li { margin-bottom: 6px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cols .shot { margin: 0; }
.cols > figure { position: sticky; top: 20px; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--dim); margin-top: 8px; }
code, kbd { font: 13px ui-monospace, Menlo, Consolas, monospace; background: #1b1b27; padding: 1px 5px; border: 1px solid #3a3a52; }
.meters { font: 15px var(--pixel); color: var(--lcd); background: #000; border: 1px solid var(--lo); padding: 8px 12px; display: inline-block; letter-spacing: 1px; }

table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 9px 12px; border: 1px solid #3d3d57; }
thead th, tbody th { background: #20202e; font-weight: bold; }
.scroll { overflow-x: auto; }

details { border: 1px solid #3d3d57; background: #20202e; }
summary { cursor: pointer; padding: 10px 14px; font-weight: bold; }
details > :not(summary) { margin-left: 14px; margin-right: 14px; }
details ol, details ul { padding-left: 34px; }

footer { color: var(--dim); font-size: 13px; padding: 4px 0 48px; }
footer p { max-width: 80ch; }

@media (max-width: 760px) {
  .cols { grid-template-columns: 1fr; }
  .pane { padding: 18px 16px 20px; }
  .lede { font-size: 16px; }
  .bar h2, .bar p { letter-spacing: 1px; }
}
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }

/* teaser for the "how it listens" page */
.howlink { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: center; margin: 3px; padding: 20px 22px; background: #0d0d14; border: 1px solid var(--lo); text-decoration: none; color: var(--text); }
.howlink:hover { background: #12121c; }
.howlink-text strong { display: block; font-size: 24px; line-height: 1.25; font-weight: bold; }
.howlink-text span { display: block; margin: 10px 0 14px; color: var(--dim); font-size: 15px; line-height: 1.6; }
.howlink-text em { font: 15px var(--pixel); font-style: normal; color: var(--lcd); }
.howlink-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.howlink-shots img { width: 100%; height: 130px; object-fit: cover; object-position: left top; border: 1px solid #20202e; background: #000; }
.howlink-shots img:first-child { grid-row: span 2; height: 268px; }
@media (max-width: 760px) { .howlink { grid-template-columns: 1fr; } }
