/* Luxury of the Past — English edition additions.
   Loaded after base.css and style.css; uses the same design tokens. */

/* Language switcher (always visible, also on mobile) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.lang-switch a,
.lang-switch span[aria-current] {
  color: var(--color-text-soft);
  text-decoration: none;
  padding: 0.15rem 0.1rem;
}
.lang-switch a:hover { color: var(--color-primary); }
.lang-switch span[aria-current] {
  color: var(--color-primary);
  font-weight: 600;
}
.lang-switch .lang-sep { color: var(--color-text-faint); }

/* Simple prose pages: About, Contact, Editorial standards */
.page-hero {
  padding: var(--space-16) 0 var(--space-8);
  border-bottom: 1px solid var(--color-divider);
}
.page-hero-inner { max-width: 760px; }
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--color-text);
  margin: var(--space-3) 0 var(--space-4);
}
.page-lede {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--color-text-soft);
  max-width: 640px;
}
.prose {
  padding: var(--space-12) 0 var(--space-20);
}
.prose-inner {
  max-width: 700px;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--color-text);
}
.prose-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin: var(--space-10) 0 var(--space-3);
  color: var(--color-text);
}
.prose-inner h2:first-child { margin-top: 0; }
.prose-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: var(--space-6) 0 var(--space-2);
}
.prose-inner p { margin: 0 0 var(--space-4); }
.prose-inner ul, .prose-inner ol { margin: 0 0 var(--space-5) 1.25rem; padding: 0; }
.prose-inner li { margin-bottom: var(--space-2); }
.prose-inner a { color: var(--color-primary); text-underline-offset: 3px; }
.prose-inner .note {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-gold);
  padding-left: var(--space-4);
  margin-top: var(--space-8);
}

/* Longread helpers */
.en-table-wrap { overflow-x: auto; margin: var(--space-6) 0; }
.en-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.92rem;
}
.en-table th, .en-table td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--color-divider);
  vertical-align: top;
}
.en-table th { color: var(--color-text-muted); font-weight: 600; }
.en-caption {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}
.en-aside {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  background: var(--color-surface-offset);
  border-left: 3px solid var(--color-gold);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-6) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.en-updated {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: var(--space-8);
}
.longread-sources li { margin-bottom: 0.6rem; }

/* Home: section of editorial principles */
.how-we-work {
  padding: var(--space-12) 0 var(--space-16);
  border-top: 1px solid var(--color-divider);
}
.how-we-work-inner { max-width: 720px; }
.how-we-work p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-soft);
}
.how-we-work a { color: var(--color-primary); }

@media (max-width: 760px) {
  .site-nav .lang-switch { display: inline-flex; }
  .page-hero { padding: var(--space-10) 0 var(--space-6); }
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-surface); color: var(--color-primary);
  padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.gz-context-inner--single { grid-template-columns: 1fr; max-width: 820px; }
.hero-wordmark-tag { letter-spacing: 0.22em; font-size: 0.8rem; text-align: center; }
.how-we-work-inner { max-width: none; }
.how-we-work-inner > * { max-width: 720px; }

/* === QA fixes, October 2026 === */
.en-byline {
  font-family: var(--font-sans, inherit);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin: var(--space-4, 1rem) 0 0;
}
.en-table td:nth-child(2) { white-space: nowrap; }
