html, body {
  overflow-x: hidden;
}

body {
  font-family: Broadsheet;
  line-height: 1.6;
  background: #fdf9e8;
  color: #000;
  text-align: center;
  font-size: 20px;
  margin: 0; /* Ensure no browser default margins */
  padding: 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}


header {
  text-align: center;
  margin: 2rem 0;
}

nav a {
  font-family: headline-gothic-atf-rough-n2, sans-serif;
  font-weight: 300
  margin: 0 1rem;
  text-decoration: none;
  color: #0077cc;
  font-size: 1rem;
}

nav a:hover {
  text-decoration: underline;
}

.button {
  display: inline-block;
  padding: 0.6em 1.2em;
  background-color: #222;
  color: #d01111;
  text-decoration: none;
  border-radius: 5px;
  margin: 0.4em;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #555;
}

h1 {
  font-family: headline-gothic-atf-rough-n2, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-variant: small-caps;
  letter-spacing: 0.5em;
  color: #d01111;
}

h2 {
  font-family: headline-gothic-atf-rough-n2, sans-serif;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #d01111;
}

h3 {
  font-family: "headline-gothic-atf-rough-n2", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-variant: small-caps;
  letter-spacing: 0.5em;
  color: #d6d0b5;
}

.social-icons {
  text-align: center;
  margin-top: 2em;
}

.social-icons a {
  display: inline-block;
  margin: 0 10px;
}

.social-icons img {
  width: 36px;
  height: 36px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons img:hover {
  filter: invert(64%) sepia(94%) saturate(150%) hue-rotate(8deg) brightness(50%) contrast(90%);
  transform: scale(1.1);
}

.site-footer {
  width: 100%;
  background-color: #000;
  color: #d6d0b5;
  padding: 2em 2em;
  margin-top: 3em;
  box-sizing: border-box;
}

/* Three-column flex container */
.site-footer .footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between; /* even left/center/right spacing */
  text-align: center;
  padding: 0 3rem; /* keeps breathing room from browser edge */
  box-sizing: border-box;
}

/* Empty left spacer for true centering symmetry */
.site-footer .footer-left {
  flex: 0.7;
}

/* Center block */
.site-footer .footer-center {
  flex: 3;
  text-align: center;
}

/* Right block: logo + text stacked and centered within their own space */
.site-footer .footer-right {
  flex: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-right: -3.5rem;
}

.marque-logo {
  width: 60px;
  height: auto;
  opacity: 0.9;
  display: block;
  margin: 0 auto 0.1rem auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.marque-logo:hover {
  opacity: 1;
  transform: rotate(5deg) scale(1.05); /* subtle “stamp lift” */
}



.marque-text {
  font-size: 0.7rem;
  color: #d6d0b5;
  font-variant: small-caps;
  opacity: 0.8;
  margin: 0;
  line-height: 1.2;
}

/* Mobile stacking */
@media (max-width: 700px) {
  .site-footer .footer-content {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
  }

  .site-footer .footer-left {
    display: none;
  }

  .site-footer .footer-right {
    margin-top: 1rem;
  }
}


.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}


/* Episode cards */
.episode-card {
  margin-bottom: 3em;
  padding: 1.5em;
  background-color: #000;       /* black background */
  color: #d6d0b5;                 
  border-left: 4px solid #900000; /* keep red accent */
  box-shadow: 0 2px 8px rgba(0.6,0,0,0);
  border-radius: 8px;
  text-align: centre;
}

/* Titles inside episode cards */
.episode-card h2 {
  margin-top: 0;
  color: #900000; /* red stays */
}

/* Buttons inside episode cards */
.episode-card .button {
  background-color: #d6d0b5;
  color: #000;
  border: 1px solid #d6d0b5;
  font-weight: bold;
}

.episode-card .button:hover {
  background-color: #ccc;
  color: #000;
  border-color: #ccc;
}

/* Embedded audio player */
.episode-card iframe,
.episode-card audio {
  display: block;
  margin-top: 1em;
  margin-bottom: 0.5em;
  width: 100%;
  max-width: 700px;   
  height: 80px;       /* more compact */
  border: none;
}

.home-link {
  font-family: headline-gothic-atf-rough-n2, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-variant: small-caps;
  text-indent: 0;           /* remove first-line indent */
  letter-spacing: 0.3em;    /* reduce spacing so breaks look less jarring */
  display: inline-block;    /* keeps it centered properly */
  text-align: center;
  font-size: 1.5rem;
  color: #d6d0b5;
  font-style: normal;
  text-decoration: none; /* ✅ remove underline */
}

.home-link:hover {
  color: #d01111; /* red accent */
  text-decoration: none;
}

.dropdown-nav {
  position: relative;
}


.nav-toggle {
  display: none;

}

.nav-toggle-label {
  font-family: headline-gothic-atf-rough-n2, sans-serif;
  display: inline-block;
  color: #d6d0b5;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1rem;
  background: #111;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}


/* The dropdown menu itself */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: 100%;
  right: 0;     /* align to right of nav container */
  left: auto;   /* prevent it stretching left */
  background: #000;
  border-top: 1px solid #333;
  z-index: 999;
  min-width: 220px;   /* set a safe minimum width */
  text-align: center;   /* keep text aligned neatly inside */
}

.nav-links li {
  border-bottom: 1px solid #333;
}

.nav-links li:last-child {
  border-bottom: none;
}

.nav-links a {
  display: block;
  padding: 0.8rem 1rem;
  color: #d6d0b5;
  text-decoration: none;
}

.nav-links a:hover {
  background: #222;
  color: #d01111;
}

/* Show menu when checkbox is checked */
.nav-toggle:checked + .nav-toggle-label + .nav-links {
  display: block;
}



.splash-nav {
  display: flex;
  justify-content: center;
  gap: 3rem; /* space between buttons */
  margin: 2rem 0;
}

.splash-link {
  display: inline-block;
  min-width: 300px;   /* set equal width */
  text-align: center; /* center text inside */
  padding: 0.6em 0;   /* equal vertical padding */
  background-color: #000;
  color: #d6d0b5;
  text-decoration: none;
  border: 1px solid transparent; 
  font-weight: bold;
  letter-spacing: 0.3em;  
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.splash-link:hover {
  background-color: #d6d0c4;
  color: #B28000;
  border: 1px solid #B28000;
  text-decoration: none;
}

@media (max-width: 600px) {
  .splash-nav {
    flex-direction: column;
    align-items: center; /* center the buttons */
    gap: 1.5rem; /* reduce spacing when stacked */
  }

  .splash-link {
    width: 80%;       /* buttons fill most of the screen width */
    min-width: unset; /* remove fixed 250px requirement */
  }
}

.splash-page main {
  padding-top: 3em;
  padding-bottom: 8em;
}

.splash-page .logo {
  margin-top: 3em;
}

/* === Top Navigation === */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 1rem 2rem;
  color: #fff;
  position: relative;
}

.nav-left img {
  max-height: 50px;
  width: auto;
}

.nav-right {
  display: flex;
  gap: 2rem;
}
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.nav-center h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #d6d0b5;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .top-nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    position: static; /* remove absolute positioning context */
  }

  .nav-left img {
    max-height: 80px; /* a bit bigger on mobile */
  }

  .nav-center {
    position: static;      /* no absolute positioning */
    transform: none;       /* no offset */
    margin-top: 0.5rem;
  }

  .nav-center h3 {
    font-size: 1.2rem;
  }
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ccc;
  text-decoration: none;
}

.nav-link.active {
  color: #900;         /* dark red for active link */
  cursor: default;
  pointer-events: none;
  text-decoration: none;
}




.top-nav {
  padding: 2rem 2rem;
}




.button .icon {
  height: 2em;
  width: auto;
  vertical-align: middle;
  margin-right: 0em;
}

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

.project-card-link {
  display: block;
  text-decoration: none;  /* remove underline */
  color: inherit;         /* inherit text colour */
  display: block;         /* makes whole link act like a block */
}

.project-card-link .caption {
  text-decoration: none;   /* make sure captions never get underlined */
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;             /* ensures both row and column spacing */
}

.project-card {
  background-color: #111;        /* dark card background */
  color: #d6d0b5;
  padding: 1.5rem;
  border-left: 4px solid #d01111; /* red accent */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0.6,0,0,0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  height: 100%;
}

.project-card h2 {
  margin-top: 0;
  color: #d01111; /* red */
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0.6,0,0,0),
              0 0 12px rgba(218, 0, 0, 0.2); /* red glow */
  border-left-color: #e41111; /* brighter red */
}

.project-card p {
  font-size: 0.95rem;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;  /* crops nicely to fill card */
  border-radius: 6px;
}

.project-bigimage {
  width: 100%;
  object-fit: cover;  /* crops nicely to fill card */
  border-radius: 6px;
}

.simple-card {
  background-color: #111;        /* dark background */
  color: #d6d0b5;
  padding: 1.5rem;
  border-left: 4px solid #d01111; /* red accent */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0.6,0,0,0);
  text-align: center;
  transition: none;              /* no hover effect */
}

.simple-card h2 {
  margin-top: 0;
  color: #d01111;
}

.simple-card p {
  font-size: 0.95rem;
}

/* === Call-to-Action Card (linked version) === */
.cta-card-link {
  display: block;
  background-color: #111;
  color: #d6d0b5;
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin: 1.5rem auto;
  max-width: 500px;             /* desktop width cap */
  text-align: center;
  text-decoration: none;        /* remove link underline */
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Make sure text inherits link colour and doesn’t underline */
.cta-card-link h2  {
  color: #d01111;
  margin: 0.3rem 0;
}

.cta-card-link p {
  color: #d6d0b5;
  margin: 0.3rem 0;
}

/* Hover glow – subtle red tone (Finding Folklore style) */
.cta-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0.6,0,0,0),
              0 0 12px rgba(218, 0, 0, 0.2); /* red glow */
  color: #d01111;
}

/* Responsive: full width on mobile */
@media (max-width: 700px) {
  .cta-card-link {
    max-width: 90%;  /* fills most of the screen on small devices */
    margin: 1rem auto;
  }
}


/* === Gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;

}

.gallery-item {
  background-color: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0.6,0,0,0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0.6,0,0,0),
              0 0 12px rgba(218, 0, 0, 0.2); /* red glow */
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.caption {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.95rem;
  color: #d6d0b5; /* your lighter text colour */
  background-color: #000;
  text-align: center;
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto; /* allow scroll on smaller screens */
  box-sizing: border-box;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0.6,0,0,0);
}

.lightbox-caption {
  color: #d6d0b5;
  font-size: 1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.4;
}

.lightbox .close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: #d6d0b5;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox .close:hover {
  color: #d01111;
}

/* === Mobile adjustments === */
@media (max-width: 700px) {
  .lightbox {
    padding: 1rem;           /* remove excess padding */
    justify-content: flex-start;
  }

  .lightbox-img {
    width: 100vw;            /* let image fill width */
    height: auto;            /* preserve aspect ratio */
    max-width: 100vw;
    max-height: none;
    border-radius: 0;
  }

  .lightbox-caption {
    font-size: 0.85rem;
    padding: 0 1rem;
    max-width: 100%;
  }
}

/* Lightbox navigation arrows */
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #d6d0b5;
  cursor: pointer;
  user-select: none;
  padding: 0 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.lightbox .prev:hover,
.lightbox .next:hover {
  color: #d01111;
  transform: translateY(-50%) scale(1.1);
}

.lightbox .prev { left: 1rem; }
.lightbox .next { right: 1rem; }

@media (max-width: 700px) {
  .lightbox .prev,
  .lightbox .next {
    font-size: 2.5rem;
    padding: 0 0.5rem;
  }
}


/* Links inside body text */
.content-wrapper a {
  color: #d01111;          /* red */
  text-decoration: none;
  font-weight: 500;
}

.marque-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 999;
}

.marque-badge img {
  width: 70px;        /* about 12 mm on most laptops */
  height: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 0.5em;
  transform: rotate(35deg);
}

.marque-badge img:hover {
  opacity: 1;
  transform: scale(1.05) rotate(40deg);
}

/* On small screens, shrink it a bit */
@media (max-width: 700px) {
  .marque-badge img {
    width: 55px;
  }
}

