/* ─────────────────────────────────────────────────────────
   RESEARCH ETHICS — policy page, most restrained design
   Dense text, precise, editorial typography, no flair.
   Prefix: eth-
   ───────────────────────────────────────────────────────── */

/* ─── Hero — text-only, metadata lines ─── */
.eth-hero {
  padding-top: clamp(140px, 16vw, 200px);
  padding-bottom: clamp(56px, 8vw, 80px);
}
.eth-hero .container {
  max-width: 780px;
}
.eth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.eth-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.eth-hero__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.8rem, 5vw + 1rem, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.eth-hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.eth-lead {
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(1.05rem, 0.6vw + 0.85rem, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 64ch;
}
.eth-meta {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* ─── Section primitives ─── */
.eth-section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--rule);
}
.eth-section .container {
  max-width: 960px;
}
.eth-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.eth-section h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 2vw + 0.6rem, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.eth-section h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.eth-intro {
  margin-top: clamp(16px, 2vw, 24px);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 60ch;
}

/* ─── 3-principle cards ─── */
.eth-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 4vw, 48px);
}
.eth-principle {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 300ms var(--ease-out-strong);
}
.eth-principle:hover {
  border-color: var(--accent);
}
.eth-principle__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.eth-principle p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ─── 2×2 scope grid ─── */
.eth-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 16px);
  margin-top: clamp(24px, 3vw, 36px);
}
.eth-scope-card {
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--rule);
  background: var(--paper-deeper);
  transition: border-color 300ms var(--ease-out-strong);
}
.eth-scope-card:hover {
  border-color: var(--accent);
}
.eth-scope-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.eth-scope-card p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ─── Numbered rows ─── */
.eth-rows {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.eth-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: clamp(16px, 2vw, 22px) 0;
  border-bottom: 1px solid var(--rule);
}
.eth-row:first-child {
  border-top: 1px solid var(--rule);
}
.eth-row__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}
.eth-row__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.eth-row__sub {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 2px;
}

/* ─── 3-column card grid ─── */
.eth-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 4vw, 48px);
}
.eth-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--rule);
  background: var(--paper-deeper);
}
.eth-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}
.eth-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ─── Small notes ─── */
.eth-note {
  margin-top: clamp(16px, 2vw, 24px);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  line-height: 1.6;
  max-width: 60ch;
}

/* ─── Contact callout ─── */
.eth-callout {
  margin-top: clamp(24px, 3vw, 36px);
  padding: 24px 28px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  background: var(--paper-deeper);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 60ch;
}
.eth-callout strong {
  color: var(--ink);
  font-weight: 700;
}

/* ─── Closing ─── */
.eth-closing {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.eth-closing .container {
  max-width: 580px;
}
.eth-closing h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 2vw + 0.6rem, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.eth-closing h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.eth-closing p {
  margin-top: 20px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.eth-closing-cta {
  margin-top: 32px;
}
.eth-closing-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eth-closing-links a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 200ms;
}
.eth-closing-links a:hover {
  color: var(--accent);
}

/* ─── Dark mode ─── */
html.dark .eth-principle {
  border-color: oklch(1 0 0 / 0.08);
  background: oklch(0.10 0.02 260);
}
html.dark .eth-scope-card {
  border-color: oklch(1 0 0 / 0.08);
  background: oklch(0.10 0.02 260);
}
html.dark .eth-card {
  border-color: oklch(1 0 0 / 0.08);
  background: oklch(0.10 0.02 260);
}
html.dark .eth-callout {
  border-color: oklch(1 0 0 / 0.08);
  background: oklch(0.10 0.02 260);
  border-left-color: oklch(0.6 0.18 258);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .eth-principles,
  .eth-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .eth-principles,
  .eth-card-grid { grid-template-columns: 1fr; }
  .eth-scope-grid { grid-template-columns: 1fr; }
}
