/* Index: Schibsted Grotesk only. Dense working tables beside a calm, sticky intro. Motif: the green square. */
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-normal-400-900.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-italic-400-900.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
:root {
  --color-bg: oklch(0.975 0 0);
  --color-text: oklch(0.17 0 0);
  --color-accent: oklch(0.47 0.12 152);   /* text-safe green */
  --color-mark: oklch(0.68 0.17 150);     /* bright green, shapes only */
  --color-muted: oklch(0.47 0 0);
  --color-border: oklch(0.86 0 0);
}
@media (prefers-color-scheme: dark) { :root {
  --color-bg: oklch(0.16 0 0); --color-text: oklch(0.94 0 0); --color-accent: oklch(0.80 0.14 150);
  --color-mark: oklch(0.72 0.17 150); --color-muted: oklch(0.70 0 0); --color-border: oklch(0.30 0 0); } }
body { font-family: "Schibsted Grotesk", system-ui, sans-serif; }
.frame { max-width: 78rem; margin: 0 auto; padding: var(--grt-space-md) var(--grt-space-sm); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grt-space-lg); }
@media (min-width: 64rem) { .frame { grid-template-columns: 20rem minmax(0, 1fr); gap: var(--grt-space-xl); } .intro { position: sticky; top: var(--grt-space-md); align-self: start; } }
.intro h1 { margin: 0 0 var(--grt-space-sm); font-size: var(--grt-step-2); line-height: var(--grt-step-lh-2); font-weight: 800; letter-spacing: -0.02em; }
.intro h1 a { color: var(--color-text); text-decoration: none; }
.intro h1::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; background: var(--color-mark); margin-right: 0.35em; vertical-align: 0.05em; }
.intro p { color: var(--color-muted); }
.intro nav { display: flex; flex-wrap: wrap; gap: var(--grt-space-2xs) var(--grt-space-sm); margin-bottom: var(--grt-space-md); font-weight: 600; }
.intro nav a { color: var(--color-text); text-decoration: none; }
.intro nav a:hover { color: var(--color-accent); }
.intro img { width: 9rem; filter: grayscale(1) contrast(1.05); }
main h2 { font-size: var(--grt-step-1); line-height: var(--grt-step-lh-1); font-weight: 700; margin: 0 0 var(--grt-space-xs); }
main section + section { margin-top: var(--grt-space-xl); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: var(--grt-space-xs) var(--grt-space-sm) var(--grt-space-xs) 0; border-top: 1px solid var(--color-border); }
thead th { font-size: calc(var(--grt-scale-1) * 0.85); color: var(--color-muted); font-weight: 600; border-top: 2px solid var(--color-text); }
.career td:first-child { white-space: nowrap; color: var(--color-muted); font-variant-numeric: tabular-nums; width: 6.5rem; }
.career td:last-child { white-space: nowrap; }
.topics tbody th { font-weight: 700; width: 30%; }
.none { color: var(--color-muted); }
.latest { list-style: none; padding: 0; margin: 0; }
.latest li { padding: var(--grt-space-2xs) 0; border-top: 1px solid var(--color-border); }
.latest time { color: var(--color-muted); font-variant-numeric: tabular-nums; margin-right: var(--grt-space-xs); }
@media (max-width: 40rem) {
  table, tbody { display: block; width: 100%; }
  thead { position: absolute; left: -9999px; }
  .career tr, .topics tr { display: block; padding: var(--grt-space-xs) 0; border-top: 1px solid var(--color-border); }
  .career td, .topics td, .topics tbody th { display: block; border: 0; padding: 0; width: auto; white-space: normal; }
  .topics td:last-child { margin-top: var(--grt-space-2xs); }
}
