@font-face{font-family:'Familjen Grotesk';src:url('../fonts/familjen-grotesk-latin-500-normal.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'Familjen Grotesk';src:url('../fonts/familjen-grotesk-latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Figtree';src:url('../fonts/figtree-latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Figtree';src:url('../fonts/figtree-latin-500-normal.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;}
/* ==========================================================================
   Shared system (taste-skill rules): spacing 4-128, one wrap, 12-column grid,
   one button pair, one card recipe, one link look, hover layer, focus, motion.
   Site tokens and site parts are in site.css (appended after this file).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav) + 16px);
  background: var(--bg);
}
body {
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: var(--display-weight);
  line-height: 1.12;
  letter-spacing: var(--track-display);
  margin: 0;
  text-wrap: balance;
  hyphens: manual;
}
p { margin: 0; }
:where(ul, ol) { margin: 0; padding: 0; }

:root {
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --nav: 72px;
  --gut: 80px;
  --max: 1280px;
  --padt: 120px;
  --padb: 96px;
  --t-h1: clamp(38px, 2.9vw + 26px, 72px);
  --t-h2: clamp(30px, 1.6vw + 22px, 48px);
  --t-h3: clamp(22px, .55vw + 19px, 28px);
  --t-lead: clamp(18px, .3vw + 16.5px, 20px);
  --t-card: clamp(18px, .3vw + 16.5px, 20px);
  --t-body: 17px;
  --t-small: 14px;
  --t-label: 13px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --m-in: 150ms; --m-out: 120ms; --m-press: 90ms; --m-image: 600ms; --m-image-out: 400ms;
  --line: color-mix(in oklab, var(--ink) 14%, transparent);
  --btn-h: 48px;
}
@media (max-width: 1023px) { :root { --gut: 48px; --padt: 96px; --padb: 72px; } }
@media (max-width: 639px)  { :root { --nav: 60px; --gut: 20px; --padt: 72px; --padb: 56px; --t-body: 17px; } }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 639px) { .grid { gap: 12px; } }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gut); top: 8px; z-index: 30;
  transform: translateY(-200%);
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.site-main:focus { outline: none; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  height: var(--nav);
  background: var(--nav-bg, var(--bg));
  color: var(--nav-ink, var(--ink));
  border-bottom: 1px solid var(--nav-line, var(--line));
}
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }
.nav__wrap { height: 100%; display: flex; align-items: center; gap: var(--s-6); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.brand__name { font-family: var(--f-display); font-size: 22px; line-height: 1; letter-spacing: var(--track-display); }
.custom-logo-link img { max-height: calc(var(--nav) - 24px); width: auto; }
.nav__menu { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); min-width: 0; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  border-radius: var(--r-sm);
  transition: background-color var(--m-out) var(--ease), color var(--m-out) var(--ease);
}
.nav__list a:hover { background: color-mix(in oklab, currentColor 8%, transparent); transition-duration: var(--m-in); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a { box-shadow: inset 0 -2px 0 var(--action); border-radius: 0; }
.nav__list .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; padding: 8px;
  background: var(--nav-bg, var(--bg)); border: 1px solid var(--nav-line, var(--line)); border-radius: var(--r-md);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms;
}
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 150ms, 150ms, 0s;
}
.nav__list .sub-menu a { width: 100%; white-space: normal; padding: 8px 12px; min-height: 40px; }
.nav__search { display: flex; align-items: center; position: relative; }
.nav__search input {
  width: 150px; height: 40px; padding: 0 40px 0 14px; border: 1px solid var(--nav-line, var(--line));
  border-radius: var(--r-btn); background: transparent; font-size: 15px;
  transition: width 200ms var(--ease), border-color var(--m-out) var(--ease);
}
.nav__search input:focus { width: 210px; border-color: currentColor; outline: none; }
.nav__search button { position: absolute; right: 2px; width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.nav__search .icon { width: 18px; height: 18px; }
.nav__toggle { display: none; }

@media (max-width: 1023px) {
  .nav__toggle {
    display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--nav-line, var(--line)); border-radius: var(--r-btn); background: transparent; cursor: pointer;
  }
  .nav__toggle-close { display: none; }
  .is-menu-open .nav__toggle-open { display: none; }
  .is-menu-open .nav__toggle-close { display: block; }
  .nav__menu {
    position: fixed; inset: var(--nav) 0 0 0; z-index: 19; margin: 0;
    flex-direction: column; align-items: stretch; gap: var(--s-5);
    padding: var(--s-5) var(--gut) var(--s-8);
    background: var(--nav-bg, var(--bg)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms;
  }
  .admin-bar .nav__menu { top: calc(var(--nav) + 46px); }
  .is-menu-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .is-menu-open body { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { min-height: 56px; font-size: 20px; padding: 0; border-bottom: 1px solid var(--nav-line, var(--line)); border-radius: 0; }
  .nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 0 16px; background: none; }
  .nav__list .sub-menu a { font-size: 17px; min-height: 48px; }
  .nav__search input, .nav__search input:focus { width: 100%; height: 48px; }
}

/* ------------------------------------------------------------------ buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 24px; border-radius: var(--r-btn);
  font-family: var(--f-text); font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--m-out) var(--ease), color var(--m-out) var(--ease), border-color var(--m-out) var(--ease), transform var(--m-press) var(--ease);
}
.btn--primary { background: var(--action); color: var(--action-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--action) 86%, var(--bg)); }
.btn--secondary { background: transparent; color: var(--ink); border-color: color-mix(in oklab, var(--ink) 22%, transparent); }
.btn--secondary:hover { background: color-mix(in oklab, var(--bg) 92%, var(--ink)); border-color: color-mix(in oklab, var(--ink) 34%, transparent); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--m-in) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); transition-duration: var(--m-in); }
  .btn:active { transform: translateY(1px) scale(.985); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .btn-row .btn { width: 100%; } }

.link, .prose a {
  color: var(--link, var(--action));
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em;
  text-decoration-color: color-mix(in oklab, currentColor 45%, transparent);
  transition: text-decoration-color var(--m-out) var(--ease);
}
.link:hover, .prose a:hover { text-decoration-color: currentColor; transition-duration: var(--m-in); }

/* ------------------------------------------------------------------ cards (one recipe) */
.grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 1023px) { .grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px)  { .grid--cards { grid-template-columns: 1fr; gap: 32px; } }
.card { position: relative; min-width: 0; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); border-radius: var(--r-lg); }
.card__no { display: none; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-image-out) var(--ease); }
.card__body { padding-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.card__eyebrow { font-size: var(--t-label); font-weight: 500; color: var(--muted); }
.card__title { font-size: var(--t-card); line-height: 1.25; letter-spacing: -.01em; }
.card__text { font-size: 16px; line-height: 1.55; color: var(--muted-text, var(--ink)); opacity: .86; }
@media (hover: hover) and (pointer: fine) {
  .card__link { transition: transform var(--m-out) var(--ease); }
  .card__link:hover { transform: translateY(-2px); transition-duration: var(--m-in); }
  .card__link:hover .card__media img { transform: scale(1.03); transition-duration: var(--m-image); }
  .card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
}

/* ------------------------------------------------------------------ sections (front page) */
.section { padding: var(--padt) 0 var(--padb); }
.section__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-bottom: var(--s-7); align-items: end; }
.section__title { grid-column: 1 / span 7; font-size: var(--t-h2); }
.section__more { grid-column: 9 / -1; justify-self: end; }
@media (max-width: 639px) {
  .section__head { grid-template-columns: 1fr; margin-bottom: var(--s-6); }
  .section__title, .section__more { grid-column: 1 / -1; justify-self: start; }
}
.eyebrow { font-size: var(--t-label); font-weight: 500; color: var(--muted); margin-bottom: var(--s-4); }

/* ------------------------------------------------------------------ entry (posts and pages) */
.entry__head { padding: var(--s-8) 0 var(--s-7); }
.entry__eyebrow { margin: var(--s-6) 0 var(--s-4); font-size: var(--t-label); font-weight: 500; }
.entry__eyebrow a { text-decoration: none; color: var(--action); }
.entry__title { font-size: var(--t-h1); max-width: 20ch; }
.entry__lead { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.55; max-width: 62ch; color: var(--muted); }
.entry--page .entry__title { margin-top: var(--s-6); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: var(--s-5); font-size: var(--t-small); color: var(--muted); }
.meta__item { display: inline-flex; align-items: center; gap: 6px; }
.meta .icon { width: 16px; height: 16px; }
.entry__hero { margin-bottom: var(--s-8); }
.entry__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); }
.entry__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); padding-bottom: var(--s-9); }
@media (min-width: 1024px) {
  .entry__layout { grid-template-columns: 260px minmax(0, 720px); justify-content: start; column-gap: clamp(48px, 6vw, 112px); }
  .entry__aside { position: sticky; top: calc(var(--nav) + 32px); align-self: start; max-height: calc(100vh - var(--nav) - 64px); overflow: auto; }
}
.entry__aside:empty { display: none; }
@media (min-width: 1024px) { .entry__layout:has(.entry__aside:empty) { grid-template-columns: minmax(0, 720px); } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--t-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* the reading column */
.prose { font-size: var(--t-body); line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 1vw + 20px, 34px); margin-top: 2.2em; line-height: 1.2; }
.prose h3 { font-size: clamp(21px, .5vw + 18px, 24px); margin-top: 1.9em; line-height: 1.25; }
.prose h4 { font-size: 19px; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--action); }
.prose img { border-radius: var(--r-md); height: auto; }
.prose figure, .prose .wp-caption { max-width: 100%; }
.prose figcaption, .prose .wp-caption-text { font-size: var(--t-small); color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 24px; border-left: 2px solid var(--action); font-family: var(--f-display); font-size: 1.25em; line-height: 1.45; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose strong, .prose b { font-weight: 500; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 639px) { .prose .alignleft, .prose .alignright { float: none; margin: 1em 0; max-width: 100%; } }
.prose iframe { max-width: 100%; }

.entry__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-7) !important; padding: 0 !important; }
.entry__tags a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--ink); }

/* table of contents */
.toc { font-size: 15px; }
.toc__toggle {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 0 12px; border: 0; background: none;
  font-weight: 500; text-align: left; cursor: default; border-bottom: 1px solid var(--line);
}
.toc__toggle .icon { width: 18px; height: 18px; color: var(--action); }
.toc__count { margin-left: auto; font-size: 13px; color: var(--muted); }
.toc__list { list-style: none; counter-reset: toc; margin-top: 8px; }
.toc__list li { counter-increment: toc; }
.toc__list a {
  display: grid; grid-template-columns: 28px 1fr; padding: 7px 0; text-decoration: none; line-height: 1.4; color: var(--muted);
  transition: color var(--m-out) var(--ease);
}
.toc__list a::before { content: counter(toc, decimal-leading-zero); font-size: 12px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.toc__list a:hover, .toc__list a[aria-current] { color: var(--ink); }
.toc__list a[aria-current]::before { color: var(--action); }
@media (max-width: 1023px) {
  .toc { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 16px; }
  .toc__toggle { min-height: 52px; padding: 0; border: 0; cursor: pointer; }
  .toc__list { display: none; padding-bottom: 12px; }
  .toc.is-open .toc__list { display: block; }
}

.entry__widgets { margin-top: var(--s-7); font-size: 15px; }
.widget + .widget { margin-top: var(--s-6); }
.widget__title { font-family: var(--f-text); font-size: 15px; font-weight: 500; margin-bottom: 12px; letter-spacing: 0; }
.widget ul { list-style: none; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.widget a { text-decoration: none; }
.widget a:hover { text-decoration: underline; }

/* related */
.related { padding: var(--s-9) 0; background: var(--surface); }
.related__title { font-size: var(--t-h2); margin-bottom: var(--s-7); }

/* archive */
.archive { padding: var(--s-8) 0 var(--s-9); }
.archive__head { margin: var(--s-6) 0 var(--s-8); max-width: 820px; }
.archive__title { font-size: var(--t-h1); }
.archive__intro { margin-top: var(--s-5); color: var(--muted); font-size: var(--t-lead); }
.archive__code { font-family: var(--f-display); font-size: clamp(96px, 14vw, 200px); line-height: .9; color: var(--action); margin-bottom: var(--s-5); }
.archive--404 .btn { margin-top: var(--s-5); }
.empty { max-width: 620px; }

.pager { margin-top: var(--s-8); }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pager a, .pager span {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-btn); text-decoration: none; font-size: 15px;
}
.pager .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager a:hover { border-color: var(--ink); }

/* search form */
.searchform { margin-top: var(--s-6); max-width: 560px; }
.searchform__label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.searchform__row { display: flex; gap: 8px; }
.searchform__input { flex: 1; min-width: 0; height: var(--btn-h); padding: 0 16px; border: 1px solid color-mix(in oklab, var(--ink) 28%, transparent); border-radius: var(--r-btn); background: var(--bg); font-size: 16px; }

/* comments */
.comments-wrap { padding-bottom: var(--s-9); max-width: 720px; }
.comments__list { list-style: none; padding: 0; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); }

/* ------------------------------------------------------------------ footer */
.closing { background: var(--g-dark); color: var(--dark-ink); padding: var(--s-9) 0 var(--s-7); --line: color-mix(in oklab, var(--dark-ink) 16%, transparent); }
.closing__wrap { display: grid; gap: var(--s-9); }
.closing__dir { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) 24px; padding-top: var(--s-7); border-top: 1px solid var(--line); }
.closing__brand { grid-column: 1 / span 5; }
.closing__tag { margin-top: var(--s-4); max-width: 36ch; opacity: .78; font-size: 16px; }
.closing__menu { grid-column: 7 / -1; }
.closing__list { list-style: none; columns: 2; column-gap: 24px; }
.closing__list a { display: inline-block; padding: 6px 0; text-decoration: none; opacity: .86; }
.closing__list a:hover { opacity: 1; text-decoration: underline; }
.closing__widgets { grid-column: 1 / -1; }
.closing__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; opacity: .72; padding-top: var(--s-5); }
.closing__legal .link { color: inherit; }
@media (max-width: 639px) {
  .closing__brand, .closing__menu { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ the hero's entrance (once) */
@media (prefers-reduced-motion: no-preference) {
  html.js[data-motion="on"]:not(.is-entered) [data-enter] > * { opacity: 0; transform: translateY(14px); }
  html[data-motion="on"] [data-enter] > * { transition: opacity 700ms var(--ease-enter), transform 700ms var(--ease-enter); }
  html[data-motion="on"] [data-enter] > *:nth-child(2) { transition-delay: 80ms; }
  html[data-motion="on"] [data-enter] > *:nth-child(3) { transition-delay: 160ms; }
  html[data-motion="on"] [data-enter] > *:nth-child(4) { transition-delay: 240ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Hotellpilen – Vägvisaren. Signage and timetables: white, navy, signal
   orange. Familjen Grotesk / Figtree.
   ========================================================================== */
:root {
  --bg: #ffffff;
  --surface: #f3f3f0;
  --ink: #1f2b4d;
  --muted: #555e74;
  --action: #f29421;
  --action-ink: #1f2b4d;
  --link: #1f2b4d;
  --g-dark: #1f2b4d;
  --dark-ink: #f4f5f8;
  --sign: #0b5aa6;
  --f-display: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
  --f-text: 'Figtree', 'Segoe UI', Arial, sans-serif;
  --display-weight: 500;
  --track-display: -0.03em;
  --r-lg: 6px; --r-md: 6px; --r-sm: 4px; --r-btn: 6px;
}
:focus-visible { outline-color: var(--ink); }
.muted { color: var(--muted); }
.link, .prose a { color: var(--ink); text-decoration-color: var(--action); text-decoration-thickness: 2px; }
.brand { color: var(--ink); }
.brand .mark { width: 38px; height: 26px; color: var(--action); }
.brand__name { font-weight: 500; font-size: 24px; letter-spacing: -.03em; }
.nav { --nav-line: color-mix(in oklab, var(--ink) 14%, transparent); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a { box-shadow: inset 0 -3px 0 var(--action); }

/* ------------------------------------------------------------------ hero */
.hero { padding: var(--s-8) 0 var(--s-9); background: linear-gradient(var(--bg), var(--bg)) padding-box; border-bottom: 1px solid var(--line); }
.hero__wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.hero__text { grid-column: 1 / span 6; }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: var(--t-label); font-weight: 500; margin-bottom: var(--s-5); }
.hero__eyebrow .mark { width: 30px; height: 21px; color: var(--action); }
.hero__title { font-size: clamp(46px, 3.8vw + 28px, 96px); line-height: .95; letter-spacing: -.04em; }
.hero__lead { margin-top: var(--s-5); font-size: var(--t-lead); color: var(--muted); max-width: 40ch; }
.hsearch { margin-top: var(--s-7); max-width: 560px; }
.hsearch__label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.hsearch__row { display: flex; gap: 8px; padding: 6px; border: 2px solid var(--ink); border-radius: calc(var(--r-btn) + 4px); background: #fff; }
.hsearch__input { flex: 1; min-width: 0; border: 0; height: 48px; padding: 0 12px; font-size: 18px; background: transparent; }
.hsearch__input:focus { outline: none; }
.hsearch__row:focus-within { box-shadow: 0 0 0 3px color-mix(in oklab, var(--action) 45%, transparent); }
.hsearch .btn { flex: none; }
@media (max-width: 639px) { .hsearch__row { flex-direction: column; } .hsearch .btn { width: 100%; } }

/* the departure board */
.board {
  grid-column: 8 / -1; background: #16203a; color: #f4f5f8; border-radius: 10px; padding: 20px 20px 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -30px rgba(15,25,50,.6);
  font-family: var(--f-display);
}
.board__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 12px; border-bottom: 1px solid rgba(255,255,255,.14); }
.board__title { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.board__clock { font-size: 22px; color: #ffc65c; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.board__cols, .board__row { display: grid; grid-template-columns: 1fr 72px 52px; gap: 12px; align-items: center; }
.board__cols { padding: 10px 6px 6px; font-size: 12px; color: rgba(244,245,248,.6); font-family: var(--f-text); }
.board__cols span:nth-child(n+2) { text-align: right; }
.board__rows { list-style: none; }
.board__row { padding: 7px 6px; text-decoration: none; color: inherit; border-radius: 4px; transition: background-color var(--m-out) var(--ease); }
.board__row:hover { background: rgba(255,255,255,.06); transition-duration: var(--m-in); }
.board__city {
  font-family: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, monospace; font-size: 19px; letter-spacing: .08em;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1.25ch, transparent 1.25ch calc(1.25ch + 2px));
  padding: 3px 4px; border-radius: 2px;
}
.board__count { text-align: right; font-size: 19px; color: #ffc65c; font-variant-numeric: tabular-nums; }
.board__track { justify-self: end; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--action); color: #16203a; font-size: 15px; font-weight: 500; }
@media (max-width: 1023px) {
  .hero__text { grid-column: 1 / -1; }
  .board { grid-column: 1 / -1; margin-top: var(--s-7); }
}
@media (max-width: 639px) { .board__city { font-size: 16px; } .board__cols, .board__row { grid-template-columns: 1fr 52px 36px; } }

/* ------------------------------------------------------------------ signposts */
.signs { background: var(--surface); }
.signposts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; }
.signpost {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 0 34px 0 18px; text-decoration: none;
  background: var(--sign); color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: -.01em;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.9);
  transition: transform var(--m-out) var(--ease), background-color var(--m-out) var(--ease);
}
.signpost::before { content: ""; position: absolute; inset: 4px 26px 4px 4px; border: 1.5px solid rgba(255,255,255,.85); border-right: 0; border-radius: 2px; pointer-events: none; }
.signpost__n { font-size: 15px; font-family: var(--f-text); background: #fff; color: var(--sign); min-width: 30px; height: 24px; display: grid; place-items: center; border-radius: 3px; padding: 0 6px; }
.signposts li:nth-child(4n+2) .signpost { background: #12783d; }
.signposts li:nth-child(4n+2) .signpost__n { color: #12783d; }
@media (hover: hover) and (pointer: fine) {
  .signpost:hover { transform: translateX(4px); transition-duration: var(--m-in); }
}
@media (max-width: 1023px) { .signposts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .signposts { grid-template-columns: 1fr; } }

/* cards */
.card__media { border-radius: var(--r-lg); }
.card__eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.card__eyebrow::before { content: ""; width: 14px; height: 10px; background: var(--action); clip-path: polygon(0 0, 65% 0, 100% 50%, 65% 100%, 0 100%); }
.card__title { font-family: var(--f-display); font-weight: 500; letter-spacing: -.02em; font-size: 22px; }
.card__no { display: block; position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 8px; background: #16203a; color: #ffc65c; font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace; font-size: 13px; letter-spacing: .06em; border-radius: 3px; }
.card__no::before { content: "SPÅR "; color: rgba(244,245,248,.7); }
.sign-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--sign); }
.sign-ph .mark { width: 30%; height: auto; color: #fff; }

/* articles */
.reads__list { list-style: none; border-top: 2px solid var(--ink); }
.reads__link { display: grid; grid-template-columns: 1fr auto 28px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.reads__title { font-family: var(--f-display); font-size: clamp(22px, .6vw + 18px, 28px); font-weight: 500; letter-spacing: -.02em; }
.reads__meta { font-size: 14px; color: var(--muted); }
.reads__link .icon { color: var(--action); transition: transform var(--m-out) var(--ease); }
.reads__link:hover .icon { transform: translateX(4px); }

/* text and entries */
.reading { border-top: 1px solid var(--line); }
.prose h2, .prose h3 { letter-spacing: -.025em; }
.prose h2 { padding-top: 14px; border-top: 3px solid var(--ink); display: block; }
.entry__title { letter-spacing: -.04em; line-height: .98; }
.entry__eyebrow a { color: var(--ink); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; background: var(--sign); color: #fff; border-radius: 3px; font-size: 14px; }
.entry__eyebrow a::before { content: ""; width: 14px; height: 10px; background: #fff; clip-path: polygon(0 0, 65% 0, 100% 50%, 65% 100%, 0 100%); }
.related { background: var(--surface); }

/* footer */
.closing { background: var(--g-dark); }
.closing .brand { color: var(--dark-ink); }
.close__line { font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 2vw + 18px, 56px); letter-spacing: -.035em; line-height: 1.02; max-width: 22ch; }
.close .hsearch__row { background: #fff; border-color: #fff; }
.close .hsearch__input { color: var(--ink); }
.close .hsearch__label { color: var(--dark-ink); }

.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: var(--s-6); font-size: 15px; color: var(--muted); }
.facts strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: 34px; line-height: 1; color: var(--ink); letter-spacing: -.03em; margin-bottom: 4px; }
.facts li { padding-left: 14px; border-left: 3px solid var(--action); }
