/* =====================================================================
   Research page — Emin Style v1.2 (2026-11-25). Loaded by research.html
   only, after v2.css. Page-specific classes carry the rs- prefix.
   ===================================================================== */

.rs a { color: var(--ek-ink); text-underline-offset: 3px; }
.rs .v2-btn { text-decoration: none; }
.rs .v2-btn:not(.v2-btn--ghost):not(.v2-btn--paper) { color: var(--ek-paper); }
.rs-rule { position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--ek-ink); }
.rs-head { max-width: 880px; margin-bottom: 64px; }
.rs-head .v2-h2 { margin: 22px 0 24px; }
.rs-head .v2-prose { max-width: 36em; }

/* ---------- hero ---------- */
.rs-hero { padding: 72px 0 104px; }
.rs-hero__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 72px; align-items: end; }
.rs-display { font-size: clamp(46px, 8vw, 120px); font-weight: 500; line-height: .95; letter-spacing: -.04em; margin: 26px 0 44px; text-wrap: balance; }
.rs-lede { font-family: var(--ek-font-prose); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.01em; color: var(--ek-ink); margin-bottom: 28px; max-width: 25em; text-wrap: pretty; }
.rs-body { font-family: var(--ek-font-prose); font-size: 19px; line-height: 1.52; color: var(--ek-ink-2); max-width: 39em; }
.rs-hero__fig { position: relative; padding-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.rs-hero__fig strong { font-size: clamp(92px, 11.4vw, 172px); font-weight: 500; line-height: .84; letter-spacing: -.045em; color: var(--ek-coral-600); margin-left: -.04em; }
.rs-hero__fig > span:last-child { font-family: var(--ek-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; color: var(--ek-ink-muted); max-width: 30ch; }

/* ---------- method (ink) ---------- */
.rs-method { background: var(--ek-ink); color: var(--ek-paper); padding: 120px 0 128px; }
.rs-method h2 { color: var(--ek-paper); font-size: clamp(34px, 4.6vw, 72px); font-weight: 500; line-height: 1.05; letter-spacing: -.028em; margin: 26px 0 0; max-width: 16.5em; text-wrap: balance; }
.rs-method__intro { font-family: var(--ek-font-prose); font-size: 19px; line-height: 1.5; color: #E4E1D8; margin: 52px 0 44px; }
.rs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.rs-step { position: relative; padding-top: 36px; }
.rs-step .rs-rule { height: 1px; background: rgba(245,242,235,.34); }
.rs-step::before { content: ''; position: absolute; left: 0; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ek-coral-arc); z-index: 1; }
.rs-step__n { font-size: 60px; font-weight: 500; letter-spacing: -.035em; line-height: 1; color: var(--ek-coral-arc); margin-bottom: 24px; }
.rs-step h3 { color: var(--ek-paper); font-size: 24px; font-weight: 500; letter-spacing: -.022em; line-height: 1.18; margin-bottom: 12px; }
.rs-step p { font-size: 17px; line-height: 1.55; color: #E4E1D8; }
.rs-method__close { font-family: var(--ek-font-prose); font-size: 20px; line-height: 1.5; color: var(--ek-paper); margin-top: 64px; max-width: 42em; }
.rs-method__close span { display: block; }

/* ---------- flagship projects ---------- */
.rs-flagship { padding: 128px 0 96px; scroll-margin-top: 120px; }
.rs-flags { display: flex; flex-direction: column; gap: 32px; }
.rs-flag { border-radius: 24px; overflow: hidden; scroll-margin-top: 120px; }
.rs-flag--sunken { background: var(--ek-paper-sunken); }
.rs-flag--line { background: var(--ek-paper-lifted); border: 1px solid var(--ek-paper-edge); }
.rs-flag--ink { background: var(--ek-ink); color: var(--ek-paper); }
.rs-flag__body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; padding: 52px; }
.rs-flag h3 { color: inherit; font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.024em; line-height: 1.08; margin: 22px 0 14px; text-wrap: balance; }
.rs-flag__fig { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; margin: 30px 0 4px; }
.rs-flag__fig strong { font-size: clamp(80px, 9vw, 136px); font-weight: 500; letter-spacing: -.045em; line-height: .84; color: var(--ek-coral-600); margin-left: -.03em; }
.rs-flag__fig span { font-family: var(--ek-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.45; color: var(--ek-ink-muted); max-width: 24ch; padding-bottom: 6px; }
.rs-flag__co { font-family: var(--ek-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ek-coral-700); margin-bottom: 26px; }
.rs-flag__sum p { font-size: 17px; line-height: 1.58; color: var(--ek-ink-2); }
.rs-flag__sum p + p { margin-top: 16px; }
.rs-flag__cta { margin-top: 34px; }
.rs-flag__side { position: relative; padding-top: 30px; align-self: start; }
.rs-flag__side h4 { font-family: var(--ek-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: inherit; margin: 0 0 22px; }
.rs-points { list-style: none; margin: 0; padding: 0; }
.rs-points li { position: relative; padding: 0 0 20px 24px; font-size: 16px; line-height: 1.55; color: var(--ek-ink-2); }
.rs-points li:last-child { padding-bottom: 0; }
.rs-points li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ek-coral-arc); }
.rs-points li::after { content: ''; position: absolute; left: 2.5px; top: calc(.62em + 11px); bottom: -2px; width: 1px; background: rgba(22,21,15,.18); }
.rs-points li:last-child::after { display: none; }
/* the ink card */
.rs-flag--ink .rs-flag__co { color: var(--ek-coral-arc); }
.rs-flag--ink .rs-flag__sum p, .rs-flag--ink .rs-points li { color: #E4E1D8; }
.rs-flag--ink .rs-rule { background: rgba(245,242,235,.5); }
.rs-flag--ink .rs-points li::after { background: rgba(245,242,235,.24); }

/* status pill */
.rs-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--ek-ink); color: var(--ek-paper); font-family: var(--ek-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.rs-pill__node { width: 7px; height: 7px; border-radius: 50%; background: var(--ek-coral-arc); }
.rs-pill__meta { opacity: .8; letter-spacing: .04em; }
.rs-pill--open { background: transparent; color: var(--ek-ink); border: 1.5px dashed rgba(22,21,15,.55); padding: 6.5px 14.5px; }
.rs-flag--ink .rs-pill { background: var(--ek-paper); color: var(--ek-ink); }

/* the EU-law chart (inside the ink card) */
.rs-chart { margin: 18px 0 4px; }
.rs-chart figcaption { font-family: var(--ek-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; color: #B9B6AB; margin-bottom: 6px; }
.rs-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.rs-chart__grid { stroke: rgba(245,242,235,.16); stroke-width: 1; }
.rs-chart__tick { font-family: var(--ek-font-mono); font-size: 11px; fill: #B9B6AB; letter-spacing: .02em; }
.rs-chart__value { font-family: var(--ek-font-display); font-size: 13px; font-weight: 500; fill: var(--ek-paper); }
.rs-chart__mark { fill: #E76443; transform-box: fill-box; }
.rs-chart__hit { fill: transparent; }
.rs-chart__period:hover .rs-chart__mark { fill: var(--ek-coral-arc); }
.rs-chart__period:hover .rs-chart__hit { fill: rgba(245,242,235,.06); }
.rs-chart__src { font-family: var(--ek-font-mono); font-size: 10.5px; line-height: 1.4; color: #828078; margin-top: 4px; }

/* ---------- publications ---------- */
.rs-pubs { padding: 64px 0 96px; scroll-margin-top: 120px; }
.rs-pubgroup { margin-bottom: 56px; }
.rs-pubgroup h3 { display: flex; align-items: center; gap: 14px; font-family: var(--ek-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ek-ink); margin: 0 0 12px; }
.rs-pubgroup h3::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ek-coral-arc); flex: none; }
.rs-pubgroup ul { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ek-ink); }
.rs-pub { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(22,21,15,.16); }
.rs-pub__yr { font-family: var(--ek-font-mono); font-size: 13px; letter-spacing: .04em; color: var(--ek-ink-muted); }
.rs-pub p { font-family: var(--ek-font-prose); font-size: 18px; line-height: 1.5; color: var(--ek-ink); }
.rs-pub strong { font-weight: 500; }
.rs-pub__note { color: var(--ek-ink-muted); }
.rs-pub__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(22,21,15,.45); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .18s var(--ek-ease), color .18s var(--ek-ease), border-color .18s var(--ek-ease), transform .3s var(--ek-ease-out); }
.rs-pub:hover .rs-pub__go { background: var(--ek-coral-700); border-color: var(--ek-coral-700); color: var(--ek-paper); transform: translate(2px, -2px); }
.rs-pub:hover .rs-pub__yr { color: var(--ek-coral-700); }
.rs-pub__gap { width: 40px; flex: none; }
.rs-pubs__more { font-size: 16px; color: var(--ek-ink-muted); }

/* ---------- interests ---------- */
.rs-interests { padding: 64px 0 128px; scroll-margin-top: 120px; }
.rs-interests__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 80px; align-items: start; }
.rs-interests .v2-h2 { margin-top: 22px; }
.rs-nodes { list-style: none; margin: 0; padding: 0; }
.rs-nodes li { position: relative; padding: 0 0 26px 34px; font-family: var(--ek-font-prose); font-size: 19px; line-height: 1.5; color: var(--ek-ink-2); }
.rs-nodes li:last-child { padding-bottom: 0; }
.rs-nodes li::before { content: ''; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; border-radius: 50%; background: var(--ek-coral-arc); }
.rs-nodes li::after { content: ''; position: absolute; left: 3.5px; top: calc(.58em + 13px); bottom: -3px; width: 1px; background: var(--ek-paper-edge); }
.rs-nodes li:last-child::after { display: none; }
.rs-nodes strong { font-weight: 500; color: var(--ek-ink); }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .rs-hero { padding: 44px 0 64px; }
  .rs-hero__grid, .rs-steps, .rs-flag__body, .rs-interests__grid { grid-template-columns: 1fr; gap: 40px; }
  .rs-method { padding: 72px 0 80px; }
  .rs-flagship { padding: 80px 0 56px; }
  .rs-flag__body { padding: 28px 24px 32px; }
  .rs-head { margin-bottom: 40px; }
  .rs-pub { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .rs-pub__yr { grid-column: 1 / -1; }
  .rs-interests { padding: 40px 0 80px; }
  /* the chart is drawn at 400 units; on a phone it renders smaller, so its type steps up */
  .rs-chart__tick { font-size: 13px; }
  .rs-chart__value { font-size: 16px; }
}
