/* Lifestyle Library Men Archive — stylesheet
 * Follows DESIGN.md v0.1 — single source of truth for tokens.
 * Do not add colors, fonts, or spacing outside the declared scale.
 */

:root {
  /* Color tokens — from DESIGN.md section 2 */
  --paper: #FAF9F5;
  --paper-alt: #F2F0E8;
  --ink: #141414;
  --ink-soft: #3B3936;
  --ink-muted: #6B6A63;
  --line: #E8E4D8;
  --line-soft: #F0ECDF;
  --earth: #8B7355;
  --sold: #A89F8A;
  --alert: #8C3A2E;

  /* Spacing scale — from DESIGN.md section 5 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* Container */
  --container: 1400px;
  --side: 48px;
}

@media (max-width: 1279px) { :root { --side: 40px; } }
@media (max-width: 959px)  { :root { --side: 24px; } }
@media (max-width: 639px)  { :root { --side: 16px; } }

/* Reset + base */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  min-height: 100vh;
}

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

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

a:hover { color: var(--ink-soft); }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

::selection { background: var(--earth); color: var(--paper); }

/* Typography — DESIGN.md section 3 */

.cf { font-family: 'Cormorant Garamond', Georgia, serif; }
.sans { font-family: 'DM Sans', sans-serif; }

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(42px, 6.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.005em;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.subsection {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
}

.label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
}

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--earth);
}

.caption {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.nums { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--side);
  padding-right: var(--side);
}

/* Nav — DESIGN.md section 4 */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 var(--side);
  max-width: var(--container);
  margin: 0 auto;
}

.brand-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.brand-wordmark .sep {
  margin: 0 0.3em;
  opacity: 0.4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--ink);
}

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

.nav-enquire {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: all 0.2s ease;
}

.nav-enquire:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 1px;
  background: var(--ink);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 959px) {
  .nav-links, .nav-enquire { display: none; }
  .nav-toggle { display: flex; }
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 80px var(--side) var(--side);
}

.nav-overlay.open { display: flex; }

.nav-overlay-close {
  position: absolute;
  top: 24px;
  right: var(--side);
  font-size: 24px;
  cursor: pointer;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.nav-overlay-links a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

/* Hero — home page */

.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  border-bottom: 1px solid var(--line-soft);
}

@media (max-width: 639px) {
  .hero { padding: var(--space-2xl) 0 var(--space-xl); }
}

.hero-eyebrow {
  margin-bottom: var(--space-md);
  color: var(--earth);
}

.hero-headline {
  margin-bottom: var(--space-lg);
  max-width: 18ch;
}

.hero-tagline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Buttons — DESIGN.md section 4 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0;
  text-decoration: none;
}

.btn:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: var(--paper);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  padding: 8px 0;
  background: transparent;
  border: none;
  color: var(--ink);
  border-bottom: 1px solid var(--earth);
}

.btn-ghost:hover {
  background: transparent;
  color: var(--ink);
  border-bottom-width: 2px;
  padding-bottom: 7px;
}

/* Section — generic */

.section {
  padding: var(--space-2xl) 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.005em;
}

.section-header a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}

.section-header a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Product grid — DESIGN.md section 4 */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 24px;
}

@media (max-width: 1279px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 959px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }

.product-card {
  display: block;
  color: var(--ink);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-card:hover .product-image img {
  opacity: 0.92;
}

.product-image {
  aspect-ratio: 4 / 5;
  background: var(--paper-alt);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-md);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.product-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: var(--paper-alt);
  color: var(--ink-muted);
}

.product-placeholder .big-letter {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 80px;
  color: var(--line);
}

.product-placeholder .awaiting {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ink-muted);
  padding: 0 20px;
  text-align: center;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  padding: 6px 10px;
  background: var(--paper);
  border: 1px solid var(--ink);
  color: var(--ink);
}

.badge.sold {
  background: var(--earth);
  border-color: var(--earth);
  color: var(--paper);
}

.product-brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
}

.product-price {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.product-price.struck {
  text-decoration: line-through;
  color: var(--sold);
  font-weight: 400;
}

.product-sold-label {
  font-weight: 500;
  color: var(--earth);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 11px;
}

.product-rrp {
  color: var(--ink-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-decoration: line-through;
}

/* Item detail — DESIGN.md section 4 */

.item-detail {
  padding: var(--space-2xl) 0;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: var(--space-2xl);
}

@media (max-width: 959px) {
  .item-detail {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
  }
}

.gallery-main {
  aspect-ratio: 4 / 5;
  background: var(--paper-alt);
  margin-bottom: var(--space-md);
  overflow: hidden;
  position: relative;
}

.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-thumb {
  aspect-ratio: 1 / 1;
  background: var(--paper-alt);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: opacity 0.2s;
}

.gallery-thumb:hover { opacity: 0.8; }
.gallery-thumb.active { outline: 1px solid var(--ink); outline-offset: 2px; }

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.item-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.item-brand-large {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.item-designer {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  font-style: italic;
}

.item-model {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink-soft);
}

.item-divider {
  height: 1px;
  background: var(--line);
  margin: var(--space-md) 0;
}

.spec-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
}

.spec-label {
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  padding-top: 2px;
}

.spec-value {
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.price-main {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.price-main.struck {
  text-decoration: line-through;
  color: var(--sold);
  font-weight: 400;
}

.price-rrp {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.price-delivered {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

.curators-note {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--line);
  max-width: 720px;
}

.curators-note .label {
  margin-bottom: var(--space-md);
}

.curators-note-body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.curators-note-body p + p { margin-top: 1em; }

/* Brand index */

.brand-letter-section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--line-soft);
}

.brand-letter {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(60px, 8vw, 96px);
  line-height: 1;
  color: var(--line);
  margin-bottom: var(--space-md);
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px 40px;
  list-style: none;
}

.brand-list li a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: 'DM Sans', sans-serif;
}

.brand-name-item {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.brand-count {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  margin-left: auto;
}

/* About */

.about-content {
  padding: var(--space-2xl) 0;
  max-width: 720px;
}

.about-content p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
  letter-spacing: 0.005em;
}

.about-content p:first-of-type {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.about-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: var(--space-2xl) 0;
}

.about-meta-item .label { margin-bottom: 6px; }
.about-meta-item .value { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--ink); }

/* Forms */

.form-wrap {
  max-width: 560px;
  padding: var(--space-xl) 0;
}

.form-row {
  margin-bottom: var(--space-lg);
}

.form-row .label { display: block; margin-bottom: 8px; }

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--ink-muted);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.form-helper {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--space-lg);
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--ink);
}

/* Featured home section */

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1px 0;
  margin: var(--space-2xl) 0;
}

@media (max-width: 639px) {
  .home-stats { grid-template-columns: 1fr; gap: 1px; }
}

.home-stat {
  background: var(--paper);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.home-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.home-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
}

/* Pop-up request page */

.popup-explain {
  max-width: 640px;
  padding: var(--space-xl) 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.popup-explain p + p { margin-top: 1em; }

.popup-explain em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  padding: var(--space-2xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (max-width: 959px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

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

.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 32ch;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 13px;
  color: var(--ink);
  transition: color 0.2s ease;
}

.footer-col ul a:hover { color: var(--earth); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Page intro block (shared across shop/archive/brands/about/enquire/popup) */

.page-intro {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-bottom: 1px solid var(--line-soft);
}

@media (max-width: 639px) {
  .page-intro { padding: var(--space-2xl) 0 var(--space-md); }
}

.page-intro .eyebrow {
  margin-bottom: var(--space-sm);
}

.page-intro .page-title {
  margin-bottom: var(--space-md);
  max-width: 16ch;
}

.page-intro .page-description {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* Filter bar (shop/archive) */

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-md) 0 var(--space-xl);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: var(--space-xl);
}

.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  background: var(--paper);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0;
}

.filter-chip:hover, .filter-chip.active {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-chip.active {
  background: var(--ink);
  color: var(--paper);
}

.filter-count {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
}

/* Awaiting photography marker on all placeholder images */
.awaiting-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: rgba(20, 20, 20, 0.6);
  color: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
}

/* Misc */

hr.rule {
  height: 1px;
  background: var(--line);
  border: none;
  margin: var(--space-2xl) 0;
}

.text-dim { color: var(--ink-muted); }
.text-earth { color: var(--earth); }

/* Archive-specific */
.archive-section-wrap {
  background: var(--paper-alt);
}

/* Smooth fade-in for first load */
.fade-up {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.12s; }
.fade-up:nth-child(3) { animation-delay: 0.19s; }
.fade-up:nth-child(4) { animation-delay: 0.26s; }
.fade-up:nth-child(5) { animation-delay: 0.33s; }
.fade-up:nth-child(6) { animation-delay: 0.40s; }
