  :root {
  --sea: #EEF3F4; --deep: #FFFFFF; --land: #E9DDB0; --ink: #0F2236; --muted: #4E6172;
  --line: rgba(15,34,54,.14); --red: #C8283A; --green: #14895A;
  --sans: "Host Grotesk", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --t-mega: clamp(2.9rem, 1rem + 6.6vw, 7.4rem); --t-xl: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem);
  --t-l: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); --t-body: clamp(1rem, .95rem + .2vw, 1.125rem);
  --ease: cubic-bezier(.165,.84,.44,1);
}
* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--sea); color: var(--ink); font-family: var(--sans); font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--sea); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--deep); padding: 10px 14px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.wrap { width: min(1320px, 100% - 64px); margin-inline: auto; }

/* Header: four corners */
.top { position: absolute; inset: 0 0 auto; z-index: 10; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 84px; }
.logo { font-weight: 700; font-size: 1.375rem; letter-spacing: -.03em; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.logo svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: .9375rem; font-weight: 500; }
.draw { text-decoration: none; background: linear-gradient(currentColor 0 0) left bottom / 0% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
@media (hover: hover) { .draw:hover { background-size: 100% 1.5px; } }
.draw:focus-visible { background-size: 100% 1.5px; }

/* Buttons: fill from the pointer's side */
.btn { position: relative; isolation: isolate; overflow: clip; display: inline-flex; align-items: center; gap: 12px; padding: 17px 26px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--deep); font-weight: 600; font-size: 1rem; text-decoration: none; transition: color .3s; min-height: 48px; }
.btn__fill { position: absolute; inset: 0; z-index: -1; background: var(--red); clip-path: circle(0% at 50% 50%); }
.btn .arr { display: inline-block; transition: translate .45s var(--ease); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost .btn__fill { background: var(--ink); }
.btn--ghost.is-filled { color: var(--deep); }
.btn:active .btn__fill { clip-path: circle(150% at 50% 50%); }
@media (hover: hover) { .btn:hover .arr { translate: 5px -2px; } }
.btn:focus-visible .arr { translate: 5px -2px; }

/* Hero chart */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--deep); }
.chart { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart .landmass { fill: var(--land); stroke: #B9A66A; stroke-width: 1; }
.chart .shoal { fill: #CFE2EC; }
.chart .contour { fill: none; stroke: #8FB6CC; stroke-width: 1; stroke-dasharray: 2 5; }
.chart .sound { font-family: var(--mono); font-size: 13px; fill: #5A7F95; font-style: italic; }
.chart .place { font-family: var(--sans); font-size: 13px; fill: #7A6A33; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.chart .track { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 10 7; opacity: .55; }
.hero__body { position: relative; z-index: 2; padding: 140px 0 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.hero h1 { font-size: var(--t-mega); max-width: 11ch; margin-left: -.05em; }
.hero .sub { font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); color: var(--muted); max-width: 34rem; margin: 28px 0 36px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.legend { background: rgba(255,255,255,.86); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; min-width: 240px; }
.legend dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.legend dt { color: var(--muted); }
.legend dd { margin: 0; }
.legend .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }

/* Section base */
section { position: relative; padding: clamp(88px, 12vw, 168px) 0; }
.lead { font-size: var(--t-xl); max-width: 16ch; }
.intro { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 38rem; margin-top: 24px; }

/* Route (signature) */
.route { background: var(--sea); }
.route__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; margin-top: 72px; }
.route__stage { position: sticky; top: 6vh; height: 88vh; border-radius: 20px; overflow: hidden; background: var(--deep); border: 1px solid var(--line); }
.route__stage svg { width: 100%; height: 100%; display: block; }
.route__stage .landmass { fill: var(--land); stroke: #B9A66A; stroke-width: 1; }
.route__stage .shoal { fill: #CFE2EC; }
.route__stage .ghost { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 8 8; }
.route__stage .course { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.route__stage .wp circle { fill: var(--deep); stroke: var(--ink); stroke-width: 2; }
.route__stage .wp text { font-family: var(--mono); font-size: 15px; fill: var(--ink); }
.route__stage .wp.on circle { fill: var(--ink); }
.ship path { fill: var(--ink); }
.stage__meta { position: absolute; left: 18px; bottom: 16px; right: 18px; display: flex; justify-content: space-between; color: var(--muted); pointer-events: none; }
.waypoints { list-style: none; margin: 0; padding: 0; }
.waypoint { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); padding: 40px 0; }
.waypoint:first-child { border-top: 0; }
.waypoint .mono { color: var(--muted); margin-bottom: 18px; display: block; }
.waypoint h3 { font-size: var(--t-l); margin-bottom: 16px; }
.waypoint p { color: var(--muted); max-width: 30rem; }
.waypoint .out { color: var(--ink); font-weight: 500; }

/* Shoals: what sinks AI projects */
.shoals { background: var(--ink); color: #DCE6EC; }
.shoals .lead { color: #fff; }
.shoals .intro { color: #9FB2C0; }
.hazards { list-style: none; margin: 72px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.hazard { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.hazard .depth { font-family: var(--mono); color: #F2A7B0; font-style: italic; }
.hazard h3 { color: #fff; font-size: var(--t-l); }
.hazard p { margin: 0; color: #9FB2C0; }

/* Cargo: what we build (index list) */
.cargo__list { list-style: none; margin: 64px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.cargo__list a { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 24px; align-items: center; padding: 30px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.cargo__list a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.cargo__list .mono { color: var(--muted); }
.cargo__list h3 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.75rem); transition: translate .6s var(--ease); }
.cargo__list p { margin: 0; color: var(--muted); }
.cargo__list .arr { font-size: 1.5rem; justify-self: end; transition: translate .6s var(--ease); }
@media (hover: hover) {
  .cargo__list a:hover::after { transform: scaleX(1); }
  .cargo__list a:hover h3 { translate: 12px 0; }
  .cargo__list a:hover .arr { translate: 6px -6px; }
}
.cargo__list a:focus-visible::after { transform: scaleX(1); }

/* Bearing: the Nordic numbers */
.bearing { background: var(--deep); border-top: 1px solid var(--line); }
.bearing__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.compass { aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.compass text { font-family: var(--mono); font-size: 14px; fill: var(--ink); }
.bars { display: grid; gap: 22px; margin-top: 40px; }
.bar { display: grid; grid-template-columns: 96px minmax(0, 1fr) 64px; gap: 16px; align-items: center; }
.bar__t { height: 12px; background: var(--sea); border-radius: 99px; overflow: hidden; }
.bar__f { display: block; height: 100%; background: var(--ink); border-radius: 99px; transform-origin: left; }
.bar--se .bar__f { background: var(--red); }
.bar .mono:last-child { text-align: right; }
.src { color: var(--muted); margin-top: 22px; }

/* Harbour: CTA + footer */
.harbour { background: var(--ink); color: #DCE6EC; padding-bottom: 40px; }
.harbour h2 { color: #fff; font-size: var(--t-mega); max-width: 10ch; margin-left: -.05em; }
.harbour p { max-width: 34rem; color: #9FB2C0; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); margin: 28px 0 40px; }
.harbour .btn { background: var(--deep); color: var(--ink); border-color: var(--deep); }
.harbour .btn.is-filled, .harbour .btn:active { color: #fff; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(96px, 14vw, 180px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: #9FB2C0; }
.foot a { color: #DCE6EC; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn .arr, .draw, .cargo__list a::after, .cargo__list h3, .cargo__list .arr { transition: none !important; }
  .btn:focus-visible .btn__fill { clip-path: none; } .btn:focus-visible { color: var(--deep); }
  .btn--ghost:focus-visible { color: var(--deep); }
}
@media (prefers-reduced-motion: reduce) and (hover: hover) {
  .btn:hover .btn__fill { clip-path: none; } .btn:hover { color: var(--deep); }
}

@media (max-width: 960px) {
  .hero__grid, .bearing__grid { grid-template-columns: 1fr; }
  .legend { justify-self: start; }
  .route__grid { grid-template-columns: 1fr; gap: 0; }
  .route__stage { top: 0; height: 42vh; z-index: 2; margin-bottom: 16px; border-radius: 0 0 16px 16px; border-top: 0; box-shadow: 0 -40px 0 var(--sea); }
  .waypoint { min-height: 0; padding: 48px 0; background: var(--sea); position: relative; }
  .hazard { grid-template-columns: 1fr; gap: 10px; }
  .cargo__list a { grid-template-columns: 48px minmax(0, 1fr) 28px; }
  .cargo__list p { grid-column: 2 / 3; }
  .nav li:not(:last-child) { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero__body { padding: 120px 0 40px; }
  .legend { display: none; }
  .bar { grid-template-columns: 74px minmax(0, 1fr) 52px; }
}

/* ===== Site-wide additions (multi-page) ===== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: cubic-bezier(.165,.84,.44,1); }
.phero__chart { view-transition-name: sitechart; }
.top .logo { view-transition-name: logo; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.nav a[aria-current="page"] { background-size: 100% 1.5px; }
.menu-btn { display: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; font: 600 .9375rem var(--sans); cursor: pointer; }
.top--solid { position: relative; background: var(--sea); border-bottom: 1px solid var(--line); }

/* Inner page hero: the site chart band */
.phero { position: relative; background: var(--deep); border-bottom: 1px solid var(--line); overflow: hidden; }
.phero__chart { display: block; width: 100%; height: clamp(180px, 22vw, 300px); }
.phero__chart .landmass { fill: var(--land); stroke: #B9A66A; stroke-width: 1; }
.phero__chart .shoal { fill: #CFE2EC; }
.phero__chart .phero__course { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 10 7; opacity: .35; }
.phero__chart .phero__drawn { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.phero__chart .stop circle { fill: var(--deep); stroke: var(--ink); stroke-width: 2; }
.phero__chart .stop text { font-family: var(--mono); font-size: 15px; fill: var(--muted); }
.phero__chart .stop.is-here circle { fill: var(--red); stroke: var(--red); }
.phero__chart .stop.is-here text { fill: var(--ink); font-weight: 500; }
.phero__chart .sound { font-family: var(--mono); font-size: 13px; fill: #5A7F95; font-style: italic; }
.phero__ship path { fill: var(--ink); }
.phero__body { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); background: var(--sea); }
.phero h1 { font-size: var(--t-xl); max-width: 16ch; margin-left: -.04em; }
.crumb { color: var(--muted); margin: 0 0 20px; }
.crumb a { color: var(--ink); }

/* Long-form blocks */
.block { padding: clamp(72px, 10vw, 136px) 0; border-top: 1px solid var(--line); }
.block--deep { background: var(--deep); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.split h2 { font-size: var(--t-l); }
.prose p { max-width: 38rem; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
@media (hover: hover) { .prose a:hover { text-decoration-color: var(--red); text-decoration-thickness: 2px; } }

/* Services */
.svc { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.svc:first-of-type { border-top: 1.5px solid var(--ink); }
.svc__mark { font-family: var(--mono); font-size: .8125rem; color: var(--muted); }
.svc__mark b { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); font-family: var(--sans); font-size: 1.375rem; color: var(--ink); margin-bottom: 12px; }
.svc h2 { font-size: var(--t-l); margin-bottom: 16px; }
.svc p { color: var(--muted); max-width: 34rem; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); align-self: start; }
.facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: .8125rem; color: var(--muted); padding-top: .2em; }
.facts dd { margin: 0; }
.example { margin-top: 18px; padding: 14px 16px; background: var(--sea); border-left: 3px solid var(--red); font-size: .9375rem; color: var(--ink); max-width: 34rem; }
.example .mono { display: block; color: var(--muted); margin-bottom: 4px; }

/* Stages (Farleden page) */
.stages { list-style: none; margin: 0; padding: 0; }
.stage-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); padding: clamp(44px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.stage-row:first-child { border-top: 1.5px solid var(--ink); }
.stage-row .num { font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 600; letter-spacing: -.05em; line-height: .8; color: var(--red); }
.stage-row .mono { color: var(--muted); display: block; margin-top: 12px; }
.stage-row h2 { font-size: var(--t-l); margin-bottom: 14px; }
.stage-row p { color: var(--muted); max-width: 34rem; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 2px; background: var(--red); }

/* FAQ */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); rotate: 45deg; translate: 0 -4px; transition: rotate .4s var(--ease), translate .4s var(--ease); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 4px; }
@media (hover: hover) { .faq summary:hover { color: var(--red); } }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 44rem; }

/* Principles (Om oss) */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.principles li { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.principles li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.principles h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin-bottom: 10px; }
.principles p { margin: 0; color: var(--muted); }
.person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px; background: var(--sea); border-radius: 16px; max-width: 34rem; }
.person__ph { width: 120px; height: 120px; border-radius: 50%; background: var(--deep); border: 1.5px dashed var(--muted); display: grid; place-items: center; text-align: center; font-family: var(--mono); font-size: .6875rem; color: var(--muted); padding: 10px; }
.person b { display: block; font-size: 1.25rem; }
.person span { color: var(--muted); }

/* Contact form */
.lotsform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.lotsform .full { grid-column: 1 / -1; }
.lotsform label { display: block; font-weight: 600; margin-bottom: 6px; }
.lotsform label small { font-weight: 400; color: var(--muted); }
.lotsform input, .lotsform select, .lotsform textarea { width: 100%; font: 1rem var(--sans); color: var(--ink); background: var(--deep); border: 1.5px solid #B9C6CF; border-radius: 10px; padding: 14px; min-height: 52px; }
.lotsform textarea { min-height: 150px; resize: vertical; }
.lotsform input:focus, .lotsform select:focus, .lotsform textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200,40,58,.25); }
.lotsform button { cursor: pointer; font-family: var(--sans); }
.formnote { color: var(--muted); font-size: .9375rem; margin: 0; }
.next { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.next li::before { content: counter(n); font-family: var(--mono); color: var(--red); font-size: 1.25rem; }
.next b { display: block; }
.next span { color: var(--muted); }
.direct { margin-top: 28px; padding: 22px; border-radius: 14px; background: var(--ink); color: #DCE6EC; }
.direct a { color: #fff; font-size: 1.25rem; font-weight: 600; }

/* Footer site links */
.foot nav ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.foot nav a { color: #DCE6EC; text-decoration: none; }
@media (hover: hover) { .foot nav a:hover { color: #fff; text-decoration: underline; } }

/* 404 */
.aground { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--deep); }
.aground__chart { width: 100%; height: 52vh; display: block; }
.aground__chart .shoal { fill: #CFE2EC; }
.aground__chart .landmass { fill: var(--land); stroke: #B9A66A; }
.aground__chart .sound { font-family: var(--mono); font-size: 14px; fill: #5A7F95; font-style: italic; }
.aground__chart .ghost { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 10 7; opacity: .4; }
.aground__body { background: var(--sea); padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.aground h1 { font-size: var(--t-xl); max-width: 14ch; }
.aground__links { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .top nav { position: fixed; inset: 0; z-index: 40; background: var(--ink); display: none; padding: 104px 24px 40px; }
  .top.is-open nav { display: block; }
  .top.is-open .logo, .top.is-open .menu-btn { position: relative; z-index: 41; color: #fff; }
  .top.is-open .nav { display: grid; gap: 4px; }
  .top.is-open .nav li { display: block !important; }
  .top.is-open .nav a { color: #fff; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; display: block; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); background: none; }
  .top.is-open .nav a[aria-current="page"] { color: #F2A7B0; }
  html.menu-open { overflow: hidden; }
  .split, .svc, .stage-row { grid-template-columns: 1fr; gap: 18px; }
  .principles { grid-template-columns: 1fr; }
  .principles li:nth-child(even) { padding-left: 0; border-left: 0; }
  .lotsform { grid-template-columns: 1fr; }
  .phero__chart .stop text { font-size: 22px; }
}
@media (max-width: 560px) {
  .person { grid-template-columns: 1fr; }
  .phero__chart .stop:not(.is-here) text { display: none; }
}
html, body { overflow-x: clip; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.phero + .block { padding-top: clamp(48px, 6vw, 88px); border-top: 0; }

/* ===== Critique pass ===== */
/* Hero: a paper knockout behind the headline so it never fights the shoreline */
.hero__body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 38%, rgba(255,255,255,0) 66%); }
.hero__body { isolation: isolate; }
.hero .sub { font-size: clamp(1.125rem, 1.02rem + .4vw, 1.375rem); color: #3E5163; }
/* Primary action in the nav */
.nav li:last-child a { background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 999px; transition: background .3s var(--ease); }
.nav li:last-child a::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 1px; }
@media (hover: hover) { .nav li:last-child a:hover { background: var(--red); } .nav li:last-child a:hover::before { background: #fff; } }
.nav li:last-child a:focus-visible { background: var(--red); }
/* Route: text keeps pace with the ship */
.waypoint { min-height: 60vh; }
.waypoint p { font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem); }
.waypoint .mono, .svc__mark, .facts dt, .crumb, .stage-row .mono { font-size: .875rem; color: #3E5163; }
/* Mobile menu: carries the chart */
.nav__meta { display: none; }
@media (max-width: 960px) {
  .top.is-open .nav li:last-child a { background: none; padding: 10px 0; border-radius: 0; color: #fff; }
  .top.is-open .nav a[aria-current="page"]::after { content: "ni är här"; font-family: var(--mono); font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: #F2A7B0; margin-left: 12px; vertical-align: middle; }
  .top.is-open .nav__meta { display: block; margin-top: 40px; color: #9FB2C0; line-height: 1.7; padding-top: 20px; border-top: 1px dashed rgba(255,255,255,.25); }
  .top.is-open nav { background: radial-gradient(circle at 85% 88%, rgba(200,40,58,.35) 0 6px, transparent 7px), var(--ink); }
  .top.is-open .nav li:last-child a::before { background: var(--red); }
}

/* Booking */
.calendar { background: var(--deep); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-height: 560px; }
.calendar iframe { display: block; width: 100%; height: 760px; border: 0; }
.calendar__fallback { padding: clamp(24px, 4vw, 44px); }
.calendar__fallback h3 { font-size: var(--t-l); margin-bottom: 14px; }
.calendar__fallback p { color: var(--muted); max-width: 30rem; }
.calendar.is-live .calendar__fallback { display: none; }
@media (max-width: 960px) { .calendar { min-height: 0; } .calendar iframe { height: 820px; } }

/* Loggboken */
.post { max-width: 44rem; }
.post > p, .post li { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.65; color: #2A3B4C; }
.post h2 { font-size: var(--t-l); margin: 2.2em 0 .6em; }
.post h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); letter-spacing: -.02em; margin: 1.6em 0 .4em; }
.post ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.post li { margin-bottom: .5em; }
.post a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
@media (hover: hover) { .post a:hover { text-decoration-color: var(--red); text-decoration-thickness: 2px; } }
.more { margin-top: 64px; padding-top: 28px; border-top: 1.5px solid var(--ink); }
.more h2 { font-size: 1.25rem; margin: 0 0 12px; }
.more ul { list-style: none; padding: 0; }
.more li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.entries { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.entry a { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 6px 24px; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.entry .mono { grid-column: 1; color: #3E5163; font-size: .875rem; }
.entry h2 { grid-column: 1; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); transition: translate .6s var(--ease); }
.entry p { grid-column: 1; margin: 0; color: var(--muted); max-width: 40rem; }
.entry .arr { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 1.5rem; transition: translate .6s var(--ease); }
@media (hover: hover) { .entry a:hover h2 { translate: 10px 0; } .entry a:hover .arr { translate: 6px -6px; } }
.entry a:focus-visible h2 { translate: 10px 0; }
.harbour:has(> .wrap > .foot:first-child) { padding-top: 32px; }
.harbour .wrap > .foot:first-child { margin-top: 0; }
