/* The Sidekick Way — concept site styles */
:root {
  --lime: #B5BA06;
  --olive: #5C5F00;
  --ink: #141413;
  --ink-2: #0E0E0D;
  --panel: #232221;
  --panel-2: #1F1E1D;
  --line-dark: #3D3B3A;
  --paper: #F4F4F2;
  --line: #DEDCD8;
  --text: #1C1B1A;
  --muted: #5E5B58;
  --muted-dark: #A9A6A2;
  --soft-dark: #CFCDC9;
  --display: 'Outfit', system-ui, sans-serif;
  --serif: 'Libre Baskerville', Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
body.dark { background: var(--ink-2); color: var(--paper); font-family: var(--display); }
a { color: var(--olive); }
a:hover { color: var(--text); }
body.dark a { color: var(--lime); }
body.dark a:hover { color: var(--paper); }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }
.display { font-family: var(--display); }
.serif { font-family: var(--serif); }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.lime { color: var(--lime); }
.olive { color: var(--olive); }
.muted { color: var(--muted); }
.muted-dark { color: var(--muted-dark); }
.italic { font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { background: var(--ink); color: var(--paper); font-family: var(--display); }
.site-header.bordered { background: var(--ink-2); border-bottom: 1px solid #2A2928; }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: var(--paper) !important; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.nav a { color: var(--paper); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--lime); }
.nav a[aria-current] { font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 4px; font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.btn-lime { background: var(--lime); color: var(--ink) !important; }
.btn-lime:hover { background: #C9CE1A; }
.btn-ink { background: var(--ink); color: var(--paper) !important; }
.btn-ghost { background: transparent; color: var(--paper); border: 1.5px solid #5E5B58; }
.btn-ghost:hover { border-color: var(--paper); }
.btn-text { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); padding: 14px 4px; }

/* Home hero */
.hero { background: var(--ink); color: var(--paper); }
.hero .wrap { padding-top: 88px; padding-bottom: 96px; gap: 40px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 7vw, 72px); line-height: 1.02; letter-spacing: -.01em; }
.hero .lede { font-size: 19px; line-height: 1.7; color: var(--soft-dark); max-width: 760px; }
.chips { gap: 12px; }
.chip { font-family: var(--display); font-size: 16px; font-weight: 500; padding: 12px 20px; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--lime); background: transparent; color: var(--paper); cursor: pointer; }
.chip:hover { background: rgba(181,186,6,.12); }
.chip[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.path-panel { background: var(--panel); border-radius: 8px; padding: 32px; gap: 24px; }
.stop { flex: 1 1 260px; min-width: 0; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 6px; padding: 24px; text-decoration: none; color: var(--paper) !important; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s; }
.stop:hover { border-color: var(--lime); }
.stop .k { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.stop .t { font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.25; }
.stop .n { font-size: 15px; line-height: 1.6; color: var(--muted-dark); }

/* Now showing band */
.band-lime { background: var(--lime); color: var(--ink); }
.band-lime .wrap { padding-top: 72px; padding-bottom: 72px; gap: 48px; align-items: center; }
.poster { flex: 1 1 520px; min-width: 0; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 8px; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; color: var(--paper); font-family: var(--display); }
.poster .big { font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.placeholder-label { font-family: var(--display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #8C8984; }
.progress { height: 10px; background: rgba(20,20,19,.18); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--ink); }

/* Sections */
.section .wrap { padding-top: 96px; padding-bottom: 96px; gap: 40px; }
.section-paper { background: var(--paper); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.08; }
.door { flex: 1 1 320px; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 28px; text-decoration: none; color: var(--text) !important; display: flex; flex-direction: column; gap: 12px; background: #fff; transition: border-color .15s, transform .15s; }
.door:hover { border-color: var(--lime); transform: translateY(-2px); }
.door .num { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--lime); line-height: 1; }
.door .who { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.door .name { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.door .line { font-size: 15px; line-height: 1.6; color: var(--muted); font-style: italic; }
.door .meta { font-family: var(--display); font-size: 14px; color: var(--olive); font-weight: 600; }
.way { flex: 1 1 260px; min-width: 0; background: #fff; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.way h3 { font-family: var(--display); font-weight: 700; font-size: 26px; }
.way p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 64px; gap: 40px; justify-content: space-between; align-items: flex-end; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.field { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--display); font-size: 14px; color: var(--soft-dark); }
.field input { height: 48px; padding: 0 14px; border-radius: 4px; border: 1px solid #5E5B58; background: var(--panel); color: var(--paper); font-size: 16px; }
.field input:focus { outline: 2px solid var(--lime); outline-offset: 1px; }

/* Show page */
.show-hero { position: relative; background: #1A1918; min-height: 640px; display: flex; align-items: flex-end; }
.show-hero .art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding: 40px; }
.show-hero .wrap { position: relative; width: 100%; padding-bottom: 72px; gap: 20px; }
.show-title { font-weight: 800; font-size: clamp(72px, 12vw, 120px); line-height: .9; letter-spacing: -.02em; }
.show-sub { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--soft-dark); }
.show-desc { max-width: 620px; font-family: var(--serif); font-size: 18px; line-height: 1.7; color: var(--soft-dark); }
.days { gap: 6px; }
.day { width: 32px; height: 32px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--line-dark); color: #8C8984 !important; }
.day.aired { background: var(--line-dark); color: var(--paper) !important; }
.day.today { background: var(--lime); border-color: var(--lime); color: var(--ink) !important; }
.day:hover { border-color: var(--lime); }
.legend { gap: 20px; font-size: 14px; color: var(--muted-dark); }
.legend span { display: flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.tabs { gap: 8px; }
.tab { font-family: var(--display); font-size: 15px; font-weight: 600; padding: 10px 16px; min-height: 44px; border-radius: 4px; cursor: pointer; border: 1px solid var(--line-dark); background: transparent; color: var(--paper); }
.tab:hover { border-color: var(--paper); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.arc-head { gap: 32px; align-items: flex-end; border-bottom: 1px solid #2A2928; padding-bottom: 24px; }
.ep { flex: 1 1 340px; min-width: 0; text-decoration: none; color: var(--paper) !important; display: flex; flex-direction: column; gap: 12px; }
.ep .still { aspect-ratio: 16 / 9; background: var(--panel-2); border-radius: 6px; position: relative; display: flex; align-items: flex-end; padding: 16px; transition: outline-color .15s; outline: 2px solid transparent; }
.ep:hover .still { outline-color: var(--lime); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--ink-2); color: var(--lime); font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 3px; }
.beat { flex: 1 1 280px; min-width: 0; border-top: 3px solid var(--ink-2); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }

/* Episode page */
.trail { background: var(--paper); font-family: var(--display); }
.trail .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.crumb { text-decoration: none; background: #fff; border: 1px solid var(--line); color: var(--text) !important; padding: 6px 12px; border-radius: 999px; }
.crumb.here { background: var(--lime); border-color: var(--lime); font-weight: 600; }
.player { aspect-ratio: 16 / 9; background: var(--ink); border-radius: 8px; display: flex; align-items: center; justify-content: center; position: relative; }
.play { width: 88px; height: 88px; border-radius: 50%; background: var(--lime); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.card { flex: 1 1 240px; min-width: 0; background: var(--paper); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card.dark { background: var(--ink); color: var(--paper); }
.card .lbl { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card.dark .lbl { color: var(--lime); }
.word { text-decoration: none; color: var(--text) !important; border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.word:hover { border-color: var(--lime); }
.fork { flex: 1 1 320px; min-width: 0; text-decoration: none; color: var(--paper) !important; background: var(--panel); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: transform .15s; }
.fork:hover { transform: translateY(-3px); }
.fork.go { background: var(--lime); color: var(--ink) !important; }
.fork .k { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .14em; }
.fork .t { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.2; }
.fork .n { font-size: 15px; line-height: 1.6; color: var(--muted-dark); }
.fork.go .n { color: var(--ink); }

/* Today (phone) */
.today { max-width: 430px; margin: 0 auto; min-height: 100vh; padding: 28px 20px 40px; gap: 20px; }
.choice { text-decoration: none; color: var(--paper) !important; background: var(--panel-2); border-radius: 6px; padding: 14px 16px; min-height: 48px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; }
.choice:hover { outline: 1px solid var(--lime); }

/* Concept ribbon */
.concept { position: fixed; right: 16px; bottom: 16px; z-index: 50; background: var(--ink); color: var(--paper); border: 1px solid var(--line-dark); border-radius: 6px; padding: 10px 14px; font-family: var(--display); font-size: 13px; }
.concept a { color: var(--lime) !important; margin-left: 8px; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
@media (max-width: 640px) {
  .path-panel { padding: 20px; }
  .show-hero { min-height: 560px; }
  .section .wrap { padding-top: 64px; padding-bottom: 64px; }
}
