/* kzyx-lupus.com: direction C, "Band" (the owner's choice), from the toolkit's
   design study lupus-site/lupus.css (sha256 cd7a7d6a51b38db9...). Made a site's
   stylesheet in three moves the package names: the dark set is the reader's
   own (prefers-color-scheme, not a class), the phone block is a media query
   (not a container query), and the rules of directions A and B are gone. The
   rules of the front page and the operators' page are not here either: those
   pages are not built, and lupus.css stays their source.

   Served under default-src 'none'; style-src 'self'; font-src 'self'. Nothing
   in a page carries a style: every rule is in this file. */

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

@font-face {
  font-family: Cinzel;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/cinzel/Cinzel-latin.woff2") format("woff2");
}

/* Tokens, in three layers. Primitives are the raw values, each named once:
   the toolkit's palette (KzyxPalette at 442847da) and the light set lupus.css
   adds. Semantic tokens keep lupus.css's names, so a rule here reads as its
   rule there, and only they change with the reader's theme. Component tokens
   are the band's own: the colours lupus.css wrote as hex in "C · Band". */
:root {
  --charcoal-950: #0D0F12;
  --charcoal-900: #15171A;
  --charcoal-850: #1E2227;
  --charcoal-800: #252A30;
  --charcoal-750: #272C33;
  --charcoal-700: #333A42;
  --slate-600: #55606C;
  --slate-300: #B2BAC5;
  --grey-300: #D5DAE1;
  --grey-200: #E1E5EA;
  --mist: #F2F5F8;
  --paper: #F4F6F9;
  --white: #FFFFFF;
  --blue-700: #0E6E96;
  --blue-500: #18A0D8;
  --blue-300: #74C6E7;

  --bg: var(--paper);
  --surface: var(--white);
  --ink: var(--charcoal-900);
  --muted: var(--slate-600);
  --line: var(--grey-300);
  --hair: var(--grey-200);
  --link: var(--blue-700);
  --deep: var(--charcoal-950);
  --deep-ink: var(--mist);
  --deep-muted: var(--slate-300);
  --deep-line: var(--charcoal-700);
  --deep-link: var(--blue-300);

  --font-sans: Inter, "Segoe UI", system-ui, sans-serif;
  --font-serif: Cinzel, "Times New Roman", serif;

  --band-accent: var(--blue-500);
  --band-chip: var(--charcoal-800);
  --ghost: var(--white);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--charcoal-900);
    --surface: var(--charcoal-850);
    --ink: var(--mist);
    --muted: var(--slate-300);
    --line: var(--charcoal-700);
    --hair: var(--charcoal-750);
    --link: var(--blue-300);
  }
}

/* The page. body is lupus.css's .lp root; it fills the window, so a short
   page still ends on its footer. */
body.lp { margin: 0; min-height: 100vh; min-height: 100dvh; }
.lp { background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--font-sans); display: flex; flex-direction: column; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
.lp * { box-sizing: border-box; }
.lp a { color: var(--link); text-underline-offset: 3px; }
.lp a:hover { text-decoration-thickness: 2px; }
/* An address breaks at its hyphen otherwise ("kzyx-" / "lupus.com"); whole,
   it is narrower than the narrowest column it stands in. */
.lp a[href^="mailto:"] { white-space: nowrap; }
.lp a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 3px; }
.lp h1 { font: 700 44px/1.1 var(--font-sans); letter-spacing: -.02em; margin: 0 0 16px; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }

.wm { font-family: var(--font-serif); font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }
.lp .brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-height: 44px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .wm { font-size: 22px; line-height: 1; }
.nav { display: flex; flex-wrap: wrap; gap: 0 4px; align-items: center; }
.lp .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.lp .nav a:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lp .lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .06em; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin: 0 0 12px; }
.stand { color: var(--muted); margin: 0 0 40px; }

/* Contents list. Every entry is a 44 px target, beside the text as on the
   phone: 11.5 px above and below a 1.4 line of 15 px. */
.toc h2 { font: 600 13px/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.toc li { counter-increment: t; break-inside: avoid; }
.lp .toc a { display: flex; gap: 10px; align-items: baseline; min-height: 44px; padding: 11.5px 0; color: inherit; text-decoration: none; line-height: 1.4; }
.lp .toc a::before { content: counter(t); color: var(--muted); min-width: 1.5em; font-variant-numeric: tabular-nums; }
.lp .toc a:hover { color: var(--link); }
.toc-m { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; margin: 0 0 32px; }
.toc-m summary { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 16px; font-weight: 600; cursor: pointer; border-radius: 10px; }
.toc-m summary::-webkit-details-marker { display: none; }
/* A summary laid out as flex loses the browser's triangle; this is its
   stand-in, so the closed list still looks like something that opens. */
.toc-m summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-2px) rotate(45deg); }
.toc-m details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.toc-m summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.toc-m ol { padding: 0 16px 10px; }

/* The notice's text (also stands alone) */
.nt { font: 400 16px/1.65 var(--font-sans); color: var(--ink); max-width: 720px; hyphens: auto; overflow-wrap: break-word; }
.nt section { padding: 36px 0 8px; border-top: 1px solid var(--hair); scroll-margin-top: 24px; }
.nt section:first-child { border-top: 0; padding-top: 0; }
.nt h2 { font: 600 23px/1.3 var(--font-sans); margin: 0 0 14px; display: flex; gap: 12px; align-items: baseline; text-wrap: balance; }
.nt h2 .n { color: var(--link); font-variant-numeric: tabular-nums; flex: none; }
.nt p { margin: 0 0 14px; }
.nt ul { margin: 0 0 14px; padding-left: 22px; }
.nt li { margin: 0 0 8px; }
.nt li::marker { color: var(--muted); }
.nt strong { font-weight: 600; }
.nt address, .holding { font-style: normal; margin: 0 0 14px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }

/* Where the notice will stand, until it does: one line in the notice's
   column, set as its address boxes are. */
.holding { max-width: 720px; margin: 0; }
.holding .to { display: inline-flex; align-items: center; min-height: 44px; }

/* Footer */
.foot { margin-top: auto; font-size: 14px; }
.lp .foot a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }

/* C · Band: a charcoal band opens every page, contents beside the text */
.c .band { background: var(--deep); color: var(--deep-ink); position: relative; overflow: hidden; }
.c .band-in { max-width: 1184px; width: 100%; margin: 0 auto; padding: 0 32px; position: relative; }
.c .top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--deep-line); }
.c .top-in .nav { margin-left: auto; }
.lp.c .band .nav a { color: var(--deep-muted); }
.lp.c .band .nav a:hover { color: var(--deep-ink); }
.lp.c .band .nav a[aria-current="page"] { color: var(--deep-ink); box-shadow: inset 0 -2px 0 var(--band-accent); }
.c .band .lang { border-color: var(--deep-line); }
.lp.c .band .lang a { color: var(--deep-muted); }
/* The page's own language, read from the page: the 404 pages have no link to
   themselves, and still say which language they are in. */
html[lang="de"] .lp.c .band .lang a[lang="de"],
html[lang="en"] .lp.c .band .lang a[lang="en"] { background: var(--band-chip); color: var(--deep-ink); }
/* --link on the band's charcoal is about 3.3:1; the band's own link colour
   keeps a focus ring as clear there as it is on the page. */
.lp.c .band a:focus-visible, .lp.c .foot a:focus-visible { outline-color: var(--deep-link); }
.c .top-in, .c .head { position: relative; }
.c .head { padding: 64px 0 56px; max-width: 820px; }
.c .head > :last-child { margin-bottom: 0; }
.c .head .eyebrow { color: var(--deep-link); }
.c .head h1 { font-size: 48px; color: var(--deep-ink); }
.c .head .stand { color: var(--deep-muted); }
.c .ghost { position: absolute; right: -60px; top: 36px; width: 440px; height: 440px; color: var(--ghost); opacity: .05; pointer-events: none; }
.c .body { max-width: 1184px; width: 100%; margin: 0 auto; padding: 56px 32px 96px; display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: flex-start; }
/* Sticky, and never taller than the window: twelve 44 px entries are taller
   than a laptop's window, and a sticky list cut off at the bottom keeps its
   last entries out of reach until the page ends. The 4 px pad keeps the
   focus ring inside the scrolling box. */
.c .side { flex: 1 1 220px; max-width: 272px; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 4px; margin: -4px; }
.lp.c .side .toc a { font-size: 15px; color: var(--muted); }
.lp.c .side .toc a:hover { color: var(--link); }
.c .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.c .nt h2 { font-size: 24px; gap: 16px; }
.c .nt h2 .n { font: 500 24px/1.3 var(--font-serif); min-width: 1.5em; }
.c .foot { background: var(--deep); color: var(--deep-muted); }
.c .foot-in { max-width: 1184px; width: 100%; margin: 0 auto; padding: 36px 32px; display: flex; flex-wrap: wrap; gap: 24px 72px; align-items: flex-start; }
.c .foot-col { display: flex; flex-direction: column; gap: 2px; }
.c .foot-col b, .c .foot-col h2 { color: var(--deep-ink); font-size: inherit; line-height: inherit; font-weight: 600; margin: 0 0 6px; }
.lp.c .foot a { color: var(--deep-muted); }
.lp.c .foot a:hover { color: var(--deep-ink); }

/* Phone width */
@media (max-width: 760px) {
  .c .head h1 { font-size: 30px; }
  .brand svg { width: 30px; height: 30px; }
  .brand .wm { font-size: 19px; }
  .lp .nav a { padding: 0 8px; font-size: 14px; }
  .c .toc-m { display: block; }
  .c .band-in { padding: 0 20px; }
  .c .top-in { padding: 6px 0; }
  .c .top-in .nav { margin-left: 0; order: 3; flex-basis: 100%; }
  .c .top-in .lang { margin-left: auto; }
  .c .head { padding: 40px 0 36px; }
  .c .ghost { width: 260px; height: 260px; right: -70px; top: 90px; }
  .c .body { padding: 32px 20px 64px; }
  .c .side { display: none; }
  .c .foot-in { padding: 28px 20px; }
}
