@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --pine-950: #0b1f19;
  --pine-900: #10291f;
  --pine-800: #17382c;
  --pine-700: #214c3c;
  --pine-300: #9fbfb1;
  --pine-200: #c3d8ce;
  --amber: #f59e0b;
  --amber-soft: #fbbf24;
  --amber-deep: #a35208;
  --amber-wash: #fef6e4;
  --ink: #12211c;
  --body: #3d4b45;
  --muted: #5f6e68;
  --line: #dde5e1;
  --wash: #f4f7f5;
  --paper: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgb(11 31 25 / 0.06), 0 6px 18px -8px rgb(11 31 25 / 0.14);
  --shadow-lift: 0 2px 4px rgb(11 31 25 / 0.07), 0 16px 32px -14px rgb(11 31 25 / 0.26);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1232px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: "Schibsted Grotesk", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--amber); color: var(--pine-950); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .hero :focus-visible, .spot :focus-visible, .cta :focus-visible { outline-color: var(--amber-soft); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--amber); color: var(--pine-950); font-weight: 700; padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { top: 0.75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--pine-950); border-bottom: 1px solid var(--pine-800); }
.site-header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--amber); font-weight: 800; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 0.125rem; }
.nav a { padding: 0.5rem 0.7rem; font-size: 0.875rem; font-weight: 500; color: var(--pine-200); border-radius: 8px; white-space: nowrap; transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.nav a:hover { color: #fff; background: var(--pine-800); }
.nav a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.nav-spot { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.8rem; border: 1px solid var(--pine-700); border-radius: 8px; font-size: 0.875rem; font-weight: 700; color: var(--amber-soft); white-space: nowrap; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.nav-spot svg { width: 12px; height: 12px; }
.nav-spot:hover, .nav-spot[aria-current] { background: var(--pine-800); border-color: var(--amber); }
@media (max-width: 1100px) {
  .site-header .wrap { grid-template-columns: 1fr auto; gap: 0; padding-inline: 0; }
  .brand { grid-row: 1; grid-column: 1; padding: 0.85rem 1rem 0.55rem; }
  .nav-spot { grid-row: 1; grid-column: 2; margin-right: 1rem; }
  .nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding: 0 2.5rem 0.5rem 0.5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); }
  .nav::-webkit-scrollbar { display: none; }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--pine-950), var(--pine-900) 55%, var(--pine-950)); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-head p { margin-top: 1rem; font-size: clamp(1rem, 1.6vw, 1.125rem); color: var(--pine-300); }
.lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); overflow: hidden; border-radius: 18px; background: var(--pine-800); border: 1px solid var(--pine-700); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7); }
.lead-media { overflow: hidden; aspect-ratio: 16 / 9; }
.lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.lead:hover .lead-media img { transform: scale(1.03); }
.lead-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.25rem, 3.5vw, 2.75rem); }
.lead-copy h2 { color: #fff; font-size: clamp(1.375rem, 2.6vw, 2rem); line-height: 1.15; margin: 0.9rem 0 0.6rem; }
.lead-copy p { color: var(--pine-200); font-size: 0.9375rem; }
.lead-copy time { margin-top: 1rem; font-size: 0.8125rem; color: var(--pine-300); }
@media (max-width: 820px) { .lead { grid-template-columns: 1fr; } .lead-media { order: -1; } }

/* Tags */
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.tag { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; line-height: 1.5; white-space: nowrap; background: var(--wash); color: var(--ink); border: 1px solid transparent; }
.tag svg { width: 11px; height: 11px; }
a.tag { padding: 0.4rem 0.85rem; }
li .tag { vertical-align: middle; }
.tag-amber { background: var(--amber); color: var(--pine-950); }
.tag-dark { background: var(--pine-950); color: #fff; }
.tag-outline { background: var(--paper); border-color: var(--line); transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
a.tag-outline:hover { background: var(--wash); border-color: var(--pine-300); }
.cat-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* Sections */
.section { padding: clamp(2.75rem, 6vw, 4rem) 0; }
.section-wash { background: var(--wash); border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head h2 { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 0.6rem; }
.section-head h2::before { content: ""; width: 6px; height: 1.35rem; border-radius: 3px; background: var(--amber); }

/* Story cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1.5rem; }
.card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.card:hover { border-color: var(--pine-300); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--wash); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; margin: 0.6rem 0 0.45rem; transition: color 0.2s var(--ease); }
.card:hover h3 { color: var(--amber-deep); }
.card-body p { font-size: 0.875rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-body time { margin-top: auto; padding-top: 0.85rem; font-size: 0.75rem; color: var(--muted); }
.empty { border: 1px dashed var(--pine-300); border-radius: var(--radius); padding: 2.5rem 1.5rem; text-align: center; color: var(--muted); }
.empty a { color: var(--amber-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Spotlight band */
.spot { background: var(--pine-950); color: var(--pine-200); }
.spot .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.spot h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.125rem); font-weight: 800; line-height: 1.15; }
.spot p { margin-top: 0.9rem; max-width: 34rem; }
.spot ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pine-700); }
.spot li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--pine-700); font-size: 0.9375rem; }
.spot li b { color: #fff; font-weight: 700; }
@media (max-width: 820px) { .spot .wrap { grid-template-columns: 1fr; } }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; padding: 0.7rem 1.2rem; border-radius: 10px; background: var(--amber); color: var(--pine-950); font-weight: 700; font-size: 0.9375rem; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:hover { background: var(--amber-soft); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Spotlight page */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); }
.how h2, .how-list { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.75rem; }
.how-list { margin: 3.5rem 0 -1rem; }
.how ul, .how ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.how li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.how li b { color: var(--ink); }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 0.75rem; }
.cats a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1.05rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.9375rem; font-weight: 700; color: var(--ink); transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease); }
.cats a:hover { border-color: var(--amber); background: var(--amber-wash); color: var(--amber-deep); }
.cats svg { width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform 0.3s var(--ease), color 0.2s var(--ease); }
.cats a:hover svg { transform: translateX(3px); color: var(--amber-deep); }

/* Page heads, breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: 0.8125rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--pine-300); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-head { padding-top: 2.5rem; }
.page-head h1 { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
.page-head p { margin-top: 0.6rem; max-width: 42rem; color: var(--muted); }
.page-head .tags { margin-top: 1.5rem; }

/* Article */
.article { max-width: 46rem; margin-inline: auto; padding: 2.5rem clamp(1rem, 3vw, 2rem) 4rem; }
.article h1 { font-size: clamp(1.875rem, 4.4vw, 2.625rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.028em; margin: 1rem 0; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1rem; font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; }
.byline b { color: var(--ink); font-weight: 600; }
.figure { margin: 0 0 1.75rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); background: var(--wash); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.standfirst { font-size: 1.1875rem; line-height: 1.55; color: var(--ink); font-weight: 500; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.prose { font-size: 1.0625rem; line-height: 1.72; max-width: 68ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.4375rem; font-weight: 800; line-height: 1.25; margin-top: 2.1em; }
.prose h2 + * { margin-top: 0.6em; }
.prose a { color: var(--amber-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--amber-deep); font-weight: 700; }
.prose strong { color: var(--ink); }
.disclosure { margin: 0 0 1.75rem; padding: 0.85rem 1rem; border-radius: 10px; background: var(--amber-wash); border: 1px solid #f5d38f; font-size: 0.875rem; color: #5b3a06; }
.disclosure a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.ask { margin: 2.75rem 0 0; padding: 1.4rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); text-align: center; }
.ask h2 { font-size: 1rem; font-weight: 700; }
.ask p { font-size: 0.875rem; color: var(--muted); margin: 0.25rem auto 1rem; max-width: 30rem; }
.ask div { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.ask a { padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 0.875rem; font-weight: 600; color: var(--ink); transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.ask a:hover { border-color: var(--amber); color: var(--amber-deep); }
.more { margin-top: 3rem; }
.more h2 { font-size: 1.125rem; font-weight: 800; margin-bottom: 1rem; }
.more-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (max-width: 560px) { .more-list { grid-template-columns: 1fr; } }
.more-list a { display: flex; gap: 0.75rem; align-items: center; padding: 0.6rem; border: 1px solid var(--line); border-radius: 10px; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.more-list a:hover { border-color: var(--amber); background: var(--amber-wash); }
.more-list img { width: 5rem; height: 3.5rem; object-fit: cover; border-radius: 6px; flex: none; }
.more-list span { font-size: 0.875rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.cta { margin-top: 3rem; padding: 1.75rem 1.5rem; border-radius: var(--radius); background: var(--pine-950); color: var(--pine-200); text-align: center; }
.cta h2 { color: #fff; font-size: 1.1875rem; font-weight: 800; }
.cta p { font-size: 0.9375rem; margin: 0.4rem auto 0; max-width: 30rem; }
.cta .btn { margin-top: 1.1rem; }

/* Footer */
.site-footer { background: var(--wash); border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: 0.875rem; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; }
.foot .brand { color: var(--ink); margin-bottom: 0.9rem; }
.foot .brand b { color: var(--amber-deep); }
.foot h2 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 0.8rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot a:not(.brand):not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot .btn { margin-top: 0.9rem; font-size: 0.875rem; padding: 0.55rem 1rem; }
.legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child, .foot > :last-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
