@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/Newsreader-italic-latin-ext-516.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/Newsreader-italic-latin-8477.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/Newsreader-normal-latin-ext-4112.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/Newsreader-normal-latin-7055.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/AtkinsonHyperlegibleNext-italic-latin-ext-3510.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/AtkinsonHyperlegibleNext-italic-latin-5122.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/AtkinsonHyperlegibleNext-normal-latin-ext-7484.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/AtkinsonHyperlegibleNext-normal-latin-631.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/BarlowSemiCondensed-normal-latin-ext-6478.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/BarlowSemiCondensed-normal-latin-2962.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/BarlowSemiCondensed-normal-latin-ext-6138.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/BarlowSemiCondensed-normal-latin-3607.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================================
   Nordvegen – Haugesundposten
   Chart paper, depth tints, magenta course lines. Mobile first.
   ========================================================================== */
:root {
  --paper: #f6f2e7;
  --paper-2: #efe8d6;
  --land: #f1e7cc;
  --sea: #d9e8ec;
  --sea-2: #c3dbe2;
  --ink: #16212b;
  --ink-2: #44515c;
  --ink-3: #6b7680;
  --navy: #0f2f47;
  --navy-2: #1d4a6b;
  --magenta: #a3216f;
  --red: #b8352c;
  --green: #2b7449;
  --line: #ddd3bd;
  --line-2: #c9bea4;
  --tint: #0d5877;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --label: "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --r: 4px;
  --wrap: 1180px;
  --gut: 16px;
  --shadow: 0 1px 0 rgba(22, 33, 43, .06), 0 6px 18px -10px rgba(22, 33, 43, .25);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--magenta); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: -.005em; font-optical-sizing: auto; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); margin: .2em 0 .35em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.22rem; margin: 1.5em 0 .4em; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.hp-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; }
.hp-skip:focus { left: 8px; }
.hp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.hp-wrap--article { max-width: 1120px; }
.hp-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- Chart margin strip ---------- */
.hp-margin { background: var(--navy); color: #dfe8ee; font: 500 .74rem/1 var(--label); letter-spacing: .09em; text-transform: uppercase; }
.hp-margin__in { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; position: relative; }
.hp-margin__in::after { content: ""; position: absolute; left: var(--gut); right: var(--gut); bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, #dfe8ee 0 1px, transparent 1px 12px); opacity: .35; }
.hp-margin__mid { display: none; }

/* ---------- Header ---------- */
.hp-head { position: sticky; top: 0; z-index: 40; background: rgba(246, 242, 231, .96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line); }
.hp-head__in { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.hp-logo { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; margin-right: auto; }
.hp-logo:hover { color: var(--navy); }
.hp-logo__mark { width: 38px; height: 38px; color: var(--navy); }
.hp-logo__txt { display: flex; flex-direction: column; line-height: 1.05; }
.hp-logo__name { font: 650 1.32rem/1 var(--serif); letter-spacing: -.01em; }
.hp-logo__sub { font: 500 .7rem/1.3 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.hp-nav { display: none; }
.hp-head__tools { display: flex; gap: 6px; }
.hp-btn-icon { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; justify-content: center; background: transparent; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--navy); cursor: pointer; font: 600 .82rem var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 0 10px; }
.hp-btn-icon:hover { border-color: var(--navy); }
.hp-btn-icon .hp-ico { width: 20px; height: 20px; }
.hp-searchbar { border-top: 1px solid var(--line); padding: 12px 0; background: var(--paper-2); }

/* Search form */
.hp-search { display: flex; max-width: 620px; border: 1.5px solid var(--navy); border-radius: var(--r); background: #fffdf7; overflow: hidden; }
.hp-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 14px; font: 400 1rem var(--sans); color: var(--ink); }
.hp-search input:focus { outline: none; }
.hp-search:focus-within { box-shadow: 0 0 0 3px rgba(163, 33, 111, .25); }
.hp-search button { border: 0; background: var(--navy); color: #fff; width: 52px; cursor: pointer; display: grid; place-items: center; }
.hp-search button .hp-ico { width: 20px; height: 20px; }

/* Drawer (mobile menu) */
.hp-drawer { position: fixed; inset: 0; z-index: 60; background: rgba(15, 47, 71, .45); }
.hp-drawer__in { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); overflow-y: auto; padding: 14px var(--gut) 28px; box-shadow: -10px 0 30px rgba(0, 0, 0, .2); }
.hp-drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.hp-drawer__title { font: 600 .8rem var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hp-drawer__hubs { list-style: none; margin: 16px 0; padding: 0; }
.hp-drawer__hubs a { display: grid; grid-template-columns: 26px 28px 1fr; gap: 8px; align-items: start; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.hp-drawer__hubs a .hp-ico { color: var(--tint); width: 24px; height: 24px; }
.hp-drawer__hubs strong { display: block; font: 600 1.08rem var(--serif); }
.hp-drawer__hubs small { display: block; color: var(--ink-3); font-size: .86rem; line-height: 1.35; }
.hp-drawer__no { font: 600 .8rem/1.9 var(--label); color: var(--ink-3); }
.hp-drawer__foot { font-size: .9rem; color: var(--ink-3); }
body.hp-locked { overflow: hidden; }

/* ---------- Breadcrumbs ---------- */
.hp-crumbs { font: 500 .8rem/1.4 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 8px; }
.hp-crumbs a { color: var(--ink-2); text-decoration: none; }
.hp-crumbs a:hover { color: var(--magenta); }
.hp-crumbs .breadcrumb_last { color: var(--ink-3); }

/* ---------- Common section heads ---------- */
.hp-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); position: relative; }
.hp-sec-head::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--magenta); }
.hp-sec-head h2 { margin: 0; }
.hp-sec-head p { margin: 0; color: var(--ink-3); font-size: .95rem; }
.hp-kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); margin: 0 0 6px; }
.hp-quick { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hp-quick a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: #fffdf7; text-decoration: none; color: var(--navy); font-size: .92rem; line-height: 1.2; }
.hp-quick a:hover { border-color: var(--magenta); color: var(--magenta); }

/* ---------- Hero ---------- */
.hp-hero { padding: 22px 0 34px; background:
  radial-gradient(circle at 85% 20%, rgba(195, 219, 226, .55), transparent 55%),
  linear-gradient(180deg, var(--paper) 0%, var(--paper) 100%); }
.hp-hero__grid { display: grid; gap: 22px; }
.hp-hero h1 { max-width: 15ch; }
.hp-hero__lede { font-size: 1.1rem; color: var(--ink-2); max-width: 58ch; }
.hp-today { margin-top: 22px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fffdf7; padding: 14px 16px 10px; position: relative; }
.hp-today::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--line); border-radius: 2px; pointer-events: none; }
.hp-today__h { font: 600 .8rem var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.hp-today__grid { display: grid; gap: 10px; margin: 0; }
.hp-today__grid > div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; align-items: start; }
.hp-today dt { display: flex; align-items: center; gap: 6px; font: 600 .8rem/1.5 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--navy-2); }
.hp-today dd { margin: 0; font-size: .97rem; line-height: 1.45; }
.hp-today dd span { display: block; }
.hp-today dd small { color: var(--ink-3); }
.hp-today__src { font-size: .8rem; color: var(--ink-3); margin: 10px 0 2px; position: relative; }

/* ---------- Map ---------- */
.hp-map { margin: 0; }
.hp-map svg { display: block; width: 100%; height: auto; background: var(--sea); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); }
.hp-map figcaption { font-size: .74rem; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
.hp-map__sea text { font-family: var(--serif); font-style: italic; fill: #2e6f8a; letter-spacing: .04em; }
.hp-map__land text { font-family: var(--label); font-weight: 600; fill: #6b604a; letter-spacing: .28em; opacity: .85; }
.hp-poi circle { fill: #fffdf7; stroke: var(--tint); }
.hp-poi text { font-family: var(--label); font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: rgba(246, 242, 231, .92); stroke-linejoin: round; }
@media (max-width: 699px) { .hp-map:not(.hp-map--mini) .hp-poi--minor text { display: none; } }
.hp-poi--nolabel text { display: none; }
.hp-poi--city circle { fill: var(--navy); stroke: #fffdf7; }
.hp-poi--city text { font-family: var(--serif); font-weight: 700; }
.hp-map a:hover .hp-poi circle, .hp-map a:focus .hp-poi circle { fill: var(--tint); }
.hp-map a:hover .hp-poi text, .hp-map a:focus .hp-poi text { fill: var(--magenta); text-decoration: underline; }
.hp-map a:focus { outline: none; }
.hp-map__rose circle { fill: rgba(255, 253, 247, .7); stroke: var(--magenta); stroke-width: 1.2; }
.hp-map__rose circle.in { fill: none; stroke-dasharray: 2 3; }
.hp-map__rose path { fill: none; stroke: var(--magenta); stroke-width: 1.2; }
.hp-map__rose path.n { fill: var(--magenta); }
.hp-map__rose text { font: 600 16px var(--label); fill: var(--magenta); }
.hp-map__scale rect { fill: var(--ink); } .hp-map__scale rect.alt { fill: #fffdf7; stroke: var(--ink); stroke-width: 1; }
.hp-map__scale text { font: 600 13px var(--label); fill: var(--ink); }
.hp-map__focus circle { fill: rgba(163, 33, 111, .12); stroke: var(--magenta); }
.hp-map__focus path { stroke: var(--magenta); }
.hp-map--mini svg { aspect-ratio: 1 / .72; }

/* ---------- Routes (course lines) ---------- */
.hp-routes { padding: 34px 0; border-top: 1px solid var(--line); }
.hp-routes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hp-route { background: #fffdf7; border: 1px solid var(--line-2); border-radius: var(--r); padding: 16px 16px 12px; position: relative; overflow: hidden; }
.hp-route::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border: 1px dashed rgba(163, 33, 111, .35); border-radius: 50%; }
.hp-route__k { display: flex; justify-content: space-between; font: 600 .78rem var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--magenta); margin: 0 0 4px; }
.hp-route h3 { margin: 0 0 4px; }
.hp-route > p { color: var(--ink-2); font-size: .95rem; margin-bottom: 10px; }
.hp-route__stops { list-style: none; margin: 0; padding: 0 0 0 4px; counter-reset: stop; position: relative; }
.hp-route__stops::before { content: ""; position: absolute; left: 12px; top: 10px; bottom: 12px; border-left: 2px dashed var(--magenta); opacity: .55; }
.hp-route__stops li { counter-increment: stop; position: relative; padding: 4px 0 4px 34px; }
.hp-route__stops li::before { content: counter(stop); position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--magenta); color: var(--magenta); font: 700 .74rem/19px var(--label); text-align: center; }
.hp-route__stops a { text-decoration: none; color: var(--ink); font-weight: 500; }
.hp-route__stops a:hover { color: var(--magenta); text-decoration: underline; }

/* ---------- Hub sheets ---------- */
.hp-sheets { padding: 34px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hp-sheets__grid { display: grid; gap: 14px; }
.hp-sheet { background: #fffdf7; border: 1px solid var(--line-2); border-top: 4px solid var(--tint); border-radius: var(--r); display: flex; flex-direction: column; }
.hp-sheet__head { display: block; padding: 14px 16px 6px; text-decoration: none; color: var(--ink); position: relative; }
.hp-sheet__no { font: 600 .74rem var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--tint); }
.hp-sheet__ico { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; color: var(--tint); }
.hp-sheet h3 { margin: 4px 0 2px; font-size: 1.3rem; }
.hp-sheet__head p { color: var(--ink-3); font-size: .92rem; margin: 0; }
.hp-sheet__head:hover h3 { color: var(--tint); }
.hp-sheet ul { list-style: none; margin: 6px 0 0; padding: 0 16px; }
.hp-sheet li { border-top: 1px dotted var(--line-2); }
.hp-sheet li a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.hp-sheet li a:hover { color: var(--tint); }
.hp-sheet__all { margin-top: auto; padding: 10px 16px 14px; font: 600 .82rem var(--label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--tint); display: flex; align-items: center; gap: 6px; }

/* ---------- Year wheel ---------- */
.hp-year { padding: 34px 0; }
.hp-year__wheel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.hp-year__wheel > li { padding: 10px 12px 12px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: #fffdf7; min-width: 0; }
.hp-year__wheel > li.is-now { background: #fff; box-shadow: inset 0 3px 0 var(--magenta); }
.hp-year__m { font: 600 .82rem var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--navy-2); margin: 0 0 4px; }
.hp-year__m span { color: var(--magenta); }
.hp-year__wheel ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; line-height: 1.35; }
.hp-year__wheel ul li { margin: 0 0 5px; }
.hp-year__wheel small { display: block; color: var(--ink-3); font-size: .78rem; }
.hp-year__none { color: var(--ink-3); font-size: .86rem; margin: 0; font-style: italic; }

/* ---------- Cards ---------- */
.hp-latest { padding: 34px 0; }
.hp-cards { display: grid; gap: 14px; }
.hp-card { background: #fffdf7; border: 1px solid var(--line-2); border-radius: var(--r); position: relative; transition: border-color .15s, transform .15s; }
.hp-card:hover { border-color: var(--tint); transform: translateY(-1px); }
.hp-card__link { display: flex; flex-direction: column; height: 100%; padding: 14px 16px 14px 18px; text-decoration: none; color: var(--ink); }
.hp-card::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; background: var(--tint); border-radius: 0 2px 2px 0; }
.hp-card__hub { display: inline-flex; align-items: center; gap: 6px; font: 600 .74rem var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--tint); }
.hp-card__title { font-size: 1.16rem; margin: 6px 0 4px; line-height: 1.25; }
.hp-card__link:hover .hp-card__title { color: var(--tint); }
.hp-card__ex { color: var(--ink-2); font-size: .93rem; line-height: 1.5; margin: 0; }
.hp-card__pos { margin-top: auto; padding-top: 10px; font: 500 .76rem var(--label); letter-spacing: .06em; color: var(--ink-3); }
.hp-card--feature .hp-card__title { font-size: 1.3rem; }

/* ---------- About strip ---------- */
.hp-about-strip { padding: 30px 0 40px; border-top: 1px solid var(--line); }
.hp-about-strip__in { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.hp-about-strip h2 { margin: 0 0 6px; font-size: 1.35rem; }
.hp-about-strip p { color: var(--ink-2); max-width: 70ch; }
.hp-mono { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #f6f2e7; font: 600 1.05rem var(--serif); letter-spacing: .04em; border: 2px solid #fffdf7; box-shadow: 0 0 0 1px var(--line-2); flex: none; }

/* ---------- Article ---------- */
.hp-article__head { border-bottom: 1px solid var(--line); padding-bottom: 16px; background: linear-gradient(180deg, rgba(195, 219, 226, .28), transparent 80%); }
.hp-hubtag { display: inline-flex; align-items: center; gap: 7px; font: 600 .78rem var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--tint); text-decoration: none; margin: 4px 0 0; }
.hp-article h1 { max-width: 24ch; }
.hp-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .9rem; color: var(--ink-3); margin: 6px 0 0; }
.hp-byline .hp-mono { width: 34px; height: 34px; font-size: .78rem; border-width: 1px; }
.hp-byline a { color: var(--ink-2); }
.hp-stamp { display: inline-flex; align-items: center; gap: 5px; font: 600 .78rem var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--green); border: 1.5px solid currentColor; border-radius: 3px; padding: 3px 8px 2px; transform: rotate(-1.2deg); }
.hp-article__grid { display: grid; gap: 18px; padding-top: 18px; padding-bottom: 28px; }
.hp-article__side { min-width: 0; }
.hp-article__body { min-width: 0; }
.hp-prose { max-width: 70ch; }
.hp-prose > p:first-child { font-size: 1.16rem; line-height: 1.6; color: var(--ink); }
.hp-prose h2 { padding-top: .2em; }
.hp-prose h2::before { content: ""; display: block; width: 36px; height: 2px; background: var(--tint); margin-bottom: 12px; }
.hp-prose ul, .hp-prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.hp-prose li { margin: 0 0 .4em; }
.hp-prose li::marker { color: var(--tint); }
.hp-prose a.ext::after { content: "↗"; font-size: .72em; margin-left: .15em; vertical-align: .25em; text-decoration: none; display: inline-block; color: var(--ink-3); }
.hp-prose blockquote { margin: 1.2em 0; padding: .2em 0 .2em 1em; border-left: 3px solid var(--line-2); font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); }
.hp-prose strong { font-weight: 700; }
.hp-tips, .hp-merk { display: block; margin: 1.3em 0; padding: 12px 14px 12px 16px; border-radius: var(--r); font-size: .98rem; line-height: 1.55; }
.hp-tips { background: #eef5ee; border-left: 4px solid var(--green); }
.hp-merk { background: #fbefe9; border-left: 4px solid var(--red); }
.hp-tips strong { color: var(--green); } .hp-merk strong { color: var(--red); }

/* "Kort fortalt" – a chart cartouche */
.hp-kort { margin: 1.4em 0 1.6em; background: #fffdf7; border: 1.5px solid var(--navy); border-radius: 2px; padding: 14px 16px 6px; position: relative; box-shadow: 4px 4px 0 var(--sea-2); }
.hp-kort::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--line-2); pointer-events: none; }
.hp-kort__t { display: flex; align-items: center; gap: 8px; font: 700 .82rem var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin: 0 0 8px; position: relative; }
.hp-kort dl { margin: 0; position: relative; }
.hp-kort dl > div { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 10px; padding: 7px 0; border-top: 1px dotted var(--line-2); }
.hp-kort dt { font: 600 .8rem/1.5 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hp-kort dd { margin: 0; font-size: .97rem; line-height: 1.45; }

/* Tables */
.hp-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2em 0 1.4em; border: 1px solid var(--line-2); border-radius: var(--r); background: #fffdf7; }
.hp-table table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.4; min-width: 0; }
.hp-table table:has(tr > :nth-child(4)) { min-width: 540px; }
.hp-table caption { white-space: normal; }
.hp-table caption { text-align: left; font: 600 .78rem var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px 4px; }
.hp-table th, .hp-table td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.hp-table thead th { font: 600 .8rem var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--navy-2); background: var(--paper-2); border-bottom: 1.5px solid var(--line-2); }
.hp-table tbody tr:last-child td { border-bottom: 0; }
.hp-table tbody tr:nth-child(even) td { background: rgba(239, 232, 214, .35); }

/* TOC */
.hp-toc { border: 1px solid var(--line-2); border-radius: var(--r); background: #fffdf7; margin-bottom: 16px; }
.hp-toc summary { cursor: pointer; padding: 11px 14px; font: 600 .8rem var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); list-style: none; display: flex; justify-content: space-between; }
.hp-toc summary::-webkit-details-marker { display: none; }
.hp-toc summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.hp-toc details[open] summary::after { content: "–"; }
.hp-toc ol { margin: 0; padding: 0 14px 12px 34px; font-size: .92rem; line-height: 1.4; }
.hp-toc li { margin: 0 0 7px; }
.hp-toc li::marker { color: var(--ink-3); font: 600 .8rem var(--label); }
.hp-toc a { color: var(--ink-2); text-decoration: none; }
.hp-toc a:hover, .hp-toc a.is-active { color: var(--magenta); }

/* Position card */
.hp-pos { border: 1px solid var(--line-2); border-radius: var(--r); background: #fffdf7; padding: 10px; margin-bottom: 16px; }
.hp-pos .hp-map svg { box-shadow: none; }
.hp-pos .hp-map figcaption { font-size: .68rem; }
.hp-pos__c { display: flex; gap: 8px; align-items: flex-start; margin: 8px 2px 4px; font: 500 .86rem/1.4 var(--label); letter-spacing: .04em; color: var(--ink-2); }
.hp-pos__c .hp-ico { color: var(--magenta); margin-top: 2px; }
.hp-pos__links { margin: 0 2px; font-size: .86rem; }

.hp-pos--side { display: none; }
.hp-pos--inline { margin: 2em 0 0; max-width: 70ch; }
.hp-pos--inline .hp-pos__c { margin: 0 0 8px; }
.hp-arkiv { padding-left: 1.2em; } .hp-arkiv small { color: var(--ink-3); }

/* FAQ, sources, author */
.hp-faq { margin-top: 2.2em; max-width: 70ch; }
.hp-faq details { border-top: 1px solid var(--line-2); }
.hp-faq details:last-child { border-bottom: 1px solid var(--line-2); }
.hp-faq summary { cursor: pointer; padding: 13px 34px 13px 0; font: 600 1.06rem/1.35 var(--serif); position: relative; list-style: none; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 400 1.4rem var(--sans); color: var(--magenta); }
.hp-faq details[open] summary::after { content: "–"; }
.hp-faq details > div { padding: 0 0 8px; color: var(--ink-2); }
.hp-src { margin-top: 2em; max-width: 70ch; font-size: .9rem; }
.hp-src h2 { font-size: 1.15rem; }
.hp-src ol { padding-left: 1.4em; color: var(--ink-3); }
.hp-src li { margin-bottom: 5px; }
.hp-author { display: grid; grid-template-columns: 52px 1fr; gap: 14px; margin-top: 2.2em; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fffdf7; max-width: 70ch; font-size: .93rem; color: var(--ink-2); }
.hp-author p { margin: 0 0 4px; }
.hp-author__n { font: 600 1.05rem var(--serif); }
.hp-next { padding: 30px 0 36px; background: var(--paper-2); border-top: 1px solid var(--line); }

/* Live widgets */
.hp-live { border: 1px solid var(--line-2); border-radius: var(--r); background: #fffdf7; padding: 14px 14px 6px; margin: 1.3em 0; }
.hp-live .hp-table { margin: .6em 0; border: 0; }
.hp-live .hp-table table { min-width: 0; }
.hp-live__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.hp-live__head .hp-ico { color: var(--magenta); width: 22px; height: 22px; }
.hp-live__head strong { font: 600 1.08rem var(--serif); }
.hp-live__head span { flex-basis: 100%; font-size: .82rem; color: var(--ink-3); }
.hp-live__src { font-size: .8rem; color: var(--ink-3); }
.hp-live--off { color: var(--ink-2); font-size: .95rem; padding: 12px 14px; }
.hp-wx__now { display: flex; align-items: center; gap: 14px; margin: 10px 0 4px; line-height: 1.35; }
.hp-wx__t { font: 600 2.6rem/1 var(--serif); color: var(--navy); }
.hp-tide tr.is-high td:nth-child(3) { color: var(--navy-2); font-weight: 700; }
.hp-tide tr.is-low td:nth-child(3) { color: var(--ink-3); }
.hp-pop .is-sum td { font-weight: 700; border-top: 1.5px solid var(--line-2); }
.hp-bar { display: inline-block; height: 8px; width: var(--w); max-width: 60px; background: var(--tint); border-radius: 2px; margin-right: 8px; vertical-align: 1px; }
.hp-sun { display: flex; align-items: center; gap: 8px; font-size: .97rem; }
.hp-sun .hp-ico { color: #b5800e; }

/* ---------- Hubs ---------- */
.hp-hubhead { padding: 6px 0 22px; border-bottom: 1px solid var(--line); background:
  repeating-linear-gradient(0deg, transparent 0 39px, rgba(125, 156, 171, .12) 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, rgba(125, 156, 171, .12) 39px 40px); }
.hp-hubhead h1 { margin-top: .1em; }
.hp-hubhead__intro { max-width: 68ch; color: var(--ink-2); font-size: 1.07rem; }
.hp-hubhead__intro p:last-child { margin-bottom: 0; }
.hp-hub { padding-top: 26px; padding-bottom: 40px; }
.hp-hub section { margin-bottom: 30px; }
.hp-hub__map { margin-bottom: 30px; max-width: 760px; }
.hp-hub__other { border-top: 1px solid var(--line-2); padding-top: 16px; }
.hp-hub__otherh { font: 600 .8rem var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hp-hub__other ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hp-hub__other a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fffdf7; font-size: .92rem; }
.hp-hub__other a .hp-ico { color: var(--tint); }
.hp-person { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.hp-person .hp-mono { width: 64px; height: 64px; font-size: 1.3rem; }
.hp-authorlist h2 { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; }
.hp-authorlist h2 .hp-ico { color: var(--tint); }
.hp-authorlist h2 small { font: 500 .8rem var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hp-authorlist ul { columns: 1; padding-left: 1.2em; }
.hp-authorlist li { margin-bottom: 5px; break-inside: avoid; }
.hp-pager { margin-top: 20px; }
.hp-pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.hp-pager .page-numbers { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r); text-decoration: none; }
.hp-pager .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.hp-404 { padding-bottom: 50px; }

/* ---------- Footer ---------- */
.hp-foot { background: var(--navy); color: #d7e2ea; padding: 34px 0 20px; margin-top: 0; }
.hp-foot a { color: #fff; }
.hp-foot a:hover { color: #f3c6df; }
.hp-foot__cartouche { display: grid; gap: 24px; border: 1px solid rgba(223, 232, 238, .35); padding: 20px 18px; position: relative; }
.hp-foot__cartouche::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(223, 232, 238, .15); pointer-events: none; }
.hp-foot__name { font: 650 1.6rem/1 var(--serif); color: #fff; margin: 0 0 10px; }
.hp-foot__desc { max-width: 52ch; font-size: .95rem; }
.hp-foot__mail { display: flex; align-items: center; gap: 8px; font: 600 1.12rem var(--sans); margin: 14px 0 6px; }
.hp-foot__mail .hp-ico { width: 22px; height: 22px; color: #f3c6df; }
.hp-foot__note { font-size: .86rem; color: #b8c8d4; }
.hp-foot__h { font: 600 .78rem var(--label); letter-spacing: .14em; text-transform: uppercase; color: #9fb4c4; margin: 0 0 8px; }
.hp-foot__nav ul { list-style: none; margin: 0; padding: 0; }
.hp-foot__nav li { margin: 0 0 6px; }
.hp-foot__nav a { text-decoration: none; display: inline-flex; gap: 8px; align-items: baseline; padding: 3px 0; }
.hp-foot__nav a span { font: 600 .74rem var(--label); color: #9fb4c4; min-width: 12px; }
.hp-foot__nav a:hover { text-decoration: underline; }
.hp-foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 18px; font-size: .78rem; color: #9fb4c4; }
.hp-foot__base p { margin: 0; }
.hp-foot__scale { width: 120px; height: 12px; }
.hp-foot__scale rect { fill: #d7e2ea; } .hp-foot__scale rect.alt { fill: transparent; stroke: #d7e2ea; stroke-width: 1; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .hp-cards, .hp-sheets__grid, .hp-routes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-year__wheel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-authorlist ul { columns: 2; column-gap: 32px; }
  .hp-foot__cartouche { grid-template-columns: 1fr 1fr; }
  .hp-foot__brand { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  :root { --gut: 24px; }
  .hp-margin__mid { display: inline; }
  .hp-today__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-today__grid > div { grid-template-columns: 1fr; gap: 2px; }
  .hp-year__wheel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-kort dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .hp-kort dl > div { grid-template-columns: 1fr; gap: 0; }
}
@media (min-width: 980px) {
  .hp-hero { padding: 34px 0 44px; }
  .hp-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: start; }
  .hp-hero__map { position: sticky; top: 84px; }
  .hp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-cards--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-sheets__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-routes__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-year__wheel { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hp-article__grid.has-toc, .hp-article__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .hp-article__side { order: 2; position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; }
  .hp-article__body { order: 1; }
  .hp-pos--side { display: block; }
  .hp-pos--inline { display: none; }
  .hp-page .hp-article__grid { grid-template-columns: minmax(0, 1fr); }
  .hp-foot__cartouche { grid-template-columns: 1.6fr 1fr 1fr; padding: 26px 28px; }
  .hp-foot__brand { grid-column: auto; }
}
@media (min-width: 1100px) {
  .hp-nav { display: block; }
  .hp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
  .hp-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 9px 6px; text-decoration: none; color: var(--ink-2); font: 600 .8rem/1.1 var(--label); letter-spacing: .05em; text-transform: uppercase; border-bottom: 2px solid transparent; white-space: nowrap; }
  .hp-nav a .hp-ico { width: 20px; height: 20px; color: var(--tint); }
  .hp-nav a:hover, .hp-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--tint); }
  .hp-menu-btn { display: none; }
  .hp-logo { margin-right: 18px; }
  .hp-head__tools { margin-left: auto; }
}
@media (max-width: 400px) {
  .hp-logo__sub { display: none; }
  .hp-logo__name { font-size: 1.18rem; }
  .hp-menu-btn__l { display: none; }
  .hp-today__grid > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .hp-margin, .hp-head, .hp-drawer, .hp-foot, .hp-next, .hp-article__side, .hp-searchbar { display: none !important; }
  body { background: #fff; }
}
