/*==============================
=         ROOT                 =
==============================*/
:root {
  --bg: #f2f2e9;
  --text: #111111;
  --border: #ccc;
  --accent: #5f9ea0;
}

/*==============================
=         BASE RESET           =
==============================*/
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Courier Prime', Courier, monospace;
  font-weight: 500;
  letter-spacing: 0.1px;
  line-height: 1.5;
  padding: 0 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

header, .header {
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: 5.5rem 0 2.25rem;
}

/*==============================
=         GLOBAL LINKS         =
==============================*/
a {
  color: black;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

a.pressed {
  transform: scale(0.9);
  transition: transform 0.1s ease;
}

a.flash {
  animation: linkFlash 1s ease-in-out;
}

@keyframes linkFlash {
  0%   { opacity: 1; }
  25%  { opacity: 0.3; }
  50%  { opacity: 1; }
  75%  { opacity: 0.6; }
  100% { opacity: 1; }
}

a.glitching {
  animation: glitchText 1s ease-in-out;
}

@keyframes glitchText {
  0%   { opacity: 1; transform: none; }
  25%  { opacity: 0.4; transform: translateX(-1px) skewX(-2deg); }
  50%  { opacity: 1; transform: translateX(1px) skewX(2deg); }
  75%  { opacity: 0.6; transform: translateX(-2px) skewX(-1deg); }
  100% { opacity: 1; transform: none; }
}

/*==============================
=         TYPOGRAPHY           =
==============================*/
h1 {
  margin: 5.5rem 0 2.25rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  text-align: center;
}

h1 a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

h1 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-shadow: 0.15px 0.15px 0 #696969;
}

h2 {
  font-family: 'EB Garamond', 'Cormorant Garamond', 'Crimson Pro', 'Spectral', 'Cardo', 'Libre Baskerville', Georgia, serif;
  text-transform: none;
  margin: 0.5rem 0 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-style: italic;
  text-align: center;
}

h3 {
  text-transform: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 1rem 0;
  opacity: 0.75;
  text-align: center;
}

p {
  text-transform: none;
  font-size: 0.75rem;
  font-weight: 400;
  display: block;
  background-color: transparent;
  padding: 1.25rem 0rem 0.2rem 0rem;
  border: 0px solid #e0e0d8;
  color: #444444;
  opacity: 1;
  letter-spacing: 0.1px;
  line-height: 1.6;
}

.archive-label {
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: block;
  background-color: transparent;
  border: 0px solid #e0e0d8;
  margin: 1rem auto;
  color: #000;
  opacity: 1;
  letter-spacing: 0.75px;
  line-height: 1;
  text-align: center;
}

.caption-divider {
  border: none;
  border-top: 1px solid #d0d0c9;
  width: 40px;
  margin: 0.5rem 0 1rem;
  opacity: 0.5;
}

.separator {
  text-align: center;
  color: #ccc;
  opacity: 1;
  margin: 0.5rem 0rem;
}

blockquote {

  margin: 2rem auto 2rem auto;
  padding: 1rem 2rem 1rem 2rem;
  
  max-width: 375px;     
  
  font-family: 'EB Garamond', 'Libre Baskerville', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #111;
  background-color: transparent;
  border-left: 0px solid #ccc;
  
  position: relative;
  opacity: 0.95;
  letter-spacing: 0.15px;

  text-align: left;
  font-style: italic;
}

blockquote::before,
blockquote::after {
  font-family: 'EB Garamond', 'Libre Baskerville', Georgia, serif;
  font-size: 3.25rem;
  font-weight: bold;
  color: #c2c2c2;
  position: absolute;
  opacity: 0.4;
  pointer-events: none;
  line-height: 1;
    font-style: normal;
}

blockquote::before {
  content: "“";
  top: 0em;           /* Raised above the quote box */
  left: 0rem;          /* Slightly out to the left */
}

blockquote::after {
  content: "”";
  bottom: -2rem;         /* Below cite */
  right: 0rem;          /* Slightly out to the right */
}

blockquote cite, blockquote cite a {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.75rem;
  color: #555;
  text-align: right;
  font-style: normal;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/*==============================
=         ACCORDION            =
==============================*/
.accordion {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 13rem;
}

.accordion-header {
  transition: transform 0.1s ease-out;
  padding: 1rem 0;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1.5;
  border: 1px solid #f2f2e9;
  border-radius: 0 !important;
  color: #000;
  text-align: center;
}

.accordion-header.active {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.0rem;
  letter-spacing: 0.1px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  border: none;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  background: transparent;
}

.accordion-header.active span {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.0rem;
  letter-spacing: 1.25px;
  text-shadow: 0.15px 0.15px 0 #696969;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.accordion-header.locked {
  cursor: default;
  pointer-events: none;
  opacity: 1;
}

.accordion-header.visited:not(.active) {
  color: #000;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #000;
  text-decoration-style: solid;
  text-transform: uppercase;
}

.accordion-header:hover:not(.active) {
  background-color: #fffff7;
  text-decoration: underline;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  box-sizing: border-box;
  box-shadow:
    0 0 0 1px #fffff7,
    2px 2px 0 0 #cccccc,
    -1px 1px 0 0 #999999;
  border: 1px solid #363636;
  transform: scale(1.06);
}

.accordion-header span {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.25px;
  color: #000;
  line-height: 1.5;
}

.accordion-content {
  max-width: 650px;
  width: 100%;
  margin: 1rem auto 0 auto;
  padding: 3rem 2rem 2rem 2rem;
  background-color: #fffff7;
  animation: fadeIn 1.7s ease-in-out;
  border: 1px solid #363636;
  border-radius: 0 !important;
  display: none;
  font-family: 'Courier Prime', monospace;
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.1px;
  color: #000;
  box-shadow:
    0 0 0 2px #fffff7,
    4px 4px 0 0 #cccccc,
    -1px 1px 0 0 #999999;
}

.accordion-content.active {
  margin-bottom: 3rem;
}

.accordion-content.open {
  margin-bottom: 3rem;
}

.accordion-content a {
  text-decoration: none;
}

.accordion-content a:hover {
  text-shadow: 0.25px 0.25px 0 #393939;
}

.accordion-content a:not(:has(img, video, iframe, svg)) {
  display: inline-block;
  margin-top: 0.25rem;
}

.accordion-content p {
  font-family: 'EB Garamond', 'Cormorant Garamond', 'Crimson Pro', 'Spectral', 'Cardo', 'Libre Baskerville', Georgia, serif;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.5px;
  color: #000;
  background-color: #f9f9f0;
  padding: 1rem 2rem;
  margin: 1rem auto 0rem auto;
  width: fit-content;
  max-width: 650px;
  display: block;
  border: none;
  border-top: solid 1px #e0e0d8;
  border-bottom: solid 1px #e0e0d8;
}

.accordion-content p.credit {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.90;
  box-shadow: none;
  border: none;
  background: none;
  padding: 0;
  margin: -0.6rem auto 0rem;
  text-transform: none;
  color: #555;

  max-width: 475px;
  width: 100%;
  text-align: right;
  box-sizing: border-box;
}


.accordion-content span {
  font-family: 'Courier Prime', monospace;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #000;
  background-color: transparent;
  display: block;
  text-align: center;
  border: none;
  margin-top: 1.5rem;
}

.dropcap-paragraph, .accordion-content p.dropcap-paragraph {
  position: relative;
  text-align: left !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', 'Crimson Pro', 'Spectral', 'Cardo', 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.1px;
  color: #000;
  background-color: #f9f9f0;
  overflow: auto;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0rem 1rem 0rem;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
  border: none;
  border-top: double 5px #e0e0d8;
  border-bottom: double 5px #e0e0d8;
}

.dropcap-paragraph::first-letter {
  float: left;
  font-size: 4rem;
  line-height: 1;
  font-weight: 500;
  margin-right: 0.8rem;
  padding-top: 0rem;
}

.p-narrow, p.p-narrow, .accordion-content .p-narrow {
  box-sizing: border-box;
  width: fit-content;
  max-width: 450px !important;
  margin: -1em auto 1rem auto;
  padding: auto 1rem;
  display: block;
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.3px;
  color: #000;
  background-color: transparent;
  text-align: center;
  border: none;
  text-transform: uppercase;
}

.p-narrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin: 0.75rem auto 0rem auto;
  background-color: #d0d0c9;
  opacity: 1;
}

/*==============================
=         ACCORDION NAVIGATION & FOOTER =
==============================*/
.accordion-nav {
  padding: 1rem;
  max-width: 650px;
  width: 100%;
  margin: 2rem auto 0.5em auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-sizing: border-box;
}

.accordion-nav a {
  color: #000;
  text-decoration: none!important;
  opacity: 0.8;
  text-shadow: 0.25px 0.25px 0 #696969;
}

.accordion-nav a:hover {
  opacity: 1;
  text-decoration: none!important;
  text-shadow: 0.25px 0.25px 0 #393939;
}

.nav-center {
  text-align: center;
  flex: 1;
}

.accordion-footer {
  text-transform: uppercase;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #696969;
  margin-top: 2rem;
  margin-bottom: 0rem;
  padding-bottom: 2rem;
}

.accordion-footer a {
  text-decoration: none !important;;
  color: #000;
  cursor: pointer;
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  text-shadow: 0.25px 0.25px 0 #878787;
}

.accordion-footer a:hover {
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 6px !important;
  text-shadow: 0.25px 0.25px 0 #393939;
}

/*==============================
=         MEDIA ELEMENTS       =
==============================*/
img {
  width: 100%;
  max-width: 475px;
  height: auto;
  image-rendering: pixelated;
  filter: grayscale(100%);
  transition: filter 0.5s ease-in-out;
}

img:hover {
  filter: grayscale(0%);
}

a img {
  filter: grayscale(100%);
  transition: filter 0.5s ease-in-out;
}

a img:hover {
  filter: grayscale(0%);
}

.inline-img-top-right {
  float: inline-end;
  margin-inline-start: 2rem;
  width: 130px !important;
  height: auto;
  margin: 2rem 0 1rem 2rem;
  shape-outside: margin-box;
  clip-path: inset(0 0 0 0);
}

.accordion-content img {
  display: block;
  margin: 1.5rem auto 1rem auto;
  width: 100%;
  max-width: 475px;
  height: auto;
  border: 0px solid #e0e0d8;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.50);
  filter: grayscale(100%);
  transition: box-shadow 1s ease, filter 1s ease-in-out;
}

.video-thumbnail,
.accordion-content iframe {
  display: block;
  margin: 1.5rem auto 1rem;
  width: 100%;
  max-width: 475px;
  height: auto;
  border: none;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.50);
  filter: grayscale(100%);
  transition: box-shadow 0.5s ease, filter 0.5s ease-in-out;
}

.video-thumbnail:hover,
.accordion-content img:hover,
.accordion-content iframe:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 1);
  filter: grayscale(0%);
  transition: box-shadow 0.5s ease, filter 0.5s ease-in-out;
}

.accordion-content video {
  display: block;
  margin: 0 auto 0.75rem auto; 
   margin-bottom: 0.75rem;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  filter: grayscale(100%);
  transition: box-shadow 0.5s ease, filter 0.5s ease-in-out;
}

.accordion-content video:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 1);
  filter: grayscale(0%);
}

.video-block {
  position: relative;
  width: 100%;
  max-width: 475px;
  margin: 1.5rem auto 1rem auto;
  aspect-ratio: 16 / 9;
  background-color: black;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.5s ease-in-out;
}

/* Scoped to Netlify/local videos only */
.video-block .video-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-block .video-inner video,
.video-block .video-inner .video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
  border: none;
}

/* Fix for YouTube: default layout remains block, no abs pos */
.video-block iframe,
.video-block > .video-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  max-width: 475px;
  margin: 0 auto;
  position: static;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.video-block:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 1); /* Enhanced shadow for the whole block */
}

.video-block:hover .video-thumbnail {
  filter: grayscale(0%); /* Change thumbnail to color on hover */
}

.video-block video {
  margin: 0 !important;
  border: none;
  filter: grayscale(100%);
  transition: filter 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-block video:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 1);
  filter: grayscale(0%);
}

.video-block iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: none;
  filter: grayscale(100%);
  margin: 1.5rem auto 1rem auto;
  transition: filter 0.5s ease-in-out;
}

.video-block p {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.video-thumbnail:hover, .youtube-thumbnail:hover {
  filter: grayscale(0%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 1);
}

.video-thumbnail {
  background-size: cover;
  background-position: center;
  cursor: pointer;
  filter: grayscale(100%);
  transition: filter 0.5s ease-in-out;
  /* Make the thumbnail fill its parent container */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-thumbnail::after {
  content: '▶';
  font-size: 2.5rem;
  color: white;
  opacity: 0.8;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.youtube-thumbnail {
  position: relative;
  width: 100%;
  max-width: 475px;
  aspect-ratio: 16 / 9;
  margin: 1rem auto 2rem;
  background-color: #000;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 1px solid #e0e0d8;
  box-shadow: 0 1.5px 6px rgba(0, 0, 0, 0.06);
  filter: grayscale(100%);
  transition: filter 0.5s ease-in-out;
}

.youtube-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.youtube-thumbnail iframe {
  animation: fadeIn 1s ease-in-out;
}

.youtube-block {
  aspect-ratio: unset !important;
  background-color: transparent;
  overflow: visible;
}

.youtube-block .video-thumbnail {
  position: static !important;
  height: auto !important;
  margin: 0 auto 1rem auto;
  max-width: 475px;
}

.youtube-block iframe {
  display: block !important;
  position: static !important;
  margin: 0 auto !important;
  max-width: 475px;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.responsive-iframe-wrapper {
  position: relative;
  width: 100%;
  max-width: 475px;
  margin: 0rem auto;
  padding-top: 50.25%;
  overflow: hidden;
  filter: grayscale(100%);
  transition: box-shadow 0.5s ease, filter 0.5s ease-in-out;
}

.responsive-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
}

/*==============================
=         LIGHTBOX             =
==============================*/
.image-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 475px;
  width: 100%;
  margin: 0 auto;
}

.image-row img {
  width: calc(50% - 0.5rem);
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
  margin: 0;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 85vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 0px solid #f2f2e9;
  box-shadow:
    0 0 12px 2px rgba(242, 242, 242, 0.45),
    0 0 24px 4px rgba(242, 242, 242, 0.30),
    0 0 48px 8px rgba(242, 242, 242, 0.15),
    0 0 64px 12px rgba(0, 0, 0, 0.2);
}

/*==============================
=         INTERACTION BUTTONS  =
==============================*/
.copy-url,
.close-tab,
.back-to-top {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 1;
  color: black;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
}

/*==============================
=         DROPDOWNS            =
==============================*/
select,
.dropdown-menu {
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.75px;
  color: #000;
  background-color: #fffff7;
  border: 1px solid #363636;
  border-radius: 0 !important;
  padding: 0.6rem 0.5rem 0.5rem 0.6rem;
  width: fit-content;
  margin: 1rem auto;
  display: block;
  appearance: none;
  cursor: default;
  text-align: center;
  text-align-last: center;
  box-sizing: border-box;
  box-shadow:
    0 0 0 1px #fffff7,
    2px 2px 0 0 #cccccc,
    -1px 1px 0 0 #999999;
}

.dropdown-menu:hover {
  width: fit-content;
  border: 1px solid #000;
  background: #fff;
  box-shadow:
    0 0 0 1px #fffff7,
    2px 2px 0 0 #000,
    -1px 1px 0 0 #999999;
  text-shadow: 0.15px 0.15px 0 #696969;
}

.dropdown-menu:active {
  background: white;
  width: fit-content;
  border: 1px solid #000;
  background: #fff;
  box-shadow:
    0 0 0 1px #fffff7,
    2px 2px 0 0 #000,
    -1px 1px 0 0 #999999;
}

.dropdown-container {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 998;
  background-color: #fffff7;
  border: 1px solid #000;
  box-shadow:
    0 0 0 1px #fffff7,
    2px 2px 0 0 #000,
    -1px 1px 0 0 #999999;
  font-family: 'Courier Prime', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: none;
  text-align: center;
  padding: 0.7rem 1.5rem 0.5rem 1.5rem;
  width: max-content;
}

.dropdown-label {
  cursor: default;
}

.corner-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.corner-dropdown a {
  display: block;
  margin-top: 0.7rem;
  margin-bottom: -0.5rem;
}

.dropdown-container:hover .corner-dropdown {
  max-height: 200px; /* adjust if needed */
  opacity: 1;
  pointer-events: auto;
}

.corner-dropdown .back-to-top a {
  text-decoration: none;
}

.corner-dropdown .back-to-top a:hover {
  text-decoration: underline;
}

.fixed-corner {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.4s ease;
  transform: translateY(-4px);
}

.fixed-corner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/*==============================
=         FIXED CORNER ITEMS   =
==============================*/


.fixed-projects-link a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  opacity: 1;
}

.fixed-collection-title,
.fixed-collection-title:hover,
.fixed-collection-title img,
.fixed-collection-title img:hover {
  background: transparent !important;
  text-decoration: none;
  border: none !important;
}

.fixed-projects-link a:hover {
  text-shadow:
    1px 1px 0 #696969,
    4px 4px 4px #f2f2e9;
  background: transparent !important;
  text-decoration: none;
  border: none !important;
}

a.fixed-projects-link:hover {
  text-shadow:
    1px 1px 0 #696969,
    4px 4px 4px #f2f2e9;
  background: transparent !important;
  text-decoration: none;
  border: none !important;
}

.fixed-site-title,
.fixed-projects-link,
.fixed-top-link {
  position: fixed;
  display: flex;
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.75px;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
  border-radius: 0 !important;
  padding: 0.5rem 0.8rem 0.3rem 0.8rem;
}

.fixed-collection-title {
  position: fixed;
  display: flex;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.75px;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
  border-radius: 0 !important;
  padding: 0.5rem 0.8rem 0.3rem 0.8rem;
}

/*===== Individual Positions & Overrides =====*/
.fixed-site-title-container {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  z-index: 999;
}

.fixed-site-title {
  top: 1rem;
  left: 1rem;
  background: #fffff7;
  border: 1px solid #363636;
  font-size: 0.9rem;
  position: fixed;
  z-index: 1000;
  box-shadow:
    0 0 0 1px #fffff7,
    2px 2px 0 0 #cccccc,
    -1px 1px 0 0 #999999;
}

.fixed-collection-title {
  top: 0.75rem;
  right: 0.25rem;
  background: transparent;
  border: none;
}

.fixed-projects-link {
  bottom: 0.55rem;
  left: 0.6rem;
  color: #000;
  font-size: 0.75rem;
  text-shadow:
    1px 1px 0 #fffff7,
    4px 4px 4px #f2f2e9;
  padding: 0.4rem 0.8rem;
  pointer-events: none;
}

.fixed-top-link {
  bottom: 1.35rem;
  right: 1.25rem;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0;
}

/*===== Active State Visibility =====*/
.fixed-site-title.visible,
.fixed-collection-title.visible,
.fixed-projects-link.visible,
.fixed-top-link.visible {
  opacity: 1;
  pointer-events: auto;
}

/*===== Hover Effects =====*/
.fixed-top-link a:hover {
  background: #ffffff;
  color: #000;
  border: 1px solid #000;
  opacity: 1;
  text-decoration: none;
}

a.fixed-site-title,
a.fixed-site-title:hover,
a.fixed-site-title:focus {
  text-decoration: none !important;
}

a.fixed-site-title:hover {
  text-decoration: none !important;
  color: #000;
  border: 1px solid #000;
  background: #fff;
  box-shadow:
    0 0 0 1px #fffff7,
    2px 2px 0 0 #000,
    -1px 1px 0 0 #999999;
}

.fixed-projects-link a {
  text-decoration: underline;
}

/*===== Logo Image Styling =====*/
.fixed-collection-title img,
.fixed-logo {
  width: 80px !important;
  height: auto;
  max-width: none;
  filter: none;
  display: block;
  margin-bottom: -0.5rem;
  margin-top: 0rem;
}

.fixed-mobile-wrapper {
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 999;
}

.fixed-mobile-link {
  display: inline-block;
}

.fixed-mobile-logo {
  width: 72px;
  transition: transform 0.2s ease-out;
  filter: none;
}

.fixed-mobile-logo:hover {
  transform: scale(1.05);
  filter: none;
}

/*===== Signup Form Styling =====*/
.fixed-signup-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: none;
}

.fixed-signup-form input[type="email"] {
  width: 150px;
  padding: 0.7rem;
  border: 1px solid #ccc;
  font-size: 0.7rem;
  font-family: 'Courier Prime', monospace;
  text-align: left;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  background-color: #ffffff;
  color: #000;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

.fixed-signup-form input::placeholder {
  color: #999;
}

.fixed-signup-form button {
  background-color: #393939;
  color: #fffff7;
  padding: 0.69rem 1rem;
  border: 1px solid #4f4f4f;
  font-size: 0.7rem;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-family: 'Courier Prime', monospace;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

.fixed-signup-form button:hover {
  background-color: #fffff7;
  COLOR: #363636;
}

/*==============================
=         FOOTER               =
==============================*/
.footer {
  text-transform: uppercase;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 1;
  margin: 1rem auto 1rem auto;
}

.site-footer {
  text-transform: uppercase;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #696969;
  margin-bottom: 1rem;
}

.footer a, .site-footer a {
  color: #000;
}

.site-footer a:hover {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration: underline;
  text-shadow: 0.25px 0.25px 0 #696969;
}

.site-footer a {
  text-decoration: none !important;;
  color: #000;
  cursor: pointer;
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
}

.site-footer a:hover {
  text-decoration: underline !important;;
  text-decoration-thickness: 1px !important;;
  text-underline-offset: 6px !important;;
}

.footer a:hover {
  text-shadow: 0.25px 0.25px 0 #696969;
}

.footer span {
  display: block;
  font-size: 0.7rem;
  margin: 3rem 0 0rem;
}

.footer-logo {
  width: 120px !important;
  margin-bottom: 0.5rem;
  margin-top: 0rem;
}

.corner-logo {
  width: 45px !important;
}

.thin-separator {
  width: 60px;
  height: 1px;
  background-color: #111;
  opacity: 0.5;
  margin: 1.5rem auto;
  text-align: center;
}

footer .back-to-top {
  position: relative;
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
}

footer .back-to-top::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  border-top: 1px solid #000;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
  text-align: center;
}

footer .back-to-top:hover {
  text-shadow: 0.25px 0.25px 0 #696969;
  text-decoration: none;
}

/*==============================
=         ANIMATIONS           =
==============================*/
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-highlight {
  0% { background-color: yellow; }
  50% { background-color: transparent; }
  100% { background-color: transparent; }
}

@keyframes fadePulse {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}

/*==============================
=         RESPONSIVE           =
==============================*/
@media screen and (max-width: 767px) and (orientation: portrait) {
  .accordion-header {
    display: block;
    text-align: center;
  }

  .fixed-site-title,
  .fixed-collection-title,
  .fixed-projects-link,
  .fixed-top-link {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }

  .fixed-mobile-wrapper {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    background: none;
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
    border: none;
    box-shadow: none;
  }

  .fixed-mobile-wrapper a {
    display: inline-block;
  }

  .fixed-mobile-wrapper img.fixed-mobile-logo {
    display: block;
    width: 72px;
    height: auto;
    border: none;
    box-shadow: none;
    transition: transform 0.2s ease-out;
    filter: none;
  }

  .fixed-mobile-wrapper img.fixed-mobile-logo:hover {
    transform: scale(1.05);
    filter: none;
  }

  .fixed-mobile-wrapper a:hover {
    text-decoration: underline;
  }
}

@media screen and (max-width: 767px) {
  .accordion-content {
    padding: 1.5rem 1rem !important;
    box-sizing: border-box;
  }

  .accordion-content p {
    padding: 0.85rem 1rem;
    width: auto;
    max-width: 100%;
  }

  .accordion-content img,
  .accordion-content iframe,
  .accordion-content video,
  .youtube-thumbnail,
  .video-thumbnail,
  .video-block video {
    max-width: 100% !important;
    height: auto;
  }

  .responsive-iframe-wrapper {
    max-width: 100%;
    padding-top: 56.25%; /* standard 16:9 aspect ratio */
  }
}

.page-fade-top,
.page-fade-bottom,
.page-fade-left,
.page-fade-right {
  position: fixed;
  z-index: 10;
  pointer-events: none;
}

.page-fade-top,
.page-fade-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  height: 2rem;
  z-index: 10;
  pointer-events: none;
}

.page-fade-top {
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(242, 242, 233, 0.8),
    rgba(242, 242, 233, 0.2),
    rgba(242, 242, 233, 0)
  );
}

.page-fade-bottom {
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(242, 242, 233, 0.8),
    rgba(242, 242, 233, 0.2),
    rgba(242, 242, 233, 0)
  );
}
