:root {
  --cream: #f2ecdc;
  --paper: #faf5ea;
  --ink: #1e302c;
  --text: #1e302c;
  --ink-soft: #4d5f57;
  --sage: #3a453c;
  --gold: #c39a4a;
  --gold-dark: #9c7a34;
  --gold-light: #e9ca87;
  --line: #e3d9bf;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(30, 48, 44, 0.08);
  --shadow-hover: 0 8px 22px rgba(30, 48, 44, 0.14);
}

:root[data-theme="dark"] {
  --cream: #141f1b;
  --paper: #1d2b25;
  --text: #f2ead8;
  --ink-soft: #a9b8af;
  --sage: #93a89b;
  --gold-light: #eecf94;
  --line: #33443c;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 8px 22px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--cream);
  background-image: url("../images/watermark.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(784px, 73vw);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
  transition: background-color 0.2s, color 0.2s;
}

h1, h2, h3, .logo {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--text);
  margin: 0;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo img {
  height: 173px;
  width: 173px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav { display: flex; gap: 28px; }

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}

.nav a:hover { color: var(--gold-dark); }

.icon-btn, .theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.icon-btn:hover, .theme-toggle:hover { border-color: var(--gold); color: var(--gold-dark); }

.icon-btn.btn-wide {
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 14px 22px;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.theme-toggle .icon-moon { display: none; }

:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Hero */
.hero {
  padding: 90px 0 70px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(195, 154, 74, 0.12), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(30, 48, 44, 0.07), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(58, 69, 60, 0.06), transparent 40%);
}

.hero-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 760px;
  margin: 0 auto 20px;
}

.hero-text {
  max-width: 540px;
  margin: 0 auto 32px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--ink);
  color: var(--gold);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: #16221f;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

/* On dark sections (e.g. the Encomenda banner), the primary button inverts for contrast */
.request .btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.request .btn-primary:hover {
  background: #d9b563;
}

.btn-secondary {
  background: none;
  color: var(--gold-dark);
  border-color: var(--gold);
  padding: 12px 26px;
}

.btn-secondary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 50%;
  line-height: 0;
}

/* Section titles */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 36px;
}

/* Catalog */
.catalog { padding: 96px 0; }

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto 24px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
}

.search-box input {
  border: none;
  outline: none;
  background: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  width: 100%;
}

.search-box input::placeholder { color: var(--ink-soft); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }

.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(201px, 1fr));
  gap: 26px;
}

.product-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.product-card.highlight {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  transition: outline-color 2s ease;
}

.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--thumb-a, #ece1c4), var(--thumb-b, #dbcb9c));
  overflow: hidden;
}

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

.share-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.share-btn:hover { background: var(--gold); color: var(--ink); }

.thumb-strip {
  display: flex;
  gap: 6px;
  padding: 8px 18px 0;
}

.thumb-mini {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: none;
  flex-shrink: 0;
}

.thumb-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }

.thumb-mini.active { border-color: var(--gold); }

.product-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold-dark);
  background: rgba(195, 154, 74, 0.15);
  padding: 3px 9px;
  border-radius: 999px;
}

.product-tag.tag-cds { color: var(--gold-dark); background: rgba(195, 154, 74, 0.15); }
.product-tag.tag-vinil { color: var(--sage); background: rgba(58, 69, 60, 0.12); }
.product-tag.tag-livros { color: #8a6a2e; background: rgba(233, 202, 135, 0.35); }
.product-tag.tag-antiguidades { color: var(--text); background: rgba(30, 48, 44, 0.1); }
.product-tag.tag-colecionaveis { color: var(--gold-dark); background: rgba(58, 69, 60, 0.12); }
.product-tag.tag-article { color: var(--sage); background: rgba(58, 69, 60, 0.1); }

:root[data-theme="dark"] .product-tag.tag-livros { color: #f2dfae; background: rgba(233, 202, 135, 0.2); }
:root[data-theme="dark"] .product-tag.tag-antiguidades { background: rgba(242, 234, 216, 0.1); }

.product-title {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2px 0 0;
}

.product-condition {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.story-toggle {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
  cursor: pointer;
}

.story-toggle:hover { color: var(--gold-dark); }

.product-story {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.product-story p { margin: 0 0 12px; }

.tracklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.tracklist-disc h4 {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  color: var(--text);
  margin: 0 0 6px;
}

.tracklist-disc ol {
  margin: 0;
  padding-left: 18px;
}

.tracklist-disc li {
  font-size: 0.8rem;
  line-height: 1.7;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.product-price {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gold-dark);
}

.price-note {
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.trust-badge svg { color: var(--sage); flex-shrink: 0; }

.trust-badge:hover { color: var(--gold-dark); }

.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 0;
}

/* Request */
.request {
  padding: 56px 0;
  text-align: center;
  background: var(--ink);
}

.request .section-title { color: var(--gold); margin-bottom: 14px; }

.request p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 26px;
}

.request p.request-alt {
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.request-alt a { color: var(--gold); font-weight: 600; text-decoration: underline; }

/* About */
.about { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.about-card { text-align: center; padding: 0 10px; }

.about-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.about-card:nth-child(2) .about-num { color: var(--sage); }
.about-card:nth-child(3) .about-num { color: var(--text); }

.about-card h3 { font-size: 1.15rem; margin-bottom: 8px; }

.about-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Founder */
.founder { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.founder-inner { max-width: 560px; margin: 0 auto; text-align: center; }

.founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
}

.founder-inner p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 14px;
}

/* Testimonials */
.testimonials { padding: 72px 0; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.testimonial-text {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  margin: 0 0 12px;
}

.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin: 0;
}

.testimonial-name span { font-weight: 400; color: var(--ink-soft); }

/* Articles */
.articles { padding: 96px 0; }

.article-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.article-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: left;
  background: none;
  border-bottom: 1px solid var(--line);
  padding: 20px 4px;
  font-family: 'Inter', sans-serif;
  transition: padding-left 0.15s, background 0.15s;
}

.article-row:hover {
  background: rgba(195, 154, 74, 0.06);
  padding-left: 14px;
}

.article-row-img {
  width: 84px;
  height: 84px;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--paper);
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.article-row-text { min-width: 0; }

.article-row-title {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 8px 0 6px;
}

.article-row-excerpt {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

/* FAQ */
.faq { padding: 64px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.faq-content { max-width: 680px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 4px;
}

.faq-item summary {
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: var(--gold-dark);
  transition: transform 0.15s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 12px 0 4px;
}

.faq-item a { color: var(--gold-dark); font-weight: 600; }

/* Contact */
.contact { padding: 72px 0 96px; text-align: center; }

.contact p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 26px; }

/* Footer */
.site-footer {
  padding: 32px 0 26px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}


.footer-links { display: flex; gap: 18px; margin: 0; }
.footer-links a { text-decoration: underline; }
.footer-links a:hover { color: var(--gold-dark); }

/* Legal / content pages */
.back-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}

.back-link:hover { color: var(--gold-dark); }

/* 404 */
.not-found {
  padding: 100px 0 120px;
  text-align: center;
}

.not-found-logo {
  width: 110px;
  height: 110px;
  opacity: 0.5;
  margin-bottom: 24px;
}

.not-found h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 14px;
}

.not-found p {
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 auto 28px;
}

.legal-page { padding: 70px 0 100px; }

.legal-content { max-width: 680px; margin: 0 auto; }

.legal-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 36px 0 12px;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-content ol,
.legal-content ul {
  padding-left: 20px;
}

.legal-content li { margin-bottom: 8px; }

.legal-content a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; }

/* Product detail page */
.detail { padding: 50px 0 90px; }

.detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.detail-gallery {
  position: sticky;
  top: 100px;
}

.detail-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.detail-main-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-main-img.zoomable { cursor: zoom-in; }

.detail-gallery .thumb-strip { padding: 10px 0 0; }
.detail-gallery .thumb-mini { width: 56px; height: 56px; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  touch-action: none;
}

.lightbox-overlay.active { display: flex; }

.lightbox-imgwrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.15s ease-out;
}

.lightbox-img.zoomed { cursor: grab; }
.lightbox-img.dragging { cursor: grabbing; transition: none; }

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: background 0.15s;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }

.lightbox-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  z-index: 1000;
  pointer-events: none;
}

.detail-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 12px 0 10px;
}

.detail-condition {
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 22px;
}

.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.share-btn.icon-btn { position: static; }

.detail-cta {
  display: block;
  text-align: center;
  margin-bottom: 16px;
}

.detail-cta-repeat {
  margin-top: 30px;
}

.detail-info .trust-badge { border-top: none; padding-top: 0; margin-top: 0; }

.origin-block {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

.origin-block h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.origin-block p {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.detail-story {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.95rem;
}

.detail-story p { margin: 0 0 16px; }

.epigraph {
  text-align: center;
  margin: 30px 0 34px;
}

.epigraph-rule {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 22px;
}

.sources-note {
  margin: 30px 0 34px;
}

.sources-note p {
  text-align: left;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.epigraph p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.qa-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.qa-block h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.qa-block .faq-item { padding: 14px 2px; }
.qa-block .faq-item summary { font-size: 0.9rem; }
.qa-block .faq-item p { font-size: 0.85rem; }

.qa-ask {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.qa-ask:hover { text-decoration: underline; }

.qa-block-empty p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}

/* Related products */
.related { padding: 60px 0 90px; background: var(--paper); border-top: 1px solid var(--line); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.related-card { display: flex; flex-direction: column; gap: 10px; }

.related-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.related-card span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.related-card:hover span { color: var(--gold-dark); }

/* Article detail page */
.article-detail-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 90px;
}

.article-detail-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  margin: 0 auto 12px;
}

.article-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.article-detail-credit {
  font-size: 0.72rem;
  color: var(--ink-soft);
  opacity: 0.75;
  margin: 0 0 24px;
}

.article-detail-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 14px 0 30px;
}

.article-detail-body {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1rem;
}

.article-detail-body p { margin: 0 0 20px; }
.article-detail-body strong { color: var(--text); }

.article-detail-sources {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 20px;
}

.article-detail-sources h2 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.article-detail-sources p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 10px;
}

.article-detail-sources ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.7;
}

.article-detail-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 780px) {
  .detail-inner { grid-template-columns: 1fr; gap: 30px; }
  .detail-gallery { position: static; }
}

@media (max-width: 560px) {
  .nav { gap: 16px; }
  .hero { padding: 70px 0 50px; }
}
