@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Work+Sans:wght@300;400;500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #1A1A1A;
  --surface: #1A1A1A;
  --surface-2: #1A1A1A;
  --text: #F2EFE9;
  --text-muted: #8A8798;
  --accent: #D3D3D3;
  --accent-2: #6FA8A0;
  --border: #1A1A1A;

  --display: 'Oswald', sans-serif;
  --body: 'Work Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Header ---------- */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 6vw;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.site-header .mark {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.site-header .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

nav.site-nav {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav.site-nav a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

nav.site-nav a:hover,
nav.site-nav a.active {
  color: var(--text);
}

nav.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Hero ---------- */

.hero {
  padding: 90px 6vw 60px;
  border-bottom: 1px solid var(--border);
}

.hero .eyebrow {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 14ch;
}

.hero p.sub {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 46ch;
}

/* ---------- Catalog grid ---------- */

.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 40px 6vw 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--border);
  padding: 0 6vw 100px;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
  cursor: default;
  perspective: 800px;
}

.tile .cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
  background-size: cover;
  background-position: center;
}

.tile .cat-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}

.tile .sleeve {
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tile:hover .cover,
.tile:focus-within .cover {
  opacity: 0;
  transform: scale(1.04);
}

.tile:hover .sleeve,
.tile:focus-within .sleeve {
  opacity: 1;
  transform: translateY(0);
}

.sleeve .sleeve-top {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.sleeve .sleeve-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.15;
  margin-top: 8px;
}

.sleeve .sleeve-role {
  font-family: var(--body);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.sleeve .sleeve-year {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tile:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* placeholder tile fills — swap for real cover images */
.ph-0 { background: linear-gradient(135deg, #E8622C, #C9451C); }
.ph-1 { background: linear-gradient(135deg, #6FA8A0, #3E6B65); }
.ph-2 { background: linear-gradient(135deg, #3A3750, #201F29); }
.ph-3 { background: linear-gradient(135deg, #C9451C, #6FA8A0); }
.ph-4 { background: linear-gradient(135deg, #8A8798, #252430); }

/* ---------- About page ---------- */

.about-wrap {
  padding: 80px 6vw 100px;
  max-width: 780px;
}

.about-wrap .eyebrow {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}

.about-wrap h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, 1vw, 1rem);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.about-wrap .bio {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.about-wrap .bio p { margin-bottom: 18px; }

.about-wrap .bio .placeholder-note {
  margin-top: 36px;
  padding: 16px 18px;
  border: 1px dashed var(--border);
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.credits-table {
  margin-top: 56px;
  border-top: 1px solid var(--border);
}

.credits-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.credits-row span:first-child { color: var(--text-muted); }

.contact-block {
  margin-top: 56px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.contact-block a {
  color: var(--accent-2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-block a:hover { border-color: var(--accent-2); }

/* ---------- Footer ---------- */

.site-footer {
  padding: 28px 6vw;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
}

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