/* getfox.net */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Noto+Sans+JP:wght@300;400;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg:      #0a0810;
  --bg2:     #110e1a;
  --bg3:     #181428;
  --border:  #251e38;
  --text:    #ede8ff;
  --muted:   #7060a0;
  --purple:  #b06ef3;
  --purple2: #d8a8ff;
  --orange:  #ff7a30;
  --orange2: #ffb080;
  --pink:    #e040fb;
  --cyan:    #3ee6d0;
  --red:     #ff4d6d;

  --pixel: 'Press Start 2P', monospace;
  --sans:  'Inter', -apple-system, sans-serif;
  --jp:    'Noto Sans JP', sans-serif;

  --wide: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

/* ─── NAV ─── */

/* Just the fox mark, top of every page — no links, no menu. */
nav.logo-only-nav {
  padding: 28px 40px 0;
}

.logo {
  display: inline-flex;
  text-decoration: none;
}

.logo-main {
  font-family: var(--jp);
  font-size: 26px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.02em;
  text-shadow: 0 0 24px rgba(176, 110, 243, 0.5);
  line-height: 1;
}

/* ─── MAIN ─── */

main {
  flex: 1;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 52px 40px 72px;
}

/* ─── PAGE HEADER ─── */

.page-header {
  margin-bottom: 44px;
}

.page-eyebrow {
  font-family: var(--pixel);
  font-size: 9px;
  color: var(--purple);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  display: block;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
}

/* ─── HERO ─── */

.hero {
  padding: 52px 0 52px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.hero-fox {
  font-size: 52px;
  display: block;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(176, 110, 243, 0.45));
  line-height: 1;
}

.hero-title {
  font-family: var(--jp);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-title .accent { color: var(--purple); text-shadow: 0 0 28px rgba(176, 110, 243, 0.4); }

.hero-subtitle {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  display: block;
}

.hero-body {
  font-size: 16px;
  color: #8898cc;
  max-width: 480px;
  line-height: 1.8;
}

/* ─── SECTION LABELS ─── */

.section-label {
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-label.cyan  { color: var(--purple); }
.section-label.pink  { color: var(--pink); }
.section-label.yellow { color: var(--orange); }
.section-label.purple { color: var(--purple); }

section { margin-bottom: 64px; }
section:last-child { margin-bottom: 0; }

/* ─── CARDS ─── */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: 4px;
  transition: border-color 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--orange));
  opacity: 0;
  transition: opacity 0.2s;
}

.card:hover { border-color: #2a2a55; transform: translateY(-2px); }
.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.card > p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.card-install {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--bg3);
  border-left: 3px solid var(--purple);
  line-height: 1.75;
}

/* ─── LINK ARROW ─── */

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.03em;
}

.link-arrow::after { content: '→'; font-size: 16px; }
.link-arrow:hover { color: #fff; }

/* ─── BLOG LIST ─── */

.post-list { list-style: none; }

.post-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.post-item:first-child { padding-top: 0; }
.post-item:last-child { border-bottom: none; padding-bottom: 0; }

.post-thumb-link { display: block; width: 140px; height: 140px; }

.post-thumb {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: block;
  transition: border-color 0.2s;
}

.post-thumb-empty {
  width: 140px;
  height: 140px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s;
}

.post-thumb-link:hover .post-thumb,
.post-thumb-link:hover .post-thumb-empty { border-color: var(--purple); }

.post-date {
  font-family: var(--pixel);
  font-size: 8px;
  color: var(--pink);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.post-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-title a { color: inherit; }
.post-title a:hover { color: var(--purple); }

.post-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg3);
  color: var(--purple);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 3px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ─── PHOTO GALLERY INDEX ─── */

.gallery-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-card {
  display: block;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  color: inherit;
}

.gallery-card:hover { border-color: #2a2a55; transform: translateY(-2px); color: inherit; }
.gallery-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg3); }
.gallery-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; opacity: 0.85; }
.gallery-card:hover .gallery-card-img img { transform: scale(1.05); opacity: 1; }
.gallery-card-info { padding: 24px; }
.gallery-card-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.gallery-card-info p { font-size: 14px; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.gallery-card-count { font-size: 12px; color: var(--muted); }
.gallery-card-essay { font-size: 12px; color: var(--purple); margin-left: 14px; }

/* ─── GALLERY DETAIL ─── */

.gallery-essay {
  max-width: 660px;
  font-size: 17px;
  line-height: 1.9;
  color: #9099cc;
  margin-bottom: 64px;
  padding-bottom: 56px;
  border-bottom: 2px solid var(--border);
}

.gallery-essay p { margin-bottom: 1.3rem; }
.gallery-essay h2 { font-size: 1.2rem; color: var(--text); margin: 2rem 0 0.75rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.2s;
  opacity: 0.85;
}

.gallery-item:hover { border-color: var(--purple); }
.gallery-item:hover img { transform: scale(1.05); opacity: 1; }

/* ─── LIGHTBOX ─── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 1000;
}

.lightbox.active { display: flex; align-items: center; justify-content: center; }
.lightbox-content { max-width: 92vw; max-height: 92vh; }
.lightbox-img { max-width: 100%; max-height: 92vh; object-fit: contain; border-radius: 4px; }

.lightbox-close {
  position: fixed;
  top: 24px; right: 28px;
  font-size: 36px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  line-height: 1;
}

.lightbox-close:hover { color: #fff; }

/* ─── BLOG POST ─── */

.post-back-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}
.post-back-link:hover { color: var(--purple); }

.post-hero { width: 100%; max-height: 480px; object-fit: cover; margin-bottom: 56px; border-radius: 4px; }

.post-header { max-width: 740px; margin-bottom: 56px; }

.post-header .post-date {
  font-family: var(--pixel);
  font-size: 9px;
  color: var(--pink);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}

.post-header h1 { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 18px; }

.post-content {
  font-size: 17px;
  line-height: 1.9;
  max-width: 700px;
  color: #b0b8d8;
}

.post-content h2 { font-size: 1.4rem; color: var(--text); margin: 2.5rem 0 1rem; }
.post-content h3 { font-size: 1.1rem; color: var(--text); margin: 2rem 0 0.75rem; }
.post-content p { margin-bottom: 1.4rem; }
.post-content img { max-width: 100%; border-radius: 4px; margin: 36px 0; }
.post-content code { font-size: 14px; background: var(--bg3); padding: 2px 8px; border: 1px solid var(--border); border-radius: 3px; color: var(--purple); }
.post-content pre { background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 24px; overflow-x: auto; margin: 32px 0; }
.post-content pre code { background: none; border: none; padding: 0; color: inherit; }
.post-content blockquote { border-left: 3px solid var(--purple); padding-left: 24px; color: var(--muted); margin: 32px 0; font-style: italic; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 80px; padding-top: 56px; border-top: 2px solid var(--border); max-width: 700px; }
.post-nav-item { display: block; padding: 24px 28px; border: 1px solid var(--border); color: var(--text); transition: border-color 0.2s; border-radius: 4px; }
.post-nav-item:hover { border-color: var(--purple); color: var(--text); }
.post-nav-label { font-family: var(--pixel); font-size: 8px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 10px; display: block; }
.post-nav-title { font-size: 15px; font-weight: 600; line-height: 1.4; }

/* ─── ABOUT ─── */

.about-body { max-width: 620px; font-size: 17px; line-height: 1.9; color: #8898cc; }
.about-body p { margin-bottom: 1.5rem; }
.about-body strong { color: var(--text); font-weight: 700; }
.about-body a { color: var(--purple); }

/* ─── PWA NOTE ─── */

.pwa-note { margin-top: 64px; padding: 32px 36px; border: 1px solid var(--border); background: var(--bg2); border-left: 3px solid var(--pink); border-radius: 4px; }
.pwa-note h3 { font-size: 16px; margin-bottom: 10px; color: var(--text); }
.pwa-note p { font-size: 15px; color: var(--muted); margin: 0; }


/* ─── MUSIC / BANDS SEEN ─── */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-tile {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.stat-value-text { font-size: 1.15rem; color: var(--purple2); }

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chart-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}

.chart-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 24px;
  margin-bottom: 16px;
}

.chart-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

/* Shows-per-year vertical bars */
.year-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.year-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 36px;
  height: 100%;
}

.year-bar-track {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.year-bar-fill {
  width: 100%;
  min-height: 4px;
  background: linear-gradient(180deg, var(--purple), var(--purple2));
  border-radius: 3px 3px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.year-bar-count {
  position: absolute;
  top: -20px;
  font-size: 11px;
  color: var(--text);
  font-weight: 600;
}

.year-bar-label {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

/* Horizontal bar lists (genres, top bands, top venues) */
.hbar-list { display: flex; flex-direction: column; gap: 10px; }

.hbar-row {
  display: grid;
  grid-template-columns: 100px 1fr 22px;
  align-items: center;
  gap: 10px;
}

.hbar-label {
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hbar-track {
  height: 8px;
  background: var(--bg3);
  border-radius: 4px;
  overflow: hidden;
}

.hbar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple2));
  border-radius: 4px;
}

.hbar-fill-orange { background: linear-gradient(90deg, var(--orange), var(--orange2)); }
.hbar-fill-pink { background: linear-gradient(90deg, var(--pink), var(--purple2)); }

.hbar-count { font-size: 11px; color: var(--muted); text-align: right; }

.show-timeline {
  list-style: none;
  position: relative;
  padding-left: 28px;
  margin-bottom: 56px;
}

.show-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.show-entry {
  position: relative;
  margin-bottom: 22px;
}
.show-entry:last-child { margin-bottom: 0; }

.accent-purple { --accent: var(--purple); }
.accent-pink   { --accent: var(--pink); }
.accent-orange { --accent: var(--orange); }
.accent-cyan   { --accent: var(--cyan); }
.accent-red    { --accent: var(--red); }

.show-entry-marker {
  position: absolute;
  left: -28px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent, var(--purple));
  box-shadow: 0 0 0 3px var(--bg), 0 0 10px 1px var(--accent, var(--purple));
}

.show-entry-marker-muted { background: var(--muted) !important; box-shadow: 0 0 0 3px var(--bg) !important; }

.show-entry-card {
  background: linear-gradient(160deg, var(--bg2), var(--bg3));
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent, var(--purple));
  border-radius: 4px;
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.show-entry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent, var(--purple)), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.show-entry-card:hover {
  border-color: var(--accent, #2a2a55);
  transform: translateX(2px);
  box-shadow: 0 6px 20px -8px var(--accent, transparent);
}
.show-entry-card:hover::before { opacity: 0.7; }

.show-entry-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.show-entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.show-entry-date {
  font-family: var(--pixel);
  font-size: 11px;
  color: var(--orange2);
  letter-spacing: 0.04em;
}

.show-entry-venue { font-size: 14px; color: var(--muted); }

.show-entry-bands { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }

.band-tag { background: rgba(176,110,243,0.1); color: var(--purple2); font-size: 13px; }

.show-entry-genres { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

.genre-pill {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 8px;
}

.show-entry-people {
  font-size: 13px;
  color: var(--purple2);
  margin-bottom: 8px;
}

.show-entry-notes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.show-entry-notes-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.show-entry-notes-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, var(--muted));
}

.show-timeline-undated::before { background: transparent; }
.show-timeline-undated .show-entry-marker { background: var(--muted); box-shadow: none; }

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

/* ─── RESPONSIVE ─── */

@media (max-width: 760px) {
  main { padding: 36px 20px 56px; }
  nav.logo-only-nav { padding: 20px 20px 0; }
  .logo-main { font-size: 20px; }
  .hero-title { font-size: 2.2rem; }
  .hero-fox { font-size: 40px; }
  .page-header h1 { font-size: 1.6rem; }
  .post-item { grid-template-columns: 1fr; }
  .post-thumb-link, .post-thumb, .post-thumb-empty { width: 100%; height: 200px; }
  .post-nav { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
