/* ==========================================================================
   Theme "fj" (F · המועצה) — the home page sections.
   The council's direction: paper + ink + 1px hairlines, ONE live accent (--live, set on <html> by
   fj-home.js, changes with the headline verb). Three families: Heebo (display, headings),
   IBM Plex Sans Hebrew (body, UI), IBM Plex Mono (data). Radius 6px for cards, 999px only for
   tabs / toggles. The only offset shadow on the page is the CTA's. One easing, no overshoot.
   The hero's stage (the fabric iPhone) is in fj-hero.css. Class names keep fh's hx- prefix so the
   copied engine (fj-home.js) works unchanged.
   ========================================================================== */

@property --live {
  syntax: "<color>";
  inherits: true;
  initial-value: #2743E6;
}

html { transition: --live 460ms var(--ease); }

.fh-home { position: relative; }

/* ---- sections -------------------------------------------------------- */
.hx-sec {
  position: relative;
  padding-block: clamp(64px, 7vw, 104px);
  overflow-x: clip;
  background: var(--paper);
}

.hx-sec + .hx-sec,
.hx-tickers + .hx-sec { border-top: 1px solid var(--rule); }

.hx-wrap {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin-inline: auto;
}

.hx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---- section heads ---------------------------------------------------- */
.hx-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 48px;
  margin-block-end: clamp(28px, 3.4vw, 44px);
}

.hx-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.3vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.hx-h2 em {
  font-style: normal;
  font-weight: 300;
  color: var(--ink-soft);
}

.hx-head-dek {
  max-width: 44ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* "… של nVision AI": the brand ends the sentence; its slot is empty until the mark docks */
.hx-h2-by { white-space: nowrap; font-weight: 300; color: var(--ink-soft); }
.hx-h2-by .hx-mark { font-size: 0.62em; margin-inline-start: 0.14em; vertical-align: -0.02em; }
.hx-h2-prep { transition: opacity 260ms linear; }

.hx-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 28px;
  padding-block: 6px;
  border-bottom: 1px solid var(--ink);
  font-weight: 500;
  font-size: 1rem;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.hx-more b { font-weight: 500; transition: transform 300ms var(--ease); }
.hx-more:hover { color: var(--live); border-color: var(--live); }
.hx-more:hover b { transform: translateX(-5px); }

/* ==========================================================================
   The wordmark and its docking slots (rules from fh v4/v5, kept)
   ========================================================================== */
.hx-mark { display: inline-block; line-height: 1; vertical-align: baseline; }

.hx-mark-fly {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  font-size: 100px;
  pointer-events: none;
  transform-origin: 0 0;
  visibility: hidden;
  will-change: transform;
}
html.hx-travel .hx-mark-fly.is-flying { visibility: visible; }

/* r5: every slot always draws its own logo; the flying copy only shows during a flight */

/* ==========================================================================
   Hero copy (the stage is in fj-hero.css)
   ========================================================================== */
.hx-h1 {
  display: grid;
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
}

/* v2: the occasional spotlight ("פנס", from fh) — every 15-25 s a soft lamp passes once over the
   headline (fj-home.js, ~1.7 s): the letters under it light up in --live and a faint halo warms the
   paper behind. The rows paint their text through a background (ink + the lamp), clipped to the
   glyphs; the padding/negative margin pair gives the glyphs room without moving anything. */
.hx-h1 { position: relative; }
.fj-lamp {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--live) 13%, transparent), transparent);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
html.fj-lamp-ready .hx-h1-a {
  padding-block: 0.12em;
  background:
    radial-gradient(circle var(--lr, 0.1px) at calc(var(--lx, -9999px) - var(--row-left, 0px)) calc(var(--ly, -9999px) - var(--row-top, 0px)),
      var(--live) 0%, var(--live) 46%, transparent 100%),
    linear-gradient(var(--row-ink), var(--row-ink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.fj-lamp-ready .hx-h1-a { --row-ink: var(--ink); margin-block: -0.12em calc(0.02em - 0.12em); }

.hx-h1-row { display: block; }

/* r6: a static statement of what the channel is (the kinetic verb headline is gone) */
.hx-h1-a {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hx-h1-b {
  font-style: normal;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--live);
  text-wrap: balance;
}

.hx-dot {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  margin-inline-start: 0.05em;
  background: var(--live);
  vertical-align: baseline;
}

.hx-dek {
  max-width: 36ch;
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}

/* the ONLY element with an offset shadow; the shadow is the live colour */
.hx-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 54px;
  padding-inline: 24px 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 1.0625rem;
  box-shadow: -6px 6px 0 var(--live);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.hx-cta b { font-weight: 500; transition: transform 300ms var(--ease); }
.hx-cta:hover { transform: translate(-2px, 2px); box-shadow: -4px 4px 0 var(--live); }
.hx-cta:hover b { transform: translateX(-4px); }
.hx-cta:active { transform: translate(-5px, 5px); box-shadow: -1px 1px 0 var(--live); }
.hx-cta:focus-visible { outline: 2px solid var(--live); outline-offset: 4px; }

/* ==========================================================================
   Tickers (v2: two again): news ink on paper, articles on a cobalt tint with ink text.
   Straight (0°), parallel, stacked, slow, opposite directions — they never cross.
   ========================================================================== */
.hx-tickers {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--rule);
}

.hx-tick {
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  height: 50px;
  background: var(--paper);
}
.hx-tick-articles {
  height: 46px;
  border-top: 1px solid var(--rule);
  background: color-mix(in srgb, var(--cobalt) 9%, var(--paper));
}

.hx-ribbon-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  margin-inline-end: 24px;
  gap: 10px;
  width: calc(max(28px, (100vw - 1320px) / 2) + 96px);
  padding-inline: max(28px, (100vw - 1320px) / 2) 16px;
  border-inline-end: 1px solid var(--rule);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}
.hx-ribbon-tag i { width: 7px; height: 7px; background: var(--live); animation: hx-blink 2.4s var(--ease) infinite; }
.hx-tick-articles .hx-ribbon-tag i { background: var(--cobalt); animation: none; border-radius: 50%; }
@keyframes hx-blink { 50% { opacity: 0.25; } }
.hx-ribbon-tag:hover { color: var(--live); }

.hx-ribbon {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 40px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to left, transparent 0, #000 40px, #000 calc(100% - 80px), transparent 100%);
}

.hx-ribbon-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: hx-ribbon 130s linear infinite;
}
.hx-ribbon-track.is-reverse { animation-direction: reverse; animation-duration: 150s; }
@keyframes hx-ribbon { from { transform: translateX(0); } to { transform: translateX(50%); } }
.hx-ribbon:hover .hx-ribbon-track,
.hx-ribbon:focus-within .hx-ribbon-track { animation-play-state: paused; }

.hx-ribbon-set { display: flex; align-items: center; }

.hx-ribbon-item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-inline: 22px;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  border-inline-end: 1px solid var(--rule);
  line-height: 1;
}
.hx-ribbon-item time { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-mute); }
.hx-ribbon-item time.is-type { font-family: var(--font-sans); font-weight: 600; color: var(--cobalt-deep); }
.hx-ribbon-item:hover span { color: var(--live); }
.hx-tick-articles .hx-ribbon-item { border-inline-end-color: color-mix(in srgb, var(--cobalt) 18%, transparent); }
.hx-tick-articles .hx-ribbon-item:hover span { color: var(--cobalt-deep); }

/* ==========================================================================
   Articles — post-it notes (v2: back from "desk cards"). theme current's colours, cycled per note
   (never by category), a slight tilt, a pin, a darker lip where the paper lifts, a curled corner.
   Each note's tilt (--r) and vertical stagger (--drop) come from NoteBoard.astro. No orange.
   ========================================================================== */
.hx-board-sec {
  background:
    radial-gradient(circle at 1px 1px, rgba(14, 15, 22, 0.09) 1px, transparent 1.5px) 0 0 / 24px 24px,
    var(--paper);
}
.hx-board-head { margin-block-end: clamp(10px, 1.6vw, 20px); }

.hx-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px clamp(20px, 2.4vw, 34px);
  align-items: start;
  padding-block: 22px 30px;
}

.hx-note {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 238px;
  margin-top: var(--drop, 0px);
  padding: 30px 20px 16px;
  border-radius: 3px 3px 3px 26px;
  background:
    linear-gradient(180deg, transparent 72%, rgba(14, 15, 22, 0.035)),
    linear-gradient(180deg, var(--paper-t), var(--paper-b));
  color: #17181f;
  box-shadow:
    0 1px 1px rgba(14, 15, 22, 0.08),
    0 14px 22px -16px rgba(14, 15, 22, 0.42);
  transform: rotate(var(--r, 0deg)) translateY(var(--lift, 0px));
  transition: transform 520ms var(--ease), box-shadow 320ms var(--ease);
}
.hx-note { display: block; }
.hx-note-main { display: flex; min-height: 196px; flex-direction: column; color: inherit; text-decoration: none; }
/* the pair at the foot: "+" expands the note in place, the black arrow opens the article (r5, Nadav 29.11) */
.hx-note-acts { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.hx-note-expand,
.hx-note-go { display: grid; place-items: center; box-sizing: border-box; width: 30px; height: 30px; padding: 0; border-radius: 50%; font: 600 1.125rem/1 var(--font-sans); cursor: pointer; text-decoration: none; transition: transform 300ms var(--ease), background-color 200ms linear; }
.hx-note-expand { border: 1.5px solid #17181f; background: var(--paper-t); color: #17181f; }
.hx-note-expand:hover { background: #fff; }
.hx-note-expand[aria-expanded="true"] { background: #fff; }
.hx-note-go { border: 0; background: #17181f; color: var(--paper-t); font-weight: 500; }
.hx-note-go:hover { transform: translateX(-3px); }
.hx-note-expand:focus-visible,
.hx-note-go:focus-visible { outline: 2px solid var(--live); outline-offset: 2px; }
/* the expansion: grows inside the note (fi's fold), the note straightens and lifts */
.hx-note-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 380ms var(--ease); }
.hx-note-fold-in { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s 380ms; }
.hx-note-fold-in p { margin: 12px 0 10px; font-size: 0.9rem; line-height: 1.55; color: #17181f; }
.hx-note-read { display: inline-flex; align-items: center; gap: 8px; margin-block-end: 4px; padding: 7px 16px 8px; border-radius: 999px; background: #17181f; color: var(--paper-t); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.hx-note-read b { font-weight: 500; transition: transform 300ms var(--ease); }
.hx-note-read:hover b { transform: translateX(-5px); }
.hx-note-read:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; }
.hx-note.is-open { --r: 0deg; z-index: 20; box-shadow: 0 1px 1px rgba(14, 15, 22, 0.08), 0 26px 38px -18px rgba(14, 15, 22, 0.5); }
.hx-note.is-open .hx-note-fold { grid-template-rows: 1fr; }
.hx-note.is-open .hx-note-fold-in { visibility: visible; transition-delay: 0s; }
.hx-note.is-open .hx-note-foot { margin-block-end: 0; }

/* the darker lip where the paper lifts off the board */
.hx-note::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: 3px 3px 0 0;
  background: var(--edge);
  opacity: 0.85;
}
/* the curled corner (bottom-left): a fold of lighter paper with its own shadow */
.hx-note::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  border-radius: 0 0 0 26px;
  background: linear-gradient(45deg, rgba(14, 15, 22, 0.16), color-mix(in srgb, var(--paper-t) 70%, white) 55%);
  box-shadow: 2px -2px 4px -2px rgba(14, 15, 22, 0.25);
  pointer-events: none;
}

.hx-note-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--edge) 45%, #fff), var(--edge) 58%, color-mix(in srgb, var(--edge) 70%, #0E0F16));
  box-shadow: 1px 3px 3px rgba(14, 15, 22, 0.32);
}

.hx-note-type {
  align-self: flex-start;
  margin-block-end: 12px;
  padding: 2px 10px 3px;
  border-radius: 999px;
  background: var(--tag);
  color: var(--paper-t);
  font-size: 0.8125rem;
  font-weight: 600;
}

.hx-note-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.32;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

.hx-note-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-block-start: auto;
  padding-block-start: 14px;
  border-top: 1px dashed color-mix(in srgb, var(--tag) 40%, transparent);
  margin-inline-end: 22px; /* clear of the curled corner (bottom-left, the line end in RTL) */
}
.hx-note-foot time { color: color-mix(in srgb, var(--tag) 85%, #17181f); font-size: 0.8125rem; font-weight: 500; }
.hx-note-foot b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #17181f;
  color: var(--paper-t);
  font-weight: 500;
  transition: transform 300ms var(--ease);
}

.hx-note:hover { --lift: -4px; box-shadow: 0 1px 1px rgba(14, 15, 22, 0.08), 0 22px 30px -18px rgba(14, 15, 22, 0.5); }
.hx-note:hover .hx-note-foot b { transform: translateX(-4px); }
.hx-note:focus-visible { outline: 2px solid var(--live); outline-offset: 4px; }

/* the entrance: once, staggered — each note comes down a little and settles onto its own tilt.
   The notes are in place without JS and before it runs (only the offset changes). */
.hx-board.is-armed:not(.is-in) .hx-note { transform: rotate(calc(var(--r, 0deg) * 2.2)) translateY(-26px); }
.hx-board.is-armed.is-in .hx-note { transition-delay: calc(var(--n, 0) * 80ms), 0s; }
.hx-board.is-in .hx-note:hover { transition-delay: 0s; }

/* ==========================================================================
   Videos — on paper-2, straight cards, inline playback
   ========================================================================== */
.hx-videos { background: var(--paper-2); }

.hx-videos-head { align-items: center; }

.hx-reel-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hx-reel-nav[hidden] { display: none; }

.hx-reel-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease), opacity 200ms linear;
}
.hx-reel-btn svg { width: 20px; height: 20px; }
.hx-reel-btn svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hx-reel-btn:hover:not(:disabled) { border-color: var(--live); color: var(--live); background: var(--surface); }
.hx-reel-btn:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; }
.hx-reel-btn:disabled { opacity: 0.34; cursor: default; }

.hx-reel {
  --reel-gap: 24px;
  --reel-peek: 0px;
  display: flex;
  gap: var(--reel-gap);
  margin-block: -2px;
  padding-block: 2px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hx-reel::-webkit-scrollbar { display: none; }
.hx-reel::after {
  content: none;
  flex: 0 0 var(--reel-peek);
  pointer-events: none;
}
.hx-reel:focus-visible { outline: 2px solid var(--live); outline-offset: 6px; }

.hx-clip {
  flex: 0 0 calc((100% - var(--reel-gap) - var(--reel-gap)) / 3);
  scroll-snap-align: start;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.hx-clip-window {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--carbon);
}
.hx-clip-window img,
.hx-clip-window video,
.hx-clip-window iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.hx-clip-window video { opacity: 0; transition: opacity 300ms linear; }
.hx-clip.is-playing video,
.hx-clip.is-previewing video { opacity: 1; }
.hx-clip-window iframe { z-index: 3; }

.hx-clip-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(244, 243, 238, 0.85);
  font: 800 clamp(1.6rem, 2.6vw, 2.4rem) / 1 var(--font-display);
  letter-spacing: -0.02em;
}

.hx-clip-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
}
.hx-clip.is-playing .hx-clip-btn { display: none; }

.hx-clip-play {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--paper);
  transition: transform 300ms var(--ease), background-color 220ms var(--ease);
}
.hx-clip-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ink);
  transform: translate(-50%, -50%);
  transition: border-color 220ms var(--ease);
}
.hx-clip:hover .hx-clip-play { transform: scale(1.06); background: var(--live); }
.hx-clip:hover .hx-clip-play::after { border-left-color: #fff; }
.hx-clip-btn:focus-visible { outline: 2px solid var(--live); outline-offset: -6px; }

.hx-clip-dur {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(13, 14, 20, 0.78);
  color: var(--on-dark);
  font: 500 0.75rem / 1 var(--font-mono);
}

.hx-clip-cap { display: grid; gap: 6px; padding: 18px 20px 20px; }
.hx-clip-cap h3,
.hx-clip-cap strong { margin: 0; font-weight: 600; font-size: 1.125rem; line-height: 1.4; }
.hx-clip-cap p,
.hx-clip-cap > span { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* the "soon" card: calm, no motion */
.hx-clip-soon .hx-clip-window {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  display: grid;
  place-items: center;
}
.hx-soon-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 9px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
}
.hx-soon-word {
  font: 300 clamp(2.4rem, 4vw, 3.4rem) / 1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink-mute);
}
.hx-clip-soon:hover .hx-soon-word { color: var(--live); }
.hx-clip-soon { transition: border-color 220ms var(--ease); }
.hx-clip-soon:hover { border-color: var(--rule-strong); }

/* ==========================================================================
   Codex | Claude — the ONLY dark band, neutral carbon
   ========================================================================== */
.hx-codex {
  background: var(--carbon);
  color: var(--on-dark);
  --live-on: color-mix(in oklab, var(--live) 58%, white);
}
.hx-codex { padding-block: 14px !important; }
.hx-codex .hx-reset-switch { gap: 6px 16px; margin-block-end: 4px; }
.hx-codex .hx-reset-title { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.15; }
.hx-codex .hx-reset-tabs { font-size: .58em; }
.hx-codex .hx-mark-codex { font-size: 18px; }
.hx-codex + .hx-sec { border-top: 0; }
.hx-codex .hx-h2 { color: var(--on-dark); }
.hx-codex .hx-h2 em { color: var(--on-dark-soft); }
.hx-codex a { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--rule-dark); text-underline-offset: 3px; }
.hx-codex a:hover { text-decoration-color: var(--live-on); }
.hx-codex :focus-visible { outline-color: var(--live-on); }

.hx-reset-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-block-end: clamp(28px, 3.4vw, 44px);
}
.hx-reset-switch:not(.has-tabs) { justify-content: flex-end; margin-block-end: 0; }
.hx-reset-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3em; }
.hx-reset-title[hidden] { display: none; }

/* a thin segmented control, inside the sentence */
.hx-reset-tabs {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  font-size: 0.5em;
  line-height: 1;
  vertical-align: middle;
}
.hx-reset-tabs[hidden] { display: none; }
.hx-reset-tabs button {
  padding: 0.42em 0.95em 0.48em;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--on-dark-soft);
  font: 700 1em / 1 var(--font-display);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 260ms var(--ease), color 260ms var(--ease);
}
.hx-reset-tabs button[aria-selected="true"] { background: var(--on-dark); color: var(--carbon); }
.hx-reset-tabs button:not([aria-selected="true"]):hover { color: var(--on-dark); }

.hx-codex-by { margin: 0; }
.hx-mark-codex { font-size: 30px; }

html.hx-tabs-on .hx-reset-panel .hx-codex-intro > .hx-h2 { display: none; }
html.hx-tabs-on .hx-reset-panel + .hx-reset-panel { margin-top: 0; }
html.hx-tabs-on .hx-reset-panel:not([data-active]) { display: none; }
.hx-reset-panel + .hx-reset-panel { margin-top: 64px; }
.hx-reset-panel:focus-visible { outline: 1px solid var(--rule-dark); outline-offset: 12px; border-radius: var(--radius); }

.hx-codex-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 8px clamp(20px, 3vw, 40px);
  align-items: start;
}

.hx-codex-intro p { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--on-dark-soft); font-size: .76rem; line-height: 1.3; max-width: 52ch; }
.hx-codex-intro .hx-h2 { margin-block-end: 4px; }

.hx-codex-nums { display: grid; gap: 4px; }

.hx-codex-count { display: flex; align-items: flex-end; gap: 16px; }
.hx-codex-count strong {
  font: 300 clamp(2rem, 2.3vw, 2.4rem) / 0.9 var(--font-display);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--on-dark);
}
.hx-codex-count > div { display: grid; gap: 2px; padding-block-end: 0; line-height: 1.1; }
.hx-codex-unit { font-weight: 600; font-size: .72rem; line-height: 1.2; }
.hx-codex-last { margin: 0; color: var(--on-dark-soft); font-size: .66rem; line-height: 1.2; }
.hx-conf.confirmed { color: var(--on-dark); }

.hx-codex-next {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-block-start: 4px;
  border-top: 1px solid var(--rule-dark);
}
.hx-codex-next-k { color: var(--on-dark-soft); font-size: .64rem; line-height: 1.15; }
.hx-codex-next strong { font: 700 .88rem / 1.15 var(--font-display); color: var(--live-on); transition: color 460ms var(--ease); }
.hx-codex-est { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; color: var(--on-dark-soft); font-size: .6rem; line-height: 1.15; }

.hx-rail-box { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule-dark); }
.hx-rail-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; }
.hx-rail-head h3 { margin: 0; font: 700 .88rem / 1.3 var(--font-display); }
.hx-rail-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; color: var(--on-dark-soft); font-size: .72rem; line-height: 1.1; }
.hx-rail-legend li { display: inline-flex; align-items: center; gap: 8px; }
.hx-rail-legend i { width: 10px; height: 10px; border-radius: 50%; }
.hx-rail-legend i.is-reset, .hx-rail-event.is-reset::before { background: var(--live-on); }
.hx-rail-legend i.is-reported, .hx-rail-event.is-reported::before { background: transparent; box-shadow: inset 0 0 0 2px var(--live-on); }
.hx-rail-legend i.is-credit, .hx-rail-event.is-credit::before { background: var(--on-dark-soft); border-radius: 2px; }
.hx-rail-legend i.is-banked, .hx-rail-event.is-banked::before { background: var(--on-dark); }

.hx-rail { position: relative; height: 26px; margin-top: 4px; direction: ltr; }
.hx-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rule-dark); }
.hx-rail-week { position: absolute; top: calc(50% - 6px); width: 1px; height: 12px; background: rgba(244, 243, 238, 0.22); }
.hx-rail-event { position: absolute; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; display: grid; place-items: center; cursor: pointer; direction: rtl; text-decoration: none !important; }
.hx-rail-event::before { content: ""; width: 12px; height: 12px; border-radius: 50%; transition: transform 300ms var(--ease); }
.hx-rail-event.is-credit::before { width: 10px; height: 10px; transform: rotate(45deg); }
.hx-rail-event:hover::before, .hx-rail-event:focus-visible::before { transform: scale(1.4); }
.hx-rail-event.is-credit:hover::before { transform: rotate(45deg) scale(1.4); }
.hx-rail-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: 260px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--on-dark);
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: start;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 180ms linear, transform 260ms var(--ease), visibility 0s 200ms;
  pointer-events: none;
}
.hx-rail-tip em { font-style: normal; font-weight: 600; }
.hx-rail-event.near-today .hx-rail-tip { left: 0; transform: translate(-8px, 6px); }
.hx-rail-event.near-start .hx-rail-tip { left: auto; right: 0; transform: translate(8px, 6px); }
.hx-rail-event:hover .hx-rail-tip, .hx-rail-event:focus-visible .hx-rail-tip { opacity: 1; visibility: visible; transition-delay: 0s; transform: translate(-50%, 0); }
.hx-rail-event.near-today:hover .hx-rail-tip, .hx-rail-event.near-today:focus-visible .hx-rail-tip { transform: translate(-8px, 0); }
.hx-rail-event.near-start:hover .hx-rail-tip, .hx-rail-event.near-start:focus-visible .hx-rail-tip { transform: translate(8px, 0); }
.hx-rail-dates { display: flex; justify-content: space-between; color: var(--on-dark-soft); font: 400 .62rem / 1.2 var(--font-sans); direction: ltr; }
.hx-rail-dates time { direction: rtl; }
.hx-rail-dates time:first-child { color: var(--on-dark); }
.hx-codex-note { margin: 4px 0 0; color: var(--on-dark-soft); font-size: .6rem; line-height: 1.2; }

/* ==========================================================================
   Glossary — calm, straight; one live highlight moves between the terms
   ========================================================================== */
.hx-head-stack { display: grid; gap: 10px; justify-content: start; }
.hx-head-stack p { margin: 0; color: var(--ink-soft); font-size: 1.0625rem; }

.hx-gloss {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px clamp(32px, 5vw, 80px);
  align-items: center;
}

.hx-gloss-words {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 6px 0.2em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hx-gloss-word {
  position: relative;
  z-index: 1;
  padding: 0.02em 0.2em 0.08em;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color 300ms var(--ease), opacity 170ms linear;
}
.hx-gloss-word.is-swap { opacity: 0; }
.hx-gloss-word::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: -0.12em;
  width: 0.08em;
  height: 0.08em;
  background: var(--rule-strong);
  pointer-events: none;
}
.hx-gloss-word:last-of-type::after { content: none; }
.hx-gloss-word:hover { color: var(--live); }
.hx-gloss-word.is-on { color: #fff; }
.hx-gloss-def[hidden] { display: none !important; }
html.hx-js .hx-gloss-def { opacity: 1; visibility: visible; transform: none; transition: none; }

.hx-gloss-marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100px;
  height: 100px;
  border-radius: 4px;
  background: var(--live);
  transform-origin: 0 0;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(var(--msx, 0), var(--msy, 0));
  transition: transform 560ms var(--ease);
  pointer-events: none;
}

.hx-gloss-card {
  position: relative;
  display: grid;
  min-height: 220px;
  padding: 28px 30px 32px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}
.hx-gloss-def h3 { margin: 0 0 10px; font: 800 clamp(1.8rem, 2.6vw, 2.4rem) / 1.1 var(--font-display); letter-spacing: -0.02em; }
.hx-gloss-def p { margin: 0; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.65; text-wrap: pretty; }
.hx-gloss-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--live); transform: scaleX(0); transform-origin: right center; }

html.hx-js .hx-gloss-def {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 260ms linear, transform 460ms var(--ease), visibility 0s 460ms;
}
html.hx-js .hx-gloss-def.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 80ms, 80ms, 0s; }
html:not(.hx-js) .hx-gloss { grid-template-columns: minmax(0, 1fr); }
html:not(.hx-js) .hx-gloss-def + .hx-gloss-def { margin-top: 18px; }

/* ==========================================================================
   Join — brand colours live only here
   ========================================================================== */
.hx-join { background: var(--paper-2); }
.hx-join-inner { display: grid; justify-items: start; gap: 18px; }
.hx-mark-join { font-size: clamp(44px, 6vw, 84px); margin-block-end: 6px; }
.hx-join-title { max-width: 22ch; }

.hx-join-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 14px; }
.hx-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 270px;
  height: 66px;
  padding-inline: 18px 20px;
  border-radius: var(--radius);
  color: #fff;
  transition: transform 260ms var(--ease), filter 220ms var(--ease);
}
.hx-join-btn.is-wa { background: var(--wa); }
.hx-join-btn.is-tg { background: var(--tg); }
.hx-join-btn svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.hx-join-btn span { display: grid; gap: 2px; line-height: 1.2; }
.hx-join-btn b { font-weight: 600; font-size: 1.0625rem; }
.hx-join-btn small { font-size: 0.8125rem; opacity: 0.86; }
.hx-join-btn i { margin-inline-start: auto; font-style: normal; opacity: 0.8; }
.hx-join-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.hx-join-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

html[data-a11y="1"] .hx-ribbon-item { min-height: 24px; align-items: center; }
html[data-a11y="1"] .hx-ribbon-item time { color: #303030; }
html[data-a11y="1"] .hx-ribbon-tag { min-width: 112px; }
html[data-a11y="1"][data-motion-paused="1"] .hx-ribbon-track,
html[data-a11y="1"][data-motion-paused="1"] .hx-ribbon-tag i,
html[data-a11y="1"][data-motion-paused="1"] .hx-bgw,
html[data-a11y="1"][data-motion-paused="1"] .hx-bgw *,
html[data-a11y="1"][data-motion-paused="1"] [data-verb],
html[data-a11y="1"][data-motion-paused="1"] .hx-gloss-marker,
html[data-a11y="1"][data-motion-paused="1"] .hx-gloss-def { animation-play-state: paused !important; transition-duration: 0s !important; }
html[data-a11y="1"] .hx-join-btn.is-wa { color: #062b18; }
html[data-a11y="1"] .hx-join-btn.is-wa b,
html[data-a11y="1"] .hx-join-btn.is-wa small { color: #062b18 !important; opacity: 1; }
html[data-a11y="1"] .hx-join-btn.is-tg { background: #0c5f83; color: #fff; }
html[data-a11y="1"] .hx-join-btn.is-tg b,
html[data-a11y="1"] .hx-join-btn.is-tg small { color: #fff !important; opacity: 1; }
html[data-a11y="1"] .hx-rail-event { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
html[data-a11y="1"] .hx-gloss-marker { display: none; }
html[data-a11y="1"] .hx-gloss-word.is-on { color: var(--ink); text-decoration: underline; text-decoration-color: var(--live); text-decoration-thickness: 4px; text-underline-offset: .14em; }
html[data-a11y="1"] #hx-videos-title > .hx-h2-by > .hx-h2-prep { color: #303030; }
html[data-a11y="1"] .hx-gloss-def p { color: #373943; }

/* ==========================================================================
   Background AI words (v2): one per section, ink at 5.5% (paper at 5% on carbon), Heebo 800.
   fh's postures and renewal effects are back, made subtle: small angles and amplitudes, short
   effects (~0.3-0.5 s), long pauses (12-16 s, fj-home.js). Postures use the individual translate /
   rotate properties per letter, so the effects (transform) stack on top of them.
   ========================================================================== */
.hx-bgw {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  --ox: 0%;
  --oy: 0%;
  --rot: -4deg;
  transform: translate(var(--ox), var(--oy)) rotate(var(--rot));
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: rgba(14, 15, 22, 0.055);
  pointer-events: none;
  user-select: none;
  perspective: 900px;
}
.hx-codex .hx-bgw { color: rgba(244, 243, 238, 0.05); }
html.hx-bgw-slots .hx-bgw { --ox: -50%; --oy: -50%; }
.hx-bgw[hidden] { display: none; }
.hx-bgw-o { display: inline-block; white-space: pre; }
.hx-bgw-o > span {
  --k: calc(var(--i, 0) - var(--c, 0));
  display: inline-block;
  white-space: pre;
  transform-origin: 50% 60%;
  backface-visibility: hidden;
  transition: transform 380ms var(--ease), opacity 300ms linear;
  transition-delay: calc(var(--i, 0) * 28ms);
}

/* postures (small) */
.hx-bgw[data-shape="arch"] .hx-bgw-o > span { translate: 0 calc(var(--k) * var(--k) * 0.014em); rotate: calc(var(--k) * 2.6deg); }
.hx-bgw[data-shape="sag"] .hx-bgw-o > span { translate: 0 calc(var(--k) * var(--k) * -0.013em); rotate: calc(var(--k) * -2.2deg); }
.hx-bgw[data-shape="wave"] .hx-bgw-o > span { translate: 0 calc(sin(var(--i, 0) * 62deg) * 0.08em); rotate: calc(cos(var(--i, 0) * 62deg) * 4deg); }

/* renewals: a short exit, a short absence, a short entrance (fj-home.js); the scramble is in place */
.hx-bgw.is-gone .hx-bgw-o > span { opacity: 0; transition: none; }
.hx-bgw[data-fx="flip"].is-out .hx-bgw-o > span { transform: rotateX(88deg); opacity: 0; }
.hx-bgw[data-fx="flip"].is-pre .hx-bgw-o > span { transform: rotateX(-88deg); opacity: 0; transition: none; }
.hx-bgw[data-fx="dissolve"] .hx-bgw-o > span { transition-delay: calc(var(--j, 0) * 30ms); }
.hx-bgw[data-fx="dissolve"].is-out .hx-bgw-o > span { transform: translateY(calc(var(--d, 1) * 0.12em)) scale(0.94); opacity: 0; }
.hx-bgw[data-fx="dissolve"].is-pre .hx-bgw-o > span { transform: translateY(calc(var(--d, 1) * -0.12em)) scale(1.04); opacity: 0; transition: none; }
.hx-bgw[data-fx="rain"] .hx-bgw-o > span { transition-delay: calc(var(--j, 0) * 26ms); }
.hx-bgw[data-fx="rain"].is-out .hx-bgw-o > span { transform: translateY(0.22em) rotate(calc(var(--d, 1) * 12deg)); opacity: 0; }
.hx-bgw[data-fx="rain"].is-pre .hx-bgw-o > span { transform: translateY(-0.22em) rotate(calc(var(--d, 1) * -9deg)); opacity: 0; transition: none; }
.hx-bgw[data-fx="rise"].is-out .hx-bgw-o > span { transform: translateY(-0.18em); opacity: 0; }
.hx-bgw[data-fx="rise"].is-pre .hx-bgw-o > span { transform: translateY(0.18em); opacity: 0; transition: none; }

/* no-JS fallback positions (with JS, fj-home.js computes a free slot) */
html:not(.hx-bgw-slots) .hx-bgw { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hx-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-codex-top { grid-template-columns: minmax(0, 1fr); }
}

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

@media (max-width: 759px) {
  .hx-sec { padding-block: 56px; }
  .hx-head { margin-block-end: 24px; }
  .hx-h2 { font-size: clamp(1.75rem, 7.6vw, 2.2rem); }
  .hx-head-dek { font-size: 1rem; }
  .hx-board { gap: 22px 16px; padding-block: 16px 20px; }
  .hx-note { min-height: 188px; padding: 24px 13px 12px; margin-top: calc(var(--drop, 0px) * 0.4); border-radius: 3px 3px 3px 20px; }
  .hx-note-main { min-height: 152px; }
  .hx-note-expand, .hx-note-go { width: 34px; height: 34px; }
  .hx-note::after { width: 20px; height: 20px; border-radius: 0 0 0 20px; }
  .hx-note-type { margin-block-end: 8px; font-size: 0.75rem; padding: 1px 8px 2px; }
  .hx-note-title { font-size: 0.98rem; line-height: 1.34; -webkit-line-clamp: 5; }
  .hx-note-foot { margin-inline-end: 14px; padding-block-start: 10px; }
  .hx-note-foot time { font-size: 0.75rem; }
  .hx-reel { --reel-gap: 14px; --reel-peek: 44px; }
  .hx-reel::after { content: ""; flex-basis: calc(var(--reel-peek) - var(--reel-gap)); }
  .hx-clip { flex-basis: calc(100% - var(--reel-peek)); }
  .hx-tick { height: 44px; }
  .hx-tick-articles { height: 42px; }
  .hx-ribbon-tag { width: 84px; padding-inline: 14px 10px; font-size: 0.8125rem; gap: 8px; }
  .hx-ribbon-item { font-size: 0.875rem; padding-inline: 16px; }
  .hx-codex { padding-block: 10px !important; }
  .hx-codex-count strong { font-size: clamp(2rem, 10vw, 2.4rem); }
  .hx-rail, .hx-rail-dates { margin-inline: 12px; }
  .hx-reset-tabs { font-size: 0.62rem; }
  .hx-note-date { display: none; }
  .hx-reset-switch { gap: 4px 12px; margin-block-end: 4px; }
  .hx-reset-title { font-size: clamp(1.1rem, 4.4vw, 1.4rem); }
  .hx-mark-codex { font-size: 16px; }
  .hx-codex-by { display: none; }
  .hx-rail-legend { line-height: 1.05; }
  .hx-rail-legend li { line-height: 1.05; }
  .hx-codex-top { gap: 6px; }
  .hx-codex-intro p { max-width: none; }
  .hx-rail-box { margin-top: 6px; }
  .hx-gloss-words { font-size: clamp(1.6rem, 7.4vw, 2rem); }
  .hx-gloss-card { padding: 22px 20px 26px; min-height: 190px; }
  .hx-join-btns { display: grid; width: 100%; }
  .hx-join-btn { min-width: 0; width: 100%; }
  .hx-mark-join { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { transition: none; }
  .hx-note, .hx-gloss-marker, .hx-gloss-def, .hx-bgw-o > span { transition: none !important; }
  .fj-lamp { display: none; }
  .hx-ribbon-track { animation: none; }
  .hx-ribbon-tag i { animation: none; }
  .hx-ribbon { overflow-x: auto; }
}

/* ==========================================================================
   Mobile pass (BRIEF-mobile, 27.11)
   - no travelling mark on phones / small touch screens (fj-home.js): every slot shows its own
     static mark; the flying copy is not even laid out then.
   - tablet portrait (761-900): the videos are a snap row too (no lone 560px column).
   - touch targets >= 44px through invisible hit areas (nothing moves on screen).
   ========================================================================== */
html:not(.hx-travel) .hx-mark-fly { display: none; }

@media (min-width: 760px) and (max-width: 900px) {
  .hx-reel { --reel-gap: 16px; }
  .hx-clip { flex-basis: calc((100% - var(--reel-gap)) / 2); }
}

@media (max-width: 760px), (pointer: coarse) {
  .hx-more { min-height: 44px; box-sizing: border-box; }
  .hx-reset-tabs button { position: relative; }
  .hx-reset-tabs button::after { content: ""; position: absolute; inset: -8px 0; }
  .hx-codex-last a, .hx-codex-note a { position: relative; }
  .hx-codex-last a::after, .hx-codex-note a::after { content: ""; position: absolute; inset: -14px -6px; }
  .hx-rail-event::after { content: ""; position: absolute; inset: -8px; }
  .hx-gloss-word::before { content: ""; position: absolute; inset: -6px 0; }
}

html[data-a11y="1"] .hx-rail-event { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
html[data-a11y="1"] .hx-rail-event::after { inset: 0; }
html[data-a11y="1"] .hx-rail-event[hidden] { display: none !important; }
html[data-a11y="1"] .hx-rail-tip span { display: block; }
html[data-a11y="1"] .hx-codex-last a,
html[data-a11y="1"] .hx-codex-note a { display: inline-flex; align-items: center; min-height: 24px; }

/* ==========================================================================
   Round 23 · r6 — a slot shows nothing until the flying mark lands in it (Nadav, 29.11)
   While the mark travels (html.hx-fly-on): a section title's byline ("של nVision AI") is invisible, the
   whole of it — preposition and logo — until the mark docks (.is-docked); when the mark jumps on, the
   byline fades out again. Only opacity changes, so nothing shifts. The footer logo (join) is always
   shown. No travel (phones, reduced motion, stop-motion, no JS): every byline is simply there.
   ========================================================================== */
html.hx-fly-on .hx-h2-by .hx-h2-prep,
html.hx-fly-on .hx-h2-by .hx-mark:not(.is-docked),
html.hx-fly-on .hx-codex-by .hx-mark[data-mark-slot="codex"]:not(.is-docked) { opacity: 0; transition: opacity 170ms linear; }
html.hx-fly-on .hx-h2-by .hx-mark.is-docked,
html.hx-fly-on .hx-codex-by .hx-mark.is-docked { opacity: 1; transition: none; }
html.hx-fly-on .hx-h2-by:has(.hx-mark.is-docked) .hx-h2-prep { opacity: 1; transition: opacity 240ms linear; }
