:root {
  --bg-0: #0a0a0b;
  --bg-1: #131316;
  --bg-2: #1c1c20;
  --bg-3: #25252b;
  --line: #2c2c33;
  --fg-0: #f4f4f5;
  --fg-1: #b5b5bb;
  --fg-2: #6e6e76;
  --accent: #d4a373;
  --accent-2: #e9c896;
  --flag: #d4a373;
  --multi: #5a8db5;
  --warn: #c87f5a;
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --font-serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --hd: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; background: var(--bg-0); color: var(--fg-0); font-family: var(--font-sans); font-size: 14px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ───────────────── site header ───────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hd);
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 8000;
}
.brand-mark { display: flex; flex-direction: column; gap: 1px; }
.brand-line {
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--fg-0);
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  font-family: var(--font-mono);
}

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-1);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover { color: var(--fg-0); }
.main-nav a[data-active="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ───────────────── route container ───────────────── */
.route-container {
  position: absolute;
  top: var(--hd);
  left: 0; right: 0; bottom: 0;
  overflow-y: auto;
}
.route-container.is-map {
  overflow: hidden;
}

/* ───────────────── HOME ───────────────── */
.view-home {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--fg-0);
  letter-spacing: -0.005em;
  max-width: 880px;
  margin: 0 auto 8px;
  text-align: center;
}
.hero-quote-attr {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-mono);
  text-align: center;
  margin-bottom: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  margin-bottom: 96px;
}

.hero-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.hero-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.hero-card .img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  overflow: hidden;
}
.hero-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.designer .img-wrap { aspect-ratio: 4 / 5; }
.hero-card .meta { padding: 22px 24px 26px; }
.hero-card .kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.hero-card h2 {
  margin: 0 0 6px 0;
  font-size: 24px;
  font-weight: 500;
  color: var(--fg-0);
}
.hero-card .sub {
  font-size: 13px;
  color: var(--fg-1);
  margin-bottom: 14px;
}
.hero-card .desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 0 0 16px 0;
}
.hero-card .more {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-head h3 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--fg-1);
}
.section-head h3 .count { color: var(--accent); margin-left: 8px; }
.section-head .see-all {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-mono);
  transition: color 0.1s;
}
.section-head .see-all:hover { color: var(--accent); }

.section { margin-bottom: 72px; }

.work-strip, .designer-strip {
  display: grid;
  gap: 16px;
}
.work-strip { grid-template-columns: repeat(4, 1fr); }
.designer-strip { grid-template-columns: repeat(5, 1fr); }

.work-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.12s;
  display: flex;
  flex-direction: column;
}
.work-card:hover { border-color: var(--accent); }
.work-card .img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.work-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.work-card .img-wrap.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
}
.work-card .no-img-mark {
  font-family: var(--font-serif);
  font-size: 64px;
  color: var(--bg-3);
  font-weight: 400;
  user-select: none;
}
.work-card .body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work-card .title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-0);
}
.work-card .meta {
  font-size: 11px;
  color: var(--fg-2);
  font-family: var(--font-mono);
}
.work-card .designer { color: var(--fg-1); font-size: 12px; font-family: var(--font-sans); }

.designer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 14px 6px;
  border-radius: 4px;
  transition: background 0.1s;
}
.designer-card:hover { background: var(--bg-1); }
.designer-card .portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}
.designer-card .portrait img { width: 100%; height: 100%; object-fit: cover; }
.designer-card .portrait.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--accent);
}
.designer-card .name {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-0);
  line-height: 1.3;
}
.designer-card .meta {
  font-size: 10px;
  color: var(--fg-2);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.map-preview-wrap {
  position: relative;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-1);
}
.map-preview-wrap #mini-map { width: 100%; height: 100%; }
.map-preview-wrap .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,11,0.85) 0%, rgba(10,10,11,0) 50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  padding: 32px;
}
.map-preview-wrap .overlay .text {
  max-width: 320px;
  pointer-events: auto;
}
.map-preview-wrap .overlay h4 {
  margin: 0 0 8px 0;
  font-size: 22px;
  color: var(--fg-0);
  font-weight: 500;
}
.map-preview-wrap .overlay p {
  margin: 0 0 14px 0;
  font-size: 13px;
  color: var(--fg-1);
  line-height: 1.5;
}

/* ───────────────── WORKS GRID / DESIGNERS GRID ───────────────── */
.view-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 96px;
}
.view-grid h1 {
  margin: 0 0 6px 0;
  font-size: 32px;
  font-weight: 400;
  font-family: var(--font-serif);
  letter-spacing: -0.005em;
}
.view-grid .lede {
  font-size: 13px;
  color: var(--fg-2);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.grid-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.grid-filters .filter {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-mono);
}
.grid-filters .filter:hover { color: var(--fg-0); border-color: var(--fg-2); }
.grid-filters .filter[data-active="true"] {
  color: var(--bg-0);
  background: var(--accent);
  border-color: var(--accent);
}

.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.designer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ───────────────── WORK DETAIL ───────────────── */
.view-work-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 32px 96px;
}
.crumb-bar {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-mono);
  margin-bottom: 24px;
}
.crumb-bar a { color: var(--fg-1); }
.crumb-bar a:hover { color: var(--accent); }
.crumb-bar .sep { margin: 0 8px; color: var(--fg-2); }
.crumb-bar .current { color: var(--accent); }

.work-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
.work-hero-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.work-hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.work-hero-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity 0.15s;
}
.work-hero-img:hover img { opacity: 0.92; }
.work-hero-img .zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 10, 11, 0.78);
  color: var(--fg-1);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  padding: 4px 8px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.work-hero-img:hover .zoom-hint { opacity: 1; }

.work-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 6px;
}
.work-thumb {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color 0.1s, opacity 0.1s;
  opacity: 0.55;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-thumb:hover { opacity: 1; }
.work-thumb.active { border-color: var(--accent); opacity: 1; }

/* Designer extra thumbs (fallback when work gallery is thin) */
.work-gallery-extra { margin-top: 8px; }
.work-gallery-extra .extra-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-family: var(--font-mono);
  color: var(--fg-2);
  margin-bottom: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  text-transform: uppercase;
}
.work-gallery-extra .extra-kicker { color: var(--fg-2); }
.work-gallery-extra .extra-name { color: var(--accent); }
.work-thumb.extra-thumb { opacity: 0.4; }
.work-thumb.extra-thumb:hover { opacity: 1; }

/* ───────────────── lightbox ───────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.96);
  z-index: 11000;
  display: none;
  flex-direction: column;
  user-select: none;
}
.lightbox[data-open="true"] { display: flex; }
.lb-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 80px 32px;
  cursor: zoom-out;
}
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: default;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-0);
  width: 40px;
  height: 40px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.lb-close:hover { background: var(--bg-2); border-color: var(--accent); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-0);
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.lb-nav:hover { background: var(--bg-2); border-color: var(--accent); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-counter {
  position: absolute;
  top: 22px;
  left: 24px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fg-2);
  font-family: var(--font-mono);
}
.lb-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 13px;
  color: var(--fg-1);
  font-family: var(--font-mono);
  padding: 0 24px;
}

.work-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.work-hero-img.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
}
.work-hero-img.no-img .mark {
  font-family: var(--font-serif);
  font-size: 96px;
  color: var(--bg-3);
}

.work-info h1 {
  margin: 0 0 4px 0;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-0);
}
.work-info .year-line {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 22px;
}
.work-info .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.work-info .row .label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-mono);
}
.work-info .row .val { color: var(--fg-1); }
.work-info .row .val a { color: var(--accent); }
.work-info .row .val a:hover { text-decoration: underline; }

.work-description {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-1);
  margin: 0 0 24px 0;
}
.work-description p { margin: 0 0 14px 0; }
.work-description p:last-child { margin-bottom: 0; }

.designer-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.designer-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.15s, background 0.15s;
}
.designer-cta:hover { border-color: var(--accent); background: var(--bg-2); }
.designer-cta .cta-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-mono);
}
.designer-cta .cta-name {
  font-size: 16px;
  color: var(--fg-0);
  font-weight: 500;
}
.designer-cta .cta-arrow {
  color: var(--accent);
  font-size: 18px;
  font-family: var(--font-mono);
}

.work-meta-rows {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.related-section {
  max-width: 1280px;
  margin: 72px auto 0;
  padding: 0 32px;
}
.related-section .section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.related-section h3 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--fg-1);
}
.related-section h3 .count { color: var(--accent); margin-left: 8px; }
.related-section .see-all {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-mono);
  transition: color 0.1s;
}
.related-section .see-all:hover { color: var(--accent); }

.single-designer-card {
  display: block;
  padding: 24px 28px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.15s, background 0.15s;
}
.single-designer-card:hover {
  border-color: var(--accent);
  background: var(--bg-2);
}
.single-designer-card .sdc-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.single-designer-card .sdc-name {
  font-size: 22px;
  color: var(--fg-0);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.single-designer-card .sdc-meta {
  font-size: 12px;
  color: var(--fg-2);
  font-family: var(--font-mono);
}
.single-designer-card .sdc-excerpt {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-1);
  margin-bottom: 14px;
  max-width: 720px;
}
.single-designer-card .sdc-cta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
}

.stockist-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stockist-list-card {
  display: block;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color 0.15s, background 0.15s;
}
.stockist-list-card:hover { border-color: var(--accent); background: var(--bg-2); }
.stockist-list-card .sl-name {
  font-size: 13px;
  color: var(--fg-0);
  margin-bottom: 4px;
}
.stockist-list-card .sl-meta {
  font-size: 11px;
  color: var(--fg-2);
  font-family: var(--font-mono);
}
.stockist-list-card .sl-warn { color: var(--warn); }

.work-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1280px;
  margin: 72px auto 0;
  padding: 32px 32px 0;
  border-top: 1px solid var(--line);
}
.work-prev-next .pn {
  padding: 18px 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work-prev-next .pn:hover { border-color: var(--accent); background: var(--bg-2); }
.work-prev-next .pn.pn-empty { background: transparent; border: 1px dashed var(--line); }
.work-prev-next .pn-next { text-align: right; }
.work-prev-next .pn-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
}
.work-prev-next .pn-name {
  font-size: 18px;
  color: var(--fg-0);
  font-weight: 500;
}
.work-prev-next .pn-year {
  font-size: 11px;
  color: var(--fg-2);
  font-family: var(--font-mono);
}

/* ───────────────── MAP route ───────────────── */
.view-map {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: 100%;
  overflow: hidden;
}
.view-map .sidebar {
  background: var(--bg-1);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.view-map .sidebar-head {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--line);
}
.view-map .sidebar-head h1 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--fg-0);
}
.view-map .sidebar-head .subtitle {
  font-size: 11px;
  color: var(--fg-2);
  font-family: var(--font-mono);
}

.filter-block {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.filter-block label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.filter-block label.row { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--fg-1); }
.filter-block select {
  width: 100%;
  background: var(--bg-2);
  color: var(--fg-0);
  border: 1px solid var(--line);
  padding: 7px 9px;
  font-size: 13px;
  font-family: var(--font-sans);
  border-radius: 3px;
  outline: none;
}
.filter-block select:focus { border-color: var(--accent); }

.tab-bar {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-0);
}
.tab-bar .tab {
  flex: 1;
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  color: var(--fg-2);
  padding: 10px 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  cursor: pointer;
}
.tab-bar .tab:last-child { border-right: none; }
.tab-bar .tab:hover { color: var(--fg-0); background: var(--bg-2); }
.tab-bar .tab[data-active="true"] {
  color: var(--accent);
  background: var(--bg-1);
}

.result-block {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.result-count {
  padding: 8px 18px;
  font-size: 11px;
  color: var(--fg-2);
  font-family: var(--font-mono);
  border-bottom: 1px solid var(--line);
}
.result-list { padding: 4px 0; }
.result-item {
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.result-item:hover { background: var(--bg-2); }
.result-item .name { font-size: 13px; color: var(--fg-0); }
.result-item .meta { font-size: 11px; color: var(--fg-2); margin-top: 2px; font-family: var(--font-mono); }
.result-item .meta .unverified { color: var(--warn); }
.result-item .accent { color: var(--accent); }

.map-shell {
  position: relative;
  height: 100%;
}
#map { width: 100%; height: 100%; background: var(--bg-0); }

.leaflet-container { background: #0a0a0b; }
.leaflet-control-attribution {
  background: rgba(10,10,11,0.85);
  color: var(--fg-2);
  font-size: 10px;
}
.leaflet-control-attribution a { color: var(--fg-1); }
.leaflet-control-zoom a {
  background: var(--bg-2);
  color: var(--fg-0);
  border: 1px solid var(--line);
}
.leaflet-control-zoom a:hover { background: var(--bg-3); }

.atlas-pin {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.4);
}
.atlas-pin.flagship { background: var(--flag); width: 18px; height: 18px; }
.atlas-pin.multi-brand { background: var(--multi); }
.atlas-pin.unverified { opacity: 0.55; }
.atlas-pin.highlighted { box-shadow: 0 0 0 4px var(--accent-2), 0 0 12px var(--accent-2); }

.marker-cluster-small { background-color: rgba(212,163,115,0.4); }
.marker-cluster-small div { background-color: rgba(212,163,115,0.7); color: #111; }
.marker-cluster-medium { background-color: rgba(212,163,115,0.45); }
.marker-cluster-medium div { background-color: rgba(212,163,115,0.75); color: #111; }
.marker-cluster-large { background-color: rgba(212,163,115,0.5); }
.marker-cluster-large div { background-color: rgba(212,163,115,0.8); color: #111; }

.detail-panel {
  position: absolute;
  top: 16px; right: 16px;
  width: 340px;
  max-height: calc(100% - 100px);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 500;
}
.detail-panel[data-open="true"] { display: flex; }
.detail-close {
  position: absolute;
  top: 8px; right: 10px;
  background: transparent;
  border: none;
  color: var(--fg-1);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}
.detail-body { overflow-y: auto; padding: 20px 18px; }
.detail-body .detail-kind {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--fg-2);
  font-family: var(--font-mono);
  margin-bottom: 6px;
}
.detail-body h2 { margin: 0 0 4px 0; font-size: 16px; padding-right: 24px; }
.detail-body .city { font-size: 11px; color: var(--fg-2); font-family: var(--font-mono); margin-bottom: 4px; }
.detail-body .type-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 2px;
  background: var(--bg-3);
  color: var(--fg-1);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.detail-body .type-badge.flagship { background: rgba(212,163,115,0.2); color: var(--accent-2); }
.detail-body .unverified-warn {
  font-size: 11px;
  color: var(--warn);
  padding: 6px 8px;
  background: rgba(200,127,90,0.08);
  border-left: 2px solid var(--warn);
  margin-bottom: 14px;
}
.detail-body h3 {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-2);
  text-transform: uppercase;
  margin: 16px 0 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.product-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  cursor: pointer;
}
.product-row:hover { background: var(--bg-2); margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.product-row .work-name { color: var(--fg-0); }
.product-row .designer-name { color: var(--fg-2); font-size: 11px; }
.product-row .year { color: var(--fg-2); font-family: var(--font-mono); font-size: 11px; }

.timeline-strip {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 372px;
  height: 56px;
  background: rgba(19,19,22,0.92);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 400;
  overflow: hidden;
}
.timeline-strip .tl-bar { position: relative; width: 100%; height: 2px; background: var(--line); }
.timeline-strip .tl-tick {
  position: absolute;
  top: -4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fg-2);
  transform: translateX(-50%);
  cursor: pointer;
  transition: all 0.15s;
}
.timeline-strip .tl-tick:hover { background: var(--accent); transform: translateX(-50%) scale(1.4); }
.timeline-strip .tl-tick.active { background: var(--accent); box-shadow: 0 0 0 3px rgba(212,163,115,0.3); }
.timeline-strip .tl-tick .tl-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--fg-1);
  font-family: var(--font-mono);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.timeline-strip .tl-tick:hover .tl-label,
.timeline-strip .tl-tick.active .tl-label { opacity: 1; }
.timeline-strip .tl-year-start,
.timeline-strip .tl-year-end {
  position: absolute;
  bottom: 4px;
  font-size: 10px;
  color: var(--fg-2);
  font-family: var(--font-mono);
}
.timeline-strip .tl-year-start { left: 18px; }
.timeline-strip .tl-year-end { right: 18px; }

/* ───────────────── designer page (existing, kept) ───────────────── */
.designer-page {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  display: none;
  flex-direction: column;
  z-index: 9000;
  overflow: hidden;
}
.designer-page[data-open="true"] { display: flex; }
.dp-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.dp-back {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-1);
  padding: 6px 12px;
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  border-radius: 3px;
}
.dp-back:hover { background: var(--bg-2); color: var(--fg-0); }
.dp-crumb {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-mono);
}
.dp-crumb .crumb-name { color: var(--accent); }
.dp-body {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0;
}
.dp-left { padding: 32px 32px 80px; border-right: 1px solid var(--line); background: var(--bg-1); }
.dp-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}
.dp-portrait img { width: 100%; height: 100%; object-fit: cover; }
.dp-portrait .placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--fg-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; }
.dp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dp-gallery .gal-img { width: 100%; aspect-ratio: 4 / 3; background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.dp-gallery .gal-img img { width: 100%; height: 100%; object-fit: cover; }
.dp-gallery .gal-cap { font-size: 11px; color: var(--fg-2); font-family: var(--font-mono); margin-top: 6px; line-height: 1.4; }
.dp-right { padding: 32px 40px 80px; }
.dp-right .dp-kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-2);
  font-family: var(--font-mono);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.dp-right h1 { margin: 0 0 6px 0; font-size: 36px; font-weight: 500; letter-spacing: -0.01em; }
.dp-right .dp-lifespan { font-size: 14px; color: var(--fg-1); font-family: var(--font-mono); margin-bottom: 4px; }
.dp-right .dp-role { font-size: 13px; color: var(--accent); margin-bottom: 28px; }
.dp-section { margin-bottom: 36px; }
.dp-section h3 { font-size: 10px; letter-spacing: 0.18em; color: var(--fg-2); text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin: 0 0 16px 0; font-family: var(--font-mono); }
.dp-bio { font-size: 15px; line-height: 1.65; color: var(--fg-1); }
.dp-bio p { margin: 0 0 14px 0; }
.dp-bio p:last-child { margin-bottom: 0; }
.dp-timeline { list-style: none; padding: 0; margin: 0; }
.dp-timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.dp-timeline .tl-year { color: var(--accent); font-family: var(--font-mono); font-size: 12px; }
.dp-timeline .tl-event { color: var(--fg-1); }
.dp-timeline .tl-event .bd-mark { display: inline-block; margin-left: 6px; color: var(--accent-2); font-size: 10px; font-family: var(--font-mono); }
.dp-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.dp-row:hover { background: var(--bg-1); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.dp-row .row-title { color: var(--fg-0); font-size: 14px; }
.dp-row .row-sub { color: var(--fg-2); font-size: 11px; margin-top: 2px; }
.dp-row .row-meta { color: var(--accent); font-family: var(--font-mono); font-size: 12px; }

/* Position in BD */
.dp-bd-position {
  background: var(--bg-1);
  border-left: 3px solid var(--accent);
  margin-left: -16px;
  padding: 18px 22px 20px;
  margin-bottom: 36px;
  border-radius: 0 4px 4px 0;
}
.dp-bd-position h3 {
  border-bottom-color: transparent !important;
  color: var(--accent) !important;
  margin-bottom: 14px !important;
}
.dp-axes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.axis-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.axis-row:last-child { border-bottom: none; }
.axis-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-mono);
}
.axis-val { color: var(--fg-0); }
.axis-val.accent { color: var(--accent); font-weight: 500; }
.axis-val .inline-link { color: var(--accent); border-bottom: 1px dotted var(--accent); }
.axis-val .inline-link:hover { background: rgba(212,163,115,0.12); }
.axis-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.55;
}
.dp-role-note {
  font-size: 12px;
  color: var(--fg-2);
  font-style: italic;
  line-height: 1.6;
  padding: 10px 12px;
  background: var(--bg-0);
  border-left: 2px solid var(--line);
  margin-bottom: 16px;
}
.dp-bd-relationship {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-0);
}
.dp-bd-relationship p { margin: 0 0 12px 0; }
.dp-bd-relationship p:last-child { margin-bottom: 0; }

/* Adjacent in BD */
.dp-adj-intro {
  font-size: 12px;
  color: var(--fg-2);
  margin-bottom: 14px;
  line-height: 1.6;
}
.dp-adjacent-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.dp-adj-card {
  display: block;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.12s, background 0.12s;
}
.dp-adj-card:hover { border-color: var(--accent); background: var(--bg-2); }
.dp-adj-card .adj-name { font-size: 15px; color: var(--fg-0); font-weight: 500; margin-bottom: 2px; }
.dp-adj-card .adj-meta { font-size: 11px; color: var(--fg-2); font-family: var(--font-mono); margin-bottom: 8px; }
.dp-adj-card .adj-shared { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-adj-card .adj-tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: rgba(212,163,115,0.12);
  color: var(--accent-2);
  border-radius: 100px;
  font-family: var(--font-mono);
}

/* ───────────────── ABOUT ───────────────── */
.view-about {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}
.view-about h1 {
  margin: 0 0 12px 0;
  font-size: 32px;
  font-family: var(--font-serif);
  font-weight: 400;
}
.view-about .lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-1);
  margin-bottom: 36px;
}
.view-about h2 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-mono);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin: 36px 0 16px;
}
.view-about p { font-size: 14px; line-height: 1.65; color: var(--fg-1); margin: 0 0 14px 0; }

/* ───────────────── grid view lede prose ───────────────── */
.view-grid-lede-prose {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-1);
  margin: 0 0 32px 0;
  max-width: 780px;
}

/* ───────────────── vocabulary chart ───────────────── */
.view-vocabulary { padding-bottom: 96px; }
.vocab-chart-wrap {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 40px;
}
.vocab-svg {
  width: 100%;
  height: auto;
  display: block;
}
.vocab-svg .axis-cap-top,
.vocab-svg .axis-cap-bottom,
.vocab-svg .axis-cap-left,
.vocab-svg .axis-cap-right {
  fill: var(--fg-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-anchor: middle;
}
.vocab-svg .axis-cap-left { text-anchor: start; }
.vocab-svg .axis-cap-right { text-anchor: end; }
.vocab-svg .vocab-node { cursor: pointer; }
.vocab-svg .vocab-dot {
  fill: var(--accent);
  stroke: #0a0a0b;
  stroke-width: 2;
  transition: r 0.15s, fill 0.15s;
}
.vocab-svg .vocab-node:hover .vocab-dot {
  fill: var(--accent-2);
  r: 9;
}
.vocab-svg .vocab-label {
  fill: var(--fg-1);
  font-family: var(--font-sans);
  font-size: 12px;
  pointer-events: none;
  transition: fill 0.15s, font-weight 0.15s;
}
.vocab-svg .vocab-node:hover .vocab-label {
  fill: var(--accent-2);
  font-weight: 500;
}

.vocab-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.vocab-quadrant {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 18px;
}
.vocab-quadrant h4 {
  margin: 0 0 6px 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
}
.vocab-quadrant p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-1);
}

/* ───────────────── network graph ───────────────── */
.view-network { padding-bottom: 96px; }
.network-wrap {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 24px;
}
.network-svg { width: 100%; height: auto; display: block; }
.network-svg .net-edge { transition: opacity 0.15s, stroke 0.15s; }
.network-svg .net-edge:hover { opacity: 0.9 !important; stroke: var(--accent); }
.network-svg .net-node { cursor: pointer; }
.network-svg .net-node circle {
  transition: r 0.15s, stroke 0.15s;
}
.network-svg .net-node:hover circle {
  r: 11;
  stroke: var(--accent-2);
  stroke-width: 3;
}
.network-svg .net-label {
  fill: var(--fg-1);
  font-family: var(--font-sans);
  font-size: 12px;
  pointer-events: none;
}
.network-svg .net-node:hover .net-label {
  fill: var(--accent-2);
  font-weight: 500;
}

.network-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 12px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.network-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-1);
}
.network-legend .legend-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}

/* ───────────────── responsive ───────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .work-strip, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .designer-strip, .designer-grid { grid-template-columns: repeat(3, 1fr); }
  .work-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .dp-body { grid-template-columns: 1fr; }
  .dp-left { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .site-header { padding: 0 16px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 10px; }
  .view-home { padding: 32px 16px 64px; }
  .hero-quote { font-size: 24px; }
  .work-strip, .work-grid { grid-template-columns: 1fr; }
  .designer-strip, .designer-grid { grid-template-columns: repeat(2, 1fr); }
}
