/* Silent Memories — memorial / remembrance aesthetic
   Sober, muted, documentary. Not related to Silent Authority. */

:root {
  --bg: #1a1c1e;
  --bg-elevated: #242628;
  --bg-card: #2a2d30;
  --text: #e8e6e3;
  --text-muted: #a8a5a0;
  --text-dim: #7a7772;
  --accent: #8b9a7a;
  --accent-soft: #6b7a5c;
  --border: #3a3d40;
  --border-soft: #323538;
  --link: #a8b89a;
  --link-hover: #c4d4b6;
  --warning-bg: #2c2a24;
  --warning-border: #5a5340;
  --font-serif: "Georgia", "Times New Roman", "Liberation Serif", serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 720px;
  --max-wide: 960px;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--link-hover);
}

/* —— Header / Nav —— */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.site-header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--link-hover);
  text-decoration: none;
}

.site-logo span {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.1rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.8rem;
}

.lang-toggle a {
  padding: 0.25rem 0.55rem;
  color: var(--text-dim);
  text-decoration: none;
  background: transparent;
}

.lang-toggle a[aria-current="true"],
.lang-toggle a.active {
  background: var(--bg-card);
  color: var(--text);
}

.lang-toggle a:hover {
  color: var(--text);
}

/* —— Main —— */
main {
  flex: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

main.wide {
  max-width: var(--max-wide);
}

.page-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 0.35rem;
  letter-spacing: 0.01em;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 0 1.75rem;
}

.lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

hr.sep {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 2rem 0;
}

/* —— Landing chooser —— */
.lang-chooser {
  text-align: center;
  padding: 4rem 1rem 3rem;
  max-width: 28rem;
  margin: 0 auto;
}

.lang-chooser h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.85rem;
  margin: 0 0 0.5rem;
}

.lang-chooser .tagline {
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 0.95rem;
}

.lang-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lang-buttons a {
  display: block;
  padding: 0.9rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  transition: border-color 0.15s, background 0.15s;
}

.lang-buttons a:hover {
  border-color: var(--accent-soft);
  background: #303338;
}

.lang-buttons a small {
  display: block;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.chooser-note {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* —— Person cards —— */
.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.person-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

a.person-card:hover {
  border-color: var(--accent-soft);
  color: inherit;
}

.person-card.coming {
  opacity: 0.72;
  cursor: default;
}

.person-card h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0;
  color: var(--text);
}

.person-card .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.person-card .badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-soft);
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  width: fit-content;
}

.person-card .badge.soon {
  color: var(--text-dim);
  border-color: var(--border);
}

.person-card .thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  margin: 0 0 0.5rem;
  background: var(--bg-elevated);
}

.person-card.coming a,
a.person-card.coming {
  cursor: pointer;
  opacity: 1;
}

a.person-card.coming {
  opacity: 0.9;
}

.coming-page {
  text-align: center;
  padding: 2rem 0 3rem;
}

.coming-page .portrait {
  max-width: 280px;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--border-soft);
}

.coming-page .portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.coming-banner {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 2rem 0 0.75rem;
}

/* —— Bio page —— */
.bio-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .bio-hero {
    grid-template-columns: 200px 1fr;
    align-items: start;
  }
}

.bio-portrait {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.bio-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.bio-facts {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.95rem;
}

.bio-facts li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
}

.bio-facts li:last-child {
  border-bottom: none;
}

.bio-facts dt,
.bio-facts .label {
  color: var(--text-dim);
  font-size: 0.85rem;
}

h2.section {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 2.25rem 0 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-soft);
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.note {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 2px solid var(--border);
  padding-left: 0.85rem;
  margin: 1rem 0;
}

/* —— Gallery —— */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
}

.gallery figure {
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.gallery figcaption {
  padding: 0.5rem 0.65rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* —— Filmography —— */
.film-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.film-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
}

.film-list li:last-child {
  border-bottom: none;
}

.film-list .year {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  margin-right: 0.5rem;
}

.film-list .disputed {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.ext-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

/* —— Watching / sources —— */
.source-list {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.source-list a {
  word-break: break-word;
}

/* —— Disclaimer box —— */
.disclaimer-box {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
}

.disclaimer-box strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  margin-top: auto;
}

.site-footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer nav {
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-disclaimer {
  max-width: 40rem;
}

/* —— Utility —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 480px) {
  .bio-facts li {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}
