/* hitl.es shared chrome — header, closing CTA band, footer. Identical on every page.
   Self-contained: own tokens, namespaced classes (hc-). Fonts (IBM Plex Sans/Serif/Mono)
   are loaded by each page. Source of truth: this file + assets/chrome-*.html snippets. */

.hc-nav, .hc-foot, .hc-bar {
  --hc-ink: #111111; --hc-muted: #6f6f6f; --hc-soft: #525252; --hc-line: #dde1e6;
  --hc-blue: #0f62fe; --hc-blue-dark: #0043ce; --hc-dark: #161616; --hc-neon: #4589ff;
  --hc-ink-dark: #f2efe9; --hc-soft-dark: #8a9099; --hc-muted-dark: #78808c;
  --hc-font: 'IBM Plex Sans', 'Helvetica Neue', Arial, ui-sans-serif, system-ui, sans-serif;
  --hc-serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --hc-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --hc-ease: cubic-bezier(0.25, 1, 0.5, 1);
  font-family: var(--hc-font); letter-spacing: -0.01em; box-sizing: border-box;
}
.hc-nav *, .hc-foot *, .hc-bar * { box-sizing: border-box; margin: 0; padding: 0; }
.hc-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; min-width: 0; }
html { scroll-padding-top: 96px; }
@media (max-width: 860px) { html { scroll-padding-top: 132px; } }

/* ---------- header ---------- */
.hc-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .18s var(--hc-ease), background-color .18s var(--hc-ease); }
.hc-nav.is-scrolled { border-bottom-color: var(--hc-line); background: rgba(255,255,255,0.92); }
/* past the top the header flies in as a floating glass bar (Andreas 2026-11-05, Kosmos reference); 12px gap + 64px bar = the 76px header, so nothing below jumps */
@media (min-width: 861px) {
  .hc-nav.is-scrolled.is-floating { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hc-nav.is-floating .hc-nav-inner { height: 64px; max-width: 1240px; margin: 12px auto 0; padding: 0 10px 0 26px; background: rgba(255,255,255,0.86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--hc-line); border-radius: 16px; box-shadow: 0 14px 36px -18px rgba(22,22,22,0.32), 0 1px 2px rgba(22,22,22,0.04); animation: hc-fly-in .45s cubic-bezier(.22,1,.36,1) both; }
  @keyframes hc-fly-in { from { opacity: 0; transform: translateY(-120%); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .hc-nav.is-floating .hc-nav-inner { animation: none; } }
.hc-nav-inner { height: 76px; max-width: 1640px; margin: 0 auto; padding: 0 clamp(20px, 3.5vw, 56px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hc-menu { justify-self: start; }
.hc-nav .hc-brand { justify-self: center; }
.hc-cta { justify-self: end; }
.hc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--hc-ink); }
.hc-brand svg { flex: none; display: block; }
.hc-wm { font-weight: 700; font-size: 15px; letter-spacing: 0.045em; text-transform: uppercase; color: var(--hc-ink); white-space: nowrap; line-height: 1; }
.hc-wm em { font-style: normal; color: var(--hc-blue); }
.hc-menu { display: flex; align-items: center; gap: 26px; min-width: 0; }
.hc-menu a { color: var(--hc-muted); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .18s var(--hc-ease); padding: 11px 0; }
.hc-menu a:hover { color: var(--hc-ink); }
.hc-menu a[aria-current="page"] { color: var(--hc-ink); box-shadow: inset 0 -2px 0 var(--hc-blue); }
.hc-cta { display: flex; gap: 26px; align-items: center; }
.hc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; font-family: var(--hc-font); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; border: 1px solid var(--hc-blue); background: var(--hc-blue); color: #fff; padding: 13px 24px; border-radius: 2px; transition: background-color .18s var(--hc-ease), border-color .18s var(--hc-ease), color .18s var(--hc-ease), transform .18s var(--hc-ease); white-space: nowrap; }
.hc-btn:hover { background: var(--hc-blue-dark); border-color: var(--hc-blue-dark); color: #fff; }
.hc-btn:active { transform: scale(0.97); transition-duration: 0s; }
.hc-btn:focus-visible { outline: 2px solid var(--hc-blue); outline-offset: 2px; }
.hc-cta .hc-btn { padding: 9px 18px; font-size: 13px; }
.hc-btn-ghost { background: transparent; color: var(--hc-ink); border-color: var(--hc-ink); }
.hc-btn-ghost:hover { background: var(--hc-ink); border-color: var(--hc-ink); color: #fff; }
@media (max-width: 860px) {
  .hc-nav-inner { height: auto; display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 0; padding-top: 12px; padding-bottom: 2px; }
  .hc-brand { flex: 1 1 auto; min-width: 0; }
  .hc-cta { flex: 0 0 auto; order: 2; }
  .hc-menu { flex: 1 0 100%; order: 3; gap: 22px; justify-content: center; overflow-x: auto; padding: 6px 0 3px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hc-menu::-webkit-scrollbar { display: none; }
  .hc-nav-inner { gap: 12px; }
  .hc-cta .hc-btn { padding: 12px 14px; font-size: 12.5px; }
}


/* ---------- footer ---------- */
.hc-foot { background: var(--hc-dark); color: var(--hc-soft-dark); padding: 88px 0 36px; border-top: 1px solid rgba(242,239,233,0.12); font-size: 15px; line-height: 1.5; }
.hc-foot .hc-brand { color: var(--hc-ink-dark); text-decoration: none; }
.hc-foot .hc-wm { color: var(--hc-ink-dark); }
.hc-foot .hc-wm em { color: var(--hc-neon); }
.hc-foot a { color: var(--hc-soft-dark); text-decoration: none; transition: color .18s var(--hc-ease); }
.hc-foot a:hover { color: var(--hc-ink-dark); }
.hc-foot a:focus-visible { outline: 2px solid var(--hc-neon); outline-offset: 3px; border-radius: 2px; }
.hc-foot-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.hc-foot-tag { margin-top: 28px; max-width: 16ch; text-wrap: balance; font-family: var(--hc-serif); font-size: 32px; font-weight: 400; line-height: 1.15; letter-spacing: -0.015em; color: var(--hc-ink-dark); }
.hc-foot-founder { margin-top: 36px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--hc-soft-dark); }
.hc-ff-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; filter: grayscale(1) contrast(1.05); border: 1px solid rgba(242,239,233,0.16); }
.hc-ff-by { display: block; font-size: 13px; color: var(--hc-muted-dark); }
.hc-ff-name { display: block; color: var(--hc-ink-dark); }
.hc-foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 6px; }
.hc-foot-h { margin-bottom: 14px; font-family: var(--hc-mono); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hc-muted-dark); }
.hc-foot-cols a { display: block; width: fit-content; padding: 7px 0; font-size: 15px; }
.hc-foot-bottom { margin-top: 88px; padding-top: 24px; border-top: 1px solid rgba(242,239,233,0.12); display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: var(--hc-muted-dark); }
.hc-foot-bottom a { display: inline-block; padding: 8px 0; color: var(--hc-muted-dark); }
.hc-foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
@media (max-width: 900px) { .hc-foot-main { grid-template-columns: 1fr; gap: 56px; } }
@media (max-width: 560px) { .hc-foot { padding-top: 72px; } .hc-foot-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .hc-foot-tag { font-size: 28px; } .hc-foot-bottom { margin-top: 64px; } }

/* ---------- announcement bar (workshop / enrollment) ---------- */
.hc-bar { background: var(--hc-dark); color: var(--hc-ink-dark); }
.hc-bar a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 22px; max-width: 1280px; margin: 0 auto; padding: 20px 24px; text-decoration: none; color: inherit; font-size: 20px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.35; }
.hc-bar .hc-bar-cd { font-weight: 600; font-size: 24px; color: var(--hc-ink-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-bar .hc-bar-cta { font-weight: 600; font-size: 17px; color: #fff; background: #0f62fe; padding: 10px 20px; white-space: nowrap; text-decoration: none; transition: background .18s var(--hc-ease); }
.hc-bar a:hover .hc-bar-cta { background: #0050e6; }
.hc-bar a:focus-visible { outline: 2px solid var(--hc-neon); outline-offset: -4px; }
@media (max-width: 860px) {
  .hc-bar a { gap: 8px 14px; padding: 16px 16px; font-size: 16.5px; }
  .hc-bar .hc-bar-cd { font-size: 19px; }
  .hc-bar .hc-bar-cta { font-size: 15px; padding: 9px 18px; }
}

/* one primary action in the closing band, the alternatives read as links */
