
:root {
  /* SOUTHWESTERN RETRO PASTEL THEME */
  --bg-page: #faf7ee;           /* sand */
  --bg-card: #fffdf8;           /* soft cream */
  --border-card: #e6dccf;       /* light warm beige */

  /* Pastel accents */
  --accent: #d99982;            /* faded clay - use as main highlight */
  --accent-soft: #f4b794;       /* apricot sunset */
  --accent-muted: #8dc9c3;      /* retro turquoise */

  /* Secondary colors for tag backgrounds, gradients, etc. */
  --sw-desert-lavender: #c6a7d6;
  --sw-saguaro: #a7c37e;
  --sw-pink: #FFD3D5;

  /* Text */
  --text-main: #3b332e;         /* dark warm charcoal */
  --text-muted: #6e5a52;        /* softer brown */

  /* Tag styles */
  --tag-bg: #f7eee4;
  --tag-border: #e1d2c2;

  /* Layout */
  --radius-card: 10px;
  --shadow-soft: 0 8px 20px rgba(59, 51, 46, 0.08);
  --max-width: 1100px;
  
}



    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      padding: 0;
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg-page);
      color: var(--text-main);
      line-height: 1.6;
    }

    /* ===== Header & Nav ===== */

   .site-header {
  position: relative;
  z-index: 50;  /* higher than page content */
  background: linear-gradient(135deg,
    #f4b794 0%,
    #d99982 35%,
    #8dc9c3 70%,
    #c6a7d6 100%
  );
  color: #3b332e;
  padding: 3rem 1.5rem 2.25rem;
  border-bottom: 4px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}


    .site-header-inner {
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .site-title {
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      font-size: clamp(2.4rem, 4vw, 3.1rem);
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin: 0 0 0.4rem;
    }

    .site-subtitle {
      margin: 0;
      font-size: 0.98rem;
      max-width: 32rem;
      color: rgba(255, 245, 236, 0.9);
    }

    .site-nav {
  position: relative;
  z-index: 60;
      background: rgba(24, 14, 11, 0.75);
      backdrop-filter: blur(6px);
      margin-top: 1.2rem;
      padding: 0.75rem 1rem;
      border-radius: 999px;
      display: inline-flex;
      gap: 1.25rem;
      align-items: center;
      border: 1px solid rgba(255, 232, 214, 0.25);
      bottom: -10rem;
  
    }
/* TOP-LEVEL NAV ITEMS (About, Original, etc.) */
.site-nav a,
.site-nav button,
.site-nav span {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--accent-soft);
  background: none;
  border: none;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
  border-radius: 999px;
}

 .site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

/* Wrapper for any dropdown */
.nav-dropdown {
  position: relative;
}

/* The clickable Fandoms / Misc Art / Shrines bit */
.nav-dropdown-toggle {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-main);
  background: none;
  border: none;
  padding: 0.3rem 0.4rem;
  cursor: pointer;
  border-radius: 999px;
}

/* Dropdown menu panel */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.4rem;
  min-width: 150px;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid var(--border-card);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  display: none;          /* hidden by default */
  z-index: 100;           /* above header + content */
}

/* Show menu on hover (desktop) */
.nav-dropdown:hover .nav-dropdown-menu {
  display: grid;
}


/* Group labels like "RPF", "Live-Action TV" */
.nav-dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--text-muted);
}

.nav-dropdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-dropdown-menu a {
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.12rem 0;
}

.nav-dropdown-menu a:hover {
  color: var(--accent);
}

/* Show menu on hover (desktop) */
.nav-dropdown:hover .nav-dropdown-menu {
  display: grid;
}
/* Each category row inside Fandoms (RPF, Live-Action TV, etc.) */
.nav-subdropdown {
  position: relative;
}

/* FANDOMS / MISC ART / SHRINES button style */
.nav-dropdown-toggle {
  position: relative;
  font-size: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown-toggle:hover {
  border-color: rgba(217, 153, 130, 0.7); /* clay */
  background: rgba(244, 183, 148, 0.2);   /* soft apricot wash */
}


/* The "RPF ▸" / "Live-Action TV ▸" button */
.nav-subdropdown-toggle {
  font-size: 0.85rem;
  width: 100%;
  text-align: left;
  padding: 0.25rem 0.4rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-main) !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-subdropdown-toggle:hover {
  background: rgba(244, 183, 148, 0.2); /* soft apricot */
}

/* The flyout submenu (the actual fandom links) */
.nav-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 0.4rem;
  min-width: 180px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid var(--border-card);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 30;
}

/* Links inside the submenus */
.nav-submenu a {
  display: block;
  font-size: 0.85rem;
  padding: 0.15rem 0;
  text-decoration: none;
  color: var(--text-main);
}

.nav-submenu a:hover {
  color: var(--accent);
}

/* Show submenu when hovering the category (desktop) */
.nav-subdropdown:hover .nav-submenu {
  display: block;
}


    /* ===== Main Content ===== */

    .page-wrap {
      max-width: var(--max-width);
      margin: 2.5rem auto 3.5rem;
      padding: 0 1.5rem 0.5rem;
    }

    .section-heading {
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      font-size: 1.6rem;
      margin: 0 0 0.5rem;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      color: var(--text-muted);
    }

    .section-subheading {
      margin: 0 0 1.5rem;
      font-size: 0.95rem;
      color: var(--text-muted);
    }

    .fic-list {
      display: flex;
      flex-direction: column;
      gap: 1.75rem;
    }

    /* ===== Fic Card ===== */

    .fic-card {
      display: grid;
      grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
      gap: 1.25rem;
      background: var(--bg-card);
      border-radius: var(--radius-card);
      border: 1px solid var(--border-card);
      box-shadow: var(--shadow-soft);
      padding: 1.1rem 1.3rem;
      position: relative;
      overflow: hidden;
      transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
  margin-bottom: 1.75rem; /* matches the .work-section margin */

    }

/* gradient overlay on hover */
.fic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(196, 106, 66, 0.06),
    transparent 40%,
    rgba(139, 170, 140, 0.07) 75%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

/* little pastel top strip */
.fic-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.3rem;
  background: var(--accent-soft); /* apricot */
  border-radius: 8px 8px 0 0;
}


    .fic-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
      border-color: var(--accent-soft);
    }

    .fic-card:hover::before {
      opacity: 1;
    }

    .fic-cover {
  margin-top: 1.5rem; /* tweak this value */
border-radius: calc(var(--radius-card) - 2px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #211714; /* or your pastel bg */
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4; /* 1250 x 1667 ≈ 3:4 portrait */
  max-width: 250px; /* tweak this if you want them bigger/smaller */


    }

    .fic-cover img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
.fic-cover--square {
  aspect-ratio: 4 / 3;
  max-width: 260px;
}
.fic-cover--square2 {
  aspect-ratio: 1 / 1;
  max-width: 260px;
}



.fic-card--no-cover .fic-cover {
  border-style: dashed;
  background: rgba(0,0,0,0.03); /* or pastel */
  aspect-ratio: 3 / 4;
  max-width: 220px;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.fic-card--no-cover .fic-cover::before {
  content: "no cover (yet)";
  opacity: 0.7;
}
/* Ribbon base */
.ribbon {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--sw-desert-lavender);
  color: var(--text-main);
 font-size: 0.9rem;
  padding: 15px 16px;
  border-radius: 0 0 8px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  font-weight: 600;
}

/* Little triangle notch */
.ribbon::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  border-width: 6px 6px 0 0;
  border-style: solid;
  border-color: var(--sw-desert-lavender) transparent transparent transparent;
}

.blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--sw-desert-lavender);
  background: rgba(198, 167, 214, 0.08);
  border-radius: 4px;
  color: var(--text-main);
  font-style: italic;
}



    .fic-content {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      min-width: 0;
    }

    .fic-title {
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      font-size: 1.5rem;
      margin: 0;
      letter-spacing: 0.04em;
    }

    .fic-title a {
      text-decoration: none;
      color: var(--text-main);
    }

    .fic-title a:hover {
      color: var(--accent);
    }

    .fic-meta {
      font-size: 0.85rem;
      color: var(--text-muted);
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem 0.9rem;
    }

    .fic-meta span {
      white-space: nowrap;
    }

    .fic-meta-label {
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      font-size: 0.78rem;
      color: var(--sw-desert-lavender);
    }

    .fic-summary {
      margin: 0.35rem 0 0;
      font-size: 0.95rem;
      color: var(--text-main);
}

.fic-summary a {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-color: var(--accent-muted); /* turquoise */
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.fic-summary a:hover {
  text-decoration-color: var(--accent);
  color: var(--text-main);
}

    .fic-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.3rem;
      margin-top: 0.4rem;
    }

    .fic-tag {
      font-size: 0.78rem;
      padding: 0.18rem 0.5rem;
      border-radius: 999px;
      background: var(--tag-bg);
      border: 1px solid var(--tag-border);
      color: var(--text-muted);
      white-space: nowrap;
    }

    .fic-actions {
      margin-top: 0.6rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      align-items: center;
    }

    .btn-read {
      font-size: 0.85rem;
      border-radius: 999px;
      padding: 0.35rem 0.9rem;
      border: 1px solid var(--accent-muted);
      background: var(--accent-muted);
      color: #fff7ef;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .btn-read:hover {
      background: #a7c37e;
      border-color: #a7c37e;
    }

.btn-art {
      font-size: 0.85rem;
      border-radius: 999px;
      padding: 0.35rem 0.9rem;
      border: 1px solid var(--sw-pink);
      background: var(--sw-pink);
      color: #fff7ef;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .btn-art:hover {
      background: #c6a7d6;
      border-color: #c6a7d6;
    }

.btn-playlist {
      font-size: 0.85rem;
      border-radius: 999px;
      padding: 0.35rem 0.9rem;
      border: 1px solid var(--accent-soft);
      background: var(--accent-soft);
      color: #fff7ef;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .btn-playlist:hover {
      background: #b05531;
      border-color: #b05531;
    }

.btn-series {
      font-size: 0.85rem;
      border-radius: 999px;
      padding: 0.35rem 0.9rem;
      border: 1px solid #E49BA6;
      background: #E49BA6;
      color: #fff7ef;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .btn-series:hover {
      background: #92487A;
      border-color: #92487A;
    }

    .work-section {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      border: 1px solid var(--border-card);
      box-shadow: var(--shadow-soft);
      padding: 1.5rem 1.6rem 1.6rem;
      margin-bottom: 1.75rem;
      position: relative;
    }

    .work-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 0.28rem;
      background: var(--accent-soft);
      border-radius: 10px 10px 0 0;
    }

    .section-title {
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      font-size: 1.4rem;
      margin: 0 0 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

/* ===== Responsive ===== */

@media (max-width: 800px) {
  .fic-card {
    grid-template-columns: 1fr;
  }

  .fic-cover {
    max-height: 260px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 2.2rem 1.1rem 1.8rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    padding-inline: 0.9rem;
  }

  .page-wrap {
    margin-top: 1.8rem;
  }

  .fic-card {
    padding: 1rem 0.9rem;
  }
}

/* ===== Art Gallery ===== */

.section-subheading {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.3rem;
}

.art-tile {
  background: #e8ded2;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(59, 51, 46, 0.12);
  display: block;
}

.art-tile a {
  display: block;
  background: #FFD3D5;
}

.art-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 4 / 5;
}
.art-caption {
  padding: 0.6rem 0.75rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.art-caption:empty {
  display: none;
}



 /* ===== Kudos / Footer ===== */

    .kudos-text {
      font-size: 0.95rem;
      margin: 0 0 0.9rem;
    }

    .kudos-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
      margin-bottom: 1.1rem;
    }

    .btn-ao3-heart {
      font-size: 0.85rem;
      border-radius: 999px;
      padding: 0.35rem 0.9rem;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      background: var(--sw-pink);
      border: 1px solid var(--sw-pink);
      color: #fffdf8;
    }

    .btn-ao3-heart:hover {
      background: var(--sw-desert-lavender);
      border-color: var(--sw-desert-lavender);
    }

/* ===== Extra Responsive Tweaks ===== */

@media (max-width: 600px) {
  .site-header {
    padding: 2rem 1.1rem 1.7rem;
  }

  .page-wrap {
    padding: 0 1.1rem;
  }

  .work-section {
    padding: 1.3rem 1.25rem 1.4rem;
  }
}

 /* ===== Lightbox Overlay ===== */

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;              /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* if you're using the class toggle */
.lightbox-backdrop.is-visible {
  display: flex;
}

.lightbox-image-wrapper {
  padding: 0.5rem;
  background: #111;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* this is the important part */
#lightbox-img {
  display: block;
  max-width: 90vw;   /* never wider than 90% of viewport width */
  max-height: 90vh;  /* never taller than 90% of viewport height */
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  text-align: center;
  color: #f7eee4;
  opacity: 0.8;
}

