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

:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --surface-light: #243044;
  --text: #e8eaed;
  --text-muted: #9aa5b4;
  --accent: #c0392b;
  --accent-soft: rgba(192, 57, 43, 0.15);
  --link: #6db3f2;
  --border: #2d3a4f;
  --max-width: 780px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
}

.skip-link:focus {
  top: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}

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

.lang-switch {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.lang-switch a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

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

.lang-switch a.active {
  color: var(--text);
  border-color: var(--border);
  background: var(--surface);
}

/* Hero */
.hero {
  padding: 3.5rem 0 2rem;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5b7b1;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 4px;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-alias {
  margin: -0.5rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-muted);
}

.hero-lead {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-lead strong {
  color: var(--text);
}

/* Alert banner */
.alert-banner {
  margin-bottom: 2.5rem;
  padding: 1.125rem 1.25rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.alert-banner strong {
  color: #f5b7b1;
}

/* Photos */
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.photo {
  margin: 0;
  flex: 1 1 220px;
}

.photo-square {
  max-width: 500px;
}

.photo-portrait {
  max-width: 453px;
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  object-fit: cover;
}

.photo-square img {
  aspect-ratio: 1 / 1;
}

.photo-portrait img {
  aspect-ratio: 453 / 604;
}

.photo figcaption {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Key facts */
.key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.fact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.125rem 1.25rem;
}

.fact-card .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.fact-card .value {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.fact-card.highlight {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.fact-card.highlight .value {
  color: #f5b7b1;
}

/* Content sections */
.content section {
  margin-bottom: 2.75rem;
}

.content h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.75rem 0 0.625rem;
  color: var(--text);
}

.content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.content p strong,
.content li strong {
  color: var(--text);
  font-weight: 600;
}

.content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.content li {
  margin-bottom: 0.5rem;
}

.content a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content a:hover {
  text-decoration: none;
}

.callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

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

.callout-strong {
  background: var(--accent-soft);
  border-left-width: 4px;
  border-left-color: var(--accent);
}

.callout-strong p {
  color: var(--text);
}

.channel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.channel-list li {
  margin-bottom: 0.625rem;
}

.channel-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.court-citations {
  margin: 1.5rem 0 0;
}

.court-cite {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.court-cite h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.court-cite blockquote {
  margin: 0 0 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-style: italic;
}

.court-cite p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

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

.court-cite a {
  color: var(--link);
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 2rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.site-footer time {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .hero {
    padding: 2.5rem 0 2rem;
  }

  .key-facts {
    grid-template-columns: 1fr;
  }
}
