/* hp.zgx.no mockup (spike, 2026-11-17). HP VisID 2025: Electric Blue, black, white; Forma DJR; the 20° slash. */
@font-face { font-family: "Forma DJR Display"; src: url(fonts/FormaDJRDisplay-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Forma DJR Micro"; src: url(fonts/FormaDJRMicro-Regular.woff2) format("woff2"); font-display: swap; }

:root {
  --blue: #024ad8; --ink: #000; --ink-2: #3d3d3d; --muted: #6b6b6b; --line: #e3e3e3; --panel: #f5f5f5; --bg: #fff;
  --display: "Forma DJR Display", Arial, sans-serif; --text: "Forma DJR Micro", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55; }
a { color: var(--blue); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.site-head img.logo { height: 40px; width: auto; }
.site-name { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.site-head nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.site-head nav a { color: var(--ink); text-decoration: none; }
.site-head nav a:hover { color: var(--blue); }
.lang { display: flex; gap: 8px; align-items: center; padding-left: 16px; border-left: 1px solid var(--line); }
.lang a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; padding: 4px 6px; border-radius: 3px; }
.lang a[aria-current="true"] { color: var(--ink); background: var(--panel); }
.lang svg { width: 22px; height: 16px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }

/* hero with the 20° slash */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 80px; }
.hero::after { content: ""; position: absolute; top: 0; right: 8%; width: 220px; height: 100%; background: var(--blue); transform: skewX(-20deg); }
.kicker { font-family: var(--text); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #9db8ff; margin: 0 0 14px; }
.hero h1 { font-family: var(--display); font-weight: normal; font-size: clamp(38px, 6vw, 68px); line-height: 1.06; letter-spacing: 0; margin: 0; max-width: 13em; }
.hero p.lead { font-size: 20px; max-width: 34em; color: #e6e6e6; margin: 22px 0 0; }

/* cards */
.section-title { font-family: var(--display); font-weight: normal; font-size: 28px; margin: 56px 0 22px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 72px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; }
.card:hover { border-color: var(--blue); }
.card .pic { aspect-ratio: 4/3; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.card .pic img { max-width: 78%; max-height: 82%; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .meta { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.card h3 { font-family: var(--display); font-weight: normal; font-size: 24px; line-height: 1.15; margin: 0; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.card .more { margin-top: auto; color: var(--blue); font-size: 15px; }
.card.soon { background: var(--panel); border-style: dashed; }
.card.soon .pic { background: var(--panel); }
.tag { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border: 1px solid currentColor; border-radius: 2px; }
.tag.blue { color: var(--blue); }

/* article */
.art-head { border-bottom: 1px solid var(--line); }
.art-head .wrap { max-width: 840px; padding-top: 56px; padding-bottom: 40px; position: relative; }
.art-head .slash { position: absolute; left: -2px; top: 58px; width: 10px; height: 58px; background: var(--blue); transform: skewX(-20deg); }
.art-head h1 { font-family: var(--display); font-weight: normal; font-size: clamp(34px, 5vw, 54px); line-height: 1.1; letter-spacing: 0; margin: 0 0 0 24px; }
.art-head .lead { font-size: 21px; color: var(--ink-2); margin: 22px 0 0 24px; max-width: 34em; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0 24px; font-size: 14px; color: var(--muted); }
.byline b { color: var(--ink); font-weight: normal; }
.art { max-width: 840px; margin: 0 auto; padding: 8px 24px 80px; }
.art h2 { font-family: var(--display); font-weight: normal; font-size: 32px; line-height: 1.15; margin: 52px 0 14px; }
.art p { margin: 0 0 16px; }

/* stat tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 8px; }
.tile { border-top: 4px solid var(--blue); background: var(--panel); padding: 18px 18px 20px; }
.tile .num { font-family: var(--display); font-size: 48px; line-height: 1; letter-spacing: -0.02em; }
.tile .what { font-size: 15px; color: var(--ink-2); margin-top: 10px; }
.tile .cond { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* chart */
figure.chart { margin: 28px 0 8px; }
figure.chart .title { font-family: var(--display); font-size: 21px; margin: 0 0 4px; }
figure.chart .sub { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text, .chart .lbl { font-family: var(--text); font-size: 13px; fill: var(--muted); }
.chart .cat { font-family: var(--text); font-size: 15px; fill: var(--ink); }
.chart .cat-sub { font-family: var(--text); font-size: 13px; fill: var(--muted); }
.chart .val { font-family: var(--display); font-size: 17px; fill: var(--ink); }
.chart .bar { fill: var(--blue); }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover + .bar, .chart g.row:hover .bar { fill: #0137a3; }
figure.chart figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.tip { position: fixed; pointer-events: none; background: #000; color: #fff; font-size: 13px; line-height: 1.4; padding: 8px 10px; border-radius: 3px; opacity: 0; transition: opacity .1s; max-width: 260px; z-index: 10; }
details.table { margin: 10px 0 0; font-size: 14px; }
details.table summary { cursor: pointer; color: var(--blue); }
details.table table { border-collapse: collapse; margin-top: 10px; width: 100%; }
details.table th, details.table td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); }
details.table td.n { text-align: right; font-variant-numeric: tabular-nums; }

/* footer */
.site-foot { background: var(--panel); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-foot .wrap { padding-top: 28px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; }

.mock-note { background: #fff8c4; color: #5a4b00; font-size: 13px; text-align: center; padding: 6px 12px; }

@media (max-width: 820px) {
  .cards, .tiles { grid-template-columns: 1fr; }
  .site-head nav a.navlink { display: none; }
  .hero::after { right: -40px; width: 120px; }
}

/* ---- site build additions (2026-11-25) ---- */
.art h3 { font-family: var(--display); font-weight: normal; font-size: 23px; line-height: 1.2; margin: 32px 0 10px; }
.art ul { margin: 0 0 16px; padding-left: 22px; }
.art li { margin: 0 0 8px; }
.art .callout { border-left: 4px solid var(--blue); background: var(--panel); padding: 16px 20px; margin: 22px 0; }
.art .callout p:last-child { margin-bottom: 0; }
.table-wrap { margin: 20px 0 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
table.data th { text-align: left; font-weight: normal; color: var(--muted); font-size: 13px; padding: 8px 12px 8px 0; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
table.data td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap .note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.card.featured { grid-column: 1 / -1; flex-direction: row; }
.card.featured .pic { flex: 0 0 44%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); padding: 28px; }
.card.featured .body { padding: 32px 36px; justify-content: center; }
.card.featured h3 { font-size: 34px; }
.card.featured p { font-size: 18px; }
.plain-title { font-family: var(--display); font-weight: normal; font-size: 44px; margin: 48px 0 20px; }
.notfound { padding: 56px 0 8px; }
.notfound h1 { font-family: var(--display); font-weight: normal; font-size: 40px; margin: 0 0 10px; }
@media (max-width: 820px) {
  .card.featured { flex-direction: column; }
  .card.featured .pic { border-right: 0; border-bottom: 1px solid var(--line); }
  .card.featured h3 { font-size: 27px; }
  .art-head .slash { left: 6px; }
}

/* ---- HTML bar charts (readable at phone width) ---- */
.chart .bars { margin: 6px 0 4px; }
.chart .brow { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 16px; padding: 7px 0; }
.chart .blabel { text-align: right; display: flex; flex-direction: column; line-height: 1.25; }
.chart .blabel .cat { font-size: 15px; color: var(--ink); }
.chart .blabel .cat-sub { font-size: 13px; color: var(--muted); }
.chart .btrack { position: relative; height: 30px; margin-right: 64px; }
.chart .btrack .gl { position: absolute; top: -7px; bottom: -7px; width: 1px; background: var(--line); }
.chart .btrack .bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); border-radius: 0 4px 4px 0; min-width: 4px; }
.chart .brow[data-tip]:hover .bar { background: #0137a3; }
.chart .btrack .val { position: absolute; top: 50%; transform: translate(8px, -50%); font-family: var(--display); font-size: 17px; color: var(--ink); white-space: nowrap; }
.chart .brow.scale { padding-top: 2px; }
.chart .brow.scale .btrack { height: 18px; }
.chart .tick { position: absolute; transform: translateX(-50%); font-size: 13px; color: var(--muted); }
@media (max-width: 620px) {
  .chart .brow { grid-template-columns: 1fr; gap: 4px; }
  .chart .blabel { text-align: left; flex-direction: row; gap: 8px; align-items: baseline; flex-wrap: wrap; }
  .chart .brow.scale .blabel { display: none; }
}
