/* Red Sovereign Research — review-only static page. Zero build, no third-party assets. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f4f2;
  --surface: #ffffff;
  --text: #1b1d21;
  --text-muted: #4a4f57;
  --border: #dcd8d3;
  --accent: #8f1d2b;
  --accent-strong: #6f1621;
  --focus: #1b1d21;
  --maxw: 46rem;
  --pad: 1.25rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --bg-alt: #1b1e23;
    --surface: #1b1e23;
    --text: #eceef1;
    --text-muted: #b9bfc8;
    --border: #333941;
    --accent: #ff9fa8;
    --accent-strong: #ffc2c8;
    --focus: #ff9fa8;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

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

a:hover { color: var(--accent-strong); }

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Header — intentionally not sticky, so no skip link is required. */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  padding-block: 1rem;
}

.brand {
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 1.0625rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-decoration: none;
  padding-block: 0.15rem;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--accent-strong);
  border-bottom-color: currentColor;
}

.hero {
  padding-block: clamp(2.5rem, 8vw, 4.5rem) clamp(1.75rem, 5vw, 2.75rem);
  border-bottom: 1px solid var(--border);
}

h1 {
  margin: 0;
  font-size: clamp(1.55rem, 5.2vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 680;
  text-wrap: balance;
}

.hero-sub {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.03rem, 2.6vw, 1.15rem);
  color: var(--text-muted);
}

.section { padding-block: clamp(2.25rem, 6vw, 3.25rem); }

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 660;
}

h2::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 3px;
  margin-top: 0.6rem;
  background: var(--accent);
  border-radius: 2px;
}

p { margin: 0 0 1rem; }

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

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

.list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
}

.list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

.list-do li::before { content: "+"; }

.list-dont li::before { content: "\2013"; }

.standards {
  display: grid;
  gap: 0.85rem;
}

.standard {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 0.9rem 1.05rem;
}

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

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.person {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.15rem;
}

.initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

@media (prefers-color-scheme: dark) {
  .initials { color: #14161a; }
}

.person h3 {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 650;
}

.role {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.contact-email {
  margin: 0;
  font-size: clamp(1.03rem, 3vw, 1.15rem);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.75rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.site-footer p { margin: 0; }

@media (min-width: 40rem) {
  .header-inner { justify-content: space-between; }
}
