/* Cykelfærgen – 2026 redesign */

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/bricolage.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --ink: #0c2a2e;
    --ink-soft: #4b6467;
    --brand-950: #022a2c;
    --brand-900: #03393b;
    --brand-700: #04585a;
    --brand: #046c6d;
    --brand-400: #3f9c97;
    --brand-100: #e2f0ee;
    --brand-50: #f1f8f7;
    --sand: #f7f3ea;
    --accent: #ffc94a;
    --accent-hover: #ffd76e;
    --accent-ink: #2b1f00;
    --line: #d6e3e1;
    --white: #fff;
    --danger: #a33b2b;

    --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgb(3 57 59 / 0.08);
    --shadow: 0 10px 30px -12px rgb(3 57 59 / 0.28), 0 2px 6px rgb(3 57 59 / 0.06);
    --shadow-lg: 0 30px 60px -20px rgb(2 42 44 / 0.45);

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 76px;
    --partner-bar-h: 30px; /* the partner bar above the menu (one line; app.js measures the real header) */
    --header-total: calc(var(--header-h) + var(--partner-bar-h));
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-total, var(--header-h)) + 12px);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
    max-width: 100%;
}

/* width/height attributes (from image()) reserve the space; the height still follows the
   width and CSS aspect-ratio rules, as if the attributes weren't there. */
img {
    height: auto;
}

h1, h2, h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
    /* Long single words (e.g. "Handelsbetingelser") must not widen narrow screens. */
    overflow-wrap: break-word;
    hyphens: auto;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--brand);
    text-underline-offset: 0.18em;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.narrow {
    max-width: calc(760px + var(--gutter) * 2);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
}

.eyebrow {
    margin-bottom: 0.75rem;
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: var(--accent);
}

.notice {
    margin: 0;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0 1.4em;
    border: 0;
    border-radius: 999px;
    font: 600 1rem/1 var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--brand);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--brand-700);
}

.btn--accent {
    background: var(--accent);
    color: var(--accent-ink);
}

.btn--accent:hover {
    background: var(--accent-hover);
}

.btn--light {
    background: var(--white);
    color: var(--brand-900);
}

.btn--light:hover {
    background: var(--brand-50);
}

.btn--ghost {
    background: transparent;
    color: var(--brand);
    box-shadow: inset 0 0 0 2px var(--brand-100);
}

.btn--ghost:hover {
    box-shadow: inset 0 0 0 2px var(--brand);
}

.btn--small {
    min-height: 40px;
    padding: 0 1.1em;
    font-size: 0.9375rem;
}

.btn--large {
    min-height: 56px;
    padding: 0 2em;
    font-size: 1.0625rem;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-900);
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.15s;
}

a.icon-btn:hover {
    background: var(--brand-100);
}

.icon-btn[aria-disabled="true"] {
    opacity: 0.35;
}

.link-arrow {
    font-weight: 600;
    text-decoration: none;
}

.link-arrow::after {
    content: "\00a0→"; /* non-breaking: the arrow never ends up alone on a line */
    transition: margin 0.15s;
}

.link-arrow:hover::after {
    margin-left: 4px;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / 0.92);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.site-header--overlay {
    position: fixed;
    inset: 0 0 auto;
    background: transparent;
    backdrop-filter: none;
    border-color: transparent;
    color: var(--white);
}

.site-header--overlay.is-scrolled,
.site-header--overlay.is-open {
    background: rgb(3 57 59 / 0.94);
    backdrop-filter: saturate(1.4) blur(12px);
}

/* Partner bar: who sells the tickets (Als Turbåde) and who runs the site (the association). */
.partner-bar {
    background: var(--brand-950);
    color: rgb(255 255 255 / 0.85);
    font-size: 0.75rem;
    line-height: 1.35;
}

.partner-bar__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--partner-bar-h);
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 6px var(--gutter);
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.partner-bar__link:hover {
    color: var(--white);
}

.partner-bar__link:hover > span:first-child,
.partner-bar__link:hover > span:nth-child(2) {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.partner-bar strong {
    color: var(--white);
    font-weight: 600;
}

.partner-bar__short {
    display: none;
}

@media (max-width: 760px) {
    .partner-bar__long {
        display: none;
    }

    .partner-bar__short {
        display: inline;
    }
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--header-h);
}

.brand {
    display: flex;
    flex-shrink: 0; /* the name never squeezes or wraps for the menu */
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.brand picture {
    display: flex;
    flex: none;
}

.brand img {
    width: 44px;
    height: auto;
    border-radius: 50%;
    background: var(--white);
    padding: 3px;
}

.brand__text {
    display: grid;
    line-height: 1.1;
}

.brand__text strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.brand__text span {
    font-size: 0.8125rem;
    opacity: 0.75;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.site-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__links {
    gap: 4px;
}

.site-nav__links a {
    display: block;
    padding: 8px 12px;
    white-space: nowrap;
    border-radius: 999px;
    color: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
    background: rgb(4 108 109 / 0.1);
}

.site-header--overlay .site-nav__links a:hover {
    background: rgb(255 255 255 / 0.14);
}

/* Dropdown groups in the main menu (<details>): a panel under the label on desktop,
   an expanding list inside the burger menu on small screens. */
.nav-group details {
    position: relative;
}

.nav-group summary {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
    list-style: none;
    cursor: pointer;
    transition: background-color 0.15s;
}

.nav-group summary::-webkit-details-marker {
    display: none;
}

.nav-group summary svg {
    transition: transform 0.2s;
}

.nav-group details[open] summary svg {
    transform: rotate(180deg);
}

.nav-group summary:hover,
.nav-group summary.is-current,
.nav-group details[open] summary {
    background: rgb(4 108 109 / 0.1);
}

.site-header--overlay .nav-group summary:hover,
.site-header--overlay .nav-group summary.is-current,
.site-header--overlay .nav-group details[open] summary {
    background: rgb(255 255 255 / 0.14);
}

.site-nav .nav-group__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    display: grid;
    gap: 2px;
    min-width: 230px;
    padding: 8px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}

.site-nav .nav-group__panel a {
    padding: 10px 12px;
    border-radius: var(--radius-sm, 8px);
}

.site-header--overlay .nav-group__panel a:hover {
    background: rgb(4 108 109 / 0.1);
}

.lang-switch {
    gap: 2px;
    padding: 3px !important;
    border-radius: 999px;
    background: rgb(4 108 109 / 0.08);
}

.site-header--overlay .lang-switch {
    background: rgb(255 255 255 / 0.14);
}

.lang-switch a {
    display: block;
    padding: 5px 9px;
    border-radius: 999px;
    color: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    opacity: 0.75;
}

.lang-switch a[aria-current] {
    background: var(--white);
    color: var(--brand-900);
    opacity: 1;
}

.site-nav__cta {
    min-height: 42px;
    font-size: 0.9375rem;
}

.menu-toggle {
    display: none;
}

@media (max-width: 1120px) { /* below this the menu collapses into the burger */
    .menu-toggle {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: inherit;
        cursor: pointer;
    }

    .menu-toggle__bars,
    .menu-toggle__bars::before,
    .menu-toggle__bars::after {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 0.2s, opacity 0.2s;
    }

    .menu-toggle__bars {
        position: relative;
    }

    .menu-toggle__bars::before,
    .menu-toggle__bars::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .menu-toggle__bars::before { top: -7px; }
    .menu-toggle__bars::after { top: 7px; }

    [aria-expanded="true"] .menu-toggle__bars { background: transparent; }
    [aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
    [aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

    .js .site-nav {
        display: none;
    }

    .site-nav {
        position: absolute;
        inset: 100% 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        /* The header stays on screen, so the menu scrolls by itself once the dropdowns make it
           taller than the space below the header. */
        max-height: calc(100vh - var(--header-total, var(--header-h)));
        max-height: calc(100dvh - var(--header-total, var(--header-h)));
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
        background: var(--white);
        color: var(--ink);
        box-shadow: var(--shadow);
    }

    .site-header.is-open .site-nav {
        display: flex;
    }

    /* The page behind doesn't scroll while the menu is open. Only on <html>: with overflow on
       <body> as well, the body becomes its own scroll container and the sticky header sticks to
       the (unscrolled) body instead of the screen – out of view once the page is scrolled. */
    html.menu-open {
        overflow: hidden;
    }

    .nav-group summary {
        -webkit-tap-highlight-color: transparent;
    }

    .site-nav__links {
        flex-direction: column;
    }

    .site-nav__links a,
    .nav-group summary {
        padding: 12px 8px;
        border-radius: var(--radius-sm);
        font-size: 1.0625rem;
    }

    .nav-group summary {
        justify-content: space-between;
    }

    .site-nav .nav-group__panel {
        position: static;
        min-width: 0;
        margin: 2px 0 8px 12px;
        padding: 0 0 0 12px;
        border-left: 2px solid var(--brand-100);
        border-radius: 0;
        box-shadow: none;
    }

    .site-header--overlay .nav-group summary:hover,
    .site-header--overlay .nav-group summary.is-current,
    .site-header--overlay .nav-group details[open] summary {
        background: rgb(4 108 109 / 0.1);
    }

    .site-header--overlay .site-nav__links a:hover {
        background: rgb(4 108 109 / 0.1);
    }

    .site-header--overlay .lang-switch {
        background: rgb(4 108 109 / 0.08);
    }

    .lang-switch {
        align-self: flex-start;
    }

    .no-js .site-header {
        position: relative;
        height: auto;
    }

    .no-js .site-nav {
        position: static;
    }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: min(100svh, 980px);
    padding: calc(var(--header-total, var(--header-h)) + 48px) 0 120px;
    z-index: 2; /* above the next section, so the travellers panel can hang over it */
    color: var(--white);
    background: var(--brand-950);
    overflow-x: clip;
}

/* The photo keeps the hero's first-screen height; when search results make the hero taller,
   they continue on the dark background instead of the photo being blown up to fill it. */
.hero__media {
    position: absolute;
    inset: 0 0 auto;
    height: min(100svh, 980px);
    z-index: -2;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: min(100svh, 980px);
    z-index: -1;
    background:
        linear-gradient(180deg, rgb(2 42 44 / 0.65) 0%, rgb(2 42 44 / 0.15) 32%, rgb(2 42 44 / 0.35) 58%, rgb(2 42 44 / 0.9) 92%, var(--brand-950) 100%),
        linear-gradient(90deg, rgb(2 42 44 / 0.55) 0%, rgb(2 42 44 / 0) 60%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
}

.hero__copy {
    max-width: 680px;
}

.hero__title {
    font-size: clamp(2.6rem, 7vw, 5.25rem);
    font-weight: 750;
    letter-spacing: -0.035em;
}

.hero__lead {
    max-width: 52ch;
    margin: 20px 0 0;
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    color: rgb(255 255 255 / 0.88);
}

.hero__rating {
    display: inline-grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    gap: 6px 10px;
    margin-top: 20px;
    padding: 8px 14px 8px 10px;
    border-radius: var(--radius);
    background: rgb(2 42 44 / 0.45);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background-color 0.15s;
}

.hero__rating:hover {
    background: rgb(2 42 44 / 0.65);
}

/* One row per platform (Trustpilot, Google); stars, score and logo line up in columns. */
.hero__rating-item {
    display: contents;
}

.hero__rating .tp-stars,
.hero__rating .g-stars {
    --size: 18px;
    min-width: max-content; /* don't let the grid squeeze the stars */
}

.hero__rating strong {
    font-family: var(--font-display);
    font-size: 1.125rem;
}

.hero__rating-item > span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgb(255 255 255 / 0.85);
}

.hero__rating-count {
    color: rgb(255 255 255 / 0.65);
    font-size: 0.8125rem;
}

@media (max-width: 560px) {
    .hero__rating-count {
        display: none; /* the badges in the reviews section show the counts */
    }
}


.hero__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
}

.hero__results:empty {
    display: none;
}

.hero__wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 56px;
    color: var(--white);
}

/* ---------- Search ---------- */

.search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 0.9fr) minmax(170px, 0.9fr) auto;
    align-items: end;
    gap: 8px;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}

/* With "Return" chosen, a return date field joins the row. */
.search:has([data-trip][value="return"]:checked) {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(200px, 0.9fr) auto;
}

.search .search__field--return {
    display: none; /* .search so it beats .search__field's display further down */
}

.search:has([data-trip][value="return"]:checked) .search__field--return {
    display: grid;
}

/* Booking partner line under the fields: Als Turbåde's logo, who sells the tickets, their terms. */
.search__partner {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 2px 0 0;
    padding: 10px 8px 2px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.search__partner picture,
.search__partner-logo {
    display: block;
    flex: none;
    height: 32px;
    width: auto;
}

.search__partner a {
    color: inherit;
    text-underline-offset: 2px;
}

/* One way / return: a small segmented switch above the fields. */
.search__trip {
    grid-column: 1 / -1;
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
}

.search__trip label {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.search__trip label:hover {
    color: var(--brand-900);
}

.search__trip label:has(:checked) {
    background: var(--brand-100);
    color: var(--brand-900);
}

.search__trip label:has(:focus-visible) {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.search .search__trip input {
    position: absolute;
    inset: 0;
    width: auto;
    min-height: 0;
    opacity: 0;
}

.search__field {
    position: relative;
    display: grid;
    padding: 10px 16px 8px;
    border-radius: var(--radius);
    background: var(--brand-50);
    transition: background-color 0.15s, box-shadow 0.15s;
}

.search__field:focus-within {
    background: var(--white);
    box-shadow: inset 0 0 0 2px var(--brand);
}

.search__field label {
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Travellers: a field that opens a panel with a counter per type. */
.search__field--travellers {
    padding: 0;
}

.search__field--travellers > summary {
    display: grid;
    padding: 10px 16px 8px;
    list-style: none;
    cursor: pointer;
}

.search__field--travellers > summary::-webkit-details-marker {
    display: none;
}

.search__label {
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.search__value {
    overflow: hidden;
    min-height: 34px;
    padding-right: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23046c6d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 18px no-repeat;
    font: 600 1.0625rem/34px var(--font-body);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.search__value span {
    white-space: nowrap;
}

.search__field--travellers[open] .search__value {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 15 6-6 6 6' fill='none' stroke='%23046c6d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.travellers {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    display: grid;
    gap: 4px;
    width: min(340px, calc(100vw - 32px));
    padding: 14px 16px 16px;
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}

.travellers__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line, rgb(4 72 74 / 0.1));
}

.search .travellers__row label {
    display: grid;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.travellers__row small {
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 400;
}

.stepper {
    display: flex;
    flex: none;
    align-items: center;
    gap: 4px;
}

.stepper button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-900);
    font: 600 1.25rem/1 var(--font-body);
    cursor: pointer;
}

.stepper button:hover:not(:disabled) {
    background: var(--brand-100);
}

.stepper button:disabled {
    opacity: 0.35;
    cursor: default;
}

.search .stepper input {
    width: 2.6ch;
    min-height: 36px;
    text-align: center;
    cursor: text;
    -moz-appearance: textfield;
}

.stepper input::-webkit-inner-spin-button,
.stepper input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.search__field--travellers.is-invalid {
    box-shadow: inset 0 0 0 2px var(--danger);
    background: #fdf3f1;
}

.search__error {
    color: var(--danger);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.search__error::before,
.travellers__error::before,
.results__error::before {
    content: "! ";
    font-weight: 800;
}

.travellers__error {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: var(--radius);
    background: #fdf3f1;
    color: var(--danger);
    font-size: 0.875rem;
    font-weight: 600;
}

.results__error {
    margin: 0 0 14px;
    padding: 12px 16px;
    border-left: 4px solid var(--danger);
    border-radius: var(--radius);
    background: #fdf3f1;
    color: var(--danger);
    font-weight: 600;
}

.travellers__note {
    margin: 8px 0 0;
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.travellers__done {
    justify-self: end;
    margin-top: 6px;
}

.search select,
.search input {
    width: 100%;
    min-height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 600 1.0625rem/1.3 var(--font-body);
    appearance: none;
    outline: none;
    cursor: pointer;
}

.search select {
    padding-right: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23046c6d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 18px no-repeat;
}

.search select:invalid,
.search select option[value=""] {
    color: var(--ink-soft);
}

.search input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.7;
}

.search__swap {
    display: grid;
    place-items: center;
    align-self: center;
    width: 40px;
    height: 40px;
    margin-inline: -14px;
    z-index: 1;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-900);
    cursor: pointer;
    transition: transform 0.25s, background-color 0.15s;
}

.search__swap:hover {
    background: var(--accent);
    transform: rotate(180deg);
}

.search__submit {
    height: 100%;
    min-height: 60px;
    border-radius: var(--radius);
    padding-inline: 1.6em;
    font-size: 1.0625rem;
}

@media (max-width: 860px) {
    .search {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 8px;
        border-radius: var(--radius);
    }

    .search__swap {
        position: absolute;
        right: 20px;
        margin: 0;
        transform: translateY(-50%) rotate(90deg);
    }

    .search__swap:hover {
        transform: translateY(-50%) rotate(270deg);
    }

    .search__field--from {
        margin-bottom: 0;
    }

    .search {
        position: relative;
    }

    .search__swap {
        top: calc(8px + 32px + 6px + 62px + 3px); /* between from and to, below the trip switch */
    }

    .search__field {
        padding-right: 64px;
    }

    .search__field--date,
    .search__field--return {
        padding-right: 16px;
    }

    .search__field--travellers {
        padding: 0;
    }

    .search__value {
        padding-block: 5px;
        white-space: normal;
        line-height: 1.4;
    }

    /* One field per row, so the travellers summary has room; on return trips the two dates share one. */
    .search,
    .search:has([data-trip][value="return"]:checked) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .search__field--from,
    .search__field--to,
    .search__field--date,
    .search__field--travellers,
    .search__submit {
        grid-column: 1 / -1;
    }

    .search:has([data-trip][value="return"]:checked) .search__field--date {
        grid-column: auto;
    }

    .search__submit {
        min-height: 56px;
    }
}

/* ---------- Results ---------- */

.results {
    padding: clamp(18px, 3vw, 28px);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    animation: rise 0.35s ease-out;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
}

[aria-busy="true"] .results {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.results__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

/* Return trips: the way out and the way back, one after the other. */
.results__leg + .results__leg {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.results__leg-label {
    margin: 0 0 2px;
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.results__title {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}

.results__date {
    margin: 4px 0 0;
    color: var(--ink-soft);
}

.results__days {
    display: flex;
    gap: 8px;
}

.departures {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.departure {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "times book" "meta book";
    align-items: center;
    column-gap: 20px;
    padding: 14px 14px 14px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.departure:hover {
    border-color: var(--brand-400);
    box-shadow: var(--shadow-sm);
}

.departure__times {
    grid-area: times;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 440px;
}

.departure__time {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.departure__time--arrive {
    color: var(--ink-soft);
    font-weight: 500;
}

.departure__line {
    position: relative;
    flex: 1;
    min-width: 48px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand-400) 0 6px, transparent 6px 11px);
}

.departure__line::before,
.departure__line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.departure__line::before { left: 0; background: var(--brand); }
.departure__line::after { right: 0; border: 2px solid var(--brand); background: var(--white); }

.departure__line span {
    position: absolute;
    left: 50%;
    top: -22px;
    transform: translateX(-50%);
    padding: 0 6px;
    background: var(--white);
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.departure__meta {
    grid-area: meta;
    margin: 4px 0 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.departure__book,
.departure__choose,
.departure__status {
    grid-area: book;
}

/* Return trips: "Select" per sailing, then one booking for both ways. */
.departure__choose {
    position: relative;
    background: transparent;
    color: var(--brand);
    box-shadow: inset 0 0 0 2px var(--brand-100);
}

.departure__choose:hover {
    box-shadow: inset 0 0 0 2px var(--brand);
}

.departure__choose input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.departure__choose:has(:focus-visible) {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.departure__choose-on,
.departure__choose:has(:checked) .departure__choose-off {
    display: none;
}

.departure__choose:has(:checked) .departure__choose-on {
    display: inline;
}

.departure__choose:has(:checked) {
    background: var(--brand);
    color: var(--white);
    box-shadow: none;
}

.departure.is-chosen {
    border-color: var(--brand);
    box-shadow: inset 0 0 0 1px var(--brand);
}

.departure.is-too-early {
    opacity: 0.45;
}

.departure.is-too-early .departure__choose,
.departure.is-too-early .departure__choose input {
    cursor: not-allowed;
}

.results__book {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-top: 20px;
    padding: 12px 12px 12px 20px;
    border-radius: var(--radius);
    background: var(--brand-50);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color 0.15s, box-shadow 0.15s;
}

.results__book.is-ready {
    background: var(--white);
    box-shadow: inset 0 0 0 2px var(--brand), 0 10px 24px -10px rgb(2 42 44 / 0.35);
}

.results__book-summary {
    display: grid;
    gap: 2px;
    margin: 0;
    color: var(--ink-soft);
}

.results__book.is-ready .results__book-summary,
.results__book-summary strong {
    color: var(--ink);
}

.departure__status {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-weight: 600;
}

.departure.is-departed {
    background: var(--brand-50);
    border-color: transparent;
}

.departure.is-departed .departure__time {
    color: var(--ink-soft);
}

@media (max-width: 560px) {
    .departure {
        grid-template-columns: 1fr;
        grid-template-areas: "times" "meta" "book";
        row-gap: 10px;
        padding: 16px;
    }

    .departure__book,
    .departure__choose,
    .results__book .btn {
        width: 100%;
    }

    .departure__status {
        justify-self: start;
    }
}

.results__empty {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--sand);
}

.results__empty .btn {
    margin-top: 4px;
}

.results__note {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

/* ---------- Sections ---------- */

.section {
    padding-block: clamp(64px, 9vw, 120px);
}

.section--flush-top {
    padding-top: 0;
}

.section--tint {
    background: var(--sand);
}

.section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 24px 48px;
    margin-bottom: 40px;
}

@media (max-width: 760px) {
    .section__head { grid-template-columns: 1fr; }
}

.section__title {
    font-size: clamp(2rem, 4.4vw, 3.25rem);
}

#how .section__title {
    margin-bottom: 40px;
}

.section__lead {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.125rem;
}

/* Steps */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--brand-50);
}

.step__number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.step:nth-child(2) .step__number { background: var(--brand-700); }
.step:nth-child(3) .step__number { background: var(--accent); color: var(--accent-ink); }

.step__title {
    margin-bottom: 8px;
    font-size: 1.375rem;
}

.step p {
    margin: 0;
    color: var(--ink-soft);
}

/* Small labels */

.route-card__ferry {
    margin: 0 0 6px;
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Split */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
}

@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
}

.split__media {
    margin: 0;
}

.split__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.split__body .section__title {
    margin-bottom: 24px;
}

.split__body p {
    color: var(--ink-soft);
    font-size: 1.125rem;
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 32px 0 0;
}

.fact {
    padding: 16px;
    border-radius: var(--radius);
    background: var(--brand-50);
}

.fact dt {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.625rem);
    font-weight: 700;
    color: var(--brand-900);
}

.fact dd {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

/* Band */

.band {
    position: relative;
    isolation: isolate;
    padding-block: clamp(72px, 10vw, 140px);
    overflow: hidden;
    color: var(--white);
}

.band__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgb(2 42 44 / 0.88) 0%, rgb(2 42 44 / 0.55) 55%, rgb(2 42 44 / 0.2) 100%);
}

.band__inner > * {
    max-width: 560px;
}

.band__title {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.band p {
    font-size: 1.125rem;
    color: rgb(255 255 255 / 0.88);
}

.band .btn {
    margin-top: 12px;
}

/* FAQ */

.faq {
    margin-top: 32px;
    border-top: 1px solid var(--line);
}

.faq__item {
    border-bottom: 1px solid var(--line);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: "+";
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 1.375rem;
    font-weight: 400;
    transition: transform 0.2s;
}

.faq__item[open] summary::after {
    transform: rotate(45deg);
}

.faq__item p {
    margin: -6px 0 24px;
    max-width: 62ch;
    color: var(--ink-soft);
}

/* CTA */

.section--cta {
    padding-block: 0 clamp(64px, 9vw, 120px);
}

.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta > div {
    flex: 1 1 320px;
    padding: 0;
}

.section--cta .container {
    padding-block: clamp(36px, 5vw, 56px);
    border-radius: var(--radius-lg);
    background: var(--brand);
    color: var(--white);
    max-width: calc(var(--container));
    margin-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
    width: auto;
}

.cta__title {
    margin-bottom: 8px;
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}

.cta p {
    margin: 0;
    color: rgb(255 255 255 / 0.85);
}

/* Page head (inner pages) */

.page-head {
    padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px);
}

.page-head--center {
    text-align: center;
    padding-block: clamp(80px, 14vw, 160px);
}

.page-head__title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
}

.page-head__lead {
    max-width: 60ch;
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 1.125rem;
}

.page-head--center .page-head__lead {
    margin-inline: auto;
}

.page-head__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

/* Timetable page */

.timetable {
    margin-bottom: 28px;
    padding: clamp(20px, 3.5vw, 40px);
    border-radius: var(--radius-lg);
    background: var(--sand);
}

.timetable__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 28px;
}

.timetable__title {
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

.timetable__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.timetable.is-idle .trip__time,
.timetable.is-idle .trip__stops {
    opacity: 0.55;
}

.periods {
    margin-top: 8px;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.periods summary {
    color: var(--brand);
    font-weight: 600;
    cursor: pointer;
}

.periods ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.periods li {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-50);
}

/* Timetable date bar */

.tt__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 14px 14px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.tt__date {
    display: grid;
    margin: 0;
    line-height: 1.3;
}

.tt__date span {
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tt__date strong {
    font-family: var(--font-display);
    font-size: 1.375rem;
}

.tt__picker {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tt__input {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--ink);
    font: 600 0.9375rem var(--font-body);
}

.tt[aria-busy="true"] .timetable {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.section--tint .timetable {
    background: var(--white);
}

.pill {
    margin: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-weight: 600;
}

.pill a {
    font-weight: 600;
}

.pill--ok {
    background: #dff3e4;
    color: #17602f;
}

.pill--ok::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #2f9e54;
    vertical-align: 1px;
}

/* Trips per harbour */

.tt__harbors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 16px;
}

.tt-harbor {
    padding: 20px 20px 12px;
    border-radius: var(--radius);
    background: var(--white);
}

.section--tint .tt-harbor {
    background: var(--brand-50);
}

.tt-harbor__title {
    margin-bottom: 8px;
    font-size: 1.375rem;
}

.tt-harbor__title span {
    display: block;
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trips {
    margin: 0;
    padding: 0;
    list-style: none;
}

.trip {
    position: relative;
    display: grid;
    grid-template-columns: 4.2em minmax(0, 1fr) auto;
    grid-template-areas: "time stops book" "time status book";
    align-items: center;
    column-gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.trip__time {
    grid-area: time;
    align-self: start;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.trip__stops {
    grid-area: stops;
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.trip__stops span {
    color: var(--brand);
}

.trip__stops time {
    color: var(--ink);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.trip__status {
    grid-area: status;
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 600;
}

.trip__status:empty {
    display: none;
}

.trip__book {
    grid-area: book;
}

.trip__progress {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-100);
    overflow: hidden;
}

.trip__progress span {
    display: block;
    width: var(--progress, 0%);
    height: 100%;
    background: var(--brand);
    transition: width 1s linear;
}

.trip.is-departed .trip__time,
.trip.is-departed .trip__stops {
    opacity: 0.45;
}

.trip.is-departed .trip__time {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.trip.is-departed .trip__book,
.trip.is-underway .trip__book {
    display: none;
}

.trip.is-underway .trip__progress {
    display: block;
}

.trip.is-underway .trip__status {
    color: var(--brand);
}

.trip.is-underway .trip__status::before {
    content: "⛴ ";
}

.trip.is-next {
    margin-inline: -12px;
    padding-inline: 12px;
    border-radius: var(--radius-sm);
    border-top-color: transparent;
    background: #fff6dc;
}

.trip.is-next + .trip {
    border-top-color: transparent;
}

.trip.is-next .trip__status {
    color: #7a5600;
}

@media (max-width: 420px) {
    .trip {
        grid-template-columns: 3.8em minmax(0, 1fr);
        grid-template-areas: "time stops" "time status" "time book";
        row-gap: 6px;
    }

    .trip__book {
        justify-self: start;
    }
}

/* ---------- Explore ---------- */

.page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: min(78svh, 720px);
    padding: calc(var(--header-total, var(--header-h)) + 48px) 0 clamp(40px, 6vw, 72px);
    overflow: hidden;
    color: var(--white);
}

.page-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgb(2 42 44 / 0.6) 0%, rgb(2 42 44 / 0.2) 40%, rgb(2 42 44 / 0.85) 100%);
}

.page-hero__title {
    max-width: 14ch;
    font-size: clamp(2.6rem, 7vw, 5rem);
    letter-spacing: -0.035em;
}

.page-hero__lead {
    max-width: 56ch;
    margin: 20px 0 0;
    color: rgb(255 255 255 / 0.88);
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.jump-links a {
    padding: 9px 16px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.14);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s;
}

.jump-links a:hover {
    background: rgb(255 255 255 / 0.26);
}

/* Tours */

.tours {
    display: grid;
    gap: 24px;
}

.tour {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--brand-50);
}

.tour:nth-child(even) .tour__media {
    order: 2;
}

@media (max-width: 820px) {
    .tour { grid-template-columns: minmax(0, 1fr); }
    .tour:nth-child(even) .tour__media { order: 0; }
}

.tour__media {
    position: relative;
    min-height: 280px;
    margin: 0;
}

.tour__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour__media figcaption,
.teaser__credit {
    position: absolute;
    right: 10px;
    bottom: 8px;
    color: rgb(255 255 255 / 0.85);
    font-size: 0.6875rem;
    text-shadow: 0 1px 3px rgb(0 0 0 / 0.6);
}

.tour__body {
    padding: clamp(24px, 4vw, 48px);
}

.tour__body .btn {
    height: auto;
    padding-block: 12px;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
}

.tour__meta {
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 0.875rem;
    font-weight: 600;
}

.tour__title {
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 3vw, 2.125rem);
}

.tour__steps {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    counter-reset: tour;
}

.tour__steps li {
    position: relative;
    padding-left: 40px;
    color: var(--ink-soft);
    counter-increment: tour;
}

.tour__steps li::before {
    content: counter(tour);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
}

.tour__steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 28px;
    bottom: -12px;
    width: 2px;
    background: var(--brand-100);
}

/* Filters */

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 24px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Buttons (filters) and links (e.g. the FAQ topics): text centred in the pill, no underline. */
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font: 600 0.875rem var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.chip:hover {
    border-color: var(--brand-400);
}

a.chip:hover {
    background: var(--brand-50);
}

.chip:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.chip[aria-pressed="true"],
.chip[aria-current="true"] {
    border-color: var(--brand);
    background: var(--brand);
    color: var(--white);
}

/* Places */

.places {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.place {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.place[hidden] {
    display: none;
}

.place__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}

.tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: 0.75rem;
    font-weight: 600;
}

.tag--stay { background: #e8eefc; color: #2c4a9a; }
.tag--camping { background: #e3f3e6; color: #22673a; }
.tag--food { background: #fdeee2; color: #9a4a12; }
.tag--bike { background: #fff4d6; color: #7a5600; }
.tag--see { background: #f1e8fb; color: #64359a; }
.tag--shop { background: #eef0f2; color: #45525a; }

.place__name,
.route__name,
.practical__heading {
    font-size: 1.25rem;
}

.place__where {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 12px;
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-weight: 500;
}

.flag {
    flex: none;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08);
}

.flag--dk {
    background:
        linear-gradient(90deg, transparent 5px, #fff 5px, #fff 7.5px, transparent 7.5px),
        linear-gradient(180deg, #c8102e 4.75px, #fff 4.75px, #fff 7.25px, #c8102e 7.25px);
}

.flag--de {
    background: linear-gradient(180deg, #000 33.3%, #dd0000 33.3%, #dd0000 66.6%, #ffce00 66.6%);
}

.place__text {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.place__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.place__link:hover {
    text-decoration: underline;
}

.places__empty {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink-soft);
    text-align: center;
}

/* Routes */

.routes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.route {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.route__name {
    margin-bottom: 10px;
}

.route p {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

/* Map */

.map {
    margin: 0 0 24px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.map__scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}

.map__svg {
    display: block;
    width: 100%;
    min-width: 760px; /* keep labels readable on phones; the frame scrolls sideways */
    height: auto;
    font-family: var(--font-body);
}

.map__water { fill: #d3e9e6; }
.map__land { fill: #fbf8f1; }
.map__svg { --z: 1; }
.map__svg path,
.map__svg circle { vector-effect: non-scaling-stroke; }
.map__coast { fill: none; stroke: #9cc7c2; stroke-width: 1.2; }
.map__border { fill: none; stroke: #c0504d; stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; opacity: 0.7; }
.map__ferry { fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-dasharray: 10 7; stroke-linecap: round; }

.map__country {
    fill: #b9b2a2;
    font-size: calc(22px * var(--z));
    font-weight: 700;
    letter-spacing: 0.3em;
}

.map__sea {
    fill: #7fb3ad;
    font-family: var(--font-display);
    font-size: calc(26px * var(--z));
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.map__town {
    fill: var(--ink-soft);
    font-size: calc(15px * var(--z));
    font-weight: 600;
    text-anchor: middle;
    paint-order: stroke;
    stroke: #fbf8f1;
    stroke-width: calc(4px * var(--z));
}

.map__town-dot { fill: var(--ink-soft); }

.map__pin circle {
    stroke: var(--white);
    stroke-width: 3;
    transition: r 0.15s;
}

.map__pin--stay circle { fill: #2c4a9a; }
.map__pin--camping circle { fill: #22673a; }
.map__pin--food circle { fill: #c0611d; }
.map__pin--bike circle { fill: #b58300; }
.map__pin--see circle { fill: #64359a; }
.map__pin--shop circle { fill: #45525a; }
.map__pin--shelter circle { fill: #8a5a2b; stroke-width: 2; }
.map__tent {
    fill: none;
    stroke: var(--white);
    stroke-width: 2.2;
    stroke-linejoin: round;
    stroke-linecap: round;
    pointer-events: none;
}
.map__pin--shelter:hover circle,
.map__pin--shelter:focus circle { r: calc(12px * var(--z)); }
/* The legend shows the same tent */
.legend--shelter::before {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #8a5a2b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 20 12 4l9 16H3zM12 4v16M8.5 20 12 13l3.5 7' fill='none' stroke='white' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.map__pin.is-bikefriend circle {
    stroke: #ffc94a;
    stroke-width: 4;
}

.map__pin-label,
.map__landing-label {
    paint-order: stroke;
    stroke: var(--white);
    stroke-width: calc(5px * var(--z));
    stroke-linejoin: round;
}

.map__pin-label {
    opacity: 0;
    fill: var(--ink);
    font-size: calc(15px * var(--z));
    font-weight: 600;
    pointer-events: none;
    transition: opacity 0.15s;
}

.map__pin:hover circle,
.map__pin:focus circle,
.map__pin.is-active circle {
    r: calc(11px * var(--z));
}

.map__pin:hover .map__pin-label,
.map__pin:focus .map__pin-label,
.map__pin.is-active .map__pin-label {
    opacity: 1;
}

.map__pin.is-dimmed {
    opacity: 0.18;
    pointer-events: none;
}

.map__landing circle {
    fill: var(--brand);
    stroke: var(--white);
    stroke-width: 4;
}

.map__landing path {
    vector-effect: none;
    fill: none;
    stroke: var(--white);
    stroke-width: 2.4;
    stroke-linejoin: round;
}

.map__landing-label {
    fill: var(--brand-900);
    font-family: var(--font-display);
    font-size: calc(19px * var(--z));
    font-weight: 700;
}

.map__landing:hover circle,
.map__landing:focus circle {
    fill: var(--brand-700);
}

.map__svg a:focus { outline: none; }
.map__svg a:focus-visible circle { stroke: var(--accent); }

.map__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 500;
}

.legend::before {
    content: "";
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.legend--landing::before { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); }
.legend--ferry::before { width: 24px; border-top: 3px dashed var(--brand); }
.legend--border::before { width: 24px; border-top: 2px dotted #c0504d; }
.legend--bikefriend::before { width: 12px; height: 12px; border: 3px solid #ffc94a; border-radius: 50%; background: var(--ink-soft); }

.map__credit {
    margin-left: auto;
    font-size: 0.75rem;
}

/* BikeFriends badge on place cards */

.bikefriend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -4px 0 16px;
}

.bikefriend__badge {
    padding: 3px 10px 3px 8px;
    border-radius: 999px;
    background: #fff4d6;
    color: #7a5600;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.bikefriend__badge::before {
    content: "🚲 ";
}

.bikefriend__services {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bikefriend__services li {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--brand-50);
    color: var(--brand-700);
}

.place.is-highlighted {
    box-shadow: 0 0 0 3px var(--accent), var(--shadow);
    transition: box-shadow 0.2s;
}

/* Route cards */

.route-filter {
    margin-bottom: 20px;
}

.route {
    gap: 4px;
}

.route[hidden] {
    display: none;
}

.route__type {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.route--hike .route__type { color: #22673a; }

.route__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--brand-50);
}

.route--hike .route__icon { background: #e3f3e6; }

.route__source {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.75rem;
}

.route__stats {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 4px 0 8px;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.route__stats strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 700;
}

.route__text {
    flex: 1;
}

.route__actions {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.route__ferry {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--brand);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
}

.route__ferry::before {
    content: "⛴";
}

.route__ferry:hover {
    background: var(--brand-700);
}

.route__actions .place__link {
    display: inline;
    margin-top: 0;
}

.route__actions .place__link svg {
    display: inline;
    margin-left: 4px;
    vertical-align: -2px;
}

/* Practical */

.practical__title {
    margin-bottom: 32px;
}

.practical {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.practical__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
}

.practical__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: var(--brand-50);
    color: var(--brand);
}

.practical__item p {
    margin: 6px 0 12px;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.practical__item .place__link {
    margin-top: 0;
    overflow-wrap: anywhere;
}

.practical__item .place__link:first-of-type {
    margin-top: auto;
}

.section--tint + .section--cta {
    padding-top: clamp(64px, 9vw, 120px);
    background: linear-gradient(var(--sand) 50%, var(--white) 50%);
}

/* Home teaser */

.teasers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 760px) {
    .teasers { grid-template-columns: 1fr; }
}

.teaser {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 4 / 3;
    padding: 20px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: var(--white);
    text-decoration: none;
}

.teaser img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.teaser::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 40%, rgb(2 42 44 / 0.8));
}

.teaser:hover img {
    transform: scale(1.04);
}

.teaser__label {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.teaser__label::after {
    content: " →";
}

.teaser__credit {
    top: 10px;
    bottom: auto;
}

.teasers__more {
    margin: 24px 0 0;
}

/* ---------- Harbour pages ---------- */

.page-hero--harbor {
    min-height: min(82svh, 760px);
}

.page-hero .eyebrow .flag {
    display: inline-block;
    margin-right: 6px;
    vertical-align: -1px;
}

.page-hero__credit {
    position: absolute;
    right: 12px;
    bottom: 10px;
    color: rgb(255 255 255 / 0.75);
    font-size: 0.6875rem;
}

.crossings {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.crossings a {
    display: grid;
    gap: 2px;
    min-width: 150px;
    padding: 12px 18px;
    border-radius: var(--radius);
    background: rgb(255 255 255 / 0.14);
    backdrop-filter: blur(10px);
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.15s;
}

.crossings a:hover {
    background: rgb(255 255 255 / 0.26);
}

.crossings span {
    font-size: 0.875rem;
    opacity: 0.85;
}

.crossings strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.harbor-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 32px;
}

@media (max-width: 960px) {
    .harbor-intro { grid-template-columns: minmax(0, 1fr); }
}

.harbor-intro__main .section__title {
    margin-bottom: 24px;
}

.tt--harbor .tt__bar {
    background: var(--brand-50);
    box-shadow: none;
}

.tt--harbor .timetable {
    padding: 0;
    background: none;
}

.tt--harbor .tt__harbors {
    grid-template-columns: minmax(0, 1fr);
}

.tt--harbor .tt-harbor {
    padding: 8px 24px 12px;
    border: 1px solid var(--line);
}

.tt--harbor .tt-harbor__title {
    display: none;
}

.tt-harbor__title a {
    color: inherit;
    text-decoration: none;
}

.tt-harbor__title a:hover {
    color: var(--brand);
}

.tt-harbor__title a::after {
    content: " →";
    color: var(--brand);
    font-size: 0.8em;
}

.harbor-facts {
    position: sticky;
    top: calc(var(--header-total, var(--header-h)) + 16px);
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--brand-900);
    color: var(--white);
}

/* Outline buttons on the dark box: white text and a light outline (the default teal is unreadable here). */
.harbor-facts .btn--ghost {
    color: var(--white);
    box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.55);
}

.harbor-facts .btn--ghost:hover {
    background: rgb(255 255 255 / 0.1);
    box-shadow: inset 0 0 0 2px var(--white);
}

.harbor-facts .btn + .btn {
    margin-top: 10px;
}

.harbor-facts__title {
    margin-bottom: 16px;
    font-size: 1.375rem;
}

.harbor-facts ul {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.harbor-facts li {
    position: relative;
    padding-left: 28px;
    color: rgb(255 255 255 / 0.88);
    font-size: 0.9375rem;
}

.harbor-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%232b1f00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.harbor-facts .btn {
    width: 100%;
    height: auto;
    padding-block: 12px;
    white-space: normal;
    text-align: center;
}

.highlights__title {
    margin-bottom: 32px;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.highlight {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
}

.highlight__number {
    display: block;
    margin-bottom: 28px;
    color: var(--brand-400);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.highlight__title {
    margin-bottom: 10px;
    font-size: 1.375rem;
}

.highlight p {
    margin: 0;
    color: var(--ink-soft);
}

.place__distance {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

#nearby .place {
    border: 1px solid var(--line);
    box-shadow: none;
}

/* The zoomed harbour map needs more width than a phone has to keep labels readable. */
.map--focus .map__svg {
    min-width: 900px;
}

.map__landing.is-focus circle {
    fill: var(--accent);
    stroke: var(--brand-900);
}

.map__landing.is-focus path {
    stroke: var(--brand-900);
}

.other-harbors__title {
    margin-bottom: 32px;
}

.teasers--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
    .teasers--two { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Press room ---------- */

.press-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.press-nav a {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.press-nav a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.press-nav__rss {
    color: #b45309 !important;
}

.press-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 24px;
}

@media (max-width: 960px) {
    .press-top { grid-template-columns: minmax(0, 1fr); }
}

.press-latest {
    display: grid;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--brand-900);
    color: var(--white);
    text-decoration: none;
}

.press-latest img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.press-latest__body {
    padding: clamp(24px, 4vw, 40px);
}

.press-latest__title {
    margin: 12px 0;
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

.press-latest__sub {
    color: rgb(255 255 255 / 0.8);
    font-size: 1.125rem;
}

.press-latest .link-arrow {
    color: var(--accent);
}

.press-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.85;
}

.press-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.press-contacts {
    display: grid;
    gap: 4px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    scroll-margin-top: calc(var(--header-total, var(--header-h)) + 16px);
}

.press-contacts__title {
    margin-bottom: 8px;
    font-size: 1.375rem;
}

.press-contact {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.press-contact p {
    margin: 0;
}

.press-contact__region {
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.press-contact__name {
    margin-top: 4px !important;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.press-contact__role {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.press-contact__links {
    display: grid;
    gap: 2px;
    margin-top: 8px !important;
    font-size: 0.9375rem;
    font-weight: 600;
}

.press-contact__links a {
    text-decoration: none;
    overflow-wrap: anywhere;
}

.press-search input {
    min-height: 40px;
    width: min(320px, 100%);
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font: 500 0.9375rem var(--font-body);
}

.release-year[hidden],
.release[hidden] {
    display: none;
}

.release-year__title {
    margin: 32px 0 8px;
    color: var(--ink-soft);
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.releases {
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: var(--radius);
    background: var(--white);
}

.release + .release {
    border-top: 1px solid var(--line);
}

.release a {
    display: grid;
    grid-template-columns: 9em minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 4px 20px;
    padding: 16px 20px;
    color: var(--ink);
    text-decoration: none;
}

.release a:hover .release__title {
    color: var(--brand);
}

.release__date {
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
}

.release__title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

.release__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 0.8125rem;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .release a { grid-template-columns: minmax(0, 1fr); }
    .release__meta { order: -1; }
}

.press-lang {
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: 0.6875rem;
    font-weight: 700;
}

.press-kit {
    display: grid;
    justify-items: start;
    gap: 8px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.press-materials__lead {
    margin-top: 12px;
}

.press-sub {
    margin: 8px 0 16px;
    font-size: 1.375rem;
}

.logos,
.photos {
    display: grid;
    gap: 16px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

.logos {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.logo-tile {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.logo-tile__preview {
    display: grid;
    place-items: center;
    height: 140px;
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
    background: repeating-conic-gradient(#f3f3f3 0 25%, #fff 0 50%) 0 0 / 16px 16px;
}

.logo-tile__preview img {
    max-height: 110px;
    width: auto;
}

.logo-tile__name {
    margin: 0 0 6px;
    font-weight: 600;
}

.logo-tile__name span {
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 500;
}

.photos {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.photo {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.photo__preview img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo__preview:hover img {
    transform: scale(1.03);
}

.photo__body {
    padding: 14px 16px;
}

.photo__body p {
    margin: 0 0 4px;
}

.photo__caption {
    font-weight: 600;
}

.photo__credit {
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.photo__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px !important;
}

.photo__release {
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.press-note {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.press-facts {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}

@media (max-width: 860px) {
    .press-facts { grid-template-columns: minmax(0, 1fr); }
}

.press-facts__numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.press-facts__numbers .fact {
    background: var(--white);
}

.boilerplate {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
}

.boilerplate__title {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.boilerplate p {
    color: var(--ink-soft);
}

/* Single release */

.release-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 24px 56px;
    padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 120px);
}

@media (max-width: 960px) {
    .release-page { grid-template-columns: minmax(0, 1fr); }
}

.breadcrumb {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: inherit;
}

.release-article__head .press-meta {
    color: var(--ink-soft);
    opacity: 1;
}

.release-article__title {
    margin: 16px 0 12px;
    font-size: clamp(2rem, 4.6vw, 3.25rem);
}

.release-article__sub {
    margin: 0;
    color: var(--ink-soft);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.45;
}

.release-figure {
    margin: 32px 0;
}

.release-figure img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.release-figure figcaption {
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.release-figure figcaption a {
    margin-left: 8px;
    font-weight: 600;
}

.release-article__body {
    max-width: 68ch;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.release-article__lead {
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.6;
}

.release-article__body h3 {
    margin: 28px 0 8px;
    font-size: 1.25rem;
}

.release-article__body a {
    overflow-wrap: anywhere;
}

.photos--compact {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.release-aside {
    position: sticky;
    top: calc(var(--header-total, var(--header-h)) + 16px);
    display: grid;
    gap: 20px;
}

@media (max-width: 960px) {
    .release-aside { position: static; }
}

.release-tools {
    display: grid;
    gap: 8px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--brand-50);
}

.release-tools__title {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.release-tools .btn {
    width: 100%;
}

.release-tools .btn--ghost {
    background: var(--white);
}

.release-tools__label {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 600;
}

.release-langs {
    display: flex;
    gap: 8px;
    margin: 0;
}

.release-langs a {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.press-contacts--compact {
    background: var(--white);
}

@media print {
    .site-header, .site-footer, .sponsors, .release-aside, .breadcrumb, .skip-link { display: none !important; }
    /* Route card: only the chosen tour (data-printing on <html>, set by the print button). */
    [data-printing="tour"] .page-head, [data-printing="tour"] .tours-bar, [data-printing="tour"] .tours__note,
    [data-printing="tour"] .tour:not(.is-printing), [data-printing="tour"] .tour__actions, [data-printing="tour"] .service-alert { display: none !important; }
    [data-printing="tour"] .tour { display: block; box-shadow: none; padding: 0; break-inside: auto; }
    [data-printing="tour"] .tour__map { width: 100%; max-height: 11cm; margin-bottom: 0.5cm; }
    [data-printing="tour"] .tour-stops__item, [data-printing="tour"] .tour__plan { break-inside: avoid; }
    [data-printing="tour"] .tour-stops__text a { display: none; }
    [data-printing="tour"] .tour::after { content: attr(data-print-url); display: block; margin-top: 0.5cm; font-size: 9pt; color: #555; }
    .release-page { display: block; padding: 0; }
    .release-article__body { max-width: none; font-size: 11pt; }
    .release-figure img { max-height: 9cm; width: auto; border-radius: 0; }
    .release-article__body a { color: inherit; text-decoration: none; }
    body { background: #fff; }
}

/* ---------- Account ---------- */

.site-nav__account {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    color: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
}

.site-nav__account:hover,
.site-nav__account[aria-current] {
    background: rgb(4 108 109 / 0.1);
}

.site-header--overlay .site-nav__account:hover {
    background: rgb(255 255 255 / 0.14);
}

@media (min-width: 1121px) and (max-width: 1300px) {
    .site-nav__account span:not(.trip-count) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Just above the burger breakpoint, with "Min tur" in the menu, German labels need tighter spacing. */
@media (min-width: 1121px) and (max-width: 1240px) {
    .site-nav__links > li > a,
    .nav-group summary { padding-inline: 6px; }
    .lang-switch a { padding-inline: 6px; }
    :root:lang(de) .site-nav__links > li > a,
    :root:lang(de) .nav-group summary { font-size: 0.875rem; }
}

/* Desktop menu: compact spacing (German labels are long). */
@media (min-width: 1121px) {
    .site-nav { gap: 8px; }
    .site-nav__links { gap: 0; }
    .site-nav__links > li > a,
    .nav-group summary { padding: 8px 8px; }
}

.account-head {
    padding-bottom: 32px;
}

.account-message {
    margin: 0 0 24px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--brand-50);
    border-left: 4px solid var(--brand);
}

.account-message--invalid_email,
.account-message--expired,
.account-message--link_invalid,
.account-message--unavailable,
.account-message--mail_failed {
    background: #fdeee9;
    border-left-color: var(--danger);
}

.account-login {
    padding: clamp(20px, 4vw, 32px);
    border-radius: var(--radius-lg);
    background: var(--brand-900);
    color: var(--white);
}

.account-login label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.account-login__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.account-login input {
    flex: 1 1 260px;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font: 500 1.0625rem var(--font-body);
}

.account-login .btn {
    min-height: 52px;
    background: var(--accent);
    color: var(--accent-ink);
}

.account-login__hint {
    margin: 12px 0 0;
    color: rgb(255 255 255 / 0.75);
    font-size: 0.875rem;
}

.account-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.account-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--brand-50);
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.account-steps span {
    display: grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
}

.account-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 20px;
    margin-bottom: 16px;
    color: var(--ink-soft);
}

.account-summary p {
    margin: 0;
}

.account-summary strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.75rem;
}

.account-bookings {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-booking {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "main status" "actions actions";
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.account-booking--cancelled {
    background: var(--brand-50);
    border-color: transparent;
}

.account-booking--cancelled .account-booking__ref {
    color: var(--ink-soft);
    text-decoration: line-through;
}

.account-booking__main { grid-area: main; }
.account-booking__main p { margin: 0; }

.account-booking__label {
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.account-booking__ref {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.account-booking__date {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.account-status {
    grid-area: status;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
}

.account-status--booked { background: #dff3e4; color: #17602f; }
.account-status--reserved { background: #fff4d6; color: #7a5600; }
.account-status--cancelled { background: #eef0f2; color: #45525a; }

.account-booking__actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.account-booking__actions:empty {
    display: none;
}

.account-note,
.account-privacy {
    margin-top: 20px;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.account-actions form {
    margin: 0;
}

/* ---------- Reviews ---------- */

.reviews {
    overflow: hidden;
}

.reviews__head {
    margin-bottom: 28px;
}

/* Rating badges under the heading: one per platform (Trustpilot, Google). */
.reviews__ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.reviews__ratings li {
    flex: 0 1 auto;
}

.rating-badge {
    display: grid;
    gap: 2px;
    padding: 12px 18px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rating-badge:hover {
    border-color: var(--brand-400);
    box-shadow: 0 4px 14px rgb(2 42 44 / 0.08);
}

.rating-badge__name {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 22px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Trustpilot / Google logos (Reviews::logoHtml): sized by their width/height attributes. */
.brand-logo {
    display: inline-block;
    flex: none;
    vertical-align: middle;
}

.rating-badge__score {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-badge__score strong {
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1.1;
}

.rating-badge__of {
    margin-left: -8px;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.rating-badge__score .tp-stars,
.rating-badge__score .g-stars {
    --size: 20px;
}

.rating-badge__count {
    color: var(--ink-soft);
    font-size: 0.8125rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 560px) {
    .reviews__ratings li {
        flex: 1 1 0;
        min-width: 0;
    }

    .rating-badge {
        padding: 10px 12px 12px;
    }

    .rating-badge__score {
        gap: 8px;
    }

    .rating-badge__score strong {
        font-size: 1.375rem;
    }

    .rating-badge__score .tp-stars,
    .rating-badge__score .g-stars {
        --size: 14px;
    }
}

/* Reviews page: filter chips (platform, language), full texts, our replies, page links. */
.reviews-page__filters {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
}

.reviews-page__filters .chips {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip__count {
    margin-left: 6px;
    opacity: 0.65;
    font-weight: 500;
}

.reviews__grid--full {
    align-items: start; /* each card its own height: long reviews don't leave neighbours empty */
}

.reviews__grid--full .review-card__body {
    display: block;
    overflow: visible;
    -webkit-line-clamp: none;
}

.review-card__reply {
    margin-top: 14px;
    padding: 12px 14px;
    border-left: 3px solid var(--brand-400);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink-soft);
    font-size: 0.875rem;
    overflow-wrap: anywhere; /* long links in replies */
}

.review-card__reply p {
    margin: 0;
}

.review-card__reply .review-card__reply-from {
    margin-bottom: 4px;
    color: var(--ink);
    font-weight: 600;
}

a.pager__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Trustpilot-style stars (inline SVG from Reviews::starsHtml), sized by --size. */
.tp-stars {
    --size: 22px;
    display: inline-block;
    width: calc(var(--size) * 128 / 24);
    height: var(--size);
    vertical-align: middle;
}

/* Google-style stars (GoogleReviews::starsHtml): five stars without squares. */
.g-stars {
    --size: 22px;
    display: inline-block;
    width: calc(var(--size) * 5);
    height: var(--size);
    vertical-align: middle;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.reviews__more {
    margin: 24px 0 0;
    text-align: center;
}

.review-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--brand-50);
}

.review-card__stars {
    margin: 0 0 14px;
}

.review-card__stars {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
}

.review-card__stars .tp-stars,
.review-card__stars .g-stars {
    --size: 18px;
}

.review-card__source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ink-soft);
    font-size: 0.75rem;
}

.review-card__title {
    margin-bottom: 8px;
    font-size: 1.125rem;
    line-height: 1.3;
}

.review-card__body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.review-card__meta {
    display: grid;
    margin: auto 0 0;
    padding-top: 12px;
    font-size: 0.875rem;
}

.review-card__meta time {
    color: var(--ink-soft);
}

.reviews__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.reviews__write {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reviews__note {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

/* ---------- Service alerts ---------- */

.has-alerts {
    --header-total: calc(var(--header-h) + var(--partner-bar-h) + 48px); /* refined by app.js */
}

.service-alerts {
    background: #b42318;
    color: var(--white);
}

.service-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 10px var(--gutter);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
}

.service-alert + .service-alert {
    border-top: 1px solid rgb(255 255 255 / 0.2);
}

.service-alert svg {
    flex: none;
}

.service-alert__close {
    flex: none;
    margin-left: 4px;
    padding: 0 6px;
    border: 0;
    background: none;
    color: inherit;
    font-size: 1.375rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
}

.service-alert__close:hover {
    opacity: 1;
}

/* ---------- Ferry tracker ---------- */

.tracker {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 24px 32px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 641px) {
    .tracker--wide-map:not(.tracker--compact) {
        grid-template-columns: 420px minmax(0, 1fr); /* widened to show a ship further out */
    }
}

@media (max-width: 640px) {
    .tracker { grid-template-columns: minmax(0, 1fr); }
    /* Capped so the upright map doesn't get too tall – centred, so the card's margins match. */
    .tracker__map { width: 100%; max-width: 320px; justify-self: center; }
    .tracker--wide-map .tracker__map { max-width: none; }
}

.tracker--compact {
    grid-template-columns: minmax(0, 1fr);
    margin: 20px 0 0;
    padding: 12px;
    color: var(--ink);
}

.tracker--compact .tracker__map {
    max-height: 260px;
    overflow: hidden;
}

.tracker--compact .tracker__title {
    font-size: 1.125rem;
}

.tracker__map {
    overflow: hidden;
    border-radius: var(--radius);
}

.tracker__svg {
    min-width: 0 !important;
}

.tracker__landing circle {
    fill: var(--white);
    stroke: var(--brand);
    stroke-width: 3;
}

.tracker__landing text {
    fill: var(--brand-900);
    font-family: var(--font-display);
    font-size: calc(15px * var(--z));
    font-weight: 700;
    paint-order: stroke;
    stroke: #fbf8f1;
    stroke-width: calc(4px * var(--z));
    stroke-linejoin: round;
}

.tracker__ferry {
    transition: transform 1s linear;
}

/* Other ships (the old ferry): small and grey, at their last known position. */
.tracker__other circle {
    fill: #9aa8ab;
    stroke: var(--white);
    stroke-width: 2;
}

.tracker__other text {
    fill: var(--ink-soft);
    font-size: calc(13px * var(--z));
    font-weight: 600;
    paint-order: stroke;
    stroke: #fbf8f1;
    stroke-width: calc(4px * var(--z));
    stroke-linejoin: round;
}

.tracker__ferry circle:not(.tracker__pulse) {
    fill: var(--accent);
    stroke: var(--brand-900);
    stroke-width: 2.5;
}

.tracker__ferry path {
    fill: none;
    stroke: var(--brand-900);
    stroke-width: 2.4;
    stroke-linejoin: round;
    vector-effect: none;
}

.tracker__heading {
    fill: var(--brand-900);
    stroke: var(--white);
    stroke-width: 1.5;
    vector-effect: none;
}

.tracker__heading[hidden] {
    display: none;
}

.tracker__pulse {
    fill: var(--accent);
    opacity: 0;
}

.is-underway .tracker__pulse {
    animation: tracker-pulse 2s ease-out infinite;
}

@keyframes tracker-pulse {
    0% { opacity: 0.6; r: 11px; }
    100% { opacity: 0; r: 26px; }
}

.tracker__info .eyebrow {
    margin-bottom: 6px;
}

.tracker__title {
    margin-bottom: 6px;
    font-size: clamp(1.375rem, 2.6vw, 1.875rem);
}

.tracker__detail {
    margin: 0 0 4px;
    color: var(--ink-soft);
}

.tracker__ferry-name {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.tracker__source {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 600;
}

.tracker__credit {
    margin: 4px 0 0 16px;
    color: var(--ink-soft);
    font-size: 0.75rem;
}

.tracker__credit a {
    color: inherit;
}

/* Dev-only AIS test mode (VesselTracker::startTest). */
.tracker__test {
    margin: 10px 0 0;
    padding: 6px 10px;
    border-radius: 6px;
    background: #fff3cd;
    color: #5c4400;
    font-size: 0.75rem;
}

.tracker__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9aa8ab;
}

.tracker.is-live .tracker__dot {
    background: #2f9e54;
    box-shadow: 0 0 0 4px rgb(47 158 84 / 0.2);
}

.harbor-facts .tracker__info .eyebrow {
    color: var(--brand);
}

/* ---------- News ---------- */

.news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s;
}

.news-card a:hover {
    box-shadow: var(--shadow);
}

.news-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-card__body {
    display: grid;
    gap: 8px;
    padding: 20px;
}

.news-card .press-meta {
    color: var(--ink-soft);
    opacity: 1;
}

.news-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.news-card__text {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.press-sub-title {
    margin-bottom: 24px;
}

/* ---------- Legal ---------- */

.legal-nav {
    margin-top: 24px;
}

.legal-nav a[aria-current] {
    border-color: var(--brand);
    color: var(--brand);
}

.legal__section {
    margin-bottom: 32px;
}

.legal__section h2 {
    margin-bottom: 12px;
    font-size: 1.375rem;
}

.legal__section p,
.legal__section li {
    color: var(--ink-soft);
}

.legal__section ul {
    padding-left: 20px;
}

.legal__section li + li {
    margin-top: 6px;
}

.legal__table {
    overflow-x: auto;
}

.legal__table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.legal__table th,
.legal__table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.legal__table th {
    color: var(--ink);
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
}

/* ---------- EU / LAG funding notice (footer) ---------- */

/* A slim note, not a feature: small logos on a white strip (the EU emblem needs a light
   background) with the funding text next to them. */
.funding {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin-top: 32px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink-soft);
}

.funding__logos {
    display: flex;
    flex-wrap: wrap;
    flex: 0 1 auto;
    min-width: 0;
    align-items: center;
    gap: 8px 14px;
}

.funding__logos img {
    max-width: 100%;
}

.funding__logos img {
    width: auto;
    height: 30px;
    object-fit: contain;
}

.funding__logos img + img,
.funding__logos picture + picture img { /* the second logo, also when image() wraps them */
    height: 26px;
}

.funding__text {
    flex: 1 1 320px;
    min-width: 0;
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
}

/* ---------- Prices ---------- */

.departure__price {
    color: var(--brand-900);
}

.departure__per {
    color: var(--ink-soft);
}

.trip__price {
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 16px;
}

.price-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
}

.price-card__title {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.price-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.price-list span {
    display: grid;
    gap: 2px;
}

.price-list small {
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.price-list strong {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.price-tag {
    justify-self: start;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 0.6875rem;
    font-style: normal;
    font-weight: 700;
}

.prices__note {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

/* Day-trip tickets */

.day-trips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.day-trip {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--brand-900);
    color: var(--white);
}

.day-trip__label {
    margin: 0;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.day-trip__route {
    font-size: 1.5rem;
}

.day-trip__price {
    margin: 4px 0;
    color: rgb(255 255 255 / 0.75);
}

.day-trip__price strong {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2rem;
}

.day-trip__facts {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    color: rgb(255 255 255 / 0.85);
    font-size: 0.9375rem;
}

.day-trip__facts li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: 700;
}

.day-trip .btn {
    align-self: flex-start;
    margin-top: auto;
}

.price-list__link {
    justify-self: start;
    font-size: 0.8125rem;
    font-weight: 600;
}

.price-card__note {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.results__day-trip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: #fff6dc;
}

.results__day-trip p {
    flex: 1 1 320px;
    margin: 0;
    font-size: 0.9375rem;
}

/* ---------- Partners (Oplev page) ---------- */

.partners__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.partner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.partner:hover {
    border-color: var(--brand-400);
    box-shadow: var(--shadow-sm);
}

.partner__logo {
    display: flex;
    align-items: center;
    height: 72px;
    margin-bottom: 12px;
}

.partner__logo img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner__name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.partner__role {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.partner__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--brand);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ---------- Forms (contact, gift card) ---------- */

.form__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 640px) {
    .form__grid { grid-template-columns: minmax(0, 1fr); }
}

.form__field {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
}

.form__field small {
    color: var(--ink-soft);
    font-weight: 400;
}

.form__field--wide {
    grid-column: 1 / -1;
}

.form__field input,
.form__field select,
.form__field textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font: 400 1rem/1.5 var(--font-body);
}

.form__field textarea {
    resize: vertical;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
    border-color: var(--brand);
    outline: 2px solid var(--brand-100);
}

.form__field [aria-invalid="true"] {
    border-color: var(--danger);
}

.form__error {
    margin: 0;
    color: var(--danger);
    font-size: 0.8125rem;
    font-weight: 600;
}

.form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin: 20px 0 0;
}

.form__actions small {
    flex: 1 1 260px;
    color: var(--ink-soft);
}

/* ---------- Contact ---------- */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 32px;
}

@media (max-width: 960px) {
    .contact-layout { grid-template-columns: minmax(0, 1fr); }
}

.contact-cards {
    display: grid;
    gap: 16px;
}

.contact-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--brand-50);
}

.contact-card h2 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.contact-card h3 {
    margin: 18px 0 6px;
    font-size: 1rem;
}

.contact-card p {
    margin: 0 0 8px;
    color: var(--ink-soft);
}

.contact-card a {
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* ---------- Charter, gift card, association ---------- */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.charter-facts {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    margin: 0;
}

.charter-split {
    align-items: start;
}

.charter-steps {
    margin-top: 24px;
}

.charter-terms-title {
    margin-top: 20px;
}

.charter-terms {
    display: grid;
    gap: 8px;
    margin: 0 0 8px;
    padding-left: 18px;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.giftcard-steps {
    margin-top: 0;
}

.giftcard-note {
    margin-top: 16px;
    box-shadow: none;
    background: var(--sand);
    font-size: 0.9375rem;
}

.giftcard-form-title {
    margin: 48px 0 20px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section:not(.section--tint) .highlight,
.highlight--outline {
    border: 1px solid var(--line);
}

.association-funding {
    display: grid;
    gap: 8px;
    margin-top: 14px !important;
    font-size: 0.8125rem;
}

.association-funding img {
    width: auto;
    height: 28px;
}

.association-mobilepay {
    color: var(--ink-soft);
}

.association-board ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

.association-board__role {
    display: block;
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-weight: 400;
}

.band--plain {
    background: var(--brand-900);
}

.band--plain::before {
    display: none;
}

.documents {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.documents a {
    display: grid;
    gap: 2px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.documents a:hover {
    border-color: var(--brand);
}

.documents__type {
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---------- Harbour: getting there ---------- */

.getting-there {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}

@media (max-width: 860px) {
    .getting-there { grid-template-columns: minmax(0, 1fr); }
}

.directions {
    background: var(--white);
}

.directions__address {
    color: var(--ink) !important;
    font-size: 1.0625rem;
}

.directions__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 4px !important;
}

/* ---------- Weather ---------- */

.weather {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
}

.weather--compact {
    margin-bottom: 24px;
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
}

.weather .eyebrow {
    margin-bottom: 8px;
}

.weather__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.weather__icon {
    color: var(--brand);
}

.weather__temp {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.weather__wind {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    color: var(--ink-soft);
}

.weather__wind strong {
    color: var(--ink);
    font-size: 1.125rem;
}

.weather__arrow {
    color: var(--brand);
    transition: transform 0.3s;
}

.weather__warning {
    margin: 12px 0 0;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: #fff4d6;
    color: #7a5600;
    font-size: 0.875rem;
    font-weight: 600;
}

.weather__days {
    display: grid;
    gap: 2px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.weather__days li {
    display: grid;
    grid-template-columns: 3.2em 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 0.9375rem;
}

.weather__days svg {
    color: var(--brand);
}

.weather__day {
    font-weight: 700;
}

.weather__day-wind {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ink-soft);
}

.weather__credit {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 0.75rem;
}

.section--day-trips {
    padding-top: clamp(40px, 6vw, 72px);
}

/* ---------- Sponsors ---------- */

.sponsors {
    padding-block: clamp(56px, 8vw, 96px);
    border-top: 1px solid var(--line);
}

.sponsors__head {
    max-width: 560px;
    margin-bottom: 32px;
}

.sponsors__title {
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.sponsors__lead {
    margin: 0;
    color: var(--ink-soft);
}

.sponsors__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sponsor {
    display: grid;
    place-items: center;
    height: 112px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.sponsor:hover {
    border-color: var(--brand-400);
    box-shadow: var(--shadow-sm);
}

.sponsor a {
    display: contents;
}

/* Width and height are set per logo in partials/sponsors.php (equal visual area). */
.sponsor img {
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.85;
    transition: filter 0.2s, opacity 0.2s;
}

.sponsor:hover img {
    filter: none;
    opacity: 1;
}

/* ---------- Footer ---------- */

.site-footer {
    padding-top: clamp(56px, 8vw, 96px);
    background: var(--brand-950);
    color: rgb(255 255 255 / 0.78);
    font-size: 0.9375rem;
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
}

@media (max-width: 860px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

.brand--light {
    color: var(--white);
}

.site-footer__social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.site-footer__heading {
    margin-bottom: 12px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer address {
    margin-bottom: 12px;
    font-style: normal;
}

.site-footer__links {
    display: grid;
    gap: 6px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 56px;
    padding-block: 28px;
    border-top: 1px solid rgb(255 255 255 / 0.12);
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__sponsors {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    font-size: 0.8125rem;
}

.site-footer__sponsors img {
    height: 48px;
    width: auto;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--white);
}

.footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 20px 44px;
    margin: 0;
    padding: 40px 0 24px;
    list-style: none;
}

/* Width from the markup (--w); never wider than the screen allows. White on the dark footer. */
.footer-partners img {
    display: block;
    width: min(var(--w), 100%);
    height: auto;
    filter: brightness(100);
}

@media (max-width: 560px) {
    .footer-partners {
        justify-content: center;
        gap: 18px 28px;
        padding-top: 32px;
    }

    .footer-partners img {
        width: calc(var(--w) * 0.85);
    }
}

/* Projects without a description should not stretch to their neighbour's height. */
.association-projects {
    align-items: start;
}

/* Free places on a departure (from TeamBooking) */
.seats {
    color: var(--brand);
    font-weight: 600;
}

.seats--few {
    color: #9a5b00;
}

.seats--none {
    color: #b42318;
}

.departure.is-full .departure__time {
    color: var(--ink-soft);
}

.departure__status--full {
    background: #fdecea;
    color: #b42318;
}

/* Free places on the timetable: after the price on each destination */
.trip__stops .seats {
    display: inline-block;
    margin-left: 6px;
    white-space: nowrap;
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 600;
}

.trip__stops .seats--few {
    color: #9a5b00;
}

.trip__stops .seats--none {
    color: #b42318;
}

/* ---------- Bike service page ---------- */

.service-pin circle { fill: var(--brand); }
.service-pin.is-broken circle { fill: #a9a39a; }
.service-pin:hover circle,
.service-pin:focus circle,
.service-pin.is-active circle { r: 9px; }

.legend--station::before { width: 12px; height: 12px; border: 2px solid var(--white); border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.legend--broken::before { width: 12px; height: 12px; border: 2px solid var(--white); border-radius: 50%; background: #a9a39a; box-shadow: 0 0 0 1px #a9a39a; }

.stations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 12px;
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
}

.station {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    scroll-margin-top: 90px;
}

.station:target {
    box-shadow: 0 0 0 3px var(--brand);
}

.station p {
    margin: 0;
}

.station__distance {
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.station__name {
    margin: 0;
    font-size: 1.0625rem;
    overflow-wrap: anywhere;
}

.station__status {
    align-self: flex-start;
    padding: 2px 10px;
    border-radius: 999px;
    background: #fdecea;
    color: #b42318;
    font-size: 0.8125rem;
    font-weight: 600;
}

.station__address,
.station__note {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.station__services {
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
}

.station__route {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.station.is-broken .station__name {
    color: var(--ink-soft);
}

.stations-all {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.stations-all summary {
    cursor: pointer;
    font-weight: 700;
}

.stations-list {
    display: grid;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.stations-list li {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    gap: 4px 16px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 90px;
}

.stations-list li:target {
    background: var(--brand-50);
}

.stations-list__name {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.stations-list__name em {
    margin-left: 6px;
    color: #b42318;
    font-size: 0.8125rem;
    font-style: normal;
}

.stations-list__address {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.stations-list li.is-broken .stations-list__name {
    color: var(--ink-soft);
}

@media (max-width: 640px) {
    .stations-list li {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .stations-list__address {
        grid-column: 1;
        grid-row: 2;
    }
}

.service-more > * {
    min-width: 0;
}

.service-more .btn {
    white-space: normal;
    text-align: center;
}

/* ---------- Bike service: shops and charging ---------- */

.service-pin--shop circle { fill: #c0611d; }
.service-pin--charge circle { fill: #e0a800; }
g.service-pin { cursor: default; }
.legend--shop::before { width: 10px; height: 10px; border-radius: 50%; background: #c0611d; }
.legend--charge::before { width: 10px; height: 10px; border-radius: 50%; background: #e0a800; }

.station--shop .station__distance { color: #c0611d; }
.station--charge .station__distance { color: #9a6f00; }

.station__links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: auto !important;
    padding-top: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.station__links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ---------- Bike tours ---------- */

.tours-bar {
    margin-bottom: 24px;
}

.tours {
    display: grid;
    gap: 24px;
}

.tour {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    scroll-margin-top: 90px;
}

.tour__map {
    display: block;
    align-self: start;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    background: #d3e9e6;
    font-family: var(--font-body);
}

.tour__track {
    fill: none;
    stroke: #c0611d;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.tour__stop {
    fill: var(--white);
    stroke: #c0611d;
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
}

.tour__label {
    fill: var(--ink);
    font-weight: 700;
    paint-order: stroke;
    stroke: #fbf8f1;
    stroke-linejoin: round;
}

.tour__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
}

.tour__body p {
    margin: 0;
}

.tour__title {
    margin: 0;
    font-size: 1.5rem;
}

.tour__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tour__facts li {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-900);
    font-size: 0.875rem;
}

.tour__stops {
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-weight: 600;
}

.tour__plan {
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--sand, #f7f3ea);
}

.tour__plan-title {
    margin-bottom: 6px !important;
    font-weight: 700;
}

.tour__plan ol {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 1.2em;
}

.tour__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto !important;
}

.tour__actions .btn {
    white-space: normal;
    text-align: center;
}

.tour__none {
    color: var(--ink-soft);
}

.tours__note {
    margin: 24px 0 4px;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

@media (max-width: 820px) {
    .tour {
        grid-template-columns: minmax(0, 1fr);
    }

    .tour__map {
        aspect-ratio: 4 / 3;
    }
}

/* ---------- On board ---------- */

.onboard__group {
    margin-bottom: 32px;
    scroll-margin-top: 90px;
}

.onboard__title {
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.onboard__list {
    display: grid;
    margin: 0;
    border-top: 1px solid var(--line);
}

.onboard__list > div {
    display: grid;
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
    gap: 4px 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.onboard__list dt {
    font-weight: 700;
}

.onboard__list dd {
    margin: 0;
    color: var(--ink-soft);
}

.onboard__prices {
    display: grid;
    gap: 2px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}

.onboard__prices li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.onboard__prices strong {
    color: var(--ink);
}

.onboard__more {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.faq__more {
    margin-top: 20px;
    text-align: center;
}

@media (max-width: 640px) {
    .onboard__list > div {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Water, toilets and food at a landing ---------- */

.amenities {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 24px;
    margin-top: 20px;
}

.amenities__group h3 {
    margin: 0 0 8px;
    font-size: 1.0625rem;
}

.amenities__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.amenities__list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.amenity__name {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.amenity__name small {
    margin-left: 6px;
    color: var(--ink-soft);
    font-weight: 500;
}

.amenity__meta {
    grid-column: 1;
    color: var(--ink-soft);
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.amenity__link {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.amenities__note {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

@media (max-width: 820px) {
    .amenities {
        grid-template-columns: minmax(0, 1fr);
    }
}

.explore-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
}

.explore-links .btn {
    white-space: normal;
}

/* Long call-to-action labels (German) must wrap on small phones. */
.band__inner .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}


/* Long German words ("Fahrräder") in the fact boxes on small phones. */
.facts .fact,
.facts dt,
.facts dd {
    min-width: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
}

/* Food and rest where a tour ends */
.tour-finish {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.tour-finish p {
    margin: 0;
}

.tour-finish__title {
    font-weight: 700;
}

.tour-finish__lead {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.tour-finish__list {
    display: grid;
    gap: 6px;
    margin: 10px 0;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
}

.tour-finish__list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
}

.tour-finish__list small {
    color: var(--ink-soft);
}

.tour-finish__meta {
    color: var(--ink-soft);
    font-size: 0.875rem;
    text-align: right;
}

.tour-finish__more {
    font-size: 0.875rem;
    font-weight: 600;
}


@media (max-width: 560px) {
    .tour-finish__list li {
        grid-template-columns: minmax(0, 1fr);
    }

    .tour-finish__meta {
        text-align: left;
    }
}

.tour-finish__open {
    color: #22673a;
    font-weight: 600;
}

/* Stops along a tour: numbered on the map and in the list */
.tour__poi circle {
    stroke: var(--white);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.tour__poi text {
    fill: var(--white);
    font-weight: 700;
    text-anchor: middle;
}

.tour__poi--shop circle,
.tour-stops__item--shop .tour-stops__num { fill: #b45309; background: #b45309; }
.tour__poi--see circle,
.tour-stops__item--see .tour-stops__num { fill: #6d3b9e; background: #6d3b9e; }
.tour__poi--food circle,
.tour-stops__item--food .tour-stops__num { fill: #2c4a9a; background: #2c4a9a; }
.tour__poi--rest circle,
.tour-stops__item--rest .tour-stops__num { fill: #22673a; background: #22673a; }
.tour__poi--facility circle,
.tour-stops__item--facility .tour-stops__num { fill: #5d6b70; background: #5d6b70; }

.tour-stops__title {
    margin: 0 0 6px !important;
    font-weight: 700;
}

.tour-stops__list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
}

.tour-stops__item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 2px 10px;
    align-items: baseline;
}

.tour-stops__num {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    align-self: center;
}

.tour-stops__name small {
    margin-left: 4px;
    color: var(--ink-soft);
}

.tour-stops__name .tour-stops__text {
    display: block;
    margin: 2px 0 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.tour-stops__meta {
    color: var(--ink-soft);
    font-size: 0.875rem;
    text-align: right;
}

.tour-stops__closed {
    color: #b42318;
}

@media (max-width: 560px) {
    .tour-stops__item {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .tour-stops__meta {
        grid-column: 2;
        text-align: left;
    }
}

/* Header items keep their size; the layout above switches to the burger before space runs out. */
.site-nav > *,
.site-nav__account svg {
    flex-shrink: 0;
}

/* ---------- Newsletter (above the footer) ---------- */

.newsletter {
    padding: clamp(40px, 6vw, 64px) 0;
    background: var(--brand-900);
    color: var(--white);
}

.newsletter__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 48px;
    align-items: center;
}

.newsletter__title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.newsletter__lead {
    margin: 0;
    color: rgb(255 255 255 / 0.8);
}

.newsletter__row {
    display: flex;
    gap: 8px;
}

.newsletter__row input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 1rem;
}

.newsletter__row .btn {
    flex-shrink: 0;
}

.newsletter__message {
    margin: 12px 0 0;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: rgb(255 255 255 / 0.12);
    font-weight: 600;
}

.newsletter__message--sent {
    background: rgb(255 201 74 / 0.2);
}

.newsletter__privacy {
    margin: 10px 0 0;
    color: rgb(255 255 255 / 0.7);
    font-size: 0.8125rem;
}

.newsletter__privacy a {
    color: var(--white);
}

@media (max-width: 760px) {
    .newsletter__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .newsletter__row {
        flex-direction: column;
    }
}

/* ---------- Shelters ---------- */

.shelter-pin circle { fill: #8a5a2b; }
.shelter-pin.is-booking circle { fill: #9a6f00; }
.legend--shelter-booking::before {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #9a6f00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 20 12 4l9 16H3zM12 4v16M8.5 20 12 13l3.5 7' fill='none' stroke='white' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.shelter-pin circle { stroke-width: 1.5; }
.shelter-pin .map__tent { vector-effect: none; stroke-width: 2.4; } /* lines scale with the small marker */
.shelter-pin:hover circle,
.shelter-pin:focus circle { r: 9px; }
.station--shelter .station__distance { color: #8a5a2b; }

.station__status--info {
    background: #fff4d6;
    color: #7a5600;
}

.stations-list__info {
    margin-left: 6px;
    color: #7a5600;
    font-size: 0.8125rem;
    font-style: normal;
}

.shelter-app {
    margin-bottom: 16px;
}

/* Explore: pages of places */
.pager {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 28px;
}

.pager__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.pager__button {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font: 600 0.9375rem var(--font-body);
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

.pager__button:hover:not(:disabled) {
    border-color: var(--brand);
}

.pager__button[aria-current="page"] {
    border-color: var(--brand);
    background: var(--brand);
    color: var(--white);
}

.pager__button:disabled {
    opacity: 0.4;
    cursor: default;
}

.pager__step {
    font-size: 1.125rem;
}

.pager__gap {
    align-self: center;
    padding: 0 4px;
    color: var(--ink-soft);
}

.pager__status {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

/* image(): a <picture> that leaves the layout to its <img> */
.pic {
    display: contents;
}

/* ---------- Account dashboard (signed in) ---------- */

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    gap: 32px;
    align-items: start;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 0 0 28px;
}

.account-stats > div {
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--brand-50);
}

.account-stats dt {
    color: var(--brand-900);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.account-stats dd {
    margin: 4px 0 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.account-section-title {
    margin: 0 0 14px;
    font-size: 1.5rem;
}

.account-empty {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
}

.account-empty p {
    margin: 0;
}

.booking-cards {
    display: grid;
    gap: 16px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.booking-card {
    display: grid;
    gap: 14px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.booking-card.is-cancelled {
    background: #fafbfb;
    box-shadow: none;
}

.booking-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.booking-card__when {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--brand-950, #022a2c);
    font-size: 0.8125rem;
    font-weight: 700;
}

.booking-card__ref {
    margin-left: auto;
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.booking-card__ref strong {
    color: var(--ink);
    letter-spacing: 0.04em;
}

.booking-legs {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.booking-leg {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--brand-50);
}

.booking-leg p {
    margin: 0;
}

.booking-leg__date {
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.booking-leg__route {
    font-size: 1.0625rem;
}

.booking-leg__route span {
    margin: 0 4px;
    color: var(--ink-soft);
}

.booking-leg__pax {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.booking-leg.is-cancelled {
    border-left-color: #b42318;
    background: #fdf2f1;
}

.booking-leg.is-cancelled .booking-leg__route {
    text-decoration: line-through;
}

.booking-leg__flag {
    color: #b42318;
    font-size: 0.875rem;
    font-weight: 600;
}

.booking-card__note,
.booking-card__deadline {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.booking-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-card__actions .btn {
    white-space: normal;
    text-align: center;
}

.account-past {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.account-past summary {
    cursor: pointer;
    font-weight: 700;
}

.account-past__list {
    display: grid;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.account-past__list li {
    display: grid;
    grid-template-columns: minmax(0, 7em) minmax(0, 1fr) auto auto;
    gap: 6px 14px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9375rem;
}

.account-past__date {
    color: var(--ink-soft);
}

.account-past__route {
    overflow-wrap: anywhere;
}

.account-aside {
    display: grid;
    gap: 16px;
}

.account-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.account-card h2 {
    margin: 0 0 8px;
    font-size: 1.125rem;
}

.account-card p {
    margin: 0 0 12px;
}

.account-card--accent {
    border-color: transparent;
    background: var(--brand-900);
    color: var(--white);
}

.account-card--accent p {
    color: rgb(255 255 255 / 0.8);
}

.account-card__email {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.account-card__note {
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.account-card__links {
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

@media (max-width: 900px) {
    .account-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .booking-card {
        padding: 16px;
    }

    .booking-card__ref {
        margin-left: 0;
        width: 100%;
    }

    .account-past__list li {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .account-past__route {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

.booking-card__alert {
    margin: 0;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: #fdecea;
    color: #b42318;
    font-size: 0.9375rem;
    font-weight: 600;
}

/* ---------- About the ferry ---------- */

.timeline {
    position: relative;
    display: grid;
    gap: 22px;
    margin: 24px 0 0;
    padding: 0 0 0 28px;
    list-style: none;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 7px;
    width: 2px;
    background: var(--brand-100, #cfe6e3);
}

.timeline__item {
    position: relative;
}

.timeline__item::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -27px;
    width: 14px;
    height: 14px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 2px var(--brand);
}

.timeline__item p {
    margin: 4px 0 0;
}

.timeline__year {
    margin: 0 !important;
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.timeline__title {
    margin: 2px 0 0;
    font-size: 1.1875rem;
}

.timeline__source {
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-style: italic;
}

.ferry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.ferry-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.ferry-card p {
    margin: 0;
}

.ferry-card__role {
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ferry-card__name {
    margin: 4px 0 8px;
    font-size: 1.75rem;
}

/* ---------- FAQ page ---------- */

.faq-search {
    display: block;
    margin-top: 20px;
}

.faq-search input {
    width: 100%;
    max-width: 480px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: inherit;
}

.faq-groups {
    margin-bottom: 24px;
}

.faq-group {
    margin-bottom: 28px;
    scroll-margin-top: 90px;
}

.faq-group__title {
    margin: 0 0 12px;
    font-size: 1.375rem;
}

.faq-more {
    margin-top: 32px;
}

/* Off-season banner (home hero, timetable) */
.season-note {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin: 0;
    max-width: 100%;
    padding: 6px 14px 6px 6px;
    border-radius: 18px;
    font-size: 0.875rem;
    line-height: 1.35;
}

.season-note__tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--brand-950, #022a2c);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.season-note--hero {
    margin-bottom: 18px;
    background: rgb(2 42 44 / 0.45);
    backdrop-filter: blur(8px);
    color: var(--white);
}

.season-note--hero .season-note__book {
    color: rgb(255 255 255 / 0.8);
}

.season-note--page {
    margin-top: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--ink);
}

/* Parking on harbour pages */
.parking-list {
    display: grid;
    gap: 6px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}

.parking-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.parking-list__p {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #2c4a9a;
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 800;
}

.parking-list a {
    font-size: 0.875rem;
    font-weight: 600;
}

.parking-list__note {
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

/* ---------- Groups, ideas, events ---------- */

.groups-facts { margin-bottom: 32px; }
.groups-options { margin-bottom: 20px; }
.groups-options__name { font-size: 1.25rem; }
.groups-terms { margin-bottom: 32px; }

.ideas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 20px;
}

.idea {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    scroll-margin-top: 90px;
}

.idea__for {
    margin: 0;
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.idea__title {
    margin: 4px 0 8px;
    font-size: 1.5rem;
}

.idea__intro {
    margin: 0 0 14px;
    color: var(--ink-soft);
}

.idea__steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 1.3em;
}

.idea__steps a {
    margin-left: 4px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.ideas__more { margin-top: 28px; }

.event-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.event-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.event-item p { margin: 0; }

.event-item__when {
    color: var(--brand);
    font-size: 0.875rem;
    font-weight: 700;
}

.event-item__name {
    margin: 0;
    font-size: 1.125rem;
}

.event-item__name span {
    margin-left: 4px;
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-weight: 500;
}

.event-item__meta {
    display: grid;
    gap: 4px;
    margin-top: auto !important;
    padding-top: 6px;
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.event-item__meta a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

/* ---------- Become a sponsor ---------- */

.sponsor-offer {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sponsor-offer li {
    position: relative;
    padding-left: 34px;
}

.sponsor-offer li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
}

.sponsor-ways {
    display: grid;
    gap: 12px;
    margin: 0;
}

.sponsor-ways > div {
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
}

.sponsor-ways dt {
    margin-bottom: 4px;
    font-weight: 700;
}

.sponsor-ways dd {
    margin: 0;
    color: var(--ink-soft);
}

/* ---------- Share your photos ---------- */

.share-drop {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 32px 20px;
    border: 2px dashed var(--brand-400);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.share-drop:hover,
.share-drop:focus-within {
    border-color: var(--brand);
    background: var(--brand-50);
}

.share-drop.is-invalid {
    border-color: var(--danger);
}

/* The real input covers the box, so tapping anywhere opens the picker (and dropping files works). */
.share-drop input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.share-drop__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-900);
}

.share-drop strong {
    font-size: 1.125rem;
}

.share-drop small {
    color: var(--ink-soft);
}

.share-drop__count:not(:empty) {
    margin-top: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--brand);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
}

.share-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.share-previews img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
}

.share-form .form__grid {
    margin-top: 20px;
}

.share-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 0.9375rem;
    cursor: pointer;
}

.share-consent.is-invalid {
    box-shadow: inset 0 0 0 2px var(--danger);
}

.share-consent input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--brand);
}

.share-privacy {
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.share-progress {
    flex: 1;
    min-width: 120px;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--brand-100);
}

.share-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--brand);
    transition: width 0.2s;
}

.share-form .form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.share-sent {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: inset 0 0 0 2px var(--brand);
}

.share-sent h3 {
    margin-bottom: 6px;
}

.share-instagram {
    margin: 20px 0 0;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.share-gallery {
    columns: 3 260px;
    column-gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.share-gallery li {
    break-inside: avoid;
    margin-bottom: 16px;
}

.share-gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.share-gallery p {
    display: grid;
    margin: 6px 2px 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.share-gallery small {
    color: var(--ink-soft);
    font-weight: 400;
}

/* Home page: the latest guest photos as a small mosaic. */
.share-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 140px;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.share-mosaic li {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.share-mosaic li:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.share-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share-mosaic small {
    position: absolute;
    left: 8px;
    bottom: 6px;
    color: var(--white);
    font-size: 0.75rem;
    text-shadow: 0 1px 3px rgb(0 0 0 / 0.6);
}

/* Review page for the team */
.share-review {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.share-review__item {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 12px;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px var(--line);
}

.share-review__item--approved {
    box-shadow: inset 0 0 0 2px var(--brand);
}

.share-review__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    object-fit: cover;
}

.share-review__gone {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: var(--brand-50);
    color: var(--ink-soft);
}

.share-review__status {
    margin: 0;
    font-weight: 600;
}

.share-review__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-review__note {
    margin-top: 24px;
    color: var(--ink-soft);
}

/* Keep the cyclists and the ferry in view when the photo is cropped. */
.share-teaser__media img {
    object-position: 60% 30%;
}

/* ---------- Internal press area ---------- */

.desk-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-top: 12px;
}

.desk-bar p {
    margin: 0 auto 0 0;
    color: var(--ink-soft);
}

.desk-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.desk-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "status title" "status meta";
    column-gap: 16px;
    align-items: center;
    padding: 14px 18px;
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px var(--line);
}

.desk-item .desk-status { grid-area: status; }

.desk-item__title {
    grid-area: title;
    font-weight: 700;
    text-decoration: none;
}

.desk-item__title:hover {
    text-decoration: underline;
}

.desk-item__meta {
    grid-area: meta;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.desk-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}

.desk-status--published {
    background: var(--brand);
    color: var(--white);
}

.desk-status--scheduled {
    background: var(--accent);
    color: var(--accent-ink);
}

.desk-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
    align-items: start;
}

.desk-editor__side {
    display: grid;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-total, var(--header-h)) + 16px);
}

.desk-editor .form__field {
    margin-bottom: 14px;
}

.desk-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.desk-tabs button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: var(--ink-soft);
    font: 600 1rem var(--font-body);
    cursor: pointer;
}

.desk-tabs button[aria-selected="true"] {
    border-bottom-color: var(--brand);
    color: var(--ink);
}

.desk-tabs__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
}

.desk-tabs__dot.is-filled {
    background: var(--brand);
}

.desk-tabs__error {
    color: var(--danger);
    font-weight: 800;
}

.desk-lang {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Without JavaScript all languages are shown one after another. */
.desk-lang + .desk-lang {
    margin-top: 28px;
}

[data-desk-tabs]:not([hidden]) ~ .desk-lang + .desk-lang {
    margin-top: 0;
}

.desk-lang legend {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.desk-lang legend small {
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
}

.desk-body {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.desk-toolbar {
    display: flex;
    gap: 4px;
    margin: 4px 0 6px;
}

.desk-toolbar button {
    min-width: 36px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: var(--brand-50);
    color: var(--brand-900);
    font: 600 0.9375rem var(--font-body);
    cursor: pointer;
}

.desk-toolbar button:hover {
    background: var(--brand-100);
}

.desk-hint {
    display: block;
    margin: 6px 0 0;
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.desk-actions {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.desk-danger {
    color: var(--danger);
}

.desk-images {
    display: grid;
    gap: 12px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.desk-images li {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.desk-images img {
    width: 84px;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
}

.desk-images__missing {
    display: grid;
    place-items: center;
    width: 84px;
    aspect-ratio: 1;
    border-radius: 8px;
    background: var(--brand-50);
    color: var(--ink-soft);
    font-size: 0.75rem;
    text-align: center;
}

.desk-images__fields {
    display: grid;
    gap: 6px;
    font-size: 0.875rem;
}

.desk-images__fields input[type="text"] {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
}

.desk-preview-banner {
    position: sticky;
    top: 0;
    z-index: 50;
    margin: 0;
    padding: 10px 16px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    text-align: center;
}

@media (max-width: 900px) {
    .desk-editor {
        grid-template-columns: minmax(0, 1fr);
    }

    .desk-editor__side {
        position: static;
    }
}

/* Groups page: the two ways to sail, each with a photo on top. */
.groups-option {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.groups-option .pic,
.groups-option__media {
    display: block;
    width: 100%;
}

.groups-option__media {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.groups-option__body {
    display: grid;
    gap: 8px;
    flex: 1;
    align-content: start;
    padding: 20px 22px 22px;
}

/* Keep the bikes in view and leave the sky for the title. */
.page-hero--groups .page-hero__media {
    object-position: 50% 70%;
}

/* ---------- Date picker (search) ---------- */

.date-button {
    display: block;
    width: 100%;
    min-height: 34px;
    padding: 0 26px 0 0;
    overflow: hidden;
    border: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5' fill='none' stroke='%23046c6d' stroke-width='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4' stroke='%23046c6d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right center / 18px no-repeat;
    color: var(--ink);
    font: 600 1.0625rem/34px var(--font-body);
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

.date-button:focus-visible {
    outline: none;
}

.calendar {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: 320px;
    padding: 14px 14px 12px;
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}

.calendar--end {
    left: auto;
    right: 0;
}

.calendar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.calendar__title {
    margin: 0;
    font-weight: 700;
    text-transform: capitalize;
}

.calendar__nav {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-900);
    font: 600 1.25rem/1 var(--font-body);
    cursor: pointer;
}

.calendar__nav:hover:not(:disabled) {
    background: var(--brand-100);
}

.calendar__nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.calendar__weekdays,
.calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
}

.calendar__weekdays span {
    padding: 4px 0;
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
}

.calendar__grid button {
    position: relative;
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--ink);
    font: 500 0.9375rem/1 var(--font-body);
    cursor: pointer;
}

.calendar__grid button:hover:not(:disabled) {
    background: var(--brand-50);
}

.calendar__grid button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: -2px;
}

/* Sailing days: bold with a dot; other days of a chosen route muted. */
.calendar__grid .is-sailing {
    font-weight: 700;
}

.calendar__grid .is-sailing::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--brand);
}

.calendar__grid .is-quiet {
    color: var(--ink-soft);
    opacity: 0.6;
}

.calendar__grid .is-today {
    box-shadow: inset 0 0 0 1px var(--brand-400);
}

.calendar__grid [aria-pressed="true"] {
    background: var(--brand) !important;
    color: var(--white);
    opacity: 1;
}

.calendar__grid [aria-pressed="true"]::after {
    background: var(--white);
}

.calendar__grid button:disabled {
    color: var(--ink-soft);
    opacity: 0.3;
    cursor: default;
}

.calendar__legend {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    color: var(--ink-soft);
    font-size: 0.8125rem;
}

.calendar__legend span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.calendar__jump {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--radius);
    background: var(--brand-50);
    color: var(--brand-900);
    font: 600 0.875rem/1.3 var(--font-body);
    text-align: left;
    cursor: pointer;
}

.calendar__jump:hover {
    background: var(--brand-100);
}

.calendar__hint {
    margin: 8px 0 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

/* Phones: a sheet from the bottom over a dimmed page. */
@media (max-width: 560px) {
    .calendar,
    .calendar--end {
        position: fixed;
        inset: auto 0 0;
        z-index: 120;
        width: auto;
        padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        box-shadow: 0 0 0 100vmax rgb(2 42 44 / 0.45);
    }

    .calendar__grid button {
        font-size: 1rem;
    }
}

/* Date and travellers fields wait for a departure harbour (set by the search script). */
.search__field.is-disabled {
    opacity: 0.5;
}

.search__field.is-disabled,
.search__field.is-disabled summary,
.search__field.is-disabled .date-button {
    cursor: not-allowed;
}

/* What the day ticket button will book: date and travellers from the search. */
.results__day-trip-for {
    display: block;
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ---------- Live departure board (/live/<harbour>) ---------- */

.board {
    padding: clamp(24px, 4vw, 48px) 0 56px;
}

.board__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.board__title {
    margin: 4px 0 0;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.board__date {
    margin: 4px 0 0;
    color: var(--ink-soft);
}

.board__live {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #1fa463;
    box-shadow: 0 0 0 0 rgb(31 164 99 / 0.6);
    animation: board-pulse 2s infinite;
    vertical-align: middle;
}

@keyframes board-pulse {
    70% { box-shadow: 0 0 0 8px rgb(31 164 99 / 0); }
    100% { box-shadow: 0 0 0 0 rgb(31 164 99 / 0); }
}

@media (prefers-reduced-motion: reduce) {
    .board__live { animation: none; }
}

.board__clock {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.board__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 24px;
    align-items: start;
}

.board__rows {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.board-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px 20px;
    align-items: center;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
}

.board-row__time {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.board-row__stops {
    display: grid;
    gap: 2px;
}

.board-row__stop {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin: 0;
}

.board-row__to {
    font-size: 1.125rem;
    font-weight: 700;
}

.board-row__arrival {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.board-row__seats {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-900);
    font-size: 0.8125rem;
    font-weight: 600;
}

.board-row__seats.is-few {
    background: #fff4d6;
    color: #7a5200;
}

.board-row__seats.is-full {
    background: #fdf3f1;
    color: var(--danger);
}

.board-row__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.board-row__badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.board-row__countdown {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.board-row--boarding {
    box-shadow: inset 0 0 0 2px var(--brand);
}

.board-row--boarding .board-row__badge {
    background: var(--accent);
    color: var(--accent-ink);
}

.board-row--departed {
    background: transparent;
    opacity: 0.55;
}

.board__next-day,
.board__empty {
    margin: 0 0 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: var(--brand-50);
    font-weight: 600;
}

.board__foot {
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

@media (max-width: 860px) {
    .board__layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .board-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .board-row__status {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

/* Display screen at the pier (?screen=1): no menu or footer, bigger type. */
.is-board-screen .site-header,
.is-board-screen .site-footer,
.is-board-screen .sponsors,
.is-board-screen .board-row__book {
    display: none;
}

.is-board-screen {
    font-size: 125%;
}

/* ---------- Day planner ---------- */

.planner-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: end;
    margin-top: 24px;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.planner-form__field {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 10px 14px 8px;
    border-radius: var(--radius);
    background: var(--brand-50);
}

.planner-form__field > span,
.planner-form__field > label {
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.planner-form select,
.planner-form input[type="date"] {
    width: 100%;
    min-height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 600 1.0625rem/1.3 var(--font-body);
}

.planner-form .btn {
    min-height: 60px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
}

.plan--tour {
    box-shadow: inset 0 0 0 2px var(--brand-100);
}

.plan__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
}

.plan__kind {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan__title {
    margin: 0;
    font-size: 1.375rem;
}

.plan__home {
    align-self: center;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-900);
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}

/* The day as a small timeline: sail – on land – sail/ride home. */
.plan__steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan__step {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding: 0 0 12px 18px;
}

.plan__step::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
}

.plan__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 18px;
    bottom: 0;
    width: 2px;
    background: var(--brand-100);
}

.plan__step--land::before {
    background: var(--accent);
}

.plan__step small {
    display: block;
    color: var(--ink-soft);
}

.plan__time {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.plan__text,
.plan__other,
.planner-note {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.plan__sub {
    margin: 0;
    font-weight: 700;
}

.plan__places {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan__places li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 8px;
}

.plan__places span {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.plan__places small {
    grid-column: 1 / -1;
    color: var(--ink-soft);
}

.plan__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: auto 0 0;
}

.planner-none {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.planner-note {
    margin-top: 20px;
}

@media (max-width: 860px) {
    .planner-form {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Wallet buttons on the account page (black, as both wallets ask for). */
.wallet-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.wallet-button::before {
    content: "";
    width: 18px;
    height: 14px;
    border-radius: 3px;
    background: linear-gradient(180deg, #3fb5e8 0 33%, #f6b93b 33% 66%, #e8534a 66%);
}

.wallet-button:hover {
    background: #222;
}

/* Questions as real headings inside the FAQ toggles (for search engines and AI answers). */
.faq__question {
    margin: 0;
    font: inherit;
}

.rent__walk {
    margin: 20px 0 0;
    color: var(--ink-soft);
}

/* Strong-wind notice (search results, departure board). */
.weather-warning {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: #fff4d6;
    color: #5c3d00;
    font-size: 0.9375rem;
}

.weather-warning svg {
    flex: none;
    margin-top: 1px;
}

.weather-warning strong {
    display: block;
}

/* Shown when the page is a saved copy (no connection). */
.offline-banner {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 200;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--brand-900);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transform: translateX(-50%);
}

/* "Bliv sponsor →": wraps as a whole, never leaving the arrow alone on a line. */
.sponsors__become {
    white-space: nowrap;
}

/* Small standalone links get a tap area of at least 24 px (WCAG 2.2 target size) without moving
   the layout: padding enlarges the area, the negative margin keeps the line where it was.
   Links inside running text are left alone. */
.site-footer__legal a,
.amenity__link,
.amenity__name-link,
.price-list__link,
.station__route,
.tour-finish__meta a,
.tour-finish__more,
.parking-list a,
.idea__steps a {
    display: inline-block;
    padding-block: 5px;
    margin-block: -5px;
}

.site-footer__legal {
    row-gap: 10px;
}

/* The calendar button in the timetable / tours date row (calendarAttrs): the pill of .tt__input. */
.tt__picker {
    position: relative;
}

.date-button.tt__input {
    width: auto;
    min-width: 150px;
    padding: 0 38px 0 14px;
    background-position: right 12px center;
    line-height: 38px;
}

/* The external-link icon sits in the text line (the reset above makes every svg a block),
   and a short link ending in it wraps as a whole – never the icon alone. */
.external-icon {
    display: inline-block;
    margin-left: 0.15em;
    vertical-align: -0.1em;
}

a:has(> .external-icon) {
    white-space: nowrap;
}

/* In links laid out with flex the gap already spaces the icon. */
:is(.place__link, .partner__link, .station__route, .btn) .external-icon {
    margin-left: 0;
}

/* ---------- Min tur (huskeliste) ---------- */

.save-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--brand-900);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.save-btn[hidden] {
    display: none;
}

.save-btn svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linejoin: round;
}

.save-btn:hover {
    border-color: var(--brand);
}

.save-btn[aria-pressed="true"] {
    border-color: #c2410c;
    background: #fff4ed;
    color: #9a3412;
}

.save-btn[aria-pressed="true"] svg {
    fill: currentColor;
}

.place__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: auto 0 0;
    padding-top: 12px;
}

.place__actions .place__link {
    margin-top: 0;
}

.place__actions .save-btn {
    margin-left: auto;
}

.idea .save-btn {
    margin-top: 12px;
}

.site-nav__trip[hidden] {
    display: none;
}

/* Desktop: just the heart and the count (the label stays for screen readers and as a tooltip). */
@media (min-width: 1121px) {
    .site-nav__trip {
        position: relative;
        padding: 8px;
    }

    .site-nav__trip > span:not(.trip-count) {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .site-nav__trip .trip-count:not(:empty) {
        position: absolute;
        top: -2px;
        right: -6px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 0.6875rem;
    }
}

.trip-count:not(:empty) {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--brand-900);
    font-size: 0.75rem;
    font-weight: 700;
}

.trip-empty {
    max-width: 620px;
    padding: 32px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.trip-empty h2 {
    margin-top: 0;
}

.trip-shared {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: var(--sand);
}

.trip-shared[hidden] {
    display: none;
}

.trip-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trip-bar__actions[hidden] {
    display: none;
}

.trip__heading {
    margin: 40px 0 16px;
}

.trip-group {
    margin-bottom: 32px;
}

.trip-group__title {
    margin: 0 0 6px;
}

.trip-group__ferry {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.trip-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 20px;
}

.trip-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.trip-card__title {
    margin: 0 0 6px;
}

.trip-card__meta {
    margin: 0 0 12px;
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.trip-card__plan {
    margin: 0 0 12px;
    padding-left: 20px;
}

.trip-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin: auto 0 0;
    padding-top: 8px;
}

.trip-card__actions .save-btn {
    margin-left: auto;
}

.trip__privacy {
    margin-top: 32px;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

@media print {
    .trip-bar__actions, .trip-shared, .save-btn, .place__link, .trip-card__actions, .trip__privacy { display: none !important; }
    .trip-bar { box-shadow: none; padding: 0; }
    .trip-bar .tt__picker { display: none; }
    .trip__heading, .trip-group__title, .trip-group__ferry { break-after: avoid; }
    .places, .trip-cards { display: block; }
    .place, .trip-card { margin-bottom: 0.4cm; padding: 0.3cm 0; border: 0; box-shadow: none; break-inside: avoid; }
}

/* ---------- Tours: routes by Flensburger Förde on komoot ---------- */

.more-routes {
    margin-top: 48px;
}

.more-routes__title {
    margin: 0 0 8px;
}

.more-routes__lead {
    max-width: 720px;
    margin: 0 0 20px;
    color: var(--ink-soft);
}

.more-routes__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.more-route__link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: inherit;
    text-decoration: none;
}

.more-route__link:hover {
    border-color: var(--brand);
}

.more-route__facts,
.more-route__pier {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.more-route--pier .more-route__link {
    border-color: var(--brand);
}

.more-route--pier .more-route__pier {
    color: var(--brand);
    font-weight: 600;
}

.more-route__open {
    margin-top: auto;
    padding-top: 8px;
    color: var(--brand);
    font-size: 0.875rem;
    font-weight: 600;
}
