/* ==========================================================================
   Triton — theme styles
   Look of the previous triton.ac (SvelteKit, 2024/25), rebuilt for Bludit:
   dark navy page, white Satoshi type, red bold links, translucent sticky
   navigation, plain left-aligned content, small grey footer.
   ========================================================================== */

@font-face {
	font-family: "Satoshi";
	src: url("../fonts/satoshi-variable.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Colours of the previous site */
	--bg: rgb(9, 19, 29);
	--bg-translucent: rgba(9, 19, 29, .8);
	--bg-highlight-1: rgb(16, 38, 71);
	--bg-highlight-2: rgb(6, 19, 39);
	--accent: rgb(243, 36, 41);            /* 4.5:1 on --bg */
	--text: #fff;
	--text-2: #808080;                     /* 4.7:1 on --bg */
	--border: rgba(255, 255, 255, .25);
	--border-highlight: rgb(25, 71, 141);
	--logo-red: #C42023;
	--copper: #D29372;                     /* Coppercoat hull, start/finish lines */

	--font: "Satoshi", "Helvetica Neue", Arial, sans-serif;

	/* Type scale – the only sizes and weights used on the site */
	--fs-display: clamp(2.1rem, 4.2vw, 3.5rem);   /* page titles (h1) */
	--fs-h2: clamp(1.5rem, 2.4vw, 2rem);          /* section titles */
	--fs-h3: 1.2rem;                              /* sub-sections, card and person names */
	--fs-lead: 1.15rem;                           /* intro text */
	--fs-body: 1rem;
	--fs-small: .875rem;                          /* dates, captions, roles, footer */
	--fs-label: .8rem;                            /* small uppercase labels */
	--fw-regular: 400;
	--fw-medium: 500;                             /* h1, h2, navigation */
	--fw-semibold: 600;                           /* h3, links, buttons, strong */
	--fw-bold: 700;                               /* current navigation item */
	--side: max(2em, 8%);
	--header-h: 5.25rem;                          /* like sonnenwagen.org: 84px on phones … */
	--logo-h: 2rem;
	--radius: .6em;
	--ease: cubic-bezier(.22, .61, .36, 1);
	color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1em); }
body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	color: var(--text);
	background-color: var(--bg);
	font-family: var(--font);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/* Text is always white; links are recognisable by weight and underline, red stays for graphics */
a { color: var(--text); font-weight: var(--fw-semibold); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-color .2s; }
a:hover { text-decoration-color: currentColor; }
/* Navigation-type links carry no underline */
.menu__list a, .site-footer a, .button, .skip-link, .article__back, .partner a, .pagination a, .live-bar a { text-decoration: none; }
.article__back:hover, .pagination a:hover, .site-footer a:hover { text-decoration: underline; }
p { text-align: left; }
[hidden] { display: none !important; }
img, video, svg { max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4 { text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--fs-display); font-weight: var(--fw-medium); letter-spacing: -.025em; line-height: 1.05; }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-medium); letter-spacing: -.02em; line-height: 1.15; }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); letter-spacing: -.01em; line-height: 1.25; }
h4 { font-size: var(--fs-body); font-weight: var(--fw-semibold); line-height: 1.4; }
strong, b, th { font-weight: var(--fw-semibold); }
em, i { font-style: italic; }
small { font-size: var(--fs-small); }
[lang="de"] h1, [lang="de"] h2 { hyphens: auto; }
hr { width: 50vw; margin-block: 4em; border: 0; border-top: 1px solid var(--border); }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.skip-link { position: absolute; left: 1em; top: -4em; z-index: 20000; padding: .75em 1em; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--text-2); }
.mono { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* Main column: same side margins as the old site */
#main { flex-grow: 1; display: flex; flex-direction: column; width: 100%; }
.page { flex-grow: 1; margin-inline: var(--side); padding-bottom: 4em; min-width: 0; }
.page > h1:first-child, .page > header:first-child > h1 { margin-top: .8em; }
.lead { font-size: var(--fs-lead); }
.measure { max-width: 50em; }

/* Calmer, larger type (a nod to helsing.ai): light headlines with tight tracking,
   hairlines between sections, small spaced-out labels */
.page h2.as-h1 { margin-top: 2.5em; padding-top: 1em; border-top: 1px solid var(--border); }
.page-head { max-width: 46em; }
.page-head__intro p { color: var(--text); font-size: var(--fs-lead); line-height: 1.55; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 10000;
	display: flex; align-items: center;
	padding-inline: var(--side);
	background-color: var(--bg-translucent);
	backdrop-filter: saturate(180%) blur(5px);
	-webkit-backdrop-filter: saturate(180%) blur(5px);
	border-bottom: 1px solid var(--border);
	font-weight: var(--fw-medium);
}
.has-dark-hero .site-header { position: fixed; inset: 0 0 auto 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; transition: background-color .3s, border-color .3s; }
.has-dark-hero .site-header.is-scrolled { background-color: var(--bg-translucent); backdrop-filter: saturate(180%) blur(5px); -webkit-backdrop-filter: saturate(180%) blur(5px); border-bottom-color: var(--border); }
.site-header__inner { display: flex; align-items: center; flex-grow: 1; min-height: var(--header-h); gap: 1em; }
.brand { display: inline-flex; align-items: center; margin-right: auto; padding-block: 1.25em; color: var(--logo-red); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand svg { height: var(--logo-h); width: auto; display: block; }
/* … and a tall header with a large logo on desktops (sonnenwagen.org: 116px / 87px) */
@media (min-width: 1081px) { :root { --header-h: 6.5rem; --logo-h: 3.5rem; } }
/* Navigation: only the burger, on every page and screen size (desktops too); the menu opens full-screen */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; margin-right: -6px; padding: 0; background: none; border: 0; color: var(--logo-red); }
/* three thin lines in the logo red */
.nav-toggle .icon { width: 36px; height: 36px; stroke-width: 1.5; }

/* Homepage: the ocean stays put while scrolling; the footer slides up over it, the header stays transparent */
.template-home .home-header { position: fixed; inset: 0; height: auto; z-index: 0; }
.template-home #main { min-height: 100vh; min-height: 100svh; }
.template-home .site-footer { position: relative; z-index: 1; background: var(--bg); }
.template-home .site-header.is-scrolled { background-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }

/* Mobile menu (dialog) */
.menu {
	position: fixed; inset: 0; z-index: 20000; display: flex; flex-direction: column;
	padding: 0 var(--side) 2em; background: var(--bg); overflow-y: auto;
	opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); margin-inline: calc(-1 * var(--side)); padding-inline: var(--side); }
.menu__top .brand { padding-block: 0; }
/* full-screen menu with large, light, centred entries (as on sonnenwagen.org) */
.menu__list { list-style: none; margin: auto 0; padding: 1.5em 0; text-align: center; }
.menu__list a { display: inline-block; padding: .18em 0; color: var(--text); font-weight: var(--fw-regular); font-size: min(var(--fs-display), 5.4vh); letter-spacing: -.02em; line-height: 1.2; text-decoration: none; }   /* min(): all eight entries fit on a laptop screen */
.menu__list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.menu__list a:hover { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.menu__list .mono { display: none; }
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	display: flex; flex-direction: column; padding: 2em; color: var(--text-2);
	text-align: center; background-color: var(--bg); font-size: var(--fs-small); border-top: 1px solid var(--border);
}
.site-footer__row { display: flex; justify-content: center; flex-direction: row; flex-wrap: wrap; }
.site-footer__group { display: inline-flex; flex-wrap: wrap; justify-content: center; }
.site-footer a, .site-footer button, .site-footer__sep { padding: 1em; }
.site-footer a, .site-footer button { color: var(--text-2); font-weight: var(--fw-semibold); background: none; border: 0; font-size: inherit; }
.site-footer svg { fill: var(--text-2); width: 1em; height: 1em; display: block; }
@media (max-width: 700px) {
	.site-footer__row { flex-direction: column; align-items: center; }
	.site-footer__sep { display: none; }
}

/* --------------------------------------------------------------------------
   Homepage: live ocean scene with our boat and the logo (see templates/home.php, js/ocean.js)
   -------------------------------------------------------------------------- */
.home-header { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; background: #2a2340 url("../img/ocean-poster.jpg") center / cover no-repeat; }
@media (max-aspect-ratio: 4 / 5) { .home-header { background-image: url("../img/ocean-poster-portrait.jpg"); } }
/* the live scene fades in over the still image once its first frame is drawn */
.home-header__ocean { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.home-header__ocean.is-ready { opacity: 1; }
/* a soft shade over the water keeps the red logo readable */
.home-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(9, 19, 29, .35) 0, rgba(9, 19, 29, 0) 25%, rgba(9, 19, 29, 0) 50%, rgba(9, 19, 29, .55) 100%); pointer-events: none; }
/* The horizon of the scene sits at 50.6 % of its height (ocean.js keeps it there at every aspect ratio).
   The wordmark stands exactly on the horizon (its bottom edge is at 287 of the logo's 366 units); the middle prong
   of the trident, which reaches lower, disappears behind it – and the logo is mirrored in the water below. */
.home-header { --horizon: 50.6%; --logo-w: min(74vw, 36rem); --logo-h: calc(var(--logo-w) * 366 / 1233); --logo-below: .2158; }
.home-header__logo, .home-header__reflection { position: absolute; z-index: 1; left: 50%; width: var(--logo-w); color: var(--logo-red); clip-path: inset(0 0 21.58% 0); }
.home-header__logo { top: calc(var(--horizon) - var(--logo-h) * (1 - var(--logo-below))); transform: translateX(-50%); filter: drop-shadow(0 0 2.2rem rgba(255, 96, 70, .35)); }
.home-header__reflection {
	top: calc(var(--horizon) - var(--logo-h) * var(--logo-below)); transform: translateX(-50%) scaleY(-1);
	opacity: .42; filter: url(#water-ripple) blur(.5px);
	-webkit-mask-image: linear-gradient(to top, #000 21.58%, rgba(0, 0, 0, .3) 55%, transparent 95%); mask-image: linear-gradient(to top, #000 21.58%, rgba(0, 0, 0, .3) 55%, transparent 95%);
}
.home-header__logo svg, .home-header__reflection svg { display: block; width: 100%; height: auto; }
.home-header__filters { position: absolute; width: 0; height: 0; }

/* --------------------------------------------------------------------------
   News overview: articles with header image and title
   -------------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20em), 1fr)); gap: 2em 1.5em; margin-top: 1.5em; }
.news-card { position: relative; display: flex; flex-direction: column; gap: .6em; }
.news-card__image { aspect-ratio: 3 / 2; overflow: hidden; border-radius: .4em; background: var(--bg-highlight-2); border: 1px solid var(--border); }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.news-card:hover .news-card__image img { transform: scale(1.03); }
.news-card__fallback { display: grid; place-items: center; height: 100%; }
.news-card__fallback svg { width: 22%; height: auto; }
.news-card__title { margin: 0; font-size: var(--fs-h3); line-height: 1.3; font-weight: var(--fw-semibold); letter-spacing: -.01em; }
.news-card__title a { color: var(--text); }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card__title a { text-decoration: none; }
.news-card:hover .news-card__title a { text-decoration: underline; text-decoration-color: currentColor; }
.news-card__date { color: var(--text-2); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.news-card__text { margin: 0; color: var(--text-2); }
.news-card--log { padding: 1em; border: 2pt solid var(--border-highlight); border-radius: 10pt; background: var(--bg-highlight-2); }
/* Phones: two cards side by side, with smaller titles */
@media (max-width: 40em) {
	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5em .9em; }
	.news-card { gap: .4em; }
	.news-card__title { font-size: 1rem; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
	.news-card__date { font-size: .8rem; }
	.news-card--log { padding: .75em; }
	.news-card__text { font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-top: 3em; color: var(--text-2); }
.pagination a[aria-disabled="true"] { visibility: hidden; }

/* --------------------------------------------------------------------------
   Article (news post) and plain content
   -------------------------------------------------------------------------- */
.article { max-width: 60em; }
.article__back { display: inline-block; margin-top: 1.5em; }
.article h1 { margin: .5em 0 .2em; }
.article__date { color: var(--text-2); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.article__cover { display: block; max-height: 70vh; width: auto; margin: 1.5em auto; border-radius: .4em; }
.log-line { display: flex; flex-wrap: wrap; gap: .5em 1em; align-items: center; margin-top: 1em; padding: .6em .9em; border: 1px solid var(--border); border-radius: var(--radius); font-size: var(--fs-small); }
.log-line a { margin-left: auto; }

.prose { overflow-wrap: break-word; }
/* Comfortable line length on wide screens (about 75–85 characters) */
.prose > :is(p, ul, ol, h2, h3, h4, blockquote, table) { max-width: 46rem; }
.prose img, .prose video { display: block; max-height: 70vh; width: auto; margin-inline: auto; border-radius: .4em; }
.prose video { max-width: 100%; background: #000; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { color: var(--text-2); font-size: var(--fs-small); margin-top: .4em; text-align: center; }
.prose blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 3px solid var(--accent); }
.prose table { width: 100%; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6em 1em .6em 0; border-bottom: 1px solid var(--border); }
.prose th { color: var(--text-2); font-weight: var(--fw-medium); }
.table-wrap { overflow-x: auto; }
/* Two-column tables stack on narrow screens or with a large default font (em-based query) */
@media (max-width: 30em) {
	.prose table:not(.track-log) { display: block; }
	.prose table:not(.track-log) :is(tbody, tr) { display: block; }
	.prose table:not(.track-log) :is(th, td) { display: block; padding: 0; border: 0; }
	.prose table:not(.track-log) tr { padding: .6em 0; border-bottom: 1px solid var(--border); }
	.prose table:not(.track-log) th { font-size: var(--fs-small); }
}
.prose img[data-lightbox], .prose [data-gallery] img, .gallery img { cursor: zoom-in; }

/* Image groups scroll sideways, as on the old site */
.gallery { position: relative; height: 0; overflow: hidden; padding-top: max(10em, 35vmin); margin: 1.5em 0; }
.prose .gallery { display: block; }
.gallery__track { position: absolute; inset: 0; display: flex; gap: 1em; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery__track figure { margin: 0; height: 100%; flex: none; scroll-snap-align: center; }
.gallery__track img { height: 100%; width: auto; max-height: none; object-fit: contain; border-radius: .4em; }
.gallery__track figure:first-child { margin-left: auto; }
.gallery__track figure:last-child { margin-right: auto; }
.gallery figcaption { display: none; }

.placeholder { display: grid; place-items: center; min-height: 12em; padding: 1.5em; border: 1.5px dashed var(--copper); border-radius: .4em; text-align: center; }
.placeholder figcaption { color: var(--copper); font-size: var(--fs-small); }
.gallery__track .placeholder { aspect-ratio: 3 / 2; min-height: 0; padding: 1em; }
.gallery__track .placeholder figcaption { display: block; }

/* --------------------------------------------------------------------------
   Boxes (old "block" style) – departments, logbook, notes
   -------------------------------------------------------------------------- */
.block { margin-block: 3pt; padding: .6em 1em; border: 2pt solid var(--border-highlight); border-radius: 10pt; background: var(--bg-highlight-1); color: #fff; }
.block > :first-child { margin-top: .3em; }
.block > :last-child { margin-bottom: .3em; }
.block-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(30em, 100%), 1fr)); gap: 10pt; margin-block: 1em; }
.button {
	display: inline-block; padding: .7em 1.3em; border: 1.5px solid var(--text); border-radius: .4em;
	color: var(--text); font-weight: var(--fw-semibold); transition: background-color .2s, color .2s;
}
.button--arrow::after { content: "→"; display: inline-block; margin-left: .6em; transition: transform .2s var(--ease); }
.button--arrow:hover::after { transform: translateX(.25em); }
.button:hover { background: var(--text); color: var(--bg); text-decoration: none; }

/* --------------------------------------------------------------------------
   Join Us: departments as cards with photo
   -------------------------------------------------------------------------- */
.section-title { margin: 3.5em 0 1.5em; padding-top: 1em; border-top: 1px solid var(--border); }
.departments { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17em, 100%), 1fr)); gap: 2.75em 1.5em; margin: 0; padding: 0; list-style: none; }
@media (min-width: 64rem) { .departments { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3em 2em; } }
.department__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: .4em; background: var(--bg-highlight-2); }
.department__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.department__media .placeholder { height: 100%; min-height: 0; margin: 0; padding: 1em; }
.department h3 { margin: 1em 0 .35em; }
.department p { margin: 0; color: var(--text); }
.department p + p { margin-top: .6em; }
.join-section--apply p { max-width: 40em; }
.join-section--apply .button { margin-top: .5em; }
.button--primary { border-color: var(--logo-red); background: var(--logo-red); }
.button--primary:hover { border-color: var(--text); }

/* Join Us: cover photo with title, lead and apply button */
.join-hero { display: grid; margin: clamp(1.5rem, 4vw, 3rem) 0 1em; }
.join-hero__media { border-radius: .4em; overflow: hidden; background: var(--bg-highlight-2); }
.join-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.join-hero__text { padding: 1.4em 0 0; max-width: 46em; }
.join-hero h1 { margin: 0 0 .35em; }
.join-hero__lead p { margin: 0; font-size: var(--fs-lead); line-height: 1.55; }
.join-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8em 1.6em; margin: 1.4em 0 0; }
.join-hero__more { color: var(--text); font-weight: var(--fw-medium); }
@media (min-width: 48rem) {
	.join-hero--photo { grid-template-areas: "hero"; }
	.join-hero--photo > * { grid-area: hero; }
	.join-hero--photo .join-hero__media img { aspect-ratio: 21 / 9; min-height: 30rem; }
	.join-hero--photo .join-hero__media { position: relative; }
	.join-hero--photo .join-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 19, 29, .92) 0%, rgba(9, 19, 29, .55) 38%, rgba(9, 19, 29, 0) 65%); }
	.join-hero--photo .join-hero__text { align-self: end; position: relative; padding: 2.2em 2.4em; }
}

/* Join Us: why Triton – photo and text blocks, alternating sides */
/* Why Triton: text blocks in two columns, separated by a thin line */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 0 3em; }
.why-block { padding: 1.4em 0 1.8em; border-top: 1px solid var(--border); }
.why-block h3 { margin: 0 0 .5em; font-size: var(--fs-h3); font-weight: var(--fw-semibold); }
.why-block h3:last-child { margin-bottom: 0; }
.why-block p { margin: 0; max-width: 34em; }
.why-block p + p { margin-top: .8em; }
/* … a block with a photo spans the full width as image/text pair */
.why-block--photo { grid-column: 1 / -1; display: grid; gap: 1.2em 3em; align-items: center; }
.why-block__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: .4em; background: var(--bg-highlight-2); }
.why-block__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 48rem) {
	.why-block--photo { grid-template-columns: 1fr 1fr; }
	.why-block--flip .why-block__media { order: 2; }
}
.join-steps li { counter-increment: step; padding-top: 1em; border-top: 1px solid var(--border); }
.join-steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: .6em; color: var(--accent); font-size: var(--fs-label); font-weight: var(--fw-semibold); letter-spacing: .08em; }
.join-steps li strong { display: block; margin-bottom: .3em; font-size: var(--fs-h3); font-weight: var(--fw-medium); }

/* Join Us: questions and answers */
.faq { max-width: 46em; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: 1em 0; font-size: var(--fs-h3); font-weight: var(--fw-medium); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-size: 1.4em; font-weight: var(--fw-regular); line-height: 1; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 1.2em; }
.faq__answer > :first-child { margin-top: 0; }
.faq__answer > :last-child { margin-bottom: 0; }

/* Text that the team still has to supply (see docs/INHALTE-CHECKLISTE.md) */
span.placeholder { display: inline-block; min-height: 0; padding: .3em .6em; border: 1.5px dashed var(--copper); border-radius: .3em; color: var(--copper); font-size: var(--fs-small); text-align: left; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team-photo { margin: 1.5em 0 0; }
.team-photo img { display: block; width: 100%; border-radius: .4em; cursor: zoom-in; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5em, 1fr)); gap: 1.5em 1em; margin: 0 auto; }
@media (max-width: 40em) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team-card img { width: 100%; max-height: 60vh; object-fit: contain; display: block; }
.team-card h3 { margin: .6em 0 0; }
.team-card p { margin: .2em 0 0; color: var(--text-2); font-size: var(--fs-small); }
.team-card a { display: inline-block; margin-top: .3em; font-size: var(--fs-small); }

/* --------------------------------------------------------------------------
   Partners
   -------------------------------------------------------------------------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; }
/* four logos per row on desktops, three on tablets, two on phones; logos kept modest in size */
.partner { flex: 0 0 calc(25% - 40px); margin: 20px; text-align: center; }
.partner img { max-width: min(100%, 15.5rem); height: auto; max-height: 6.25rem; width: auto; vertical-align: middle; }
.partner__name { font-size: var(--fs-h3); font-weight: var(--fw-semibold); color: var(--text); }
@media (max-width: 1024px) { .partner { flex-basis: calc(33.33% - 40px); } }
@media (max-width: 600px) { .partner { flex-basis: calc(50% - 24px); margin: 16px 12px; } .partner img { max-height: 4.5rem; } .partner__name { font-size: var(--fs-body); } }

/* --------------------------------------------------------------------------
   Roadmap: one line through all milestones, covered part red, the rest dashed
   -------------------------------------------------------------------------- */
.roadmap { --dot: 13px; --line: 1px; list-style: none; margin: 4em 0 0; padding: 0; counter-reset: step; }
.roadmap__item { position: relative; padding: 0 0 3em 2.75em; }
.roadmap__item:last-child { padding-bottom: 0; }
.roadmap__track { position: absolute; left: 0; top: .55em; bottom: 0; width: var(--dot); }
/* the stretch from this milestone to the next */
.roadmap__track::before {
	content: ""; position: absolute; left: calc((var(--dot) - var(--line)) / 2); top: var(--dot); bottom: -.55em; width: var(--line);
	background: repeating-linear-gradient(to bottom, var(--text-2) 0 4px, transparent 4px 9px);
}
.roadmap__item--done .roadmap__track::before { background: var(--accent); width: 2px; left: calc((var(--dot) - 2px) / 2); }
.roadmap__item--current .roadmap__track::before { background: linear-gradient(to bottom, var(--accent), transparent 85%); }
.roadmap__item:last-child .roadmap__track::before { display: none; }
.roadmap__dot { position: absolute; inset: 0 0 auto; height: var(--dot); border-radius: 50%; border: var(--line) solid var(--text-2); background: var(--bg); }
.roadmap__item--done .roadmap__dot { border-color: var(--accent); background: var(--accent); }
.roadmap__item--current .roadmap__dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgba(243, 36, 41, .2); animation: roadmap-pulse 2.4s var(--ease) infinite; }
@media (forced-colors: active) {
	.roadmap__track, .roadmap__dot { forced-color-adjust: none; }
	.roadmap__dot { border-color: CanvasText; }
	.roadmap__item--done .roadmap__dot, .roadmap__item--current .roadmap__dot { background: Highlight; border-color: Highlight; }
}
@keyframes roadmap-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(243, 36, 41, .25); } 50% { box-shadow: 0 0 0 9px rgba(243, 36, 41, 0); } }
.roadmap__time { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: var(--fw-regular); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.roadmap__item--upcoming .roadmap__time { color: var(--text-2); }
.roadmap__title { margin: .6em 0 0; max-width: 20em; }
.roadmap__text { margin: .4em 0 0; max-width: 24em; color: var(--text-2); font-size: var(--fs-small); }
@media (min-width: 60rem) {
	.roadmap { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-rows: repeat(4, auto); margin-top: 6em; }
	/* time above the line, title below; a subgrid keeps all dots on one line even when a date wraps */
	.roadmap__item { padding: 0 2.5em 0 0; display: grid; grid-row: 1 / span 4; grid-template-rows: subgrid; }
	.roadmap__time { grid-row: 1; align-self: end; margin-bottom: 1.1rem; }
	.roadmap__track { grid-row: 2; }
	.roadmap__title { grid-row: 3; }
	.roadmap__text { grid-row: 4; }
	@supports not (grid-template-rows: subgrid) {
		.roadmap__item { display: flex; flex-direction: column; }
		.roadmap__time { order: -1; white-space: nowrap; font-size: clamp(1.5rem, 2.4vw, 2.75rem); }
	}
	.roadmap__track { position: relative; top: 0; height: var(--dot); width: 100%; margin-bottom: .5em; }
	.roadmap__dot { inset: 0 auto 0 0; width: var(--dot); }
	.roadmap__track::before { left: var(--dot); right: -2.5em; top: calc((var(--dot) - var(--line)) / 2); bottom: auto; width: auto; height: var(--line);
		background: repeating-linear-gradient(to right, var(--text-2) 0 4px, transparent 4px 9px); }
	.roadmap__item--done .roadmap__track::before { background: var(--accent); width: auto; left: var(--dot); height: 2px; top: calc((var(--dot) - 2px) / 2); }
	.roadmap__item--current .roadmap__track::before { background: linear-gradient(to right, var(--accent), transparent 85%); height: 2px; top: calc((var(--dot) - 2px) / 2); }
	.roadmap__item:last-child .roadmap__track::before { display: block; right: 0; background: linear-gradient(to right, var(--text-2), transparent); opacity: .5; }
}

/* --------------------------------------------------------------------------
   Microtransat: start/finish lines and choice of direction (partials/routes.php)
   -------------------------------------------------------------------------- */
.routes { max-width: 70em; }
.routes__switch { display: flex; flex-wrap: wrap; align-items: center; gap: .5em 1em; margin: 0 0 1em; padding: 0; border: 0; }
.routes__switch legend { float: left; color: var(--text-2); font-size: var(--fs-label); font-weight: var(--fw-medium); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 30em) { .routes__switch legend { float: none; width: 100%; margin: 0 0 .4em; } }
.routes__segments { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; }
.routes__switch label {
	position: relative; display: inline-flex; align-items: center; padding: .5em 1.2em; border-radius: 999px; color: var(--text-2);
	font-size: var(--fs-small); font-weight: var(--fw-medium); cursor: pointer; user-select: none; transition: background-color .2s, color .2s;
}
.routes__switch label:hover { color: var(--text); }
.routes__switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; background: transparent; border: 0; border-radius: inherit; cursor: pointer; }
.routes__switch label:has(input:checked) { background: rgba(255, 255, 255, .14); color: var(--text); }
.routes__switch label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.routes__map { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-highlight-2); }
.routes__map svg { display: block; width: 100%; height: auto; }
.routes__line { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; transition: stroke .3s; }
.routes__route { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 2.5; stroke-dasharray: 1 9; stroke-linecap: round; transition: opacity .3s; }
.routes__label { font-family: var(--font); font-size: 17px; font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; paint-order: stroke; stroke: var(--bg-highlight-2); stroke-width: 6px; stroke-linejoin: round; transition: fill .3s; }
.routes__place { font-family: var(--font); font-size: 14px; font-weight: var(--fw-medium); letter-spacing: .12em; text-transform: uppercase; fill: rgba(255, 255, 255, .35); }
@media (max-width: 47.99rem) { .routes__label { display: none; } .routes__place { font-size: 32px; } }
.routes__legend { display: flex; flex-wrap: wrap; gap: .4em 1.5em; margin: .8em 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: var(--fs-small); }
.routes__legend li { display: inline-flex; align-items: center; gap: .5em; }
.routes__legend span { display: inline-block; width: 1.6em; border-top: 3px solid; border-radius: 2px; }
.routes__legend .is-start { border-color: #fff; }
.routes__legend .is-finish { border-color: var(--logo-red); }
.routes__legend .is-route { border-top: 3px dotted rgba(255, 255, 255, .75); }
.routes__legend .is-target { width: .9em; height: .9em; border: 2px solid #fff; border-radius: 50%; background: rgba(243, 36, 41, .3); }
.routes__target { fill: rgba(243, 36, 41, .3); stroke: #fff; stroke-width: 2; transition: opacity .3s; }

/* East → west (default): eastern line = start, western line = finish */
.routes__line--east { stroke: #fff; }
.routes__line--west { stroke: var(--logo-red); }
.routes__label--east { fill: #fff; }
.routes__label--west { fill: var(--accent); }
.routes__route--we, .routes__target--we, .routes__when-we { opacity: 0; }
.routes__when-we { display: none; }
/* West → east: roles swap */
.routes:has(#route-we:checked) .routes__line--east { stroke: var(--logo-red); }
.routes:has(#route-we:checked) .routes__line--west { stroke: #fff; }
.routes:has(#route-we:checked) .routes__label--east { fill: var(--accent); }
.routes:has(#route-we:checked) .routes__label--west { fill: #fff; }
.routes:has(#route-we:checked) :is(.routes__route--ew, .routes__target--ew) { opacity: 0; }
.routes:has(#route-we:checked) :is(.routes__route--we, .routes__target--we) { opacity: 1; }
.routes:has(#route-we:checked) .routes__when-ew { display: none; }
.routes:has(#route-we:checked) .routes__when-we { display: inline; opacity: 1; }
/* Same states set by triton.js for browsers without :has() (Safari < 15.4) */
.routes__switch label.is-checked { background: rgba(255, 255, 255, .14); color: var(--text); }
.routes__switch label.is-focused { outline: 2px solid var(--accent); outline-offset: 2px; }
.routes[data-route="we"] .routes__line--east { stroke: var(--logo-red); }
.routes[data-route="we"] .routes__line--west { stroke: #fff; }
.routes[data-route="we"] .routes__label--east { fill: var(--accent); }
.routes[data-route="we"] .routes__label--west { fill: #fff; }
.routes[data-route="we"] :is(.routes__route--ew, .routes__target--ew) { opacity: 0; }
.routes[data-route="we"] :is(.routes__route--we, .routes__target--we) { opacity: 1; }
.routes[data-route="we"] .routes__when-ew { display: none; }
.routes[data-route="we"] .routes__when-we { display: inline; opacity: 1; }

/* --------------------------------------------------------------------------
   Boat page
   -------------------------------------------------------------------------- */
.boat-render { margin: 1.5em 0; }
.boat-render img { display: block; width: 100%; max-width: 70em; margin-inline: auto; }
.boat-section { display: grid; gap: 1em 3em; padding-block: 2.5em; border-top: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 1em); }
.boat-section h2 { margin: 0; }
.boat-section .prose > :first-child { margin-top: 0; }
@media (min-width: 64rem) {
	.boat-section { grid-template-columns: 1fr 1fr; align-items: start; }
	.boat-section > header { grid-column: 1 / -1; }
}
/* Section without photo: text over the full width */
.boat-section--text > .prose { grid-column: 1 / -1; }

/* Data sheet of the boat: groups side by side, one line per figure (name left, value right, optional note below) */
.specs-sheet { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.5em 3em; }
.specs-sheet__title { margin: 0 0 .5em; font-size: var(--fs-body); font-weight: var(--fw-semibold); }
.specs { margin: 0; }
.specs__item { display: grid; grid-template-columns: minmax(6.5em, auto) 1fr; gap: .1em 1em; padding: .6em 0; border-top: 1px solid var(--border); }
.specs__item:last-child { border-bottom: 1px solid var(--border); }
.specs dt { color: var(--text-2); }
.specs dd { margin: 0; text-align: right; }
.specs__value { font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
.specs__note { display: block; color: var(--text-2); font-size: var(--fs-small); line-height: 1.4; }
.boat-section__media img { display: block; width: 100%; max-height: 32em; object-fit: cover; border-radius: .4em; cursor: zoom-in; }

/* Views of the boat: one large image, thumbnails to switch (triton.js); without JS all views are listed */
.boat-views { margin: 1.5em 0 2.5em; min-width: 0; max-width: 100%; }
.boat-views__stage { display: grid; gap: 1em; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.boat-views__view { margin: 0; }
.boat-views__view img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; padding: 4%; background: #fff; border-radius: .4em; cursor: zoom-in; }
.boat-views__view figcaption { margin-top: .5em; color: var(--text-2); font-size: var(--fs-small); }
.boat-views__thumbs { display: none; }
.js .boat-views__stage { display: block; }
.js .boat-views__view:not(.is-active) { display: none; }
.js .boat-views__view img { max-height: min(75vh, 44rem); padding: 3%; }
.js .boat-views__view figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js .boat-views__thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr)); gap: .75em; margin: .9em 0 0; padding: 0; list-style: none; }
.boat-views__thumbs button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--text-2); font: inherit; font-size: var(--fs-label); text-align: left; cursor: pointer; }
.boat-views__thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: 8%; background: #fff; border-radius: .3em; opacity: .55; outline: 1px solid transparent; outline-offset: 3px; transition: opacity .2s, outline-color .2s; }
.boat-views__thumbs button:hover img { opacity: .85; }
.boat-views__thumbs button[aria-pressed="true"] { color: var(--text); }
.boat-views__thumbs button[aria-pressed="true"] img { opacity: 1; outline-color: var(--text); }
@media (max-width: 40em) {
	/* phones: one row of thumbnails that scrolls sideways */
	.js .boat-views__thumbs { max-width: calc(100% + 8px); grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 5.5rem; overflow-x: auto; padding: 4px 4px 6px; margin-inline: -4px; scroll-snap-type: x proximity; scrollbar-width: none; }
	.js .boat-views__thumbs li { scroll-snap-align: start; }
}


/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
/* The IBAN stays on one line (shrinking a little on narrow phones or with a large font), the copy icon right next to it */
[data-iban] { white-space: nowrap; font-size: clamp(.65em, 4.4vw, 1em); }
/* Bank details (contact page): label / value rows with hairlines */
.bank { display: grid; margin: 1em 0 1.5em; max-width: 34rem; border-top: 1px solid var(--border); }
.bank__row { display: grid; grid-template-columns: 11rem 1fr; gap: .2em 1em; padding: .7em 0; border-bottom: 1px solid var(--border); }
.bank dt { color: var(--text); font-size: var(--fs-small); font-weight: var(--fw-medium); align-self: center; }
.bank dd { margin: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: .1em .4em; min-width: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 40em) { .bank__row { grid-template-columns: 1fr; } }
/* copy: a quiet icon next to the IBAN; after copying a tick and "Copied" */
.copy-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .35em; min-width: 2.5rem; min-height: 2.5rem; margin: -.6em 0; padding: 0; border: 0; border-radius: .4em; background: none; color: var(--text); font-size: var(--fs-small); transition: color .2s, background-color .2s; }
.copy-btn .icon { width: 1.15em; height: 1.15em; }
.copy-btn:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.copy-btn .copy-btn__check, .copy-btn.is-copied .copy-btn__copy { display: none; }
.copy-btn.is-copied .copy-btn__check { display: block; }
.copy-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.copy-btn.is-copied { color: var(--text); padding: 0 .5em; }
.copy-btn.is-copied .copy-btn__label { position: static; width: auto; height: auto; clip: auto; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.not-found { padding-block: 4em; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox { padding: 0; border: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: rgba(5, 12, 20, .96); color: #fff; }
.lightbox::backdrop { background: transparent; }
.lightbox__stage { position: absolute; inset: 4.5rem 1rem 4rem; display: grid; place-items: center; margin: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__bar { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1rem; font-size: var(--fs-small); color: #ccc; }
.lightbox__nav { position: absolute; inset: auto 0 1rem; display: flex; justify-content: center; gap: 1rem; }
.lightbox__btn { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: transparent; color: inherit; }
.lightbox__btn:hover { border-color: #fff; }
.lightbox__btn .icon { width: 1.25rem; height: 1.25rem; }
.lightbox [data-caption] { position: absolute; inset: auto 1rem 4.5rem; text-align: center; color: #ccc; font-size: var(--fs-small); }

/* Small line icons */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }

/* --------------------------------------------------------------------------
   Consent banner (only with a Google Ads ID)
   -------------------------------------------------------------------------- */
.consent { position: fixed; inset: auto 0 0; z-index: 30000; display: flex; justify-content: center; padding: 1rem; pointer-events: none; }
.consent__inner { pointer-events: auto; display: grid; gap: 1rem; max-width: 40rem; padding: 1.25rem 1.5rem; background: var(--bg); color: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.consent__inner p { margin: 0; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.consent .button { padding: .4em .9em; }
.consent .button--ghost { border-color: var(--border); }

/* --------------------------------------------------------------------------
   Live tracking (/tracking) and the live bar
   -------------------------------------------------------------------------- */
.track-status { display: inline-flex; align-items: center; gap: .5em; margin: 1.5em 0 0; color: var(--text-2); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-label); }
.track-status__dot { width: .55em; height: .55em; border-radius: 50%; background: var(--text-2); }
.track-status--underway { color: var(--text); }
.track-status--underway .track-status__dot { background: var(--accent); animation: track-pulse 2s infinite; }
.track-status--finished .track-status__dot { background: #4CD38A; }
.page-head h1 { margin-top: .3em; }
.tracking { display: grid; gap: 2em; }
.track-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
@media (min-width: 64rem) { .track-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.track-stat { display: grid; align-content: start; gap: .3em; padding: 1em; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); min-width: 0; }
.track-stat:last-child { grid-column: auto / -1; }
.track-stat--wide { grid-column: span 2; }
.track-stat dt { color: var(--text-2); font-size: var(--fs-label); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .08em; }
.track-stat dd { margin: 0; display: grid; gap: .2em; }
.track-stat__value { font-size: var(--fs-h2); font-weight: var(--fw-medium); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.track-stat__value.mono { font-size: var(--fs-lead); }
.track-stat__note { color: var(--text-2); font-size: var(--fs-small); }
.track-meter { display: block; height: .35em; margin-top: .3em; background: var(--bg-highlight-1); border-radius: 999px; overflow: hidden; }
.track-meter span { display: block; height: 100%; background: var(--copper); }
.track-empty { max-width: 46em; }
.track-note { color: var(--text-2); }
.track-log { width: 100%; font-variant-numeric: tabular-nums; font-size: var(--fs-small); }
.track-log th, .track-log td { text-align: left; padding: .6em 1em .6em 0; border-bottom: 1px solid var(--border); white-space: nowrap; }
.track-log th { color: var(--text-2); font-weight: var(--fw-medium); }
.logbook__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5em 1.5em; }
.logbook__head h2 { margin: 0; }
.logbook__list { list-style: none; margin: 1em 0 0; padding: 0; border-top: 1px solid var(--border); }
.logbook__entry { padding: 1em 0; border-bottom: 1px solid var(--border); }
.logbook__meta { margin: 0; color: var(--text-2); font-size: var(--fs-small); }
.logbook__title { margin: .2em 0; }
.logbook__title a { color: var(--text); }
.logbook__text { margin: 0; color: var(--text-2); }

/* Map of the North Atlantic (tracking page) */
.map-frame { --map-bg: var(--bg-highlight-2); padding: 1em; background: var(--map-bg); border: 1px solid var(--border); border-radius: .4em; }
.route-map { position: relative; margin: 0; color: #2A4664; }
.route-map__canvas { position: relative; }
.route-map__canvas img { width: 100%; height: auto; display: block; }
.route-map__canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-map .graticule-line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.route-map .finish-line { fill: none; stroke: var(--copper); stroke-width: 2.5; }
.route-map .route-glow { fill: none; stroke: var(--accent); stroke-width: 10; opacity: .12; stroke-linecap: round; }
.route-map .route-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.route-map .route-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: .6; }
.route-map .route-point { fill: var(--accent); }
.route-map .track-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.route-map .track-start { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.route-map .track-pulse { fill: var(--accent); opacity: .35; transform-box: fill-box; transform-origin: center; animation: track-ring 2.4s infinite; }
.route-map .map-label { font-family: var(--font); font-size: 15px; font-weight: var(--fw-semibold); letter-spacing: .08em; fill: #AEBCC9; text-transform: uppercase; stroke: var(--map-bg); stroke-width: 5px; stroke-linejoin: round; paint-order: stroke fill; }
.route-map .map-label--strong { fill: #fff; }
.route-map .map-label--copper { fill: var(--copper); }
@media (max-width: 47.99rem) {
	.route-map .map-label { font-size: 40px; stroke-width: 10px; }
	.route-map .map-label--wide { display: none; }
}
@media (min-width: 48rem) and (max-width: 74.99rem) { .route-map .map-label { font-size: 22px; stroke-width: 7px; } }
@media (max-width: 74.99rem) { .route-map .map-label--desktop { display: none; } }
.route-map__note { margin-top: .8em; color: var(--text-2); font-size: var(--fs-small); }
@keyframes track-pulse { 0% { box-shadow: 0 0 0 0 rgba(243, 36, 41, .5); } 70% { box-shadow: 0 0 0 .5em rgba(243, 36, 41, 0); } 100% { box-shadow: 0 0 0 0 rgba(243, 36, 41, 0); } }
@keyframes track-ring { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.2); opacity: 0; } }

.live-bar { display: block; background: var(--bg-highlight-2); color: #fff; font-size: var(--fs-small); font-weight: var(--fw-medium); border-bottom: 1px solid var(--border); }
.live-bar:hover { text-decoration: none; }
.live-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .3em 1em; padding: .4em var(--side); }
.live-bar strong { color: var(--text); text-transform: uppercase; letter-spacing: .1em; }
.live-bar__dot { width: .5em; height: .5em; border-radius: 50%; background: var(--accent); animation: track-pulse 2s infinite; }
.live-bar__cta { margin-left: auto; display: inline-flex; align-items: center; gap: .3em; font-weight: var(--fw-semibold); }
@media (max-width: 39.99rem) { .live-bar__extra { display: none; } }
html:has(.live-bar) { scroll-padding-top: calc(var(--header-h) + 3em); }
.site-header:has(.live-bar) { flex-direction: column; align-items: stretch; padding-inline: 0; }
.site-header:has(.live-bar) .site-header__inner { padding-inline: var(--side); }

/* --------------------------------------------------------------------------
   Print: black on white, no navigation, every photo and link readable on paper
   -------------------------------------------------------------------------- */
@media print {
	:root { --bg: #fff; --text: #000; --text-2: #444; --border: #bbb; color-scheme: light; }
	body { background: #fff; color: #000; font-size: 11pt; }
	.site-header { position: static; background: none; border-bottom: 1px solid #bbb; backdrop-filter: none; }
	.nav-toggle, .menu, .skip-link, .live-bar, .consent, .copy-btn, .lightbox, .site-footer, .routes__switch, .article__back, .pagination, video { display: none !important; }
	.page { margin-inline: 0; padding-bottom: 0; }
	a { color: #000; text-decoration: underline; }
	.prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #444; overflow-wrap: anywhere; }
	.page-head__intro p, .department p, .roadmap__title, .roadmap__item--done .roadmap__title { color: #000; }
	h1, h2, h3 { break-after: avoid; }
	figure, img, .department, .roadmap__item, .news-card, .team-card, tr { break-inside: avoid; }
	/* image rows become a simple grid instead of a sideways scroller */
	.gallery { height: auto; padding-top: 0; }
	.gallery__track { position: static; display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
	.gallery__track figure { height: auto; margin: 0; }
	.gallery__track img { height: auto; width: 100%; }
	.prose img, .boat-section__media img { max-height: 9cm; }
	.home-header { height: 12cm; }
	.home-header__video { display: none; }
	.roadmap__dot { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
	.roadmap__track::before { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
	.brand { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
