@import url("ask-zach-panel.css");

/* Super IC page — shared shell (header) + article layout only */
:root {
  --bg: #ffffff;
  --fg: #0d0d10;
  --muted: rgba(13, 13, 16, 0.55);
  --border-subtle: rgba(13, 13, 16, 0.1);
  --pill-radius: 999px;
  --card-radius: 24px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
}

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

html {
  scroll-padding-top: 88px;
  /* Reserve scrollbar width so layout doesn’t shift when page height crosses the fold */
  scrollbar-gutter: stable;
  /* Reduce viewport “bounce” when <details> open/close changes document height */
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: #020510;
  color: var(--fg);
  overscroll-behavior-y: contain;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header--arcane {
  backdrop-filter: blur(18px);
  background: linear-gradient(
    180deg,
    rgba(8, 10, 18, 0.94) 0%,
    rgba(4, 6, 12, 0.92) 100%
  );
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow:
    0 1px 0 rgba(79, 209, 197, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.header-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  flex-shrink: 0;
  min-width: 0;
}

.header-site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.header-identity {
  display: none;
}

.logo-link {
  display: block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.logo-wordmark {
  height: 38px;
  width: auto;
  max-width: 192px;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(79, 209, 197, 0.15));
}

/* Back to home — main toolbar / bio / toy box */
.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  align-self: flex-start;
  padding: 7px 12px 7px 10px;
  border-radius: 6px;
  font-family: "Barlow", var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(200, 255, 255, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.24);
  background: rgba(0, 12, 28, 0.5);
  box-shadow:
    0 0 16px rgba(0, 240, 255, 0.06),
    inset 0 0 0 1px rgba(236, 72, 255, 0.06);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.page-back-link:hover {
  color: rgba(255, 255, 255, 0.98);
  border-color: rgba(125, 253, 254, 0.42);
  background: rgba(6, 36, 52, 0.42);
  box-shadow:
    0 0 22px rgba(0, 210, 235, 0.32),
    0 0 40px rgba(150, 80, 210, 0.18),
    inset 0 0 0 1px rgba(236, 72, 255, 0.08);
}

.page-back-link:focus-visible {
  outline: 2px solid rgba(125, 253, 254, 0.78);
  outline-offset: 2px;
}

.page-back-link__arrow {
  flex-shrink: 0;
  display: block;
  color: rgba(125, 253, 254, 0.92);
}

.page-back-link:hover .page-back-link__arrow {
  color: rgba(200, 255, 255, 0.98);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
  flex: 1;
  min-width: 0;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links__trailing {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Theme switch (Space on | Modern off placeholder) — global header; Modern reskin wired later. */
.site-header--arcane .theme-mode {
  position: relative;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-header--arcane .theme-mode__label {
  margin: 0;
  font-family: "Barlow", var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  user-select: none;
}

.site-header--arcane .theme-mode__label--on {
  color: #ffffff;
}

.site-header--arcane .theme-mode__label--off {
  color: rgba(160, 200, 210, 0.6);
}

.site-header--arcane .theme-mode__switch {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: not-allowed;
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-header--arcane .theme-mode__track {
  position: relative;
  display: block;
  width: 38px;
  height: 20px;
  border-radius: 999px;
  box-sizing: border-box;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 255, 0.35) 0%,
    rgba(0, 40, 60, 0.6) 55%,
    rgba(8, 0, 22, 0.9) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 255, 255, 0.55),
    0 0 12px rgba(0, 240, 255, 0.22),
    0 0 0 1px rgba(236, 72, 255, 0.12) inset;
}

.site-header--arcane .theme-mode__thumb {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 10px rgba(0, 255, 255, 0.55),
    0 0 0 1px rgba(0, 255, 255, 0.35) inset;
  transition: transform 0.25s ease;
}

.site-header--arcane
  .theme-mode__switch[aria-checked="false"]
  .theme-mode__thumb {
  transform: translateX(18px);
}

.site-header--arcane .theme-mode__switch:focus-visible {
  outline: 2px solid rgba(79, 209, 197, 0.9);
  outline-offset: 2px;
  border-radius: 999px;
}

.site-header--arcane .nav-pill {
  padding: 9px 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  font-family: "Barlow", var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200, 255, 255, 0.92);
  text-decoration: none;
  border: none;
  background: linear-gradient(
    165deg,
    rgba(0, 30, 40, 0.92) 0%,
    rgba(10, 0, 28, 0.94) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 255, 255, 0.45),
    0 0 18px rgba(0, 240, 255, 0.2),
    0 0 0 1px rgba(236, 72, 255, 0.15) inset;
  transition:
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.site-header--arcane
  .nav-pill:hover:not(.nav-pill--fun):not(.nav-pill--linkedin):not(
    .nav-pill--yeti
  ):not(.nav-pill--music):not(.nav-pill--mindset):not(.nav-pill--rocket):not(.nav-pill--bio):not(
    .nav-pill--resume-icon
  ) {
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(0, 255, 255, 0.85),
    0 0 28px rgba(0, 240, 255, 0.45),
    0 0 24px rgba(236, 72, 255, 0.25);
  transform: translateY(-1px);
}

.site-header--arcane .nav-pill:active:not(.nav-pill--linkedin):not(
    .nav-pill--yeti
  ):not(.nav-pill--fun):not(.nav-pill--music):not(.nav-pill--primary):not(
    .nav-pill--mindset
  ):not(.nav-pill--bio):not(.nav-pill--resume-icon) {
  transform: translateY(0);
  box-shadow:
    0 0 0 1px rgba(0, 255, 255, 0.5),
    0 0 10px rgba(0, 240, 255, 0.14),
    0 0 0 1px rgba(236, 72, 255, 0.12) inset;
}

.site-header--arcane
  .nav-pill:focus-visible:not(.nav-pill--fun):not(.nav-pill--linkedin):not(
    .nav-pill--yeti
  ):not(.nav-pill--music):not(.nav-pill--mindset):not(.nav-pill--rocket):not(.nav-pill--bio):not(
    .nav-pill--resume-icon
  ) {
  outline: 2px solid rgba(79, 209, 197, 0.85);
  outline-offset: 3px;
}

.site-header--arcane .nav-pill--primary:focus-visible {
  outline-color: rgba(125, 253, 254, 0.95);
}

.site-header--arcane
  .nav-pill[aria-current="page"]:not(.nav-pill--fun):not(
    .nav-pill--mindset
  ):not(.nav-pill--bio):not(.nav-pill--resume-icon):not(.nav-pill--linkedin):not(
    .nav-pill--yeti
  ):not(.nav-pill--music) {
  color: #ffffff;
  background: linear-gradient(
    165deg,
    rgba(0, 80, 90, 0.55) 0%,
    rgba(40, 0, 60, 0.85) 100%
  );
  box-shadow:
    0 0 0 2px rgba(0, 255, 255, 0.75),
    0 0 24px rgba(0, 255, 255, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* CTA: richer fill + soft depth; white hairline (cyan ring reserved for aria-current). */
.site-header--arcane .nav-pill--primary {
  color: rgba(255, 254, 248, 0.98);
  background: linear-gradient(
    165deg,
    rgba(12, 42, 52, 0.96) 0%,
    rgba(18, 14, 48, 0.97) 48%,
    rgba(48, 14, 52, 0.98) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.62),
    0 6px 22px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(110, 48, 150, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  text-shadow: none;
  transform: none;
}

/* Overrides generic .nav-pill:hover (no faux stroke); hover adds lift + glow only */
.site-header--arcane .nav-pill--primary:hover {
  color: #ffffff;
  background: linear-gradient(
    165deg,
    rgba(18, 58, 68, 0.97) 0%,
    rgba(24, 20, 58, 0.98) 46%,
    rgba(58, 22, 62, 0.99) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.78),
    0 8px 28px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(130, 70, 170, 0.28),
    0 0 22px rgba(0, 200, 210, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  transform: translateY(-1px);
}

.site-header--arcane .nav-pill--primary:active {
  color: rgba(235, 255, 255, 0.98);
  background: linear-gradient(
    165deg,
    rgba(6, 28, 38, 0.98) 0%,
    rgba(10, 10, 32, 0.98) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 3px 14px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(80, 36, 110, 0.18),
    inset 0 2px 10px rgba(0, 0, 0, 0.28);
  transform: translateY(0);
}

/* Icon / glyph pills: higher specificity than .nav-pill alone so cyan frame doesn’t leak through */
.site-header--arcane a.nav-pill.nav-pill--linkedin,
.site-header--arcane a.nav-pill.nav-pill--fun,
.site-header--arcane a.nav-pill.nav-pill--yeti,
.site-header--arcane a.nav-pill.nav-pill--mindset,
.site-header--arcane a.nav-pill.nav-pill--rocket,
.site-header--arcane a.nav-pill.nav-pill--bio,
.site-header--arcane a.nav-pill.nav-pill--resume-icon,
.site-header--arcane button.nav-pill.nav-pill--music {
  border: none;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.site-header--arcane a.nav-pill--fun[aria-current="page"] {
  background: rgba(6, 36, 52, 0.42);
  color: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 22px rgba(0, 210, 235, 0.38),
    0 0 48px rgba(150, 80, 210, 0.24);
  transform: none;
}

.site-header--arcane a.nav-pill--fun[aria-current="page"]:hover,
.site-header--arcane a.nav-pill--fun[aria-current="page"]:focus-visible,
.site-header--arcane a.nav-pill--fun[aria-current="page"]:active {
  outline: none;
  background: rgba(6, 42, 58, 0.52);
  box-shadow:
    0 0 28px rgba(0, 220, 245, 0.45),
    0 0 56px rgba(160, 90, 220, 0.28);
  transform: none;
}

.site-header--arcane a.nav-pill--mindset[aria-current="page"],
.site-header--arcane a.nav-pill--rocket[aria-current="page"],
.site-header--arcane a.nav-pill--bio[aria-current="page"] {
  background: transparent;
  box-shadow: none;
  color: inherit;
  transform: none;
}

.site-header--arcane a.nav-pill--mindset[aria-current="page"] img,
.site-header--arcane a.nav-pill--rocket[aria-current="page"] img,
.site-header--arcane a.nav-pill--bio[aria-current="page"] img {
  filter: brightness(1.14)
    drop-shadow(0 0 10px rgba(125, 253, 254, 0.35));
}

.site-header--arcane a.nav-pill--mindset[aria-current="page"]:hover,
.site-header--arcane a.nav-pill--rocket[aria-current="page"]:hover,
.site-header--arcane a.nav-pill--bio[aria-current="page"]:hover {
  outline: none;
  background: rgba(6, 36, 52, 0.42);
  color: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 22px rgba(0, 210, 235, 0.38),
    0 0 48px rgba(150, 80, 210, 0.24);
  transform: none;
}

.site-header--arcane a.nav-pill--mindset[aria-current="page"]:focus-visible,
.site-header--arcane a.nav-pill--rocket[aria-current="page"]:focus-visible,
.site-header--arcane a.nav-pill--bio[aria-current="page"]:focus-visible {
  outline: none;
  background: rgba(6, 36, 52, 0.42);
  box-shadow:
    0 0 22px rgba(0, 210, 235, 0.38),
    0 0 48px rgba(150, 80, 210, 0.24);
}

.site-header--arcane a.nav-pill--mindset[aria-current="page"]:active,
.site-header--arcane a.nav-pill--rocket[aria-current="page"]:active,
.site-header--arcane a.nav-pill--bio[aria-current="page"]:active {
  outline: none;
  background: rgba(6, 42, 58, 0.52);
  box-shadow:
    0 0 28px rgba(0, 220, 245, 0.45),
    0 0 56px rgba(160, 90, 220, 0.28);
  transform: none;
}

/* Nav glyph pills — hover / focus / active match music (must beat a.nav-pill.nav-pill--* reset specificity) */
.site-header--arcane a.nav-pill.nav-pill--linkedin:hover,
.site-header--arcane a.nav-pill.nav-pill--yeti:hover,
.site-header--arcane a.nav-pill.nav-pill--mindset:hover,
.site-header--arcane a.nav-pill.nav-pill--rocket:hover,
.site-header--arcane a.nav-pill.nav-pill--bio:hover,
.site-header--arcane a.nav-pill.nav-pill--resume-icon:hover,
.site-header--arcane a.nav-pill.nav-pill--fun:hover {
  background: rgba(6, 36, 52, 0.42);
  color: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 22px rgba(0, 210, 235, 0.38),
    0 0 48px rgba(150, 80, 210, 0.24);
  opacity: 1;
  border: none;
  outline: none;
  transform: none;
}

.site-header--arcane a.nav-pill.nav-pill--linkedin:hover img,
.site-header--arcane a.nav-pill.nav-pill--yeti:hover img,
.site-header--arcane a.nav-pill.nav-pill--mindset:hover img,
.site-header--arcane a.nav-pill.nav-pill--rocket:hover img,
.site-header--arcane a.nav-pill.nav-pill--bio:hover img,
.site-header--arcane a.nav-pill.nav-pill--resume-icon:hover img,
.site-header--arcane a.nav-pill.nav-pill--fun:hover img {
  filter: brightness(1.12);
}

.site-header--arcane a.nav-pill.nav-pill--linkedin:focus-visible,
.site-header--arcane a.nav-pill.nav-pill--yeti:focus-visible,
.site-header--arcane a.nav-pill.nav-pill--mindset:focus-visible,
.site-header--arcane a.nav-pill.nav-pill--rocket:focus-visible,
.site-header--arcane a.nav-pill.nav-pill--bio:focus-visible,
.site-header--arcane a.nav-pill.nav-pill--resume-icon:focus-visible,
.site-header--arcane a.nav-pill.nav-pill--fun:focus-visible {
  outline: none;
  background: rgba(6, 36, 52, 0.42);
  box-shadow:
    0 0 22px rgba(0, 210, 235, 0.38),
    0 0 48px rgba(150, 80, 210, 0.24);
}

.site-header--arcane a.nav-pill.nav-pill--linkedin:focus-visible img,
.site-header--arcane a.nav-pill.nav-pill--yeti:focus-visible img,
.site-header--arcane a.nav-pill.nav-pill--mindset:focus-visible img,
.site-header--arcane a.nav-pill.nav-pill--rocket:focus-visible img,
.site-header--arcane a.nav-pill.nav-pill--bio:focus-visible img,
.site-header--arcane a.nav-pill.nav-pill--resume-icon:focus-visible img,
.site-header--arcane a.nav-pill.nav-pill--fun:focus-visible img {
  filter: brightness(1.12);
}

.site-header--arcane a.nav-pill.nav-pill--linkedin:active,
.site-header--arcane a.nav-pill.nav-pill--yeti:active,
.site-header--arcane a.nav-pill.nav-pill--mindset:active,
.site-header--arcane a.nav-pill.nav-pill--rocket:active,
.site-header--arcane a.nav-pill.nav-pill--bio:active,
.site-header--arcane a.nav-pill.nav-pill--resume-icon:active,
.site-header--arcane a.nav-pill.nav-pill--fun:active {
  outline: none;
  background: rgba(6, 42, 58, 0.52);
  box-shadow:
    0 0 28px rgba(0, 220, 245, 0.45),
    0 0 56px rgba(160, 90, 220, 0.28);
}

.site-header--arcane a.nav-pill.nav-pill--linkedin:active img,
.site-header--arcane a.nav-pill.nav-pill--yeti:active img,
.site-header--arcane a.nav-pill.nav-pill--mindset:active img,
.site-header--arcane a.nav-pill.nav-pill--rocket:active img,
.site-header--arcane a.nav-pill.nav-pill--bio:active img,
.site-header--arcane a.nav-pill.nav-pill--resume-icon:active img,
.site-header--arcane a.nav-pill.nav-pill--fun:active img {
  filter: brightness(1.14);
}

.site-header--arcane .nav-pill--linkedin {
  padding: 7px 8px;
}

.site-header--arcane .nav-pill--mindset,
.site-header--arcane .nav-pill--rocket,
.site-header--arcane .nav-pill--bio,
.site-header--arcane .nav-pill--resume-icon {
  padding: 6px 8px;
}

.site-header--arcane .nav-pill--linkedin img {
  display: block;
  width: calc(22px * 1.1);
  height: calc(22px * 1.1);
  object-fit: contain;
  filter: brightness(1.1);
  transition: filter 0.2s ease;
}

.site-header--arcane .nav-pill--mindset img,
.site-header--arcane .nav-pill--rocket img,
.site-header--arcane .nav-pill--bio img,
.site-header--arcane .nav-pill--resume-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  border: none;
  outline: none;
  filter: brightness(1.08);
  transition: filter 0.2s ease;
}

/* Nav icon labels: real text on hover/focus (not browser title tooltip). */
.site-header--arcane .nav-pill__hover-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: Barlow, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  margin-left: 0;
  transition:
    max-width 0.22s ease,
    opacity 0.2s ease,
    margin-left 0.22s ease;
  pointer-events: none;
}

.site-header--arcane a.nav-pill.nav-pill--rocket:hover .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--rocket:focus-visible .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--mindset:hover .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--mindset:focus-visible .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--bio:hover .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--bio:focus-visible .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--fun:hover .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--fun:focus-visible .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--resume-icon:hover .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--resume-icon:focus-visible .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--yeti:hover .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--yeti:focus-visible .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--linkedin:hover .nav-pill__hover-label,
.site-header--arcane a.nav-pill.nav-pill--linkedin:focus-visible .nav-pill__hover-label,
.site-header--arcane button.nav-pill.nav-pill--music:hover .nav-pill__hover-label,
.site-header--arcane button.nav-pill.nav-pill--music:focus-visible .nav-pill__hover-label {
  max-width: 7.5rem;
  opacity: 1;
  margin-left: 8px;
}

.site-header--arcane .nav-pill--music {
  padding: 6px 8px;
  cursor: pointer;
  border: none;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease,
    filter 0.2s ease;
}

.site-header--arcane .nav-pill--music img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(1.08);
  transition: filter 0.22s ease, transform 0.22s ease;
}

.site-header--arcane .nav-pill--music:hover:not(.is-active) {
  background: rgba(6, 36, 52, 0.42);
  color: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 22px rgba(0, 210, 235, 0.38),
    0 0 48px rgba(150, 80, 210, 0.24);
  opacity: 1;
}

.site-header--arcane .nav-pill--music:hover:not(.is-active) img {
  filter: brightness(1.12);
}

.site-header--arcane .nav-pill--music:focus-visible {
  outline: none;
  background: rgba(6, 36, 52, 0.42);
  box-shadow:
    0 0 22px rgba(0, 210, 235, 0.38),
    0 0 48px rgba(150, 80, 210, 0.24);
}

.site-header--arcane .nav-pill--music:focus-visible img {
  filter: brightness(1.12);
}

.site-header--arcane .nav-pill--music:active {
  outline: none;
  background: rgba(6, 42, 58, 0.52);
  box-shadow:
    0 0 28px rgba(0, 220, 245, 0.45),
    0 0 56px rgba(160, 90, 220, 0.28);
}

.site-header--arcane .nav-pill--music:active img {
  filter: brightness(1.14);
}

.site-header--arcane .nav-pill--music.is-active {
  outline: none;
  background: rgba(6, 36, 52, 0.42);
  color: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 22px rgba(0, 210, 235, 0.38),
    0 0 48px rgba(150, 80, 210, 0.24);
  opacity: 1;
}

.site-header--arcane .nav-pill--music.is-active:hover,
.site-header--arcane .nav-pill--music.is-active:focus-visible {
  background: rgba(6, 42, 58, 0.52);
  box-shadow:
    0 0 28px rgba(0, 220, 245, 0.45),
    0 0 56px rgba(160, 90, 220, 0.28);
}

.site-header--arcane .nav-pill--music.is-active img {
  filter: brightness(1.18) drop-shadow(0 0 6px rgba(125, 253, 254, 0.4));
}

.ambient-music-panel {
  position: fixed;
  right: clamp(10px, 2.5vw, 20px);
  bottom: clamp(10px, 2.5vw, 20px);
  z-index: 10050;
  max-width: min(22rem, calc(100vw - 24px));
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  font: inherit;
}

.ambient-music-panel__chrome {
  position: relative;
  padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1rem, 2.5vw, 1.25rem);
  border-radius: clamp(10px, 1.5vw, 14px);
  background: linear-gradient(
    165deg,
    rgba(6, 18, 32, 0.97) 0%,
    rgba(10, 8, 28, 0.98) 100%
  );
  border: 1px solid rgba(0, 255, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(236, 72, 255, 0.12) inset,
    0 18px 48px rgba(0, 0, 0, 0.55);
  color: rgba(238, 248, 255, 0.94);
}

.ambient-music-panel__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(220, 245, 255, 0.92);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.ambient-music-panel__close:hover {
  background: rgba(0, 40, 55, 0.55);
}

.ambient-music-panel__title {
  margin: 0 1.75rem 0.5rem 0;
  font-family: "Barlow", var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 220, 160, 0.95);
  text-shadow: 0 0 12px rgba(255, 200, 90, 0.25);
}

.ambient-music-panel__body {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(210, 225, 240, 0.92);
}

.ambient-music-panel__body:last-of-type {
  margin-bottom: 0.85rem;
}

.ambient-music-panel__em {
  color: rgba(125, 253, 254, 0.98);
  font-weight: 600;
}

.ambient-music-panel__foot {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(170, 200, 220, 0.88);
}

.ambient-music-panel__skip {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(200, 218, 235, 0.92);
  cursor: pointer;
}

.ambient-music-panel__skip-input {
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: rgba(0, 220, 245, 0.85);
  cursor: pointer;
}

.ambient-music-panel__link {
  color: rgba(125, 253, 254, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ambient-music-panel__link:hover {
  color: #ffffff;
}

.ambient-music-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-top: 0.15rem;
}

.ambient-music-panel__primary,
.ambient-music-panel__secondary {
  font-family: "Barlow", var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid rgba(0, 255, 255, 0.45);
}

.ambient-music-panel__primary {
  background: linear-gradient(
    165deg,
    rgba(12, 52, 62, 0.95) 0%,
    rgba(28, 14, 48, 0.96) 100%
  );
  color: rgba(255, 254, 248, 0.98);
  box-shadow: 0 0 18px rgba(0, 200, 220, 0.2);
}

.ambient-music-panel__primary:hover {
  box-shadow: 0 0 24px rgba(0, 220, 245, 0.32);
}

.ambient-music-panel__secondary {
  background: transparent;
  color: rgba(190, 215, 230, 0.9);
  border-color: rgba(120, 160, 180, 0.45);
}

.ambient-music-player-host {
  position: fixed;
  left: 0;
  top: 0;
  width: 2px;
  height: 2px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.ambient-music-player-host iframe,
.ambient-music-player-host__iframe {
  width: 240px;
  height: 135px;
  border: 0;
  transform: scale(0.01);
  transform-origin: 0 0;
}

.site-header--arcane .nav-pill--fun {
  cursor: pointer;
  padding: 2px 4px;
  overflow: visible;
  border-radius: 6px;
}

.site-header--arcane a.nav-pill--fun {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.site-header--arcane a.nav-pill--fun:hover,
.site-header--arcane a.nav-pill--fun:focus,
.site-header--arcane a.nav-pill--fun:focus-visible,
.site-header--arcane a.nav-pill--fun:active {
  outline: none;
}

.site-header--arcane a.nav-pill--fun img {
  -webkit-user-drag: none;
  user-select: none;
}

.site-header--arcane .nav-pill--yeti {
  padding: 2px 4px;
  overflow: visible;
}

.site-header--arcane .nav-pill__fun-burst {
  position: relative;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
  vertical-align: middle;
  isolation: isolate;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.site-header--arcane .nav-pill__fun-still,
.site-header--arcane .nav-pill__fun-pop {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.site-header--arcane .nav-pill__fun-still {
  position: relative;
  z-index: 1;
  opacity: 1;
}

.site-header--arcane .nav-pill__fun-pop {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.site-header--arcane a.nav-pill.nav-pill--fun:hover {
  border: none;
  background: rgba(6, 36, 52, 0.42);
  box-shadow:
    0 0 22px rgba(0, 210, 235, 0.38),
    0 0 48px rgba(150, 80, 210, 0.24);
  transform: none;
}

.site-header--arcane .nav-pill--fun:hover .nav-pill__fun-pop {
  opacity: 1;
}

.site-header--arcane .nav-pill--fun:hover .nav-pill__fun-still {
  opacity: 0;
}

.site-header--arcane .nav-pill--fun:hover .nav-pill__fun-burst {
  transform: scale(1.06);
  box-shadow: none;
  filter: brightness(1.08);
}

.site-header--arcane .nav-pill--yeti img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
  transition: filter 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .site-header--arcane .nav-pill__fun-burst {
    transition: none;
  }

  .site-header--arcane .nav-pill--fun:hover .nav-pill__fun-burst {
    transform: none;
    filter: brightness(1.1);
    box-shadow: none;
  }

  .site-header--arcane .nav-pill--fun:hover .nav-pill__fun-pop {
    opacity: 0;
  }

  .site-header--arcane .nav-pill--fun:hover .nav-pill__fun-still {
    opacity: 1;
  }
}

.experience-section-eyebrow {
  margin: 0 0 10px;
  max-width: 42rem;
  font-family: ui-monospace, "SF Mono", "Menlo", Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 220, 140, 0.85);
  text-shadow: 0 0 14px rgba(255, 200, 90, 0.35);
}

.experience-section-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fffef8;
  text-shadow:
    0 0 20px rgba(125, 253, 254, 0.35),
    0 0 48px rgba(14, 85, 100, 0.45);
}

.experience-section-lede {
  margin: 12px 0 22px;
  max-width: 42rem;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.super-ic-section {
  position: relative;
  scroll-margin-top: 88px;
  isolation: isolate;
  padding: clamp(32px, 6vw, 56px) 0 clamp(48px, 8vw, 80px);
  color: #fffef8;
  overflow: hidden;
  border-top: 1px solid rgba(125, 253, 254, 0.22);
  background-color: #020510;
  min-height: calc(100vh - 64px);
}

.super-ic-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("website%20new%20/favicon%20and%20logo/ideogram-v3.0_A_premium_cinematic_futuristic_space_background_representing_a_Super_IC_mindset_-0.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.15) brightness(0.92) contrast(1.05);
  transform: scale(1.02);
}

.super-ic-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 48px,
      rgba(0, 255, 255, 0.035) 48px,
      rgba(0, 255, 255, 0.035) 49px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 48px,
      rgba(236, 72, 255, 0.028) 48px,
      rgba(236, 72, 255, 0.028) 49px
    ),
    radial-gradient(
      ellipse 90% 65% at 50% 0%,
      rgba(0, 40, 48, 0.45) 0%,
      transparent 58%
    ),
    linear-gradient(
      180deg,
      rgba(2, 4, 14, 0.75) 0%,
      rgba(4, 2, 18, 0.82) 45%,
      rgba(2, 5, 16, 0.88) 100%
    );
}

.super-ic-section .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.super-ic-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: min(1200px, 100%);
}

.super-ic-hero {
  align-self: center;
  text-align: center;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

.super-ic-hero .experience-section-eyebrow,
.super-ic-hero .experience-section-title,
.super-ic-hero .experience-section-lede {
  margin-left: auto;
  margin-right: auto;
}

.super-ic-hero .experience-section-lede {
  margin-bottom: clamp(16px, 2.5vw, 22px);
  color: rgba(255, 255, 255, 0.72);
}

.super-ic-toolbar {
  width: 100%;
  max-width: min(64rem, 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: clamp(4px, 1vw, 10px);
  margin-bottom: 12px;
  padding: 0 4px;
}

.super-ic-toolbar .super-ic-expand-btn {
  margin-left: auto;
}

.super-ic-expand-btn {
  font-family: ui-monospace, "SF Mono", "Menlo", Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 255, 255, 0.88);
  background: linear-gradient(
    165deg,
    rgba(0, 30, 40, 0.75) 0%,
    rgba(10, 0, 28, 0.8) 100%
  );
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 4px;
  padding: 8px 14px;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(236, 72, 255, 0.12) inset,
    0 0 16px rgba(0, 255, 255, 0.08);
  transition:
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.super-ic-expand-btn:hover {
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(236, 72, 255, 0.2) inset,
    0 0 22px rgba(0, 255, 255, 0.22);
  transform: translateY(-1px);
}

.super-ic-expand-btn:focus-visible {
  outline: 2px solid rgba(79, 209, 197, 0.85);
  outline-offset: 3px;
}

.super-ic-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: min(64rem, 100%);
}

.super-ic-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  background: rgba(0, 6, 18, 0.45);
  backdrop-filter: blur(8px);
}

.super-ic-toc__label {
  margin: 0;
  width: 100%;
  font-family: ui-monospace, "SF Mono", "Menlo", Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 200, 120, 0.65);
}

.super-ic-toc__link {
  font-family: ui-monospace, "SF Mono", "Menlo", Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(200, 255, 255, 0.78);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.super-ic-toc__link:hover {
  color: #fff;
  border-color: rgba(0, 255, 255, 0.35);
  background: rgba(0, 255, 255, 0.06);
}

.super-ic-toc__link:focus-visible {
  outline: 2px solid rgba(79, 209, 197, 0.85);
  outline-offset: 2px;
}

.super-ic-panel {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  position: relative;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px)
    clamp(22px, 3.5vw, 30px);
  border-radius: 6px;
  border: 2px solid rgba(0, 255, 255, 0.28);
  background: linear-gradient(
    155deg,
    rgba(0, 6, 18, 0.82) 0%,
    rgba(6, 0, 20, 0.78) 100%
  );
  box-shadow:
    0 0 0 1px rgba(236, 72, 255, 0.15) inset,
    0 0 40px rgba(0, 255, 255, 0.1),
    0 24px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.super-ic-panel--hud {
  padding: clamp(24px, 3.5vw, 36px) clamp(22px, 3.5vw, 32px)
    clamp(26px, 4vw, 38px);
  background-image: repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 71px,
      rgba(0, 255, 255, 0.04) 71px,
      rgba(0, 255, 255, 0.04) 72px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 71px,
      rgba(236, 72, 255, 0.03) 71px,
      rgba(236, 72, 255, 0.03) 72px
    ),
    linear-gradient(
      155deg,
      rgba(0, 6, 18, 0.88) 0%,
      rgba(6, 0, 20, 0.84) 100%
    );
}

.super-ic-hud-tag {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: ui-monospace, "SF Mono", "Menlo", Monaco, Consolas, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(0, 255, 255, 0.35);
  pointer-events: none;
}

.super-ic-hud-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border-color: rgba(0, 255, 255, 0.45);
  border-style: solid;
  border-width: 0;
}

.super-ic-hud-corner--tl {
  top: 8px;
  left: 8px;
  border-top-width: 2px;
  border-left-width: 2px;
  box-shadow: -1px -1px 0 rgba(236, 72, 255, 0.25);
}

.super-ic-hud-corner--tr {
  top: 8px;
  right: 8px;
  border-top-width: 2px;
  border-right-width: 2px;
}

.super-ic-hud-corner--bl {
  bottom: 8px;
  left: 8px;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.super-ic-hud-corner--br {
  bottom: 8px;
  right: 8px;
  border-bottom-width: 2px;
  border-right-width: 2px;
  box-shadow: 1px 1px 0 rgba(236, 72, 255, 0.2);
}

@media (min-width: 1024px) {
  .super-ic-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .super-ic-toc {
    position: sticky;
    top: 88px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 11rem;
    flex-shrink: 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    gap: 4px;
  }

  .super-ic-toc__label {
    width: auto;
    margin-bottom: 4px;
  }

  .super-ic-toc__link {
    white-space: normal;
    line-height: 1.35;
  }
}

.super-ic-prose {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
}

.super-ic-prose > p {
  margin: 0 0 1rem;
}

.super-ic-prose > p:last-child {
  margin-bottom: 0;
}

.super-ic-block {
  margin-top: clamp(26px, 4vw, 34px);
}

.super-ic-block:first-of-type {
  margin-top: 0;
}

.super-ic-block[id] {
  scroll-margin-top: 96px;
}

.super-ic-block__title {
  margin: 0 0 12px;
  font-size: clamp(0.7rem, 1.1vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 210, 130, 0.92);
  text-shadow:
    0 0 10px rgba(255, 200, 90, 0.3),
    0 0 20px rgba(0, 255, 255, 0.12);
}

.super-ic-qualities-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 16px;
}

@media (min-width: 1100px) {
  .super-ic-qualities-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.super-ic-quality-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px 16px 14px;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 255, 0.22);
  background: linear-gradient(
    160deg,
    rgba(0, 10, 24, 0.72) 0%,
    rgba(8, 0, 22, 0.65) 100%
  );
  box-shadow:
    0 0 0 1px rgba(236, 72, 255, 0.08) inset,
    0 8px 24px rgba(0, 0, 0, 0.25);
  scroll-margin-top: 96px;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.super-ic-quality-card::before {
  content: attr(data-node);
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: ui-monospace, "SF Mono", "Menlo", Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(0, 255, 255, 0.35);
  pointer-events: none;
}

.super-ic-quality-card:hover,
.super-ic-quality-card:focus-within {
  border-color: rgba(0, 255, 255, 0.48);
  box-shadow:
    0 0 0 1px rgba(236, 72, 255, 0.18) inset,
    0 0 28px rgba(0, 255, 255, 0.14),
    0 12px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.super-ic-quality-card__top {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-right: 3.25rem;
}

.super-ic-quality-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(125, 253, 254, 0.9);
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.25));
}

.super-ic-quality-card__icon svg {
  width: 24px;
  height: 24px;
}

.super-ic-quality-card__title {
  margin: 0 0 6px;
  font-size: clamp(0.92rem, 1.25vw, 1.02rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.18);
}

.super-ic-quality-card__subtitle {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.super-ic-details {
  margin-top: auto;
  border-top: 1px solid rgba(0, 255, 255, 0.12);
  padding-top: 10px;
  overflow-anchor: none;
}

.super-ic-details__summary {
  font-family: ui-monospace, "SF Mono", "Menlo", Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 255, 255, 0.72);
  cursor: pointer;
  list-style: none;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.super-ic-details__summary::-webkit-details-marker {
  display: none;
}

.super-ic-details__summary::before {
  content: "// ";
  color: rgba(236, 72, 255, 0.5);
}

.super-ic-details__summary:hover {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.22);
}

.super-ic-details__summary:focus-visible {
  outline: 2px solid rgba(79, 209, 197, 0.85);
  outline-offset: 3px;
  border-radius: 2px;
}

.super-ic-details__body {
  margin-top: 10px;
}

.super-ic-details__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.super-ic-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.super-ic-reveal--on {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .super-ic-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .super-ic-quality-card:hover,
  .super-ic-quality-card:focus-within {
    transform: none;
  }
}

.super-ic-reveal--on.super-ic-quality-card {
  animation: super-ic-lockon 0.65s ease forwards;
}

@keyframes super-ic-lockon {
  0% {
    box-shadow:
      0 0 0 1px rgba(236, 72, 255, 0.08) inset,
      0 8px 24px rgba(0, 0, 0, 0.25);
  }
  40% {
    box-shadow:
      0 0 0 1px rgba(0, 255, 255, 0.35) inset,
      0 0 32px rgba(0, 255, 255, 0.22),
      0 8px 24px rgba(0, 0, 0, 0.25);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(236, 72, 255, 0.08) inset,
      0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .super-ic-reveal--on.super-ic-quality-card {
    animation: none;
  }
}

.super-ic-archetype-list {
  margin: 12px 0 0;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
}

.super-ic-archetype-list li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.super-ic-archetype-list li:last-child {
  margin-bottom: 0;
}

.super-ic-archetype-list strong {
  color: #5ee8f0;
  font-weight: 600;
}

.super-ic-closing {
  margin-top: clamp(22px, 3vw, 28px);
  padding-top: 18px;
  border-top: 1px solid rgba(0, 255, 255, 0.25);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer--arcane {
  position: relative;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    0deg,
    rgba(8, 10, 18, 0.94) 0%,
    rgba(4, 6, 12, 0.92) 100%
  );
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow:
    0 -1px 0 rgba(79, 209, 197, 0.12),
    0 -12px 40px rgba(0, 0, 0, 0.45);
  padding: 14px 0 18px;
}

.footer-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  font-family: "Barlow", var(--font-sans);
  letter-spacing: 0.06em;
  color: rgba(200, 255, 255, 0.9);
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.15);
}

.footer-copyright {
  margin: 0;
}

/* Narrow viewports: stack header and center icon rows (avoid trailing cluster pinned right). */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 112px;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-left {
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: 100%;
  }

  .header-site-nav {
    width: 100%;
  }

  .header-nav {
    align-self: stretch;
    width: 100%;
    justify-content: center;
    flex: 0 1 auto;
  }

  .nav-links {
    justify-content: center;
    width: 100%;
    row-gap: 10px;
    column-gap: 8px;
  }

  .nav-links__trailing {
    display: contents;
  }

  .site-header--arcane .nav-links .theme-mode {
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 2px;
    padding-top: 4px;
    border-top: 1px solid rgba(201, 162, 39, 0.22);
  }
}

/* ── Mobile burger nav: row layout (overrides column layout above) ─── */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header--arcane .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
    height: 52px;
    box-sizing: border-box;
  }

  .site-header--arcane .header-left {
    flex-direction: row;
    align-items: center;
    align-self: center;
    width: auto;
  }

  .logo-wordmark {
    height: 30px;
  }

  /* Hide icon nav — drawer handles mobile navigation */
  .site-header--arcane .header-nav {
    display: none;
  }

  .site-header--arcane .header-site-nav {
    display: none;
  }

  /* Burger button */
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
    background: none;
    border: none;
    color: rgba(238, 232, 220, 0.95);
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    order: 999;
  }

  .nav-burger__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(238, 232, 220, 0.95);
    border-radius: 2px;
  }
}
/* ── Mobile nav drawer (global — shared by all pages using selectedwork.css) ── */
/* Hide burger on desktop — shown via @media (max-width: 768px) above */
@media (min-width: 769px) {
  .nav-burger {
    display: none;
  }
}
.nav-mobile-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 199;
}
.nav-mobile-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(280px, 82vw);
  background: #04141e;
  border-left: 1px solid rgba(201, 162, 39, 0.22);
  padding: 68px 8px 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile-drawer.is-open {
  transform: translateX(0);
}
.nav-mobile-drawer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(238, 232, 220, 0.9);
  font-size: 1.5rem;
  line-height: 1;
  padding: 8px;
  cursor: pointer;
  opacity: 0.7;
}
.nav-mobile-drawer .nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}
.nav-mobile-drawer .nav-pill {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  width: 100%;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(238, 232, 220, 0.9);
  transition: background 0.15s ease;
}
.nav-mobile-drawer .nav-pill:hover,
.nav-mobile-drawer .nav-pill:focus-visible {
  background: rgba(255, 255, 255, 0.07);
}
.nav-mobile-drawer .nav-pill img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.nav-mobile-drawer .nav-pill__hover-label {
  display: block !important;
  position: static !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(238, 232, 220, 0.9);
}
.nav-mobile-drawer .nav-pill__fun-burst { display: flex; align-items: center; }
.nav-mobile-drawer .nav-pill__fun-pop { display: none !important; }
.nav-mobile-drawer .nav-links__trailing { display: contents; }
.nav-mobile-drawer .theme-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  margin-top: 6px;
}
.nav-mobile-drawer .theme-mode__label {
  font-family: "Barlow", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  user-select: none;
  color: rgba(238, 232, 220, 0.85);
}
.nav-mobile-drawer .theme-mode__label--on { color: #fff; }
.nav-mobile-drawer .theme-mode__label--off { color: rgba(160, 200, 210, 0.6); }
.nav-mobile-drawer .theme-mode__switch {
  margin: 0; padding: 0; border: 0;
  background: transparent;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-mobile-drawer .theme-mode__track {
  position: relative;
  display: block;
  width: 38px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,255,255,0.35) 0%, rgba(0,40,60,0.6) 55%, rgba(8,0,22,0.9) 100%);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.55);
}
.nav-mobile-drawer .theme-mode__thumb {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
}
