/*
Tags: portfolio, photography, custom-menu, custom-logo, editor-style

*/

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: rgba(232, 168, 36, 0.85);
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  padding: 8px 16px;
  background: #e8a824;
  color: #000;
  text-decoration: none;
}
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  overflow: visible;
}

/* Image protection: block save/copy/drag on all images */
img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Roboto Mono', monospace;
  background-color: #E8E3DC;
  color: rgba(0,0,0,0.85);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Dark mode */
body.dark-mode {
  background-color: #1C1B19;
  color: rgba(255,255,255,0.85);
}

body.dark-mode ::selection {
  background: rgba(232, 168, 36, 0.85);
}

body.dark-mode ::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.06);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

/* DM Mono — primary voice, nav, labels, prices */
.font-mono {
  font-family: 'Roboto Mono', monospace;
}

/* Cormorant Garamond — credits, artist names, decorative */
.font-display {
  font-family: 'Cormorant Garamond', serif;
}

/* Libre Baskerville — editorial notes, descriptions */
.font-editorial {
  font-family: 'Cormorant Garamond', serif;
}

/* Newsreader — special headings */
.font-heading {
  font-family: 'Newsreader', serif;
}

/* ============================================
   LAYOUT
   ============================================ */
.site-wrapper {
  width: 100%;
  min-height: 100vh;
}

.site-main {
  padding: 36px 32px 80px;
  max-width: 960px;
  margin: 0 auto;
}

.site-main.full-width {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 28px 8px;
  background: rgba(232, 227, 220, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.4s ease, border-color 0.4s ease;
}

body.dark-mode .site-header {
  background: rgba(28, 27, 25, 0.85);
  border-bottom-color: rgba(255,255,255,0.06);
}

.header-utility-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.header-weather,
.header-theme-toggle {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: rgba(0,0,0,0.45);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.4s ease;
}

body.dark-mode .header-weather,
body.dark-mode .header-theme-toggle {
  color: rgba(255,255,255,0.45);
}

.header-theme-toggle {
  cursor: pointer;
}

.site-logo {
  margin-bottom: 8px;
}

.site-logo img {
  height: 46px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  background: none;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: rgba(0,0,0,0.5);
  transition: color 0.15s ease;
  letter-spacing: 0.02em;
  position: relative;
  text-decoration: none;
}

.main-nav a:hover {
  color: rgba(0,0,0,0.7);
}

.main-nav a.active {
  color: rgba(0,0,0,0.8);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 1px;
  background: rgba(0,0,0,0.25);
}

body.dark-mode .main-nav a {
  color: rgba(255,255,255,0.45);
}
body.dark-mode .main-nav a:hover {
  color: rgba(255,255,255,0.7);
}
body.dark-mode .main-nav a.active {
  color: rgba(255,255,255,0.85);
}
body.dark-mode .main-nav a.active::after {
  background: rgba(255,255,255,0.3);
}

/* ============================================
   PAGE CONTENT
   ============================================ */
#page-content {
  padding: 0 40px;
}

body[data-page="this-week"] #page-content {
  padding: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
}

.footer-visitor-line {
  width: 100%;
  text-align: center;
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.45);
  margin-bottom: 2px;
}
body.dark-mode .footer-visitor-line {
  color: rgba(255,255,255,0.4);
}

body.dark-mode .site-footer {
}

.site-footer span {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  color: rgba(0,0,0,0.85);
  letter-spacing: 0.04em;
}

body.dark-mode .site-footer span {
  color: rgba(255,255,255,0.85);
}

.rss-link {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #ee802f;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
.footer-dot {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  color: rgba(0,0,0,0.85);
  letter-spacing: 0.04em;
  margin: 0 6px;
}
body.dark-mode .footer-dot {
  color: rgba(255,255,255,0.85);
}
.rss-link:hover {
  opacity: 0.85;
}
body.dark-mode .rss-link {
  color: #ee802f;
  opacity: 0.4;
}
body.dark-mode .rss-link:hover {
  opacity: 0.75;
}

/* ============================================
   MINI PLAYER
   ============================================ */
#mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(30, 29, 27, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px 24px;
  padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mini-player-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

.mini-player-track {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 1;
  min-width: 0;
  max-width: 300px;
}

.mini-player-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mini-player-title {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-sep {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.mini-player-artist {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-scrub {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 80px;
}

.mini-time {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  min-width: 32px;
}
.mini-time-current { text-align: right; }
.mini-time-total { text-align: left; }

.mini-scrub-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.mini-scrub-bar:hover {
  height: 5px;
}

.mini-scrub-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(232, 168, 36, 0.7);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.mini-player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.mini-ctrl {
  font-size: 18px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color 0.15s ease;
  user-select: none;
  line-height: 1;
  /* Force symbol glyphs (▶ ⏸ ⏮ ⏭) to render as plain text, never color emoji.
     Belt-and-suspenders alongside the \ufe0e variation selector in the markup. */
  font-family: 'Roboto Mono', -apple-system, 'Segoe UI Symbol', 'Arial Unicode MS', monospace, sans-serif;
  font-variant-emoji: text;
  -webkit-font-feature-settings: 'liga' 0;
}

.mini-ctrl:hover {
  color: rgba(255,255,255,0.9);
}

.mini-shuffle {
  font-size: 15px;
  transform: rotate(90deg);
  transition: color 0.15s ease;
}
.mini-ctrl.mini-shuffle.active {
  color: #e8a824;
}
.mini-ctrl.mini-shuffle.active:hover {
  color: #f0bc4a;
}

.mini-close {
  font-size: 20px;
}

.mini-player-track:hover .mini-player-title {
  color: rgba(232, 168, 36, 0.85);
}

body.has-mini-player .site-footer {
  padding-bottom: 56px;
}

/* ============================================
   THIS WEEK (MOODBOARD)
   ============================================ */
.thisweek-header {
  padding: 0 40px;
  margin-bottom: 32px;
  text-align: center;
}

.thisweek-dateline {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  color: rgba(0,0,0,0.85);
  font-weight: 400;
  letter-spacing: 0.04em;
  padding-bottom: 10px;
  position: relative;
}
.thisweek-dateline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: #e8a824;
}

.thisweek-subtitle {
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(0,0,0,0.45);
  line-height: 1.65;
  margin-top: 14px;
}

/* Scatter layout */
.scatter-wrap {
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
}

.scatter-container {
  position: relative;
  width: 100%;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.scatter-item {
  position: absolute;
  cursor: grab;
  /* No overflow hidden here — caption lives outside */
}

.scatter-item-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s ease, transform 0.15s ease;
}

/* Images with transparency (alpha channel) get no drop shadow */
.scatter-item-inner.no-shadow {
  box-shadow: none;
}
.scatter-item-inner.no-shadow img {
  object-fit: contain !important;
}

.scatter-item-inner img {
  transition: transform 0.15s ease;
}

.scatter-caption {
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.scatter-item:hover .scatter-caption {
  opacity: 1;
}

.scatter-resize-handle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  cursor: nwse-resize;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.scatter-resize-handle::before {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
}

.scatter-item:hover .scatter-resize-handle {
  opacity: 1;
}

.scatter-caption span {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: rgba(0,0,0,0.45);
}

body.dark-mode .scatter-caption span {
  color: rgba(255,255,255,0.4);
}

/* Mobile feed (stacked images for touch devices) */
.thisweek-feed {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.thisweek-feed-item {
  cursor: pointer;
}
.thisweek-feed-item img {
  width: 100%;
  display: block;
}
.thisweek-feed-caption {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.45);
  margin-top: 8px;
  line-height: 1.5;
}
body.dark-mode .thisweek-feed-caption {
  color: rgba(255,255,255,0.4);
}

.thisweek-footer {
  padding: 0 40px;
  margin-top: 32px;
  padding-bottom: 40px;
}

.thisweek-nav {
  display: flex;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  gap: 40px;
}

.thisweek-nav-link {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.5);
  cursor: pointer;
  transition: color 0.15s ease;
  user-select: none;
}
.thisweek-nav-link:hover {
  color: rgba(0,0,0,0.65);
}
.thisweek-nav-link.disabled {
  visibility: hidden;
}

.archive-end {
  text-align: center;
  padding: 120px 40px 80px;
  max-width: 520px;
  margin: 0 auto;
}
.archive-end-line {
  width: 40px;
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0 auto 32px;
}
.archive-end-heading {
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  color: rgba(0,0,0,0.5);
  margin-bottom: 20px;
}
.archive-end-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 12px;
  font-style: italic;
  line-height: 1.8;
  color: rgba(0,0,0,0.4);
  margin-bottom: 12px;
}

/* ============================================
   GARAGE SALE
   ============================================ */
.garage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.garage-item {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.garage-item.sold {
  opacity: 0.45;
}

.garage-item-image {
  position: relative;
  aspect-ratio: 4/5;
  margin-bottom: 10px;
  overflow: hidden;
}

.garage-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.garage-item-image .hover-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.garage-item:hover .garage-item-image .hover-img {
  opacity: 1;
}

.garage-item-sold-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
}

.garage-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.garage-item-name {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: rgba(0,0,0,0.55);
  line-height: 1.4;
}

.garage-item-price {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: rgba(0,0,0,0.3);
  white-space: nowrap;
  margin-left: 8px;
}

.garage-item-desc {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  color: rgba(0,0,0,0.2);
  margin-top: 2px;
  display: block;
}

.garage-footer {
  margin-top: 36px;
  max-width: 380px;
}

.garage-footer p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(0,0,0,0.32);
  line-height: 1.6;
}

/* ============================================
   FOUND (MASONRY)
   ============================================ */
.found-header {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.found-count {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: rgba(0,0,0,0.45);
  letter-spacing: 0.04em;
}

.found-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.found-tag {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: rgba(0,0,0,0.4);
  background: transparent;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid rgba(0,0,0,0.1);
}

.found-tag.active {
  color: rgba(0,0,0,0.7);
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
}

.found-masonry {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.found-masonry-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.found-item {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.found-item img {
  width: 100%;
  display: block;
}

.found-item-credit {
  padding: 8px 0 4px;
}

.found-item-credit .photographer {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: rgba(0,0,0,0.55);
}

.found-item-credit .source {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  font-style: italic;
  color: rgba(0,0,0,0.4);
}

.found-item-credit .source-link {
  font-family: 'Roboto Mono', monospace;
  font-size: 8px;
  color: rgba(0,0,0,0.35);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  transition: color 0.15s ease;
}
.found-item-credit .source-link:hover {
  color: rgba(0,0,0,0.55);
}

.found-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.found-item-tags span {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  color: rgba(0,0,0,0.35);
  cursor: pointer;
}

/* ============================================
   LISTENING
   ============================================ */
.listening-list,
.listening-date,
.reading-date {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: rgba(0,0,0,0.45);
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 10px;
  position: relative;
}

.listening-date::after,
.reading-date::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: #e8a824;
}

.track-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  cursor: pointer;
  transition: color 0.15s ease;
}

.track-number {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: rgba(0,0,0,0.35);
  width: 18px;
  text-align: right;
  margin-right: 14px;
}

.track-title {
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  color: rgba(0,0,0,0.7);
  transition: color 0.15s ease;
}

.track-item:hover .track-title {
  color: rgba(0,0,0,0.9);
}

.track-artist {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(0,0,0,0.45);
}

/* YouTube embed container */
.track-embed {
  padding: 8px 0 16px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.track-embed .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.03);
}

.track-embed .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Monthly archive nav (Listening + Reading) */
.monthly-archive-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.monthly-archive-month {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.35);
  transition: color 0.15s ease;
  user-select: none;
}
.monthly-archive-month:hover:not(.disabled):not(.active) {
  color: rgba(0,0,0,0.65);
}
.monthly-archive-month.active {
  color: rgba(0,0,0,0.8);
  border-bottom: 1.5px solid #e8a824;
  padding-bottom: 2px;
}
.monthly-archive-month.disabled {
  color: rgba(0,0,0,0.12);
}
.monthly-archive-sep {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: rgba(0,0,0,0.12);
  user-select: none;
}

body.dark-mode .monthly-archive-nav { border-top-color: rgba(255,255,255,0.05); }
body.dark-mode .monthly-archive-month { color: rgba(255,255,255,0.35); }
body.dark-mode .monthly-archive-month:hover:not(.disabled):not(.active) { color: rgba(255,255,255,0.65); }
body.dark-mode .monthly-archive-month.active { color: rgba(255,255,255,0.8); }
body.dark-mode .monthly-archive-month.disabled { color: rgba(255,255,255,0.12); }

/* Admin edit mode (Konami code) */
.admin-edit-mode .track-item {
  cursor: grab;
  border-left: 2px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.admin-edit-mode .track-item:hover {
  border-left-color: #e8a824;
}
.admin-edit-mode .track-item.dragging {
  opacity: 0.4;
  cursor: grabbing;
}
.admin-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(232, 168, 36, 0.3);
}
.admin-bar-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: #e8a824;
  flex: 1;
}
.admin-copy-btn, .admin-done-btn {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  padding: 4px 12px;
  border: 1px solid rgba(232, 168, 36, 0.4);
  background: transparent;
  color: #e8a824;
  cursor: pointer;
  transition: background 0.15s ease;
}
.admin-copy-btn:hover, .admin-done-btn:hover {
  background: rgba(232, 168, 36, 0.1);
}

.layout-admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20000;
  background: rgba(30, 29, 27, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 24px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(232, 168, 36, 0.3);
  justify-content: center;
}

body.dark-mode .monthly-archive-sep { color: rgba(255,255,255,0.12); }

/* ============================================
   READING
   ============================================ */
.reading-list {
  max-width: 620px;
  margin: 0 auto;
}

.reading-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  cursor: pointer;
  transition: all 0.15s ease;
}

.reading-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.reading-type {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: rgba(0,0,0,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reading-title {
  font-family: 'Roboto Mono', monospace;
  font-size: 15px;
  color: rgba(0,0,0,0.9);
  transition: color 0.15s ease;
  line-height: 1.4;
}

.reading-item:hover .reading-title {
  color: rgba(0,0,0,1);
}

.reading-author {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: rgba(0,0,0,0.7);
}

.reading-note {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  font-style: normal;
  color: rgba(0,0,0,0.5);
  margin-top: 4px;
  line-height: 1.6;
}
.reading-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.reading-note a:hover {
  color: rgba(0,0,0,0.8);
}
body.dark-mode .reading-note a:hover {
  color: rgba(255,255,255,0.9);
}

.reading-quote {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(0,0,0,0.7);
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid rgba(0,0,0,0.15);
  line-height: 1.5;
  max-width: 620px;
}
body.dark-mode .reading-quote {
  color: rgba(255,255,255,0.75);
  border-left-color: rgba(255,255,255,0.2);
}

/* ============================================
   ABOUT
   ============================================ */
.about-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.about-content {
  flex: 1;
  min-width: 0;
}

.about-photo {
  flex-shrink: 0;
  width: 350px;
}

.about-photo-stack {
  position: relative;
  width: 100%;
}

.about-photo-img {
  width: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1s ease;
}

.about-photo-img:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
}

.about-photo-img.active {
  opacity: 1;
}

.about-photo-credit {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  line-height: 1.8;
  color: rgba(0,0,0,0.4);
  display: block;
  margin-top: 6px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.about-photo-credit:hover {
  color: rgba(0,0,0,0.5);
}

.about-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.5;
  color: rgba(0,0,0,0.75);
  font-weight: 400;
  margin-bottom: 12px;
}

.about-role-cycler {
  display: inline;
}

.about-role-cursor {
  display: inline;
  font-weight: 300;
  color: #e8a824;
  animation: cursorBlink 0.7s step-end infinite;
  margin-left: -1px;
}

.about-role-dot {
  display: inline;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.about-bio {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.6;
  color: rgba(0,0,0,0.6);
  font-weight: 400;
  margin-bottom: 18px;
}

.about-statement {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(0,0,0,0.45);
  margin-bottom: 12px;
}

.about-inline-link {
  color: rgba(0,0,0,0.65);
  text-decoration: underline;
  text-decoration-color: #e8a824;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.about-inline-link:hover {
  color: rgba(0,0,0,0.85);
}

.about-cta-link {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 24px !important;
  font-weight: 300;
  color: rgba(0,0,0,0.75);
  text-decoration: underline;
  text-decoration-color: #e8a824;
  text-underline-offset: 4px;
  transition: color 0.15s ease;
  display: inline-block;
  margin-top: 16px;
}

.about-cta-link:hover {
  color: rgba(0,0,0,0.95);
}

.about-clients-heading {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  display: block;
  margin-bottom: 10px;
}

.about-clients-list {
  columns: 2 180px;
  column-gap: 24px;
  margin-bottom: 32px;
}

.about-clients-list span {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: rgba(0,0,0,0.45);
  line-height: 2;
  display: block;
}

.about-links {
  margin-top: 8px;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(0,0,0,0.3);
}

/* ============================================
   WHY I LEFT (ESSAY)
   ============================================ */
.why-essay {
  max-width: 620px;
  margin: 0 auto;
  padding-top: 20px;
}

.why-subtitle {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.25);
  text-align: center;
  margin-bottom: 10px;
}

.why-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: rgba(0,0,0,0.85);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: center;
}

.why-title em {
  font-style: italic;
}

.why-title-rule {
  width: 40px;
  height: 1px;
  background: #e8a824;
  margin: 0 auto 40px;
}

.why-epigraph {
  margin-bottom: 48px;
  padding-left: 20px;
  border-left: 1px solid rgba(0,0,0,0.08);
}

.why-epigraph blockquote {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(0,0,0,0.55);
  margin: 0;
}

.why-epigraph cite {
  display: block;
  margin-top: 12px;
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  font-style: normal;
  color: rgba(0,0,0,0.25);
  letter-spacing: 0.02em;
}

.why-body p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(0,0,0,0.65);
  margin-bottom: 24px;
}

.why-body a {
  color: rgba(0,0,0,0.75);
  text-decoration: underline;
  text-decoration-color: #e8a824;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.why-body a:hover {
  color: rgba(0,0,0,0.95);
}

.why-sign-off {
  margin-top: 36px;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 15px;
  color: rgba(0,0,0,0.65);
  line-height: 1.85;
}

/* Dark mode — Why essay */
body.dark-mode .why-subtitle { color: rgba(255,255,255,0.2); }
body.dark-mode .why-title { color: rgba(255,255,255,0.85); }
body.dark-mode .why-epigraph { border-left-color: rgba(255,255,255,0.08); }
body.dark-mode .why-epigraph blockquote { color: rgba(255,255,255,0.5); }
body.dark-mode .why-epigraph cite { color: rgba(255,255,255,0.2); }
body.dark-mode .why-body p { color: rgba(255,255,255,0.6); }
body.dark-mode .why-body a { color: rgba(255,255,255,0.7); }
body.dark-mode .why-body a:hover { color: rgba(255,255,255,0.95); }
body.dark-mode .why-sign-off { color: rgba(255,255,255,0.6); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(232, 227, 220, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-mode .lightbox-overlay {
  background: rgba(28, 27, 25, 0.97);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: rgba(0,0,0,0.4);
  cursor: pointer;
  z-index: 3;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  z-index: 2;
}

.lightbox-prev {
  left: 0;
  cursor: w-resize;
}

.lightbox-next {
  right: 0;
  cursor: e-resize;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  max-height: 92vh;
}

.lightbox-image {
  max-width: 85vw;
  max-height: 78vh;
  box-shadow: 0 8px 60px rgba(0,0,0,0.12);
}

.lightbox-image img {
  max-width: 85vw;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox-caption {
  text-align: center;
  margin-top: 14px;
}

.lightbox-caption .label {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: rgba(0,0,0,0.45);
}

.lightbox-caption .counter {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  color: rgba(0,0,0,0.3);
}

/* ============================================
   ARCHIVE NAV
   ============================================ */
.archive-nav {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.05);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.archive-nav a,
.archive-nav span {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: rgba(0,0,0,0.35);
}

/* ============================================
   PAGE SUBTITLE
   ============================================ */
.page-subtitle {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: rgba(0,0,0,0.45);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  #page-content {
    padding: 0 20px;
  }

  body[data-page="this-week"] #page-content {
    padding: 0;
  }

  .site-main {
    padding: 24px 16px 60px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .main-nav a {
    font-size: 11px;
    padding: 4px 8px;
  }

  .site-logo img {
    height: 36px;
  }

  .garage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .scatter-container,
  .scatter-container *,
  .scatter-item,
  .scatter-item-inner,
  .scatter-item-inner img {
    touch-action: auto !important;
  }
  .scatter-item {
    cursor: pointer;
  }

  .found-masonry {
    flex-direction: column;
  }

  .about-wrapper {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .about-photo {
    width: 200px;
  }

  .about-content {
    text-align: center;
  }

  .about-role {
    font-size: 18px;
    line-height: 1.5;
  }

  .about-links {
    justify-content: center;
  }

  .thisweek-header {
    padding: 0 16px;
  }

  .thisweek-footer {
    padding: 0 16px;
  }

  /* Hide listening, reading & found on mobile */
  .main-nav a[href="listening.html"],
  .main-nav a[href="reading.html"],
  .main-nav a[href="found.html"] {
    display: none;
  }
  #mini-player {
    display: none !important;
  }

  .site-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 20px 16px;
  }
  .footer-dot {
    margin: 0 4px;
  }
  .footer-visitor-line {
    font-size: 8px;
    padding: 0 12px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .garage-grid {
    grid-template-columns: 1fr;
  }

}

/* ============================================
   DARK MODE — CONTENT OVERRIDES
   ============================================ */
body.dark-mode .thisweek-dateline { color: rgba(255,255,255,0.85); }
body.dark-mode .thisweek-subtitle { color: rgba(255,255,255,0.45); }
body.dark-mode .thisweek-dateline::after { background: #e8a824; }
body.dark-mode .thisweek-nav-link { color: rgba(255,255,255,0.5); }
body.dark-mode .thisweek-nav-link:hover { color: rgba(255,255,255,0.7); }
body.dark-mode .archive-end-line { background: rgba(255,255,255,0.08); }
body.dark-mode .archive-end-heading { color: rgba(255,255,255,0.5); }
body.dark-mode .archive-end-text { color: rgba(255,255,255,0.35); }
body.dark-mode .garage-item-sold-badge { color: rgba(255,255,255,0.4); background: rgba(28,27,25,0.85); }
body.dark-mode .garage-item-name { color: rgba(255,255,255,0.55); }
body.dark-mode .garage-item-price { color: rgba(255,255,255,0.3); }
body.dark-mode .garage-item-desc { color: rgba(255,255,255,0.2); }
body.dark-mode .garage-footer p { color: rgba(255,255,255,0.32); }
body.dark-mode .found-count { color: rgba(255,255,255,0.45); }
body.dark-mode .found-tag { color: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.18); }
body.dark-mode .found-tag.active { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.45); }
body.dark-mode .found-item-credit .photographer { color: rgba(255,255,255,0.55); }
body.dark-mode .found-item-credit .source { color: rgba(255,255,255,0.4); }
body.dark-mode .found-item-credit .source-link { color: rgba(255,255,255,0.35); border-bottom-color: rgba(255,255,255,0.12); }
body.dark-mode .found-item-credit .source-link:hover { color: rgba(255,255,255,0.55); }
body.dark-mode .found-item-tags span { color: rgba(255,255,255,0.35); }
body.dark-mode .reading-date,
body.dark-mode .listening-date { color: rgba(255,255,255,0.45); }
body.dark-mode .track-number { color: rgba(255,255,255,0.25); }
body.dark-mode .track-title { color: rgba(255,255,255,0.55); }
body.dark-mode .track-item:hover .track-title { color: rgba(255,255,255,0.85); }
body.dark-mode .track-artist { color: rgba(255,255,255,0.4); }
body.dark-mode .track-item { border-bottom-color: rgba(255,255,255,0.06); }
body.dark-mode .track-embed { border-bottom-color: rgba(255,255,255,0.06); }
body.dark-mode .track-embed .video-wrapper { background: rgba(255,255,255,0.03); }
.reading-type[data-type="SS"] { color: #ff6719; }
.reading-type[data-type="PB"] { color: #4a90d9; }
.reading-type[data-type="AR"] { color: #4a9e6a; }
.reading-type[data-type="ES"] { color: #c45450; }
body.dark-mode .reading-type { color: rgba(255,255,255,0.75); }
body.dark-mode .reading-type[data-type="SS"] { color: #ff6719; }
body.dark-mode .reading-type[data-type="PB"] { color: #5a9fe6; }
body.dark-mode .reading-type[data-type="AR"] { color: #5aba7a; }
body.dark-mode .reading-type[data-type="ES"] { color: #d46560; }
body.dark-mode .reading-title { color: rgba(255,255,255,0.9); }
body.dark-mode .reading-item:hover .reading-title { color: rgba(255,255,255,1); }
body.dark-mode .reading-note { color: rgba(255,255,255,0.6); }
body.dark-mode .reading-author { color: rgba(255,255,255,0.7); }
body.dark-mode .reading-item { border-bottom-color: rgba(255,255,255,0.06); }
body.dark-mode .about-role { color: rgba(255,255,255,0.65); }
body.dark-mode .about-photo-credit { color: rgba(255,255,255,0.35); }
body.dark-mode .about-photo-credit:hover { color: rgba(255,255,255,0.5); }
body.dark-mode .about-bio { color: rgba(255,255,255,0.65); }
body.dark-mode .about-statement { color: rgba(255,255,255,0.45); }
body.dark-mode .about-inline-link { color: rgba(255,255,255,0.6); }
body.dark-mode .about-inline-link:hover { color: rgba(255,255,255,0.85); }
body.dark-mode .about-cta-link { color: rgba(255,255,255,0.65); }
body.dark-mode .about-cta-link:hover { color: rgba(255,255,255,0.9); }
body.dark-mode .about-clients-heading { color: rgba(255,255,255,0.35); }
body.dark-mode .about-clients-list span { color: rgba(255,255,255,0.45); }
body.dark-mode .lightbox-close { color: rgba(255,255,255,0.4); }
body.dark-mode .lightbox-caption .label { color: rgba(255,255,255,0.45); }
body.dark-mode .lightbox-caption .value { color: rgba(255,255,255,0.6); }
body.dark-mode .lightbox-caption .counter { color: rgba(255,255,255,0.3); }
body.dark-mode .lightbox-overlay { background: rgba(28,27,25,0.95); }
body.dark-mode .page-subtitle { color: rgba(255,255,255,0.45); }
body.dark-mode .found-tags { border-bottom-color: rgba(255,255,255,0.05); }
body.dark-mode .archive-nav { border-top-color: rgba(255,255,255,0.05); }
body.dark-mode .archive-nav a,
body.dark-mode .archive-nav span { color: rgba(255,255,255,0.3); }
