/* Producer HQ home page, version 5 (owner, 2026-10-24: "build site b"). The giant wordmark
   behind a MacBook running the live dashboard, Texts in / Tasks out playing on its own, the
   tinted card stack, then Jake's numbers. Shared look (top bar, buttons, waitlist, FAQ, footer)
   stays in styles.css. Every animation starts from a finished frame, stops with Reduce Motion,
   and has the Pause button. All names are sample data. */

:root {
  --ai: #f2c94c;
  --stone: #ebe7e1;
  --rose: #f9e6de;
}
.home h1,
.home h2 {
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pause-fixed {
  position: fixed;
  z-index: 30;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.4);
}

/* ---------- The app's cards, drawn in HTML ("k" for kit): Today, songs, texts, stages, the
   session scan, the credits ledger. site.js builds them and runs their loops. ---------- */
.k {
  --k-surface: #ffffff;
  --k-card: #fffdf8;
  --k-panel: #e9e2d4;
  --k-side: #ede8dd;
  --k-ink: #191918;
  --k-muted: #625d57;
  --k-line: #e7e2da;
  --k-line2: #d6cfc4;
  --k-tint: #f4f1ec;
  --k-bub: #ede8dd;
  --k-track: #e3dbcc;
  --k-accent: #a84a2e;
  --k-go: #a84a2e;
  --k-brand: #c75a3a;
  --k-ok: #3e6b3a;
  --k-sug: #7a5b12;
  --k-blue: #2f5d8a;
  --k-shadow: 0 30px 60px -30px rgba(60, 40, 20, 0.45);
  color: var(--k-ink);
  font-size: 14px;
  line-height: 1.35;
}
.k-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--k-line);
  background: var(--k-tint);
}
.k-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--k-line2);
}
.k-bar em {
  margin-left: 8px;
  font: 500 12px var(--mono);
  font-style: normal;
  color: var(--k-muted);
}
.k-app {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  background: var(--k-side);
}
.k-side {
  list-style: none;
  padding: 14px 10px;
  display: grid;
  align-content: start;
  gap: 2px;
  border-right: 1px solid var(--k-line2);
  color: var(--k-muted);
}
.k-side li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 8px;
}
.k-side li.on {
  background: var(--k-card);
  color: var(--k-ink);
  font-weight: 600;
}
.k-side b {
  padding: 0 6px;
  border-radius: 6px;
  background: #e8c766;
  color: #191918;
  font-size: 12px;
}
.k-side .lg {
  padding: 0 8px 10px;
}
.k-side .lg svg {
  width: 26px;
  height: 26px;
}
.k-main {
  min-width: 0;
  padding: 16px 20px 18px;
  background: var(--k-panel);
}
.k-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.k-head small {
  display: block;
  font: 500 11px var(--mono);
  letter-spacing: 0.08em;
  color: var(--k-muted);
}
.k-head b {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.k-head .ai {
  font-size: 13px;
  padding: 5px 11px;
}
.k-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.k-h {
  margin: 2px 0 8px;
  font-weight: 600;
  font-size: 14px;
}
.k-songs,
.k-week {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
  min-height: 40px;
}
.k-song {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--k-card);
  border-left: 4px solid var(--c);
}
.k-song .n {
  grid-row: span 3;
  font: 500 20px var(--mono);
  color: var(--k-accent);
}
.k-song .t {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.k-song .t b {
  font-size: 15px;
}
.k-song .t span {
  color: var(--k-muted);
  margin-left: 6px;
}
.k-song .now {
  grid-column: 2;
  color: var(--k-muted);
  font-size: 13px;
}
.k-song .now i {
  font-style: normal;
  color: var(--k-ink);
  font-weight: 600;
  border-radius: 4px;
  padding: 0 3px;
  transition: background 0.3s;
}
.k-song .now i.flash {
  background: var(--ai);
  color: #191918;
}
.k-song .pill {
  grid-row: 1;
  grid-column: 3;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--c);
  color: #fff;
  font: 600 11px var(--sans);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.k-song .bar {
  grid-column: 2 / -1;
  height: 6px;
  border-radius: 3px;
  background: var(--k-track);
  overflow: hidden;
}
.k-song .bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--c);
  transition: width 0.9s var(--ease);
}
.k-wk {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
  padding: 6px 0 6px 10px;
  border-left: 3px solid var(--k-blue);
}
.k-wk.due {
  border-left-color: var(--k-brand);
}
.k-wk time {
  font: 500 12px var(--mono);
  color: var(--k-muted);
  padding-top: 2px;
}
.k-wk b {
  display: block;
  font-weight: 600;
}
.k-wk small {
  color: var(--k-muted);
}
.k-msgs {
  min-height: 104px;
}
.k-msg {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--k-card);
}
.k-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font: 600 11px var(--sans);
}
.k-bub {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 12px 12px 12px 4px;
  background: var(--k-bub);
}
.k-who {
  grid-column: 2;
  font-weight: 600;
}
.k-who time {
  margin-left: 6px;
  font: 400 12px var(--mono);
  color: var(--k-muted);
}
.k-msg .k-bub,
.k-msg .k-sug {
  grid-column: 2;
}
.k-sug {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
}
.k-sug b {
  color: var(--k-sug);
  margin-right: 4px;
}
.k-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--k-line2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--k-ink);
  background: var(--k-card);
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.k-chip.go {
  background: var(--k-go);
  border-color: var(--k-go);
  color: #fff;
}
.k-chip.done {
  background: var(--k-ok);
  border-color: var(--k-ok);
  color: #fff;
}
.k-chip.ghost {
  background: transparent;
}
.k-chip.press {
  transform: scale(0.92);
}
.k-thread {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 360px;
  padding: 14px;
  background: var(--k-panel);
}
.k-thread .k-msg {
  gap: 4px 12px;
  padding: 12px 14px;
}
.k-stagecard {
  padding: 22px;
  border: 1px solid var(--k-line2);
  border-radius: 14px;
  background: var(--k-surface);
  box-shadow: var(--k-shadow);
}
.k-songline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
}
.k-songline b {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.k-songline span {
  color: var(--k-muted);
}
.k-songline .now {
  font: 500 13px var(--mono);
  color: var(--k-accent);
}
.k-stagebar {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.k-stagebar li {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--k-muted);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.k-stagebar li::before {
  content: '';
  height: 8px;
  border-radius: 4px;
  background: var(--k-track);
  transition: background 0.4s var(--ease);
}
.k-stagebar li.past::before {
  background: #9c7a5a;
}
.k-stagebar li.now::before {
  background: var(--k-brand);
}
.k-stagebar li.now {
  color: var(--k-ink);
  font-weight: 600;
}
.k-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  min-height: 30px;
}
.k-steps .k-chip {
  animation: k-pop 0.4s var(--ease) both;
}
.k-steps .k-chip.done::before {
  content: '✓';
  margin-right: 6px;
}
.k-scan {
  border: 1px solid var(--k-line2);
  border-radius: 14px;
  background: var(--k-surface);
  overflow: hidden;
  box-shadow: var(--k-shadow);
}
.k-scan-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--k-line);
  font-size: 15px;
}
.k-scan-head b {
  font-weight: 600;
}
.k-count {
  font: 500 15px var(--mono);
  color: var(--k-accent);
  font-variant-numeric: tabular-nums;
}
.k-meter {
  height: 3px;
  background: var(--k-track);
}
.k-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--k-brand);
  transition: width 0.6s linear;
}
.k-files {
  list-style: none;
  padding: 4px 0;
  margin: 0;
  min-height: 228px;
}
.k-files li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 8px 18px;
  animation: k-pop 0.42s var(--ease) both;
}
.k-files li + li {
  border-top: 1px solid var(--k-line);
}
.k-file {
  font-family: var(--mono);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.k-files .song {
  color: var(--k-muted);
  font-size: 12.5px;
}
.k-daw {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--k-tint);
  border: 1px solid var(--k-line);
  color: var(--k-ink);
  font: 500 11px/1.6 var(--mono);
}
.k-ledger-wrap {
  border: 1px solid var(--k-line2);
  border-radius: 14px;
  background: var(--k-surface);
  overflow-x: auto;
  box-shadow: var(--k-shadow);
}
.k-ledger {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}
.k-ledger th,
.k-ledger td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--k-line);
  text-align: left;
}
.k-ledger thead th {
  font: 500 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--k-muted);
}
.k-ledger tbody th {
  font-weight: 600;
}
.k-ledger tbody th small {
  display: block;
  color: var(--k-muted);
  font-weight: 400;
  font-size: 12px;
}
.k-ledger tr:last-child > * {
  border-bottom: 0;
}
.k-ledger td[data-s] {
  font-weight: 500;
}
.k-ledger td[data-s='ok'] {
  color: var(--k-ok);
}
.k-ledger td[data-s='ok']::before {
  content: '✓ ';
}
.k-ledger td[data-s='wait'] {
  color: #b07a12;
}
.k-ledger td[data-s='wait']::before {
  content: '◷ ';
}
.k-ledger td[data-s='no'] {
  color: #c53a2a;
}
.k-ledger td[data-s='no']::before {
  content: '✕ ';
}
.k-ledger td[data-s='check'] {
  color: var(--k-muted);
  animation: k-blink 0.9s ease-in-out infinite;
}
.k-ledger td.fresh {
  animation: k-pop 0.35s var(--ease) both;
}
.k-pop {
  animation: k-pop 0.46s var(--ease) both;
}
.k-gone {
  animation: k-out 0.32s var(--ease) forwards;
}
.k-fade > * {
  transition: opacity 0.4s;
}
.k-fade .k-cols {
  opacity: 0;
}
@keyframes k-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes k-out {
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}
@keyframes k-blink {
  50% {
    opacity: 0.35;
  }
}
@media (max-width: 640px) {
  .k-app {
    grid-template-columns: minmax(0, 1fr);
  }
  .k-side {
    display: none;
  }
  .k-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .k-cols .k-weekcol {
    display: none;
  }
  .k-stagebar li {
    font-size: 0;
  }
}

/* Sections that stay put while you scroll through them */
.sticky-sec {
  position: relative;
}
.pin {
  position: sticky;
  top: var(--nav, 64px);
  height: calc(100vh - var(--nav, 64px));
  min-height: 520px;
  overflow: hidden;
}

/* ---------- 1 · The wordmark and a MacBook running the live dashboard ---------- */
.wm-sec {
  height: 215vh;
}
.wm-stage {
  background: var(--stone);
  display: grid;
  place-items: center;
  perspective: 1700px;
}
.wm-word {
  position: absolute;
  top: 7%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.18em;
  font: 800 clamp(44px, 16.5vw, 260px) / 0.85 var(--sans);
  letter-spacing: -0.07em;
  white-space: nowrap;
  pointer-events: none;
}
.wm-word span {
  display: inline-block;
  will-change: transform;
}
.wm-dev {
  position: relative;
  z-index: 2;
  width: min(780px, 78vw);
  margin-top: 0;
  will-change: transform;
  transform-style: preserve-3d;
}
.mac {
  position: relative;
  width: 100%;
}
.mac .lid {
  position: relative;
  background: #0b0b0c;
  border-radius: 2.4% 2.4% 0 0 / 3.6% 3.6% 0 0;
  padding: 1.9% 1.9% 2.6%;
  box-shadow:
    inset 0 0 0 1px #2c2c2f,
    inset 0 0 0 2px #000;
}
.mac .lid::before {
  content: '';
  position: absolute;
  top: 0.6%;
  left: 50%;
  width: 1%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #1d1f24;
  transform: translateX(-50%);
}
.mac .screen {
  position: relative;
  aspect-ratio: 1.6;
  overflow: hidden;
  border-radius: 0.5%;
  background: #e9e2d4;
}
.mac .screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 35%);
  pointer-events: none;
  z-index: 5;
}
.mac .base {
  position: relative;
  height: 0;
  padding-bottom: 3.3%;
  margin: 0 -7.5%;
  background: linear-gradient(180deg, #e3e4e7 0%, #c4c6cb 40%, #8e9096 100%);
  border-radius: 0 0 12% 12% / 0 0 100% 100%;
}
.mac .base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 14%;
  height: 38%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #a7a9ae, #c9cbd0);
  border-radius: 0 0 10px 10px;
}
.virt {
  position: absolute;
  left: 0;
  top: 0;
  width: 1100px;
  height: 688px;
  transform-origin: 0 0;
}
.virt .scr {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.virt .scr.on {
  opacity: 1;
}
.virt .k-window {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
}
.virt .k-bar {
  display: none;
}
.virt .k-app {
  height: 100%;
}
.virt .k-thread {
  min-height: 0;
  padding: 0;
  background: transparent;
  margin-top: 12px;
}
.virt .k-songs {
  margin-top: 12px;
}
.virt .k-stagecard {
  box-shadow: none;
}
.virt .k-scan {
  margin-top: 12px;
  box-shadow: none;
}
.gnote {
  position: absolute;
  z-index: 6;
  background: rgba(25, 25, 24, 0.86);
  color: #fffdfa;
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 13px;
  max-width: 230px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
  pointer-events: none;
}
.gnote.on {
  opacity: 1;
  transform: none;
}
.gnote b {
  display: block;
  color: var(--ai);
  font: 500 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.wm-foot {
  position: absolute;
  z-index: 7;
  left: 0;
  right: 0;
  bottom: 4%;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 0 16px;
}
.wm-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  will-change: opacity;
}
.wm-tag {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  text-align: left;
}
@media (max-width: 700px) {
  .wm-tag {
    text-align: center;
    font-size: 16px;
  }
}
.wm-tag b {
  color: var(--ink);
  font-weight: 600;
}
.seg {
  display: inline-flex;
  background: #fffdfa;
  border: 1px solid #d6cfc4;
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.4);
}
.seg button {
  position: relative;
  overflow: hidden;
  font: 500 14px var(--sans);
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 9px;
  padding: 9px 15px;
  cursor: pointer;
}
.seg button.on {
  background: var(--ink);
  color: #fff;
}
.seg button.on::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  border-radius: 1px;
  background: var(--ai);
  transform-origin: left;
  animation: tabtime var(--tabms, 6000ms) linear forwards;
}
.seg.manual button.on::after,
.paused .seg button.on::after {
  animation: none;
  transform: scaleX(0);
}
@keyframes tabtime {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (max-width: 700px) {
  .wm-foot {
    bottom: 66px;
  }
  .seg button {
    padding: 8px 10px;
    font-size: 13px;
  }
  .wm-dev {
    width: 92vw;
  }
  .gnote {
    display: none;
  }
}

/* ---------- 2 · Texts in, tasks out (plays on its own) ---------- */
.pl-sec {
  background: var(--rose);
  padding-block: clamp(70px, 9vw, 120px);
}
.pl-head {
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-bottom: 36px;
}
.pl-head h2 {
  font-size: clamp(42px, 7vw, 96px);
}
.pl-head p {
  color: var(--muted);
  max-width: 52ch;
  font-size: 18px;
}
.pl-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.pl-col {
  background: #fffdfa;
  border: 1px solid #ecd2c6;
  border-radius: 18px;
  padding: 14px;
  min-height: 360px;
  display: grid;
  align-content: start;
  gap: 10px;
  position: relative;
  box-shadow: 0 30px 60px -40px rgba(120, 50, 30, 0.45);
}
.pl-col > .lbl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
}
.pl-col > .lbl small {
  font: 500 11px var(--mono);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.imsg {
  display: grid;
  gap: 3px;
  justify-items: start;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.imsg.on {
  opacity: 1;
  transform: none;
}
.imsg .who {
  font-size: 12px;
  color: var(--muted);
  padding-left: 6px;
}
.imsg .b {
  background: #e9e9eb;
  color: #111;
  border-radius: 18px 18px 18px 5px;
  padding: 8px 12px;
  font-size: 14px;
  max-width: 92%;
}
.imsg .dots {
  display: inline-flex;
  gap: 4px;
  background: #e9e9eb;
  border-radius: 16px;
  padding: 10px 12px;
}
.imsg .dots[hidden],
.imsg .b[hidden] {
  display: none;
}
.imsg .dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9a9a9e;
  animation: k-blink 1s infinite;
}
.imsg .dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.imsg .dots i:nth-child(3) {
  animation-delay: 0.3s;
}
.pl-reading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.pl-reading .bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #eadfce 0%, #f2c94c 50%, #eadfce 100%) 0 0 / 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.pl-slot {
  min-height: 128px;
  position: relative;
}
.pl-slot .k-msg {
  position: absolute;
  inset: 0 0 auto;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
  border: 1px solid var(--line);
}
.pl-slot .k-msg.on {
  opacity: 1;
  transform: none;
}
.pl-week .k-wk.new {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.pl-week .k-wk.new.on {
  opacity: 1;
  transform: none;
  background: #fff6d8;
}
.pl-fly {
  position: absolute;
  z-index: 8;
  left: 0;
  top: 0;
  pointer-events: none;
  background: #fffdfa;
  border: 2px solid #191918;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  opacity: 0;
  will-change: transform;
}
.pl-fly b {
  color: #7a5b12;
  margin-right: 4px;
}
.pl-progress {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 22px;
}
.pl-progress i {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: #ecd2c6;
  overflow: hidden;
}
.pl-progress i span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}
@media (max-width: 860px) {
  .pl-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .pl-col {
    min-height: 0;
    padding: 10px 12px;
  }
  .pl-col.a .imsg:not(.cur) {
    display: none;
  }
  .pl-slot {
    min-height: 112px;
  }
  .pl-week .k-wk:nth-child(n + 5):not(.new) {
    display: none;
  }
}

/* ---------- 3 · The tinted card stack ---------- */
.dk-sec {
  height: 330vh;
  background: var(--bg);
}
.dk-stage {
  display: grid;
  place-items: center;
}
.dk-title {
  position: absolute;
  top: 4%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  z-index: 0;
}
.dk-card {
  position: absolute;
  left: 50%;
  top: 53%;
  width: min(1140px, 94vw);
  height: min(78vh, 680px);
  transform: translate(-50%, -50%);
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: clamp(20px, 3.4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
  overflow: hidden;
  will-change: transform, filter;
  box-shadow: 0 -30px 80px -40px rgba(60, 40, 20, 0.35);
}
.dk-card .txt {
  display: grid;
  gap: 14px;
  align-content: center;
}
.dk-card .dk-eyebrow {
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.dk-card h2 {
  font-size: clamp(30px, 4vw, 54px);
}
.dk-card p {
  color: var(--muted);
}
.dk-card .num {
  font: 500 13px var(--mono);
  color: var(--muted);
}
.dk-card .widget {
  min-width: 0;
}
.dk-card .dk-more {
  justify-self: start;
}
.alsogrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.alsogrid > div {
  background: #fffdfa;
  border: 1px solid #e2d8c9;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 150px;
}
.alsogrid h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.alsogrid .sub {
  color: var(--muted);
  font-size: 13px;
}
.typebox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #d6cfc4;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  background: #fff;
}
.typebox .t::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--ink);
  margin-left: 2px;
  vertical-align: -0.15em;
  animation: k-blink 0.9s steps(1) infinite;
}
.datechip {
  justify-self: start;
  border-radius: 8px;
  padding: 3px 9px;
  font: 500 12px var(--mono);
  background: #fbf1d3;
  border: 1px solid #ead9a8;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s var(--ease);
}
.datechip.on {
  opacity: 1;
  transform: none;
}
@media (max-width: 860px) {
  .dk-card {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    height: min(84vh, 760px);
  }
  .dk-card p {
    display: none;
  }
  .dk-card h2 {
    font-size: 30px;
  }
  .alsogrid {
    grid-template-columns: minmax(0, 1fr);
  }
  .alsogrid > div:nth-child(n + 3) {
    display: none;
  }
}

/* ---------- 5 · Jake's numbers ---------- */
.nums-sec {
  padding-block: clamp(80px, 11vw, 140px) 40px;
}
.nums-sec h2 {
  font-size: clamp(34px, 5vw, 64px);
  text-align: center;
}
.nums-sec > p {
  text-align: center;
  color: var(--muted);
  margin: 14px auto 44px;
}
.nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.nums div {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.nums dd {
  margin: 0;
  font: 700 clamp(44px, 6vw, 88px) / 1 var(--sans);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
/* Sized to the column, not the screen, so "290M+" and "Nashville" never spill out of it */
.nums div {
  container-type: inline-size;
  min-width: 0;
}
@supports (font-size: 1cqi) {
  .nums dd {
    font-size: min(88px, 29cqi);
  }
  .nums dd.word {
    font-size: min(88px, 20cqi);
  }
}
.nums dt {
  color: var(--muted);
  margin-top: 6px;
}
.nums div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}
@media (max-width: 860px) {
  .nums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .wm-sec,
  .dk-sec {
    height: auto;
  }
  /* One column no wider than the screen, so the big word, the laptop (whose base is wider than
     its screen) and the line under it fit on phones */
  .wm-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .wm-dev {
    width: min(780px, 82vw);
  }
  .pin {
    position: relative;
    top: 0;
    height: auto;
    min-height: 0;
    padding-block: 50px;
  }
  .wm-word {
    position: relative;
    top: auto;
  }
  .wm-foot {
    position: relative;
    bottom: auto;
    margin-top: 28px;
  }
  .dk-card {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    height: auto;
    margin: 0 auto 20px;
  }
  .dk-title {
    position: relative;
    top: auto;
    margin-bottom: 20px;
  }
  .imsg,
  .pl-slot .k-msg:last-child {
    opacity: 1;
    transform: none;
  }
  .gnote {
    display: none;
  }
}

/* The rust button for the waitlist on the home page */
.btn-rust {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-rust:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Room under the footer links for the Pause button */
.home + .foot .colophon {
  margin-bottom: 56px;
}

/* Links to a section land below the top bar */
.home section[id] {
  scroll-margin-top: var(--nav, 64px);
}

/* ---------- 5 · Instagram carousel (shown once site.js has post links) ---------- */
.ig-sec {
  padding-block: 24px 8px;
}
.ig-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}
.ig-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 8px;
}
.ig-head a {
  font-weight: 500;
}
.ig-arrows {
  display: flex;
  gap: 8px;
}
.ig-arrows .btn {
  width: 44px;
  padding: 0;
  font-size: 18px;
}
.ig-track {
  --edge: max(20px, calc((100% - var(--max)) / 2 + 20px));
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding: 4px var(--edge) 24px;
  scrollbar-width: none;
}
.ig-track::-webkit-scrollbar {
  display: none;
}
.ig-card {
  flex: none;
  width: min(300px, 78vw);
  scroll-snap-align: start;
  display: grid;
  gap: 8px;
  align-content: start;
  color: var(--ink);
  text-decoration: none;
}
.ig-img {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background: var(--tint);
  border: 1px solid var(--line);
}
.ig-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.ig-card:hover .ig-img img {
  transform: scale(1.04);
}
.ig-play {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  color: #fff;
  background: rgba(25, 25, 24, 0.6);
}
.ig-cap {
  font-size: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ig-when {
  font: 500 12px var(--mono);
  color: var(--muted);
}

/* Until the feed is connected: Instagram's own profile embed, one card */
.ig-track.ig-solo {
  display: block;
}
.ig-profile {
  max-width: 540px;
  margin: 0 !important;
}
blockquote.ig-profile {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-weight: 500;
}
.ig-arrows[hidden] {
  display: none;
}
