﻿@font-face {
  font-family: 'Merriweather';
  src: local('Merriweather'), url('merriweather-v33-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Merriweather';
  src: local('Merriweather Bold'), url('merriweather-v33-latin-regular.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Merriweather';
  src: local('Merriweather Italic'), url('merriweather-v33-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Merriweather';
  src: local('Merriweather Bold Italic'), url('merriweather-v33-latin-regular.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

:root {
  --black: #000;
  --paper: #ffffff;
  --ink: #0a0a0a;
  --accent: #f63117;
  --accent-hover: #ff4d7d;
  --card-copy: #777777;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--black);
  color: var(--ink);
  font-family: 'Merriweather', serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(860px, 92vw);
}

.text-center {
  text-align: center;
}

.site-header {
  width: 100%;
  background: var(--black);
}

.site-header-shell {
  width: 100%;
}

.site-header-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  width: 100%;
  padding: 10px 14px;
  text-align: center;
  background: var(--black);
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  white-space: nowrap;
  font-weight: 700;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 125, 0.28);
  background: linear-gradient(180deg, rgba(255, 77, 125, 0.1), rgba(255, 77, 125, 0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
  background: linear-gradient(180deg, rgba(255, 77, 125, 0.2), rgba(255, 77, 125, 0.06));
  box-shadow: 0 10px 18px rgba(255, 77, 125, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.filter-toolbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.97), rgba(0, 0, 0, 0.9));
  border-top: 1px solid #777777;
  border-bottom: 1px solid #777777;
  padding: 10px 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
}

.filter-toolbar-inner {
  width: min(1120px, 96vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: center;
}

.filter-group {
  display: grid;
  gap: 4px;
  color: #9a9a9a;
  font-size: 0.85rem;
  text-align: center;
}

.filter-group select {
  min-width: 190px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 125, 0.45);
  background: linear-gradient(180deg, rgba(255, 77, 125, 0.2), rgba(255, 77, 125, 0.08));
  color: #ffffff;
  font-weight: 700;
  font-family: inherit;
  appearance: none;
  text-align: center;
  text-align-last: center;
}

.filter-group select option {
  background: #0a0a0a;
  color: #ffffff;
}

.filter-group select option:checked {
  background: #777777;
  color: #ffffff;
}

.tag-multi {
  position: relative;
}

.tag-toggle {
  min-width: 220px;
  border: 1px solid rgba(255, 77, 125, 0.45);
  background: linear-gradient(180deg, rgba(255, 77, 125, 0.2), rgba(255, 77, 125, 0.08));
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.tag-toggle:hover,
.tag-toggle:focus-visible,
.filter-group select:hover,
.filter-group select:focus-visible {
  border-color: #ff4d7d;
  box-shadow: 0 8px 16px rgba(255, 77, 125, 0.25);
  outline: none;
}

.tag-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 260px;
  max-height: 260px;
  overflow: auto;
  padding: 10px;
  border: 1px solid #777777;
  border-radius: 12px;
  background: #0a0a0a;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.tag-option {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #9a9a9a;
  font-size: 0.92rem;
  padding: 5px 4px;
}

.tag-option.is-disabled {
  opacity: 0.45;
}

.tag-option.is-disabled input,
.tag-option.is-disabled span {
  cursor: not-allowed;
}

.tag-option input {
  accent-color: #ff4d7d;
}

.tag-panel-note {
  margin: 6px 4px 2px;
  color: #9a9a9a;
  font-size: 0.78rem;
}

.filter-actions {
  display: flex;
  gap: 8px;
}

.filter-btn {
  border: 1px solid rgba(255, 77, 125, 0.45);
  background: linear-gradient(180deg, rgba(255, 77, 125, 0.2), rgba(255, 77, 125, 0.08));
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: #ff4d7d;
  box-shadow: 0 8px 16px rgba(255, 77, 125, 0.25);
  outline: none;
}

.filter-selected {
  width: min(1120px, 96vw);
  margin: 8px auto 0;
  color: #9a9a9a;
  font-size: 0.92rem;
  text-align: center;
}

.filter-chip {
  display: inline-block;
  border: 1px solid rgba(255, 77, 125, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
  margin: 4px 6px 0 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 77, 125, 0.24), rgba(0, 0, 0, 0.92));
}

.card-tags {
  margin: 12px 0 0;
  color: #ff4d7d;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.is-hidden {
  display: none !important;
}

/* Shared card styles used by Articles, Active Projects, and Resources */
.article-card,
.project-link,
.resource-link {
  display: block;
  width: 100%;
  text-decoration: none;
  background: #0a0a0a;
  border: 1px solid #777777;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #f63117, #ff4d7d, #ff5a5a) 1;
  margin-bottom: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.article-card:hover,
.article-card:focus,
.project-link:hover,
.project-link:focus,
.resource-link:hover,
.resource-link:focus {
  transform: scale(1.04);
  border-color: #ff4d7d;
  box-shadow: 0 18px 30px rgba(255, 77, 125, 0.3);
  background: #0a0a0a;
}

.article-title,
.project-link-title,
.resource-name {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  transition: color 0.2s ease;
}

.article-author,
.resource-author {
  margin: 10px 0 0;
  font-size: 0.92rem;
  letter-spacing: 1px;
  color: #ff2831;
  transition: color 0.2s ease;
}

.article-desc,
.project-link-url,
.resource-why-desc {
  margin: 10px 0 0;
  color: #9a9a9a;
  font-size: 0.96rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.article-card:hover .article-title,
.article-card:focus .article-title,
.project-link:hover .project-link-title,
.project-link:focus .project-link-title,
.resource-link:hover .resource-name,
.resource-link:focus .resource-name {
  color: #ff4d7d;
}

.article-card:hover .article-desc,
.article-card:focus .article-desc,
.project-link:hover .project-link-url,
.project-link:focus .project-link-url,
.resource-link:hover .resource-why-desc,
.resource-link:focus .resource-why-desc {
  color: #777777;
}

.article-card:visited,
.article-card:active {
  color: #9a9a9a;
  text-decoration: none;
}

.articles-page {
  background: #000000;
  color: #9a9a9a;
}

.articles-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px 60px;
}

.articles-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
}

.articles-heading-card {
  width: min(860px, 100%);
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #777777;
  padding: 34px 28px;
  text-align: center;
}

.articles-subtitle {
  margin: 14px 0 0;
  color: #9a9a9a;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.article-card {
  margin: 20px;
  overflow: visible;
}

.article-image {
  width: 100%;
  height: 180px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.article-hero-image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #777777;
}

.article-content {
  padding: 18px;
  max-width: 100%;
  overflow: visible;
}

/* Headings, paragraphs, and lists inside generated article content */
.article-content h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  color: #ffffff;
  margin: 36px 0 14px;
}

.article-content h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  margin: 32px 0 12px;
}

.article-content h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: #ffffff;
  margin: 24px 0 10px;
}

.article-content h4 {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: #ffffff;
  margin: 20px 0 8px;
}

.article-content h5,
.article-content h6 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 16px 0 6px;
}

.article-content p {
  margin: 0 0 16px;
  color: #ffffff;
}

.article-content ul,
.article-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: #ffffff;
}

.article-content li {
  color: #ffffff;
  margin-bottom: 6px;
}

.article-content .table-scroll {
  overflow-x: auto;
  margin: 0 0 16px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.article-content th,
.article-content td {
  border: 1px solid #777777;
  padding: 10px 12px;
  text-align: left;
  color: #ffffff;
}

.article-content th {
  background: #0a0a0a;
  font-weight: 700;
  white-space: nowrap;
}

.article-card:hover .article-content h1,
.article-card:focus .article-content h1,
.article-card:hover .article-content h2,
.article-card:focus .article-content h2,
.article-card:hover .article-content h3,
.article-card:focus .article-content h3,
.article-card:hover .article-content h4,
.article-card:focus .article-content h4,
.article-card:hover .article-content h5,
.article-card:focus .article-content h5,
.article-card:hover .article-content h6,
.article-card:focus .article-content h6 {
  color: #ff4d7d;
}

.article-title {
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  overflow: visible;
}

.article-desc {
  margin: 10px 0 0;
}

.article-content .article-date {
  font-size: 0.85rem;
  font-weight: 400;
  color: #ffffff;
  margin: 12px 0 0 0;
}

.article-content .generated-article-date {
  font-size: 0.85rem !important;
  color: #9a9a9a !important;
}

.articles-heading-card,
.projects-heading-card,
.resources-card {
  border: 1px solid #777777;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #f63117, #ff4d7d, #ff5a5a) 1;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.title-hover-card {
  cursor: pointer;
}

.title-hover-card:hover,
.title-hover-card:focus,
.title-hover-card:focus-within {
  transform: scale(1.04);
  border-color: #ff4d7d;
  box-shadow: 0 18px 30px rgba(255, 77, 125, 0.3);
  background: #0a0a0a;
}

.title-hover-card:hover .articles-title,
.title-hover-card:focus .articles-title,
.title-hover-card:hover .projects-title,
.title-hover-card:focus .projects-title,
.title-hover-card:hover .resources-title,
.title-hover-card:focus .resources-title {
  color: #ff4d7d;
}

.projects-page {
  background: #000000;
  color: #ffffff;
}

.projects-main {
  padding: 48px 0 64px;
}

.projects-heading-card {
  width: min(860px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #777777;
  padding: 34px 28px;
  text-align: center;
}

.projects-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #ffffff;
  letter-spacing: 0;
}

.projects-subtitle {
  margin: 14px auto 0;
  max-width: 860px;
  color: #9a9a9a;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.project-list {
  margin: 36px 0 0;
  width: 100%;
  padding: 0 3.5vw;
}

.project-link {
  padding: 28px;
  color: #ffffff;
}

.project-link-title {
  margin: 0;
  color: #ffffff;
}

.project-link-url {
  margin: 10px 0 0;
  color: #9a9a9a;
  word-break: break-all;
}

.resources-page {
  background: #0a0a0a;
  color: #ffffff;
}

.resources-main {
  min-height: calc(100vh - 260px);
  display: block;
  padding: 56px 18px 80px;
  background: linear-gradient(160deg, #0a0a0a 0%, #0a0a0a 40%, #0a0a0a 100%);
}

.resources-card {
  width: min(860px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #777777;
  padding: 34px 28px;
  text-align: center;
}

.resources-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #ffffff;
  letter-spacing: 0;
}

.resources-copy {
  margin: 14px 0 0;
  color: #9a9a9a;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.resource-list {
  margin: 34px 0 0;
  width: 100%;
  padding: 0 3.5vw;
}

.resource-link {
  padding: 28px;
}

.resource-name {
  margin: 0;
  color: #ffffff;
}

.resource-author {
  margin: 10px 0 0;
  color: #ff2831;
}

.resource-why-label {
  margin: 12px 0 0;
  color: #ff4d7d;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.resource-why-desc {
  margin: 10px 0 0;
  color: #9a9a9a;
}

.article-card .card-tags,
.project-link .card-tags,
.resource-link .card-tags {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-card .tag-pill,
.project-link .tag-pill,
.resource-link .tag-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 77, 125, 0.55);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 77, 125, 0.24), rgba(0, 0, 0, 0.94));
}

body.drumstick-mode,
body.drumstick-mode * {
  cursor: url("./images/drumstick-cursor.svg") 3 3, auto !important;
}

.hero {
  position: relative;
  min-height: 620px;
  background-image: url('./images/backstage.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 70px 0;
  text-align: center;
  color: #ffffff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 8vw, 6rem);
  line-height: 1.05;
}

.hero p {
  max-width: 860px;
  margin: 32px auto 0;
  font-size: clamp(1.05rem, 2.8vw, 1.875rem);
}

.hero-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 24px;
  border-radius: 4px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.hero-btn:hover {
  filter: brightness(1.1);
}

.section {
  padding: 64px 0;
}

.section-about {
  background: var(--black);
}

.about-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--accent);
}

.about-copy {
  color: #ffffff;
  padding: 48px 42px;
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.about-copy p {
  margin-top: 20px;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
}

.about-image {
  min-height: 520px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.32)), url('./images/stressed.jpeg');
  background-size: cover;
  background-position: center;
}

.section-clarity {
  background: var(--accent);
  color: #ffffff;
}

.section-clarity h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}

.section-clarity p {
  margin: 28px auto 0;
  font-size: clamp(1rem, 2.3vw, 1.5rem);
}

.section-deal {
  background: var(--black);
  color: #ffffff;
}

.section-deal h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.deal-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.deal-card {
  background: #ffffff;
  color: var(--card-copy);
  padding: 30px 22px;
}

.deal-card h3 {
  margin: 0;
  color: var(--ink);
  text-align: center;
  font-size: 1.25rem;
}

.deal-card h3::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #f63117;
}

.deal-card:nth-child(2) h3::before {
  background: #ff4d7d;
}

.deal-card:nth-child(3) h3::before {
  background: #ff2831;
}

.deal-card:nth-child(4) h3::before {
  background: #ff5a5a;
}

.deal-card p {
  margin: 20px 0 0;
  font-weight: 700;
}

.section-about-site {
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('./images/backstage.jpeg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.dog-avatar {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}

.section-about-site p {
  margin: 36px auto 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 360px;
  }

  .deal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header-image {
    height: 160px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .project-list,
  .resource-list {
    padding: 0 16px;
  }

  .project-link,
  .resource-link {
    padding: 22px 18px;
  }

  .hero {
    min-height: 460px;
  }

  .section {
    padding: 52px 0;
  }

  .about-copy {
    padding: 34px 24px;
  }

  .deal-grid {
    grid-template-columns: 1fr;
  }
}



