/* ==========================================================================
   Allnova – shared layout
   --------------------------------------------------------------------------
   This file holds STRUCTURE only (spacing, grid, components).
   Colours, fonts and decorative details live in css/themes/<theme>.css.
   To change a colour: edit the variables in the theme file, not here.
   ========================================================================== */

/* ---------- Defaults (overridden by every theme) ------------------------- */
:root {
  --bg: #0b0f17;
  --bg-alt: #111722;
  --surface: #151c29;
  --border: #253043;
  --text: #e8eef7;
  --text-muted: #9aa7b8;
  --accent: #4fd1c5;
  --accent-text: #4fd1c5;      /* accent used for text (must stay readable) */
  --on-accent: #05201d;        /* text placed ON an accent background */
  --header-bg: rgba(11, 15, 23, 0.82);

  --font-body: system-ui, sans-serif;
  --font-heading: var(--font-body);
  --font-mono: ui-monospace, monospace;
  --heading-weight: 600;
  --heading-tracking: -0.02em;

  --radius: 10px;

  /* Second (complementary) colour hooks. By default everything uses the
     single accent; a theme can override these to bring in a second colour. */
  --heading-color: var(--text);    /* all headings; themes may tint them */
  --h-where: var(--heading-color); /* headline: "Where"                  */
  --h-open:  var(--heading-color); /* headline: "Open Source"            */
  --h-meets: var(--accent-text);   /* headline: "meets"                  */
  --h-space: var(--accent-text);   /* headline: "Space."                 */
  --sat:     var(--accent);        /* orbiting CubeSat in the hero       */
  --signal:  var(--accent);        /* status dot, feature bullets        */
  --next:    var(--text);          /* roadmap item marked "Next"         */
  --link-hover: var(--heading-color); /* title colour of linked cards on hover */

  --max-width: 1232px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-space: clamp(72px, 10vw, 128px);
}

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

html { font-size: 110%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; --anchor-header: 75px; }   /* 110 %: base size, so no browser zoom is needed */
/* Menu jumps: land just above the section label instead of at the top of the
   section's (large) top padding. --anchor-header = height of the shrunk header
   (measured by js/site.js; 75px is the desktop fallback). */
.section[id] { scroll-margin-top: calc(var(--anchor-header) + 28px - var(--section-space)); }

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

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

a { color: var(--accent-text); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
  color: var(--heading-color);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; text-wrap: pretty; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }

.nowrap { white-space: nowrap; }

.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: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 75px;
}

.brand {
  display: block; flex: none;
  width: 190px; aspect-ratio: 802.2 / 108;      /* logo proportions */
  background: url("../assets/logo/logo-white.svg") no-repeat left center / contain;  /* file set per theme */
}

/* Header logo: large at the top of the page, shrinks once the visitor
   scrolls (class "is-scrolled" is set by js/site.js). */
.site-header .container { min-height: 110px; transition: min-height 0.3s ease; }
.site-header .brand { width: 330px; transition: width 0.3s ease; }
.site-header.is-scrolled .container { min-height: 75px; }
.site-header.is-scrolled .brand { width: 209px; }
@media (prefers-reduced-motion: reduce) {
  .site-header .container, .site-header .brand { transition: none; }
}
/* The header is fixed and the page reserves its full (unshrunk) height, so
   the shrinking never shifts the content – otherwise menu jumps started at
   the top of the page would land 32 px off. js/site.js keeps
   --header-space equal to the real height of the unshrunk header. */
.site-header { position: fixed; left: 0; right: 0; }
body { padding-top: var(--header-space, 111px); }

.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.site-nav a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }

@media (max-width: 760px) {
  .site-header .container { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 14px; }
  .site-header .container { min-height: 0; }
  .site-header .brand { width: 220px; }
  .site-header.is-scrolled .brand { width: 160px; }
  .site-nav { width: 100%; margin: 0 -12px; padding-bottom: 6px; }
  .site-nav ul { flex-wrap: wrap; }   /* wrap to a second line instead of scrolling sideways */
  /* Narrow screens: the (two-line) header scrolls away with the page instead of
     covering a large part of a small screen; no shrinking needed then. */
  .site-header { position: absolute; }
  .site-header.is-scrolled .brand { width: 220px; }
  .site-nav a { padding: 6px 12px; white-space: nowrap; font-size: 0.9rem; }
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 9vw, 110px);
  background: var(--hero-bg, none);
  border-bottom: 1px solid var(--border);
}
.hero .container { position: relative; z-index: 1; }
.hero-text { max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1.4rem;
}
.hero h1 .h-where { color: var(--h-where); }
.hero h1 .h-open  { color: var(--h-open); }
.hero h1 .h-meets { color: var(--h-meets); }
.hero h1 .h-space { color: var(--h-space); }
.orbit-sat { color: var(--sat); transition: opacity 0.3s ease; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--text-muted); max-width: 640px; }

.hero-art {
  position: absolute; z-index: 0; pointer-events: none;
  right: max(-220px, calc(50% - 840px)); top: 50%; transform: translateY(-50%);
  width: min(792px, 70vw); color: var(--accent); opacity: var(--hero-art-opacity, 0.9);
  overflow: visible;   /* globe and orbit may extend above the drawing area; the hero section clips */
}
/* Narrow screens: the globe becomes a faint background; it keeps scaling smoothly (no jump at 900 px) */
@media (max-width: 900px) { .hero-art { opacity: 0.28; width: max(70vw, 420px); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(48px, 7vw, 80px) 0 0; padding: 0;
  border-top: 1px solid var(--border);
}
.facts div { padding: 20px 20px 0 0; }
.facts dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.facts dd { margin: 4px 0 0; font-family: var(--font-heading); font-size: 1.35rem; font-weight: var(--heading-weight); }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Sections ----------------------------------------------------- */
main { counter-reset: section; }
.section { padding: var(--section-space) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-label {
  counter-increment: section;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500;   /* 14.4 px (was 12.8) */
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text);
  margin-bottom: 1rem;
}
.section-label::before { content: counter(section, decimal-leading-zero); opacity: 0.7; }
.section-label::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.5; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; }

/* ---------- Cards -------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card p { color: var(--text-muted); margin: 0; font-size: 1rem; }
.card h3 { margin-bottom: 0.4em; }
.card-icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 20px; }

.tool-tag {
  display: block; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-text);
}
/* Linked cards: the link fills the whole card (incl. its padding), so hovering never
   drops out between the inner elements – that caused the colour to flicker. */
.card:has(> a.card-link) { display: flex; flex-direction: column; }   /* link grows with the stretched card */
.card a.card-link { display: block; flex: 1; margin: -28px; padding: 28px; border-radius: inherit; color: inherit; text-decoration: none; }
.card a.card-link h3 { color: var(--accent-text); font-weight: 600; transition: color 0.2s ease; }  /* tool name: ultramarine, semi-bold = "large text" (3:1) */
.card a.card-link .tool-tag { color: var(--text); }                                                  /* category: plain text colour */
.card a.card-link:hover h3, .card a.card-link:focus-visible h3 { color: var(--link-hover); }

/* ---------- Allnova-1 ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 500; color: var(--text-muted); padding-right: 16px; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--border); }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent-text);
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }

.obc { margin-top: clamp(56px, 7vw, 88px); }

/* First hardware: heading + intro, then the video framed by the feature lists */
.obc-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.obc-stage { display: grid; gap: clamp(28px, 4vw, 44px); grid-template-columns: minmax(0, 1fr); }
/* video on top, centred; the feature list below in two columns */
.obc-stage .render--stage { max-width: 700px; width: 100%; margin: 0 auto; }
/* video cropped to 3:2 – only empty background at the top is cut */
.render--stage .render-video { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 100%; }

.obc h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.obc p { color: var(--text-muted); }

.render {
  margin: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
}
.render img { width: 100%; height: auto; }
.render figcaption { padding: 12px 16px; font-size: 0.85rem; color: var(--text-muted); border-top: 1px solid var(--border); }

.render-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: #0D1527; }

/* AN A-1 key features next to the render */
.feature-list {
  list-style: none; margin: 0; padding: 0; font-size: 0.98rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px;
  border-top: 1px solid var(--border);
}
.feature-list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
@media (max-width: 600px) { .feature-list { grid-template-columns: minmax(0, 1fr); } }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 1.25em; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.feature-list strong { color: var(--text); font-weight: 600; }
.feature-list a { color: var(--accent-text); text-decoration: none; }
.feature-list a:hover { opacity: 0.8; }
.feature-list a strong { color: inherit; }

/* Demonstration goals: one row of three below the board */
/* Mission objectives: three cards between the Allnova-1 key data and the AN A-1 block */
.objectives { margin-top: clamp(56px, 7vw, 88px); }
.objectives h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 1em; }
.objective-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .objective-grid { grid-template-columns: minmax(0, 1fr); } }
.objective {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
}
.objective::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.objective-no { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sat); margin-bottom: 14px; }
.objective h4 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: var(--heading-weight); line-height: 1.2; color: var(--heading-color); margin: 0 0 0.5em; }
.objective p { margin: 0; color: var(--text-muted); font-size: 1rem; }
.objective p a { color: var(--accent-text); text-decoration: none; }   /* like the links in the AN A-1 feature list */
.objective p a:hover, .objective p a:focus-visible { color: var(--link-hover); }
.objective .objective-measured { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.82rem; color: var(--text); }
.objective p:not(.objective-measured) { margin-bottom: 18px; }   /* space above the "Measured" line, which sits at the card bottom */
.objective-measured span { color: var(--text-muted); }


/* Open tools: closing note below the tool cards */
.tools-note { max-width: 760px; margin: clamp(32px, 4vw, 48px) 0 0; color: var(--text-muted); font-size: 1.1rem; }

/* "What we take, we give back" – four numbered nodes on a line, plus a
   return arc above the row from the last step back to the first. */
.principle {
  margin-top: clamp(48px, 7vw, 72px);
  padding: clamp(28px, 4vw, 48px); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.principle h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 1.4em; }
.cycle {
  --node: 60px; --gap: 32px; --arc: 50px;
  position: relative; list-style: none; margin: 0; padding: var(--arc) 0 0;   /* room for the return arc */
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: step;
}
/* forward line through the node centres (first to last node) */
.cycle::before {
  content: ""; position: absolute; z-index: 0;
  top: calc(var(--arc) + var(--node) / 2 - 1px); left: calc(var(--node) / 2);
  right: calc((100% - 3 * var(--gap)) / 4 - var(--node) / 2);
  border-top: 2px solid color-mix(in srgb, var(--accent) 60%, transparent);
}
/* return arc: from the last node up, across and back down into the first */
.cycle::after {
  content: ""; position: absolute; z-index: 0;
  top: 10px; height: calc(var(--arc) - 10px); left: calc(var(--node) / 2 - 1px);
  right: calc((100% - 3 * var(--gap)) / 4 - var(--node) / 2 - 1px);
  border: 2px dashed color-mix(in srgb, var(--accent) 55%, transparent); border-bottom: 0;
  border-radius: 22px 22px 0 0;
}
.cycle li { counter-increment: step; position: relative; z-index: 1; color: var(--text-muted); font-size: 1rem; }
.cycle li::before {
  content: counter(step, decimal-leading-zero);
  display: grid; place-items: center; width: var(--node); height: var(--node); margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 1.25rem; font-weight: 600; color: var(--accent-text);
  border: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); border-radius: 50%; background: var(--surface);
}
/* arrowheads: one where the return arc enters the first node (pointing down),
   one on the line in front of every other node (pointing right) */
.cycle li::after {
  content: ""; position: absolute; width: 0; height: 0; border: 0 solid transparent;
}
.cycle li:first-child::after {
  top: -14px; left: calc(var(--node) / 2 - 8px);
  border-width: 12px 8px 0 8px; border-top-color: color-mix(in srgb, var(--accent) 85%, transparent);
}
.cycle li:not(:first-child)::after {
  top: calc(var(--node) / 2 - 8px); left: -13px;
  border-width: 8px 0 8px 12px; border-left-color: color-mix(in srgb, var(--accent) 85%, transparent);
}
.cycle strong { display: block; font-family: var(--font-heading); font-size: 1.35rem; font-weight: var(--heading-weight); color: var(--text); margin-bottom: 6px; }
@media (max-width: 760px) {
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; padding-top: 0; }
  .cycle::before, .cycle::after, .cycle li::after { display: none; }
}
}

/* ---------- Roadmap ------------------------------------------------------ */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 820px; }
.timeline li {
  display: grid; grid-template-columns: 130px 1fr; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.timeline li:first-child { border-top: 1px solid var(--border); }
.timeline h3 { margin: 0 0 0.25em; font-size: 1.1rem; }
.timeline p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }
.timeline .state { font-family: var(--font-mono); font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); padding-top: 3px; }
.timeline .state::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; border: 1px solid currentColor; vertical-align: 1px; }
.timeline .is-done .state { color: var(--accent-text); }
.timeline .is-done .state::before { background: var(--accent); border-color: var(--accent); }
.timeline .is-next .state { color: var(--next); }
.timeline .is-next .state::before { background: var(--next); border-color: var(--next); }
@media (max-width: 600px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }


/* ---------- Company: text + contact card ---------------------------------- */
.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .company { grid-template-columns: minmax(0, 1fr); } }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-top: clamp(0px, 3vw, 44px); }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.contact-card p { color: var(--text-muted); margin: 0 0 1em; }
.contact-card .contact-lines { margin: 0; line-height: 1.9; }
.contact-card a { color: var(--accent-text); text-decoration: none; font-weight: 500; }
.contact-card a:hover, .contact-card a:focus-visible { color: var(--next); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; font-size: 0.92rem; color: var(--text-muted); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer .brand { width: 154px; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Legal pages (impressum, privacy) ----------------------------- */
.legal { padding: clamp(56px, 8vw, 96px) 0 var(--section-space); }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.8em; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal p, .legal li, .legal address { color: var(--text-muted); }
.legal address { font-style: normal; }
.legal strong { color: var(--text); font-weight: 600; }
.todo { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--text); padding: 0 4px; border-radius: 3px; }

/* ---------- 404 page --------------------------------------------------------- */
.not-found { padding: clamp(64px, 10vw, 120px) 0 var(--section-space); text-align: center; }
.not-found .container { max-width: 640px; }
.nf-art { width: min(260px, 70vw); margin: 0 auto 8px; }
.nf-orbit { stroke: var(--sat); stroke-opacity: 0.6; stroke-dasharray: 2 6; stroke-linecap: round; }
.nf-planet { stroke: var(--accent); stroke-opacity: 0.6; fill: color-mix(in srgb, var(--accent) 14%, transparent); }
.nf-sat { fill: var(--sat); }
.nf-code { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.3em; color: var(--next); margin: 0 0 0.6rem; }
.not-found h1 { font-size: clamp(2rem, 5vw, 3rem); }
.not-found .lead { margin: 0 auto 2rem; }
.nf-home {
  display: inline-block; padding: 10px 20px; border-radius: 999px; text-decoration: none; font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); color: var(--text);
}
.nf-home:hover, .nf-home:focus-visible { color: var(--next); border-color: var(--next); }
.legal a[href^="mailto:"], .legal a.js-mail, .legal a[href^="tel:"] { text-decoration: none; }   /* contact links without underline */
/* legal pages: short accent bar under the title (amber in the amber themes) */
.legal h1::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 0.45em; border-radius: 2px; background: var(--sat); }
