/* ============================================================
   Aleida — Forskningen. A serious, readable evidence document
   with bold counting numbers and color-blocked sections that
   play together (cream · red grid · ink). Reuses home-palett
   tokens + cursor (film.css) + shared header/footer (about.css).
   ============================================================ */

/* shared grid backdrop for colored sections */
.fk-grid::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: 64px 64px;
  mask-image: radial-gradient(135% 115% at 50% 44%, #000 36%, transparent 86%);
  -webkit-mask-image: radial-gradient(135% 115% at 50% 44%, #000 36%, transparent 86%);
}

/* =========================================================
   1 · HERO — cream, editorial, document-like
   ========================================================= */
.fk-hero { position: relative; background: var(--cream); color: var(--ink); min-height: 90svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) var(--pad) clamp(64px, 9vw, 110px); }
.fk-hero .grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(26,24,20,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(26,24,20,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(110% 90% at 80% 20%, #000 18%, transparent 72%); -webkit-mask-image: radial-gradient(110% 90% at 80% 20%, #000 18%, transparent 72%); }
.fk-hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.fk-hero .eyebrow { color: var(--straw-deep); margin-bottom: 28px; white-space: nowrap; }
.fk-hero h1 { margin: 0; max-width: 15ch; font-weight: 600; letter-spacing: -.042em; line-height: 1.0; font-size: clamp(44px, 7vw, 118px); color: var(--ink); opacity: 0; transform: translateY(22px); animation: fkUp 1s cubic-bezier(.2,.85,.25,1) .1s both; }
.fk-hero h1 .em { color: var(--straw); }
.fk-hero .sub { margin: clamp(28px, 3.5vw, 44px) 0 0; max-width: 52ch; font-size: clamp(18px, 1.65vw, 23px); line-height: 1.55; color: var(--graphite); text-wrap: pretty; opacity: 0; transform: translateY(16px); animation: fkUp .9s ease .45s both; }
.fk-hero .note { margin-top: 34px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); opacity: 0; animation: fkUp .9s ease .6s both; }
.fk-hero .note .ln { width: 30px; height: 1px; background: var(--stone); }
@keyframes fkUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fk-hero h1, .fk-hero .sub, .fk-hero .note { animation: none; opacity: 1; transform: none; } }

/* =========================================================
   2 · INSIGHTS — one per section, huge counting number
   ========================================================= */
.fk-insight { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: clamp(80px, 11vw, 140px) var(--pad); }
.fk-insight .wrap { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.fk-numwrap { display: flex; }
.fk-num { font-weight: 800; font-size: clamp(116px, 21vw, 320px); line-height: .82; letter-spacing: -.05em; font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.fk-numwrap.in .fk-num { opacity: 1; transform: none; }
.fk-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.fk-body h2 { margin: 0 0 22px; font-size: clamp(27px, 3.3vw, 46px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.fk-body p { margin: 0 0 26px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.64; max-width: 48ch; text-wrap: pretty; }
.fk-source { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.fk-source::before { content: ""; width: 16px; height: 1px; background: currentColor; opacity: .6; }

/* variant: cream */
.fk-insight.v-cream { background: var(--cream); color: var(--graphite); }
.fk-insight.v-cream .fk-num { color: var(--straw); }
.fk-insight.v-cream .fk-kicker { color: var(--straw-deep); }
.fk-insight.v-cream .fk-body h2 { color: var(--ink); }
.fk-insight.v-cream .fk-source { color: var(--stone); }

/* variant: red grid */
.fk-insight.v-red { background: var(--straw); color: var(--cream); }
.fk-insight.v-red.fk-grid::before { background-image: linear-gradient(rgba(250,247,242,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(250,247,242,.14) 1px, transparent 1px); }
.fk-insight.v-red .fk-num { color: var(--cream); }
.fk-insight.v-red .fk-kicker { color: rgba(250,247,242,.85); }
.fk-insight.v-red .fk-body h2 { color: var(--cream); }
.fk-insight.v-red .fk-body p { color: rgba(250,247,242,.92); }
.fk-insight.v-red .fk-source { color: rgba(250,247,242,.78); }

/* variant: ink */
.fk-insight.v-ink { background: var(--ink); color: var(--cream); }
.fk-insight.v-ink.fk-grid::before { background-image: linear-gradient(rgba(225,75,71,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(225,75,71,.16) 1px, transparent 1px); }
.fk-insight.v-ink .fk-num { color: #FF6F69; }
.fk-insight.v-ink .fk-kicker { color: #FF8A6A; }
.fk-insight.v-ink .fk-body h2 { color: var(--cream); }
.fk-insight.v-ink .fk-body p { color: rgba(250,247,242,.8); }
.fk-insight.v-ink .fk-source { color: rgba(250,247,242,.62); }

@media (max-width: 820px) {
  .fk-insight .wrap { grid-template-columns: 1fr; gap: 24px; }
  .fk-num { font-size: clamp(110px, 38vw, 200px); }
}

/* =========================================================
   3 · VAD DET BETYDER — clear conclusion
   ========================================================= */
.fk-mean { background: var(--cream); color: var(--ink); padding: clamp(90px, 13vw, 180px) var(--pad); }
.fk-mean-inner { max-width: 980px; margin: 0 auto; }
.fk-mean .eyebrow { color: var(--straw-deep); }
.fk-mean h2 { margin: 16px 0 0; font-size: clamp(34px, 4.8vw, 70px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; color: var(--ink); max-width: 16ch; text-wrap: balance; }
.fk-mean p { margin: clamp(28px, 3.5vw, 44px) 0 0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.6; color: var(--graphite); max-width: 60ch; text-wrap: pretty; }
.fk-mean p .hi { color: var(--ink); font-weight: 600; }
.fk-mean p.beat { margin-top: clamp(22px, 2.4vw, 30px); color: var(--ink); font-weight: 500; }
.fk-mean p.close { margin-top: clamp(22px, 2.4vw, 30px); color: var(--ink); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.02em; }

/* =========================================================
   4 · KÄLLOR — document footnotes
   ========================================================= */
.fk-src { background: var(--soft); color: var(--graphite); padding: clamp(64px, 8vw, 110px) var(--pad); }
.fk-src-inner { max-width: 900px; margin: 0 auto; }
.fk-src .eyebrow { color: var(--stone); }
.fk-src .list { margin-top: 30px; border-top: 1px solid var(--border); }
.fk-ref { padding: 20px 0; border-bottom: 1px solid var(--border); font-size: clamp(14px, 1.2vw, 16px); line-height: 1.55; color: var(--graphite); max-width: 80ch; text-wrap: pretty; }
.fk-ref b { color: var(--ink); font-weight: 600; }
.fk-ref .yr { font-family: var(--mono); font-size: 12px; color: var(--straw-deep); margin-right: 12px; letter-spacing: .04em; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal], .fk-num { opacity: 1 !important; transform: none !important; transition: none; } }
