/* ===== Under Construction Disclaimer ===== */

/* 
body::before {
  ...
}



/* ===== Global layout & typography ===== */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #faf7f2;
  color: #222222;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

/* Make headings feel like a clean portfolio / notebook */

h1, h2, h3, h4 {
  font-weight: 600;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  color: #222222;
}

h1 {
  font-size: 2rem;
  letter-spacing: 0.03em;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.2rem;
}

/* Paragraph spacing */

p {
  margin: 0.4rem 0 0.9rem;
}

/* Links: subtle but clear */

a {
  color: #0056a3;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 86, 163, 0.3);
}

a:hover {
  color: #b14424;
  border-bottom-color: rgba(177, 68, 36, 0.6);
}

/* Lists */

ul, ol {
  padding-left: 1.2rem;
  margin: 0.2rem 0 1rem;
}

/* Images: art-friendly defaults */

img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Later we can add a specific class like .art-thumb if needed */

/* ===== Audio player & playlist styling ===== */

audio {
  width: 100%;
  margin: 1rem 0 0.5rem;
}

#playlist {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

#playlist li {
  cursor: pointer;
  padding: 0.25rem 0;
  border-bottom: 1px solid #e5ddd0;
  transition: color 0.15s ease, background-color 0.15s ease;
}

#playlist li:last-child {
  border-bottom: none;
}

#playlist li:hover {
  color: #0056a3;
  background-color: rgba(0, 0, 0, 0.02);
}

#playlist li.playing {
  font-weight: 600;
  color: #b14424;
  background-color: rgba(177, 68, 36, 0.06);
}

/* ===== Section spacing ===== */

section {
  margin-bottom: 2rem;
}

/* Utility class we can use later for galleries or content blocks */
.card {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
}

/* ===== Site header & navigation ===== */

.site-header {
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e0d6c7;
}

.site-title {
  font-size: 1.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-tagline {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: #55504a;
}

.site-nav {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  border-bottom: none;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: transparent;
  color: #44403a;
  border: 1px solid transparent;
}

.site-nav a:hover {
  border-color: #d1bda3;
  background-color: #f3ebe1;
  color: #b14424;
}



.site-nav {
  align-items: center;
}

.site-nav a, .site-nav .nav-disabled {
  line-height: 1.2;

display: inline-flex;

}

/* Disabled nav items: stacked "Coming soon" label */
.nav-disabled {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;

  color: #777;
  cursor: default;
}

/* Disabled content links on Home page */
.content-disabled {
  color: #777;
  font-weight: 500;
}

.coming-soon {
  font-size: 0.75em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a7a63;
}

.nav-disabled::after {
  content: "Coming soon";
  font-size: 0.75em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a7a63;
}

/* ===== Home page layout ===== */

.home-intro {
  margin-bottom: 1.5rem;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.home-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.home-card.disabled {
  opacity: 0.6;
}

.primary-button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background: #1f4fbf;
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
}

.primary-button:hover {
  background: #183c93;
}/* Stack cards vertically on small screens */
@media (max-width: 640px) {
  .home-grid {
    flex-direction: column;
  }
}

/* ===== Footer ===== */

.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0d6c7;
  font-size: 0.9rem;
  color: #55504a;
  text-align: center;
}

.site-footer a {
  color: #44403a;
  border-bottom: 1px solid rgba(68, 64, 58, 0.3);
}

.site-footer a:hover {
  color: #b14424;
  border-bottom-color: rgba(177, 68, 36, 0.6);
}

/* ===== Image galleries ===== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  background-color: #f5f0e8;
}

.gallery-item {
  text-decoration: none;
}

.gallery-caption {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  align-items: start;
}

.gallery-item img {
  width: 100%;
  max-width: 300px;   /* prevents upscaling beyond thumbnail size */
  height: auto;
  display: block;
}

/* Thumbnails: never upscale beyond their native size */
.gallery-item img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  align-items: start;
}

/* Featured cartoon hero */
.featured-cartoon {
  max-width: 900px;
  margin: 2rem auto 3rem auto;
  padding: 1.25rem;
  background: #faf7f2;
  border: 1px solid #e4dccf;
  border-radius: 12px;
  text-align: center;
}

.featured-cartoon img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.featured-cartoon .featured-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7a63;
  margin-bottom: 0.5rem;
}

.featured-cartoon .featured-caption {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #333;
}



 /* Thumbnails: clickable thumbnails feel clickable */

.gallery-item {
  text-decoration: none;
}

.gallery-item img {
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
}

