* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  font-family: "Comic Neue", cursive;
  background-color: #181818;
  color: #d7d3cb;
}

header,
footer {
  background-color: #181818;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #e49ac2;
}
footer {
  border-top: 2px solid #e49ac2;
  border-bottom: none;
  margin-top: 20px;
  padding-top: 25px; /* extra breathing room */
}
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px;
  background-color: #181818;
  border-bottom: 1px solid #ccc;
}
.nav-menu a {
  text-decoration: none;
  color: #181818;
  font-weight: bold;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
.comic-panel {
  margin-bottom: 40px;
  background-color: #181818;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(228, 154, 194, 0.1); /* Narcy pink glow */
}

.right-column figure {
  margin: 0 0 18px;
}
.right-column figure:last-child {
  margin-bottom: 0;
}
.caption {
  font-size: 0.9em;
  color: #ccc;
  margin-top: 6px;
}

.comic-panel img {
  width: 100%;
  border-radius: 6px;
}
@media (max-width: 600px) {
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }
}
.term-header {
  text-align: center;
  margin-bottom: 20px;
}
.term-header-left {
  text-align: left;
  margin-bottom: 20px;
}
.term-header h2 {
  font-family: "Comic Neue", cursive;
  font-size: 2em;
  margin-bottom: 10px;
}
.term-header-left h2 {
  font-family: "Comic Neue", cursive;
  font-size: 2em;
  margin-bottom: 10px;
}
.term-header .term-definition {
  font-size: 1em;
  font-style: italic;
  color: #d7d3cb;
  max-width: 700px;
  margin: 0 auto;
}
.comic-caption {
  font-family: "Comic Neue", cursive;
  font-size: 1.1em;
  font-style: italic;
  color: #d7d3cb;
  margin: 0px 0; /* Adds padding above and below the caption */
  padding: 10px 0; /* Extra breathing room inside the caption container */
  text-align: center;
}
.comic-caption-left {
  font-family: "Comic Neue", cursive;
  font-size: 1.1em;
  font-style: italic;
  color: #d7d3cb;
  margin: 20px 0; /* Adds padding above and below the caption */
  padding: 10px 0; /* Extra breathing room inside the caption container */
  text-align: left;
}
/* Hamburger Icon */
.hamburger {
  color: #e49ac2;
  background-color: transparent;
  display: block;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  border-radius: 8px;
  top: 15px;
  left: 15px;
  z-index: 1001;
}
.hamburger:hover {
  background: rgba(228, 154, 194, 0.15);
  color: #e49ac2;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  left: -200px;
  width: 200px;
  height: 100%;
  background-color: #1c1c1c;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  padding-top: 60px;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
}
.side-menu a {
  font-family: "Comic Neue", sans-serif;
  font-size: 1.1em;
  font-style: italic;

  display: block;
  color: #e49ac2;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
}
.side-menu a:hover {
  background-color: #1e1e1e;
}

.side-menu.show {
  left: 0;
}

#narcy-hatch {
  position: absolute;
  top: 10px;
  left: 60px;
  width: 80px;
  z-index: 1002;
}

@media (max-width: 768px) {
  .hamburger {
    color: #e49ac2;
    background-color: transparent;
    display: block;
  }
  .nav-menu {
    display: none;
  }
}
.about-narcy {
  background-color: #101010;
  border: 2px solid #d7d3cb;
  padding: 30px;
  margin: 40px auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-family: "Comic Neue", sans-serif;
  color: #d7d3cb;
}

.about-heading {
  font-size: 2em;
  text-align: center;
  color: #e49ac2;
  margin-bottom: 20px;
}

.about-intro,
.about-body {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-warning {
  font-size: 1em;
  color: #e35683;
  background-color: #2a2a2a;
  padding: 10px 15px;
  border-left: 4px solid #e35683;
  border-radius: 6px;
}
.site-header {
  background-color: #181818;
  border-bottom: 2px solid #e49ac2;
  text-align: center;
  padding: 30px 10px 20px;
  background-color: #181818;
  border-bottom: 2px solid #e49ac2;
}

.site-title {
  font-size: 2em;
  color: #e49ac2;
  font-family: "Comic Neue", sans-serif;
  margin-bottom: 5px;
}
a:link {
  color: white; /* unvisited link */
}

a:visited {
  color: #ff99cc; /* Narcy pink (after click) */
}

a:hover {
  color: #ffccff; /* light pink on hover */
}

a:active {
  color: #ff66b2; /* slightly deeper pink when being clicked */
}
.site-tagline {
  font-size: 1.1em;
  font-style: italic;
  color: #aaa;
}
.full-comic {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.read-more {
  text-align: center;
  margin-top: -15px;
  font-weight: bold;
}
.read-more a {
  color: #e49ac2;
  text-decoration: none;
}
.read-more a:hover {
  text-decoration: underline;
}
.explanation-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.comic-explanation ul,
.comic-explanation ol {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.explanation-columns ul,
.explanation-columns ol {
  padding-left: 20px;
}
.left-column {
  flex: 2;
  min-width: 250px;
  margin-top: 0px;
}

.right-column {
  flex: 1;
  min-width: 200px;
  margin-top: 0px;
}

.right-column img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
}

.caption {
  font-size: 0.9em;
  color: #aaa;
  font-style: italic;
}
.narcy-degree-wall {
  /* background-color: #1c1c1c; */
  /* border-left: 6px solid #e49ac2; */
  padding: 2em;
  margin-top: 3em;
  color: #d7d3cb;
  /* font-family: 'Comic Neue', cursive;*/
}

.degree-wall-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.degree-image {
  width: 100%;
  max-width: 600px;
  margin-bottom: 1em;
  border: 4px double #e49ac2;
  background: black;
  padding: 6px;
}

.narcy-quote {
  font-style: italic;
  color: #e49ac2;
  margin: 0.5em 0;
  font-size: 1.1em;
}

.degree-summary {
  max-width: 700px;
}
.explain-intro {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 1.5em;
  color: #d7d3cb;
}
.explain-heading {
  margin-top: 2em;
  font-size: 1.3em;
  color: #ffccff;
}
.comic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  justify-content: center; /* Center horizontally */
}

.more-narcy a {
  background-color: #fceef5;
  color: #000;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

button {
  padding: 6px 12px;
  font-size: 0.9em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  flex: 1 1 auto;
  max-width: 180px;
}

.button-facebook {
  background-color: #4267b2;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
}

.button-twitter {
  background-color: #191919;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ccc;
}

.button-default {
  background-color: #ccc;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
}

.button-explain {
  background-color: #e49ac2;
  color: black;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#extra-extra-article {
  background-color: #f5f5dc; /* aged paper look */
  padding: 30px;
  border: 1px solid #ccc;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  color: #111;
  font-family: "Arial", serif;
  column-count: 2;
  column-gap: 40px;
  background-image: url("images/newsprint-texture.png"); /* Optional */
  background-size: cover;
}

#extra-extra-article img.headline-photo {
  display: block;
  margin: 0 auto 20px auto;
  width: 300px;
  height: auto;
  filter: grayscale(100%);
  /* border: 2px solid #333;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3); */
}
@media (max-width: 768px) {
  #extra-extra-article {
    column-count: 1;
  }
}
@media (max-width: 768px) {
  .full-comic {
    width: 100%;
    height: auto;
  }
}
.term-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 2rem 0;
}

.term-block:nth-child(even) {
  flex-direction: row-reverse;
}

.term-image {
  flex: 0 0 180px;
}

.term-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.term-description {
  flex: 1;
}
.term-block:nth-child(even) {
  flex-direction: row-reverse;
}
@media (max-width: 500px) {
  .comic-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
.narcy-tribute {
  margin: 60px auto;
  text-align: center;
  max-width: 700px;
  padding: 30px;
  background-color: #1f1f1f;
  border-radius: 12px;
  border: 2px dashed #e49ac2;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.narcy-tribute h3 {
  color: #e49ac2;
  font-size: 1.5em;
}

.narcy-tribute p {
  font-style: italic;
  color: #d7d3cb;
  font-size: 1.1em;
  line-height: 1.6;
}

.narcy-tribute .signature {
  margin-top: 20px;
  color: #aaa;
  font-style: normal;
}

/* Animation Trigger */
.narcy-tribute.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.tribute-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.tribute-image img {
  max-width: 180px;
  width: 100%;
  border-radius: 10px;
  background-color: #1f1f1f;
  margin-top: 50px; /* 👈 this lowers the image */
}

.tribute-text {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.narcy-tribute {
  margin: 60px auto;
  text-align: center;
  max-width: 800px;
  padding: 30px;
  background-color: #1f1f1f;
  border-radius: 12px;
  border: 2px dashed #e49ac2;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.narcy-tribute.visible {
  opacity: 1;
  transform: translateY(0);
}

.narcy-tribute h3 {
  color: #e49ac2;
  font-size: 1.5em;
}

.narcy-tribute p {
  font-style: italic;
  color: #d7d3cb;
  font-size: 1.1em;
  line-height: 1.6;
}

.narcy-tribute .signature {
  margin-top: 20px;
  color: #aaa;
  font-style: normal;
}
.small-panel {
  width: 300px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

.mini-scene {
  text-align: center;
  margin-bottom: 40px;
}

.scene-break {
  text-align: center;
  margin: 40px auto;
  font-style: italic;
  color: #aaa;
}

.portrait {
  max-width: 400px;
  margin: 0 auto;
  display: block;
}
.mini-scene {
  text-align: center;
  margin-bottom: 30px;
}

.small-panel {
  width: 300px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto 10px;
}
@media (max-width: 500px) {
  .comic-actions {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .comic-actions {
    flex: 0 0 auto;
    width: auto;
    margin: 4px;
  }
}
.narcy-speak {
  font-family: "Comic Neue", cursive;
  font-weight: bold;
  color: #e49ac2;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
table th,
table td {
  border: 1px solid #666;
  padding: 10px;
  text-align: left;
}
table thead {
  background-color: #2b2b2b;
  color: #ffccff;
}
.visitor-prompt {
  margin-top: 40px;
  padding: 20px;
  background-color: #2a2a2a;
  border-left: 4px solid #e49ac2;
  border-radius: 8px;
  font-style: italic;
  color: #ddd;
}
.reveal-toggle {
  text-align: center;
  margin-top: 30px;
}
.reveal-toggle button {
  background-color: #7c3aed;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 1rem;
}
.reveal-toggle img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
}

.archive-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.comic-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0.5rem 0 0;
}

.comic-card {
  width: 250px;
  background-color: #252525;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px #00000050;
  transition: transform 0.2s ease;
}

.comic-card:hover {
  transform: scale(1.02);
}

.comic-card img {
  width: 100%;
  display: block;
}

.comic-card h2 {
  font-family: "Comic Neue", sans-serif;
  font-size: 0.8em;
  padding: 10px 10px 0;
  color: #ffccff;
}

.comic-card h3 {
  font-family: "Comic Neue", sans-serif;
  font-size: 0.6em;
  padding: 8px 10px 0;
  color: #e6b3e6; /* a touch darker/lighter so it’s distinct */
}

.comic-card .burb {
  font-size: 0.85em;
  color: #ccc;
  padding: 0 10px 10px;
}
.content-warning {
  color: #e49ac2;
  background-color: #2c2c2c;
  border-left: 4px solid #e49ac2;
  padding: 12px 16px;
  margin: 24px 0;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 0 6px rgba(228, 154, 194, 0.2);
}
/* ==== START PRINT STYLES ==== */
@media print {
  body {
    background: white !important;
    color: black !important;
  }

  header,
  .hamburger,
  #narcy-hatch,
  .side-menu,
  .comic-image,
  .comic-caption,
  blockquote,
  footer,
  .print-btn {
    display: none !important;
  }
  .print-btn:hover {
    background: #f3a9d2;
    box-shadow: 0 0 12px gold;
  }
  .container {
    margin: 0;
    padding: 0;
  }
  .checklist {
    background: white !important;
    border: none !important;
    color: black !important;
    box-shadow: none !important;
  }
  textarea,
  select,
  input[type="checkbox"] {
    print-color-adjust: exact;
  }
}

.narcy-quote {
  background-color: #1f1f1f;
  border-left-color: #ffd700;
  margin: 0 0 0px 0; /* top right bottom left */
  /*border-radius: 8px;*/
  font-family: "Comic Neue", cursive;
  font-size: 1.1em;
}

.alert-box {
  background-color: #3a1f1f;
  border-left-color: #ff4c4c;
  margin: 0 0 0px 0; /* top right bottom left */
  /*border-radius: 8px;*/
  color: #ffcccc;
  font-weight: bold;
}

.glossary-box {
  background-color: #223;
  border-left-color: #66ccff;
  /*border-radius: 8px;*/
  color: #ccf;
}
.fancy-hr {
  border: 0;
  height: 1px;
  width: 95%;
  margin: 50px auto;
  padding: 1px;
  background: linear-gradient(to right, transparent, #e49ac2 40%, transparent);
  box-shadow: 0 0 4px #e49ac2;
}
.qa-block {
  /* background-color: #2a2a2a; */
  /* border-left: 5px solid #e49ac2; */
  margin: 20px auto;
  padding: 25px;
  max-width: 700px;
  /* border-radius: 10px; */
  font-family: "Comic Neue", cursive;
  color: #f0e0ec;
  line-height: 1.6;
  /* box-shadow: 0 0 10px rgba(228, 154, 194, 0.2); */
}
.qa-block p {
  margin-bottom: 15px;
}
.qa-block .drphil {
  color: #ffd699;
  font-weight: bold;
}
.qa-block .narcy {
  color: #90f0e4;
  font-weight: bold;
}
/* Mobile-only refinements: KEEP your original styles intact */
@media (max-width: 768px) {
  .parallax-panel img {
    width: 100%;
    height: auto;
  }
  .highlight-box-dp {
    max-width: 92%;
    margin: 12px auto 24px;
    padding: 12px 14px;
    font-size: clamp(0.95rem, 2.6vw, 1rem);
    line-height: 1.45;
  }
  .highlight-box-dp h4 {
    font-size: clamp(1rem, 3vw, 1.15rem);
    margin-bottom: 8px;
  }
}

/* Extra-small phones */
@media (max-width: 480px) {
  .highlight-box-dp {
    max-width: 95%;
    padding: 10px 12px;
  }
}

/* === START: Narcy header search icon styles === */
.site-header {
  position: relative;
} /* Ensure absolute positioning works */
.narcy-search-link {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: #ffccff;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
}
.narcy-search-link:hover {
  background: rgba(228, 154, 194, 0.15);
  color: #e49ac2;
}
/* === END: Narcy header search icon styles === */
.my-mag-icon {
  color: #e49ac2;
}

/* ==== END PRINT STYLES? ==== */
.highlight-box {
  background-color: #2a2a2a;
  border-left: 6px solid #e49ac2;
  padding: 15px 20px 15px 25px;
  margin: 10px 0 0px 0; /* top right bottom left */
  border-radius: 8px;
  font-style: italic;
  font-family: "Comic Neue", cursive;
}
.highlight-box ul {
  list-style-position: outside; /* keeps bullets outside padding */
  padding-left: 20px; /* moves bullets to the right */
  margin: 0; /* reset default margins */
}
.highlight-box li {
  margin: 0.5em 0; /* spacing between points */
}
/* Optional title inside the block */
.highlight-box .hb-title {
  font-style: normal;
  font-weight: 700;
  color: #e49ac2; /* dark slate */
  margin-bottom: 6px;
}

/* Key Takeaways — dark, sharp, consistent with reflection-comic */
.key-takeaways {
  background: #101010;
  border: 1px solid #343434; /* thin frame */
  border-radius: 12px; /* same radius */
  padding: 16px 18px 16px 22px;
  margin: 14px 0;
  color: #eee;
  font-family: "Comic Neue", cursive;
  font-style: italic;
  position: relative;
}

/* optional subtle accent bar on the left */
.key-takeaways::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px; /* slim */
  background: #8ecae6; /* blue accent; change or remove if not desired */
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

/* title inside the block */
.key-takeaways .kt-title {
  font-style: normal;
  font-weight: 700;
  color: #8ecae6; /* pairs with accent */
  margin: 0 0 6px 0;
}

/* list spacing */
.key-takeaways ul {
  list-style-position: outside;
  padding-left: 20px;
  margin: 0;
}
.key-takeaways li {
  margin: 0.5em 0;
  color: #e6e6e6;
}

/* links inside key takeaways (optional) */
.key-takeaways a {
  color: #cfe;
  text-decoration: none;
  border-bottom: 1px dotted #6aa5a3;
}
.key-takeaways a:hover {
  color: #fff;
  border-bottom-color: #9ad7d3;
}

/* small screens: slightly tighter padding */
@media (max-width: 700px) {
  .key-takeaways {
    padding: 14px 14px 14px 18px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .key-takeaways {
    background-color: #1f2124; /* dark gray */
    border-left-color: #8ecae6; /* keep the light blue accent */
    color: #e9eaec; /* readable text */
  }
  .key-takeaways .kt-title {
    color: #ffffff;
  }
}

@media (max-width: 600px) {
  div[style*="display:flex"] {
    flex-direction: column !important;
    align-items: center !important;
  }
  div[style*="display:flex"] a {
    width: 100%;
    max-width: 300px; /* keeps buttons from being full-screen wide */
    text-align: center;
  }
}

/* Base pill style */
.comic-actions button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

/* Facebook */
.comic-actions .button-facebook {
  background-color: #1877f2;
}
.comic-actions .button-facebook:hover {
  background-color: #0f5ec7;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

/* X (Twitter) */
.comic-actions .button-twitter {
  background-color: #000000;
}
.comic-actions .button-twitter:hover {
  background-color: #222;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

/* Generic Share */
.comic-actions .button-default {
  background-color: #d4c2a8; /* tan */
  color: #111;
}
.comic-actions .button-default:hover {
  background-color: #e7dac3;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

/* Active click effect */
.comic-actions button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Mobile stacking */
@media (max-width: 600px) {
  .comic-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .comic-actions button {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

.read-next {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid #d7d3cb;
  border-radius: 25px; /* uniform pill shape */
  font-family: inherit;
  text-decoration: none;
  background-color: #101010; /* medium gray */
  color: white; /* readable text */
  transition: background-color 0.3s ease;
}

.read-next:hover {
  background-color: #777; /* darker gray on hover */
}

/* Responsive stacking on mobile */
@media (max-width: 600px) {
  .read-next {
    display: block;
    width: 100%;
    margin: 5px 0;
  }
}
.comic-image figcaption {
  text-align: center;
  margin-top: 20px; /* space between image and caption */
  font-size: 0.95rem; /* just a touch smaller */
  font-style: italic; /* caption vibe */
  font-family: "Comic Neue", cursive, sans-serif;
  color: #ddd; /* softer gray for balance */
}
.comic-image {
  text-align: center;
  margin-top: 20px; /* space between image and caption */
  /* softer gray for balance */
}
.explain-heading {
  margin-top: 5px;
}

.projection-intro-snippet {
  margin-top: 5px;
}
.projection-intro-snippet h3 {
  margin-top: 20px; /* space between image and caption */
  font-size: 1.25rem; /* just a touch smaller */

  font-family: "Comic Neue", cursive, sans-serif;
  color: #fff;
}

.faq-block {
  margin: 40px 0;
  padding: 20px;
  border: 2px dashed #444;
  border-radius: 12px;
  background: #101010;
  color: #d7d3cb;
  font-family: "Comic Neue", cursive, sans-serif;
}
.faq-block h2 {
  color: var(--brand-accent, #d7d3cb);
  margin-bottom: 1em;
}
.faq-block details {
  margin-bottom: 1em;
}
.faq-block summary {
  font-weight: bold;
  cursor: pointer;
}
.faq-block p {
  margin: 0.5em 0 0 1em;
}
.comic-quote {
  text-align: center;
  font-style: italic;
  margin: 30px 0 1em; /* top | left/right | bottom */
}
.comic-quote p {
  margin: 0;
} /* avoid extra spacing from <p> */
.verse-banner {
  margin: 28px 0;
  padding: 18px;
  border: 1px dashed #2a2a2a;
  border-radius: 12px;
  background: #101010;
}
.verse-banner .btns {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: #d7d3cb;
  color: #111;
  text-decoration: none;
}
.btn.ghost {
  background: transparent;
  border: 1px solid #444;
  color: #ddd;
}

.dont-be-narcy {
  margin: 0.5em 0;
  padding: 0.5em;
  /* border:2px solid #444; border-radius:12px; */
  background: #181818;
  color: #f2f2f2;
  font-family: "Comic Neue", cursive, sans-serif;
}
/* border-left demo was here; left commented by design */
.dont-be-narcy h2 {
  color: var(--brand-accent, #d7d3cb);
  margin-bottom: 1.9em;
}
.dont-be-narcy em {
  color: #d7d3cb;
  font-style: normal;
  font-weight: bold;
}
/* .footer-note{ margin-top:24px; border-top:2px dashed #2a2a2a; padding-top:12px; text-align:center } */

/* Quote spacing utility (replaces inline style) */
.comic-quote {
  text-align: center;
  font-style: italic;
  margin: 10px 0 1em;
}
.comic-quote p {
  margin: 0;
}
/* Small helper so cards breathe */
.my-1em {
  margin-block: 1em;
}

.narcy-inline {
  float: right;
  width: clamp(96px, 22vw, 160px);
  height: auto;
  border-radius: 50%;
  shape-outside: circle(50%);
  margin: 0 0 0.75rem 1rem;
}
.narcy-inline.left {
  float: left;
  margin: 0 1rem 0.75rem 0;
}
@media (max-width: 640px) {
  .narcy-inline {
    float: none;
    display: block;
    margin: 0 auto 0.75rem;
    shape-outside: none;
  }
}

/* --- Spotlight layout --- */
.nk-spotlight {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  margin: 1.5rem auto;
  flex-wrap: wrap; /* stack on small screens */
  max-width: 900px; /* keep pair centered */
}

.nk-spotlight .nk-term {
  flex: 0 1 320px; /* card width */
  max-width: 420px;
  background: #fff8f9; /* light pink backdrop */
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  list-style: none;
  text-align: left;
}

.nk-spotlight .nk-term strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--nk-basic); /* Narcy Pink */
}
/* Spotlight pair cards */
.nk-spotlight .nk-term {
  flex: 0 1 360px;
  max-width: 420px;
  background: #191919; /* dark charcoal background */
  color: #eee; /* light text for contrast */
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  list-style: none;
  text-align: left;
}

/* Headings inside spotlight cards */
.nk-spotlight .nk-term strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--nk-basic); /* Narcy Pink (#E174AE) */
}
.nk-spotlight .nk-term {
  background: #191919;
  color: #eee;
}
/* Core 11 visual highlight */
:root {
  --nk-core: #e174ae; /* Narcy Pink */
  --nk-core-bg: #2a2a2a; /* slightly lighter than #191919 for contrast bands */
}

/* pill + underline accent */
.nk-core > strong {
  position: relative;
  color: var(--nk-core);
}
.nk-core > strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: color-mix(in srgb, var(--nk-core) 55%, white);
  opacity: 0.65;
}

/* optional small pill tag */
.nk-tag.core {
  display: inline-block;
  margin-left: 0.4rem;
  font: 600 11px/1.6 system-ui, sans-serif;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--nk-core) 18%, var(--nk-muted, #191919));
  color: var(--nk-core);
}

/* optional subtle background stripe for core list items */
li.nk-core {
  background: linear-gradient(90deg, color-mix(in srgb, var(--nk-core) 8%, #000) 0%, transparent 60%);
  border-radius: 8px;
  padding: 0.25rem 0.4rem;
}
.definition-box {
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #191919; /* matches your dark theme */
  color: #e8e8e8; /* ensure good contrast on dark bg */
  padding: 15px;
  margin: 20px 0;
  border-radius: 10px;
  line-height: 1.5;
}
.definition-box strong {
  font-weight: 800;
}
.definition-box em {
  font-style: italic;
}
/* General link style */
a {
  color: #e49ac2; /* Narcy pink, or whatever accent color you like */
  text-decoration: none; /* removes underline */
  font-weight: 600; /* makes it pop without underline */
}

/* Hover effect so users know it’s clickable */
a:hover {
  color: #fff; /* changes to white on hover */
  text-decoration: underline; /* optional subtle underline only on hover */
}
.nk-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 3–4 across when room */
  gap: 16px;
  align-items: start;
}

/* Optional: cap at exactly 4 on very wide screens, then step down */
@media (min-width: 1280px) {
  .nk-card-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 980px) {
  .nk-card-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .nk-card-row {
    grid-template-columns: 1fr;
  }
}
.glossary-list {
  list-style-type: disc; /* shows normal round bullets */
  padding-left: 1.5rem; /* pushes text so bullets don’t overlap */
  margin: 0 0 1rem 0; /* keeps spacing tidy */
}
/* Sticky back bar (bigger) */
.return-link {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #181818;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.45); /* ← .45, not 45 */
  z-index: 9999;
}
.return-link a {
  display: inline-block;
  font-size: 1rem; /* scales arrow + Back */
  line-height: 1;
  padding: 14px 14px;
  border-radius: 9999px;
  border: 2px solid #ffccff;
  background: rgba(228, 154, 194, 0.12);
  color: #ffccff;
  font-weight: 500;
  text-decoration: none;
}
.return-link a:hover {
  background: rgba(228, 154, 194, 0.2);
  color: #fff;
}
.has-return-bar {
  padding-bottom: 90px;
}

.term {
  border-bottom: 1px dotted #e49ac2;
  cursor: help;
  color: #ffccff;
}
.term:hover {
  color: #ffffff;
}
/* anchor comfort for fixed headers */
[id] {
  scroll-margin-top: 80px;
}

/* choose your highlight color here (Narcy pink by default) */
:root {
  --hl-r: 228; /* Narcy pink: #e49ac2 */
  --hl-g: 154;
  --hl-b: 194;
}
/* alt palettes: uncomment ONE set
:root{ --hl-r: 79;  --hl-g: 209; --hl-b: 197; }   /* Teal glow (#4fd1c5) */
/*:root{ --hl-r: 255; --hl-g: 193; --hl-b: 7;   }   /* Warm amber (#ffc107) */

/* soft, readable highlight on the target */
:target {
  background: rgba(var(--hl-r), var(--hl-g), var(--hl-b), 0.14); /* subtle tint behind white text */
  border-left: 4px solid rgba(var(--hl-r), var(--hl-g), var(--hl-b), 0.9);
  box-shadow: 0 0 0 2px rgba(var(--hl-r), var(--hl-g), var(--hl-b), 0.25) inset, 0 0 18px rgba(var(--hl-r), var(--hl-g), var(--hl-b), 0.35);
  animation: flash 900ms ease-out;
}

/* quick attention pulse */
@keyframes flash {
  0% {
    background: rgba(var(--hl-r), var(--hl-g), var(--hl-b), 0.35);
  }
  100% {
    background: rgba(var(--hl-r), var(--hl-g), var(--hl-b), 0.14);
  }
}
/* add breathing room when a block element is the target */
li:target,
p:target,
h2:target,
h3:target,
div:target,
dt:target,
dd:target {
  padding: 8px 12px; /* ← space around the text */
  border-radius: 10px; /* soft corners */
  background-clip: padding-box; /* keep tint inside the border */
}

/* (optional) if the left edge still feels tight next to the border */
li:target {
  padding-left: 14px;
} /* tiny extra on the left for LI lines */
/* TEMP: force big Back button */
.return-link {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
}
.return-link button#return-link-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #ffccff;
  font-size: 1.5rem;
  cursor: pointer;
}
.return-link button#return-link-close:hover {
  color: #fff;
}
.return-link button#return-link-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  :target {
    animation: none;
  }
}

/* keep glossary callouts the same color before/after visit */
a.term:link,
a.term:visited {
  color: #ffccff;
  border-bottom: 1px dotted #e49ac2;
}
a.term:hover {
  color: #ffffff;
}
.return-link {
  padding-bottom: calc(50px + env(safe-area-inset-bottom));
}
.has-return-bar {
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
}
@media print {
  .return-link {
    display: none !important;
  }
}
/* Floating Focus toggle (above the Back bar) */
.focus-toggle {
  position: fixed;
  right: 14px;
  bottom: calc(70px + env(safe-area-inset-bottom));
  z-index: 10001;
  padding: 10px 14px;
  border-radius: 9999px;
  border: 1px solid #333;
  background: #111;
  color: #ffccff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.has-return-bar .focus-toggle {
  bottom: calc(120px + env(safe-area-inset-bottom));
}
.focus-toggle:hover {
  color: #fff;
  border-color: #444;
}

/* Focus Mode — gently dim everything except the current term */
body.focus-mode ul.glossary-list > li {
  opacity: 0.35;
  filter: blur(0px);
  transition: opacity 0.18s ease;
}
body.focus-mode ul.glossary-list > li.is-current {
  opacity: 1;
}

/* Current term highlight (works with your :target glow too) */
ul.glossary-list > li.is-current {
  background: rgba(228, 154, 194, 0.12);
  border-left: 4px solid rgba(228, 154, 194, 0.9);
  box-shadow: 0 0 0 2px rgba(228, 154, 194, 0.25) inset, 0 0 18px rgba(228, 154, 194, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
}

/* Narcy Knowledge chip box – dark frame to match reflection-comic */
.highlight-box-chip {
  background: #101010; /* match */
  border: 1px solid #343434; /* thin frame */
  border-radius: 12px; /* same radius */
  padding: 16px 18px 16px 22px;
  margin: 14px 0;
  font-style: italic;
  font-family: "Comic Neue", cursive;
  color: #eee; /* readable on #101010 */
  position: relative;
}

/* optional accent bar (subtle) – change to none if you want a clean edge */
.highlight-box-chip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px; /* thinner than 6px for a sleeker look */
  background: #e49ac2; /* your accent */
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

/* lists inside */
.highlight-box-chip ul {
  list-style-position: outside;
  padding-left: 20px;
  margin: 0;
}
.highlight-box-chip li {
  margin: 0.5em 0;
  color: #e6e6e6;
}

/* links inside chip */
.highlight-box-chip a {
  color: #cfe; /* minty contrast */
  text-decoration: none;
  border-bottom: 1px dotted #6aa5a3;
}
.highlight-box-chip a:hover {
  color: #fff;
  border-bottom-color: #9ad7d3;
}

/* small screens: ease the padding just a bit */
@media (max-width: 700px) {
  .highlight-box-chip {
    padding: 14px 14px 14px 18px;
  }
}
.narrative-box {
  background: #101010;
  border: 1px solid #343434;
  border-radius: 12px;
  color: #eee;
  padding: 16px 18px 16px 22px;
  margin: 14px 0;
  max-width: 850px;
}

.memory-blurb {
  margin: 2.5em auto;
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ddd;
  font-style: italic;
  text-align: center;
}

.keith-drop {
  margin: 3em auto;
  max-width: 640px;
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
  color: #e49ac2; /* Narcy pink */
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 1em 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers the chips horizontally */
  gap: 8px; /* keeps the spacing you already had */
  margin: 0.5rem 0 0;
}
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1003;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #222;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-to-top[hidden] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
.back-to-top:hover {
  transform: translateY(-2px);
}
