/* Jobber landing: material console. Light from the top left; bone and graphite; amber and green LEDs only. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */

:root {
  --bone: #ECE8E1;
  --raised: #F0EDE7;
  --well: #E6E2DA;
  --plate: #D6D2CA;
  --line: rgba(58, 48, 34, .15);
  --line-2: rgba(58, 48, 34, .24);
  --rule: #D8D3CA;
  --ink: #151514;
  --ink-2: #5B5751;
  --ink-3: #66625B;
  --ink-4: #9A958C;
  --hi: rgba(255, 255, 255, .75);
  --lo: rgba(70, 58, 40, .07);
  --dot-off: #D4CFC6;
  --led-off: #B3AEA5;
  --tick: rgba(40, 34, 26, .26);
  --slot: #3A3936;
  --cap-a: #F4F1EC;
  --cap-b: #DCD8D0;
  --btn: #252524;
  --btn-ink: #F3F0EA;
  --btn-hi: rgba(255, 255, 255, .1);
  --mute-on: #3A3A38;
  --device: #2E2E2C;
  --screen: #252524;
  --screen-line: rgba(236, 232, 224, .13);
  --screen-ink: #ECE8E0;
  --screen-ink-2: #A9A59D;
  --key-light: #E9E4DC;
  --key-light-ink: #1A1A19;
  --amber: #FFB000;
  --green: #3DDC84;
  --focus: #151514;
  --sh-1: 0 1px 1px rgba(52, 42, 26, .07), 0 3px 6px -3px rgba(52, 42, 26, .14);
  --sh-2: 0 1px 2px rgba(52, 42, 26, .06), 0 22px 44px -26px rgba(52, 42, 26, .32);
  --sh-3: 0 2px 4px rgba(20, 18, 14, .14), 0 34px 64px -30px rgba(20, 18, 14, .55);
  --grain: .026;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bone: #1B1B1A;
  --raised: #242423;
  --well: #191918;
  --plate: #2F2F2D;
  --line: rgba(236, 232, 224, .09);
  --line-2: rgba(236, 232, 224, .16);
  --rule: #31312F;
  --ink: #ECE8E0;
  --ink-2: #B5B0A6;
  --ink-3: #A6A196;
  --ink-4: #6F6B64;
  --hi: rgba(255, 255, 255, .055);
  --lo: rgba(0, 0, 0, .3);
  --dot-off: #3A3936;
  --led-off: #52504B;
  --tick: rgba(236, 232, 224, .2);
  --slot: #0E0E0D;
  --cap-a: #4C4B48;
  --cap-b: #3B3A38;
  --btn: #ECE8E0;
  --btn-ink: #1B1B1A;
  --btn-hi: rgba(255, 255, 255, .6);
  --mute-on: #E4DFD6;
  --device: #2A2A28;
  --screen: #1E1E1D;
  --key-light: #E9E4DC;
  --focus: #ECE8E0;
  --sh-1: 0 1px 1px rgba(0, 0, 0, .4), 0 3px 6px -3px rgba(0, 0, 0, .55);
  --sh-2: 0 1px 2px rgba(0, 0, 0, .45), 0 22px 44px -26px rgba(0, 0, 0, .9);
  --sh-3: 0 2px 4px rgba(0, 0, 0, .5), 0 34px 64px -30px rgba(0, 0, 0, .95);
  --grain: .038;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bone: #1B1B1A;
    --raised: #242423;
    --well: #191918;
    --plate: #2F2F2D;
    --line: rgba(236, 232, 224, .09);
    --line-2: rgba(236, 232, 224, .16);
    --rule: #31312F;
    --ink: #ECE8E0;
    --ink-2: #B5B0A6;
    --ink-3: #A6A196;
    --ink-4: #6F6B64;
    --hi: rgba(255, 255, 255, .055);
    --lo: rgba(0, 0, 0, .3);
    --dot-off: #3A3936;
    --led-off: #52504B;
    --tick: rgba(236, 232, 224, .2);
    --slot: #0E0E0D;
    --cap-a: #4C4B48;
    --cap-b: #3B3A38;
    --btn: #ECE8E0;
    --btn-ink: #1B1B1A;
    --btn-hi: rgba(255, 255, 255, .6);
    --mute-on: #E4DFD6;
    --device: #2A2A28;
    --screen: #1E1E1D;
    --key-light: #E9E4DC;
    --focus: #ECE8E0;
    --sh-1: 0 1px 1px rgba(0, 0, 0, .4), 0 3px 6px -3px rgba(0, 0, 0, .55);
    --sh-2: 0 1px 2px rgba(0, 0, 0, .45), 0 22px 44px -26px rgba(0, 0, 0, .9);
    --sh-3: 0 2px 4px rgba(0, 0, 0, .5), 0 34px 64px -30px rgba(0, 0, 0, .95);
    --grain: .038;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* fine monochrome grain, drawn as SVG so it rasterises at the device pixel ratio
   (no upscaled bitmap); part of the material, so it scrolls with the page; never animated */
body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: var(--grain);
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='256' height='256'><filter id='g' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='7' stitchTiles='stitch'/><feColorMatrix values='2.4 0 0 0 -.7  2.4 0 0 0 -.7  2.4 0 0 0 -.7  0 0 0 0 1'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>") 0 0 / 256px 256px repeat;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 60;
  padding: 10px 14px; border-radius: 5px;
  background: var(--btn); color: var(--btn-ink); font-size: 15px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3.4vw, 49px);
}

section[id] { scroll-margin-top: 24px; }

/* ---------- shared bits ---------- */

.label {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.led {
  --c: var(--led-off);
  display: inline-block;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 -1px 1px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .05);
}
.led--amber { --c: var(--amber); }
.led--green { --c: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: var(--btn);
  color: var(--btn-ink);
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 var(--btn-hi), 0 1px 1px rgba(0, 0, 0, .22), 0 6px 14px -8px rgba(0, 0, 0, .45);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); box-shadow: inset 0 1px 0 var(--btn-hi), 0 0 0 rgba(0, 0, 0, .2), 0 2px 6px -4px rgba(0, 0, 0, .45); }
.btn--small {
  height: 50px;
  padding: 0 30px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.btn--large {
  height: 62px;
  padding: 0 38px;
  font-size: 21px;
  font-weight: 450;
  letter-spacing: -.01em;
}

.textlink {
  font-size: 17px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--line-2);
}
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- top bar ---------- */

.topbar__in {
  display: flex;
  align-items: center;
  gap: 44px;
  min-height: 101px;
}
.wordmark {
  margin-right: auto;
  font-size: 38px;
  font-weight: 640;
  letter-spacing: -.045em;
  line-height: 1;
  text-decoration: none;
}
.nav { display: flex; gap: 44px; }
.nav a {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--line-2); }

/* hardware slide switch */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 2px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.switch__track {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 4px;
  background: var(--well);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18), inset 0 0 0 1px var(--line), 0 1px 0 var(--hi);
}
.switch__cap {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cap-a), var(--cap-b));
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25), inset 0 1px 0 var(--hi);
  transition: transform .16s cubic-bezier(.3, .7, .2, 1);
}
.switch__cap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: var(--tick);
}
.switch[aria-checked="true"] .switch__cap { transform: translateX(15px); }

/* ---------- hero ---------- */

.hero { padding: 52px 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(300px, 27fr) minmax(0, 73fr);
  column-gap: clamp(16px, 1.4vw, 24px);
  align-items: start;
}
.hero__copy { padding-top: 40px; }
.hero h1 {
  margin-top: 30px;
  font-size: clamp(40px, 3.9vw, 57px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.048em;
}
.hero__lede {
  margin-top: 26px;
  max-width: 18.8em;
  font-size: 18.5px;
  line-height: 1.52;
  color: var(--ink-2);
}
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 34px; }
.console__hint {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-2);
}
.console__sample {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.nw { white-space: nowrap; }

/* ---------- console ---------- */

.console {
  container-type: inline-size;
  container-name: console;
  margin-right: -14px;
  padding: 14px;
  border-radius: 16px;
  background: var(--bone);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--hi), var(--sh-2);
  outline-offset: 4px;
}
.deck {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 2.5fr) minmax(0, 4.05fr);
  border-radius: 9px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--hi), 0 1px 0 var(--hi);
  overflow: hidden;
}

.strips { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }

.strip {
  /* vertical rhythm, measured off the reference at 1440 px */
  --pt: 64px;      /* deck top to LED */
  --mm: 79px;      /* LED to meter */
  --pitch: 10.5px; /* meter dot pitch */
  --mt: 88px;      /* meter to mute */
  --lvl: 13;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-top: var(--pt);
  box-shadow: inset -1px 0 0 var(--line), inset 1px 0 0 var(--hi);
}
.strip:nth-child(1) { --lvl: 14; }
.strip:nth-child(2) { --lvl: 12; }
.strip:nth-child(3) { --lvl: 11; }
.strip:nth-child(4) { --lvl: 13; }
.strip:nth-child(5) { --lvl: 13; }
.strip:nth-child(6) { --lvl: 13; }
.strip:nth-child(7) { --lvl: 10; }
.strip:nth-child(8) { --lvl: 14; }

.strip .led { --c: var(--amber); transition: background-color .2s ease; }
.strip.is-muted .led { --c: var(--led-off); }

.strip .led + .meter { margin-top: var(--mm); }

.meter {
  position: relative;
  width: 12px;
  height: calc(14 * var(--pitch));
  background: radial-gradient(circle at center, var(--dot-off) 0 3px, transparent 3.6px) center bottom / 12px var(--pitch) repeat-y;
}
.meter::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--lvl) * var(--pitch));
  background: radial-gradient(circle at center, var(--amber) 0 3px, transparent 3.6px) center bottom / 12px var(--pitch) repeat-y;
  transition: opacity .25s ease;
}
/* the breathing tip: the top two lit dots dim and return, slowly */
.meter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc((var(--lvl) - 2) * var(--pitch));
  height: calc(2 * var(--pitch));
  background: radial-gradient(circle at center, var(--raised) 0 3.6px, transparent 4px) center bottom / 12px var(--pitch) repeat-y;
  opacity: 0;
  animation: breathe 5.2s ease-in-out infinite;
}
.strip:nth-child(2) .meter::after { animation-delay: -1.3s; animation-duration: 6.1s; }
.strip:nth-child(3) .meter::after { animation-delay: -2.2s; }
.strip:nth-child(4) .meter::after { animation-delay: -3.7s; animation-duration: 5.7s; }
.strip:nth-child(5) .meter::after { animation-delay: -.6s; animation-duration: 6.4s; }
.strip:nth-child(6) .meter::after { animation-delay: -2.9s; animation-duration: 5.4s; }
.strip:nth-child(7) .meter::after { animation-delay: -4.1s; }
.strip:nth-child(8) .meter::after { animation-delay: -1.8s; animation-duration: 5.9s; }
@keyframes breathe { 0%, 100% { opacity: 0; } 50% { opacity: .62; } }

.strip.is-muted .meter::before { opacity: 0; }
.strip.is-muted .meter::after { animation: none; opacity: 0; }

/* the two short slots: LED to meter, meter to mute */
.strip::before,
.strip::after {
  content: "";
  position: absolute;
  left: calc(50% - .5px);
  width: 1px;
  background: var(--tick);
}
.strip::before { top: calc(var(--pt) + 9px + 12px); height: calc(var(--mm) - 24px); }
.strip::after { top: calc(var(--pt) + 9px + var(--mm) + 14 * var(--pitch) + 16px); height: calc(var(--mt) - 34px); }

.mute {
  margin-top: var(--mt);
  min-width: 44px;
  height: 32px;
  padding: 0 6px;
  border: 0;
  border-radius: 4px;
  background: var(--raised);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 0 0 3px var(--raised), inset 0 0 0 4px var(--line), 0 1px 0 var(--hi), 0 2px 3px -1px rgba(0, 0, 0, .12);
  transition: background-color .12s ease, color .12s ease, transform .08s ease;
}
.mute:active { transform: translateY(1px); }
.mute[aria-pressed="true"] {
  background: var(--mute-on);
  color: var(--btn-ink);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5), inset 0 2px 3px rgba(0, 0, 0, .35), 0 1px 0 var(--hi);
}

.strip__name {
  width: 100%;
  margin-top: 30px;
  padding: 16px 2px 46px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: clamp(8.5px, 1.03cqw, 10px);
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
}

/* faders */
.faders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 66px 4px 0;
  box-shadow: inset 1px 0 0 var(--line-2), inset 2px 0 0 var(--hi), inset -1px 0 0 var(--line);
}
.fader {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.fader__track {
  --pos: .5;
  --cap-h: 46px;
  position: relative;
  width: 100%;
  height: 363px;
  cursor: grab;
  touch-action: none;
  border-radius: 4px;
}
.fader__track:active { cursor: grabbing; }
.fader__track::before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 2px;
  bottom: 2px;
  width: 2px;
  border-radius: 1px;
  background: var(--slot);
  box-shadow: 1px 0 0 var(--hi);
}
.fader__track::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 0;
  left: calc(50% - 21px);
  width: 42px;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 29px) left top / 7px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 29px) right top / 7px 100% no-repeat;
}
.fader__cap {
  position: absolute;
  z-index: 1;
  left: calc(50% - 13px);
  top: calc((1 - var(--pos)) * (100% - var(--cap-h)));
  width: 26px;
  height: var(--cap-h);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--cap-a) 0%, var(--cap-b) 100%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--hi), 0 1px 1px rgba(0, 0, 0, .18), 0 6px 9px -4px rgba(0, 0, 0, .3);
  transition: top .2s cubic-bezier(.25, .8, .25, 1);
}
.fader__cap::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: calc(50% - 1px);
  height: 2px;
  background: var(--hi);
  box-shadow: 0 -1px 0 var(--tick);
}
.fader__track.is-dragging .fader__cap { transition: none; }
.fader__read {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
.fader__name {
  margin-top: auto;
  padding: 12px 0 46px;
  font-family: var(--mono);
  font-size: clamp(8px, .88cqw, 9.5px);
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}

/* master tray */
.tray {
  display: flex;
  flex-direction: column;
  margin: 10px 10px 10px 12px;
  border-radius: 9px;
  background: var(--well);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 2px 4px var(--lo), 0 1px 0 var(--hi);
  overflow: hidden;
}
.tray__plate {
  display: flex;
  justify-content: space-between;
  padding: 11px 14px 10px;
  background: var(--plate);
  box-shadow: inset 0 -1px 0 var(--line), inset 0 1px 0 var(--hi);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.tray__list {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 6px 5px;
}
.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 7px;
  row-gap: 4px;
  align-content: center;
  min-height: 74px;
  padding: 10px 10px 10px 11px;
  border-radius: 7px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--hi), var(--sh-1);
}
.card__role {
  grid-column: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12.3px;
  font-weight: 520;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.card__co {
  grid-column: 1;
  grid-row: 2;
  font-size: 12px;
  color: var(--ink-3);
}
.card__dot {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 -1px 1px rgba(0, 0, 0, .12);
}
.card__score {
  grid-column: 3;
  grid-row: 1 / 3;
  min-width: 2ch;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.card--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-3);
}

/* console: tablet, strips across the top */
@container console (max-width: 760px) {
  .deck { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .strips { grid-column: 1 / -1; box-shadow: inset 0 -1px 0 var(--line-2); }
  .strip { --pt: 30px; --mm: 69px; --pitch: 9px; }
  .strip::after { display: none; }
  .mute { margin-top: 26px; }
  .faders { padding-top: 30px; box-shadow: inset -1px 0 0 var(--line); }
  .fader__track { height: 300px; }
}

/* console: phone, four strips a row, faders, tray below */
@container console (max-width: 560px) {
  .deck { grid-template-columns: minmax(0, 1fr); }
  .strips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip { --pt: 22px; --mm: 63px; --pitch: 8px; box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line), inset 1px 0 0 var(--hi); }
  .mute { margin-top: 20px; min-width: 52px; height: 34px; }
  .strip__name { margin-top: 16px; padding: 10px 2px 14px; }
  .faders { padding: 26px 10px 0; box-shadow: inset 0 -1px 0 var(--line-2); }
  .fader__track { height: 220px; }
  .fader__name { padding-bottom: 16px; }
  .tray { margin: 12px; }
  .card { min-height: 62px; }
}

/* ---------- morning digest device ---------- */

.digest { padding: 96px 0 0; }
.pager {
  position: relative;
  width: min(764px, 100%);
  margin-inline: auto;
  padding: 55px 66px 40px 92px;
  border-radius: 26px;
  background: var(--device);
  color: var(--screen-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -2px 0 rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(0, 0, 0, .35), var(--sh-3);
}
.pager__grille {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at center, #10100F 0 2.1px, transparent 2.6px) center / 9px 9px;
  -webkit-mask-image: radial-gradient(circle at center, #000 0 60%, transparent 62%);
  mask-image: radial-gradient(circle at center, #000 0 60%, transparent 62%);
  opacity: .9;
}
.pager__screen {
  padding: 30px 34px 34px;
  border-radius: 13px;
  background: var(--screen);
  box-shadow: inset 0 0 0 1px var(--screen-line), inset 0 2px 6px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .06);
}
.pager__head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--screen-line);
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--screen-ink-2);
}
.pager__msg {
  min-height: calc(3 * 1.55em);
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--screen-line);
  font-family: var(--mono);
  font-size: 29px;
  line-height: 1.55;
  letter-spacing: -.005em;
  color: var(--screen-ink);
  box-sizing: content-box;
}
.pager__msg.is-long { font-size: 23px; }
.pager__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.pager__actions.is-chips { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pager__actions.is-single { grid-template-columns: 1fr; }
.key {
  height: 70px;
  border: 0;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 450;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, background-color .12s ease;
}
.key:active { transform: translateY(1px); }
.key--light {
  background: var(--key-light);
  color: var(--key-light-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .4);
}
.key--ghost {
  background: transparent;
  color: var(--screen-ink);
  box-shadow: inset 0 0 0 1px rgba(236, 232, 224, .3), 0 1px 0 rgba(255, 255, 255, .04);
}
.key--ghost:hover { box-shadow: inset 0 0 0 1px rgba(236, 232, 224, .5); }
.key--chip { height: 56px; font-size: 17px; }
.pager .key:focus-visible { outline-color: var(--screen-ink); }
.digest__caption {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-3);
}

/* ---------- guardrails ---------- */

.guard { padding: 96px 0 0; }
.guard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}
.patch {
  position: relative;
  min-height: 258px;
  padding: 50px 74px 52px;
  border-radius: 7px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--hi), var(--sh-1);
}
/* four screws: two on the patch, two on a spacer inset to the screw line */
.screw { position: absolute; inset: 24px; pointer-events: none; }
.screw::before,
.screw::after,
.patch::before,
.patch::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8E8980;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 -1px 1px rgba(0, 0, 0, .28);
}
.screw::before { left: 0; top: 0; }
.screw::after { right: 0; bottom: 0; }
.patch::before { right: 24px; top: 24px; }
.patch::after { left: 24px; bottom: 24px; }
.patch__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.patch__head .led { width: 13px; height: 13px; }
.patch__tag { margin-left: auto; font-size: 10.5px; letter-spacing: .14em; color: var(--ink-3); }
.patch__fact {
  margin-top: 26px;
  max-width: 13em;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.19;
  letter-spacing: -.025em;
}
.patch__note {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.guard__audit {
  max-width: 62em;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.guard__audit-label {
  margin-right: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- how it works ---------- */

.how { padding: 88px 0 0; }
.rack {
  border-radius: 12px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--hi), var(--sh-2);
  overflow: hidden;
}
.rack__plate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px 13px;
  background: var(--plate);
  box-shadow: inset 0 -1px 0 var(--line), inset 0 1px 0 var(--hi);
}
.rack__plate h2,
.rack__stamp {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.rack__stamp { font-weight: 400; color: var(--ink-2); }
.ports {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ports li { padding: 30px 32px 34px; }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--btn);
  color: var(--btn-ink);
  font-size: 12px;
  letter-spacing: 0;
}
.ports li + li { box-shadow: inset 1px 0 0 var(--line-2), inset 2px 0 0 var(--hi); }
.rack__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.rack h3 {
  margin-top: 14px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.ports p:not(.rack__kicker) {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------- section titles ---------- */

.section-title {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.digest .section-title { margin-bottom: 36px; text-align: center; }
.section-lede {
  max-width: 34em;
  margin: 18px 0 40px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ---------- get it / hire me ---------- */

.cta { padding: 96px 0 88px; }
.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cta__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 40px 42px;
  border-radius: 12px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--hi), var(--sh-2);
  scroll-margin-top: 24px;
}
.cta__card h2 {
  margin-top: 18px;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.cta__card > p:not(.label) {
  margin-top: 16px;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}
.cta__card > p:not(.label) { margin-bottom: 30px; }
.cta__card > .btn,
.cta__row { margin-top: auto; }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--rule); }
.foot__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 30px 36px;
  font-size: 15px;
  color: var(--ink-2);
}
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__links a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
.foot__links a:hover { text-decoration-color: currentColor; }

/* ---------- 404 ---------- */

.lost { min-height: calc(100vh - 200px); padding: 12vh 0 16vh; }
.lost h1 {
  margin-top: 26px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.048em;
}
.lost p.lost__lede { max-width: 28em; margin-top: 24px; font-size: 19px; color: var(--ink-2); }
.lost .btn { margin-top: 34px; }

/* ---------- responsive ---------- */

@media (max-width: 1240px) {
  .topbar__in { gap: 32px; }
  .nav { gap: 30px; }
}

@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .hero__copy { max-width: 640px; padding-top: 8px; }
  .console { margin-right: 0; }
  .hero h1 { font-size: clamp(42px, 6.4vw, 64px); }
}

@media (max-width: 960px) {
  .guard__grid { grid-template-columns: 1fr; gap: 22px; }
  .ports { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .ports li + li { box-shadow: inset 0 1px 0 var(--line-2), inset 0 2px 0 var(--hi); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .topbar__in { gap: 20px; min-height: 76px; }
  .wordmark { font-size: 28px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero { padding-top: 20px; }
  .hero__lede { font-size: 17px; }
  .btn--large { height: 54px; padding: 0 28px; font-size: 18px; }
  .btn--small { height: 42px; padding: 0 16px; font-size: 11px; letter-spacing: .12em; }
  .console { padding: 8px; border-radius: 12px; }
  .digest { padding-top: 64px; }
  .pager { padding: 50px 14px 16px; border-radius: 20px; }
  .pager__grille { left: 16px; top: 10px; width: 34px; height: 34px; background-size: 6px 6px; }
  .pager__screen { padding: 18px 18px 20px; }
  .pager__head { font-size: 11.5px; padding-bottom: 12px; }
  .pager__msg { font-size: 19px; padding: 18px 0 20px; }
  .pager__msg.is-long { font-size: 16.5px; }
  .pager__actions { gap: 12px; margin-top: 18px; }
  .pager__actions.is-chips { grid-template-columns: 1fr; gap: 8px; }
  .key { height: 54px; font-size: 18px; }
  .key--chip { height: 46px; font-size: 16px; }
  .patch { min-height: 0; padding: 44px 30px 44px; }
  .patch__head { gap: 12px; letter-spacing: .16em; }
  .patch__fact { font-size: 30px; }
  .patch__note { letter-spacing: .14em; font-size: 11.5px; }
  .rack__plate { flex-direction: column; gap: 4px; padding-inline: 18px; }
  .ports li { padding: 24px 18px 26px; }
  .rack h3 { font-size: 24px; }
  .how, .guard { padding-top: 64px; }
  .section-lede { font-size: 17px; margin-bottom: 28px; }
  .cta { padding: 64px 0 56px; }
  .cta__card { padding: 30px 22px 32px; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .switch__label { display: none; }
  .wordmark { font-size: 26px; }
}

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