* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'zeitung-pro-variable', Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  background: #ffefcc;
  overscroll-behavior: none; /* Prevents middle mouse scroll resize */
}

html {
  overscroll-behavior: none; /* Prevents middle mouse scroll resize */
}

/* ===== COLOR VARIABLES ===== */
:root {
  --color-offwhite: #ffefcc;
  --color-green: #6d8b6c;
  --color-blue: #6f6dac;
  --color-purple: #836190;
  --color-peach: #de6f5f;
}

/* ===== SCENE ===== */
.scene {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  transition: background-color 0.8s ease;
  overscroll-behavior: none; /* Prevents middle mouse scroll resize */
}

.scene-light {
  background: var(--color-offwhite);
}

.scene-dark {
  background: #000000;
}

/* ===== GREEN NAVBAR WITH LOGO ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  z-index: 10;
}

.navbar-green {
  background: var(--color-green) !important;
}

.navbar-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Logo on far left */
.nav-logo {
  flex-shrink: 0;
  margin-right: 20px;
}

.nav-logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

/* Center nav links */
.nav-links {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex: 1;
}

.nav-item {
  padding: 10px 20px;
  color: var(--color-offwhite);
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 800;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-shadow: none;
}

.nav-item.active {
  border-bottom-color: var(--color-offwhite);
  text-shadow: 
    -1px -1px 0 var(--color-offwhite),
    1px -1px 0 var(--color-offwhite),
    -1px 1px 0 var(--color-offwhite),
    1px 1px 0 var(--color-offwhite) !important;
}

/* Special styling for Demo Reel when active */

.nav-item[data-page="home"].active {
  color: #000000 !important;
  text-shadow: 
    -1px -1px 0 var(--color-offwhite),
    1px -1px 0 var(--color-offwhite),
    -1px 1px 0 var(--color-offwhite),
    1px 1px 0 var(--color-offwhite) !important;
}

.nav-item:hover {
  transform: translateY(-2px);
  border-bottom-color: currentColor;
  text-shadow: 
    -1px -1px 0 var(--color-offwhite),
    1px -1px 0 var(--color-offwhite),
    -1px 1px 0 var(--color-offwhite),
    1px 1px 0 var(--color-offwhite);
}

/* Demo Reel stays black on hover */
.nav-item[data-page="home"]:hover {
  color: #000000;
}

/* Contact info on far right - removed phone number */
.nav-contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  flex-shrink: 0;
}

.nav-contact {
  color: var(--color-offwhite);
  font-size: 0.85em;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.9;
  white-space: nowrap;
}

.nav-contact.nav-email:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===== LAMP ON HOME PAGE ===== */
.lamp-home-container {
  position: fixed;
  top: 55%;
  left: 22%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 1100px;
  z-index: 5;
  transition: opacity 0.8s ease;
}

.lamp-home-container.hidden {
  opacity: 0;
  pointer-events: none;
}

.lamp-svg {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 70%;
  max-width: 100%;
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}

.lamp-svg.active {
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
}

.lamp-svg.clickable {
  pointer-events: auto;
  cursor: pointer;
}

/* Make sure lamp is in front of string */
.lamp-home {
  z-index: 2;
}

.string-home {
  z-index: 1;
}

/* String positioning - moved down more */
.string-home {
  bottom: 110px !important;
  /* Match lamp transition timing */
  transition: opacity 4s ease-in-out;
}

/* String swaying animation */
.string-home.clickable {
  animation: gentle-sway 3s ease-in-out infinite;
}

@keyframes gentle-sway {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}

.lamp-svg.clickable:hover {
  filter: drop-shadow(0 0 20px var(--color-offwhite)) !important;
  animation: none;
}

/* ===== HOME PAGE PROMPT WITH PLAY BUTTON ===== */
.home-prompt {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 1;
  transition: opacity 0.6s ease;
  z-index: 4;
  pointer-events: none;
}

.home-prompt.hidden {
  opacity: 0;
}

.home-prompt h1 {
  font-size: 3.5em;
  color: #2a2a2a;
  margin-bottom: 10px;
  font-weight: 800;
}

.home-prompt p {
  font-size: 1.8em;
  color: #4a4a4a;
  font-weight: 400;
  margin-bottom: 30px;
}

/* Play Button */
.play-button {
  background: rgba(109, 139, 108, 0.9);
  border: 3px solid var(--color-offwhite);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-offwhite);
  pointer-events: auto;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
  background: rgba(109, 139, 108, 1);
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.play-button svg {
  padding-left: 5px; /* Optical centering for play icon */
}

/* ===== DEMO REEL CONTAINER ===== */
.demoreel-container {
  position: fixed;
  top: 55%;
  left: 62%;
  transform: translate(-50%, -50%);
  width: 50vw;
  max-width: 900px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 1s ease;
  z-index: 3;
}

.demoreel-container.playing {
  left: 50%;
  top: 55%;
  width: 70vw;
  max-width: 1100px;
}

.demoreel-container.visible {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.demoreel-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.demoreel-video iframe,
.demoreel-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Close button for demo reel */
.close-reel {
  position: fixed;
  top: 180px;
  right: 40px;
  background: rgba(0, 0, 0, 0.8);
  border: 3px solid #ffffff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
}

.close-reel.visible {
  opacity: 1;
  pointer-events: auto;
}

.close-reel:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}

.close-reel svg {
  color: #ffffff;
  width: 36px;
  height: 36px;
}

/* ===== ANIMATION PAGE ===== */
.animation-content {
  padding: 180px 80px 80px;
  max-width: 1600px;
  margin: 0 auto;
}

.animation-project {
  margin-bottom: 100px;
}

.animation-project h2 {
  font-size: 2.5em;
  color: #5a7359;
  margin-bottom: 40px;
  font-weight: 800;
}

.animation-main {
  margin-bottom: 40px;
}

/* Rendered Animation - LARGEST Display */
.rendered-animation {
  background: rgba(90, 115, 89, 0.15);
  border: 3px solid rgba(90, 115, 89, 0.4);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 25px rgba(90, 115, 89, 0.2);
}

.rendered-animation:hover {
  border-color: #5a7359;
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(90, 115, 89, 0.3);
}

.rendered-animation h3 {
  font-size: 2.2em;
  color: #5a7359;
  margin-bottom: 25px;
  font-weight: 800;
  text-align: center;
}

.rendered-animation video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.rendered-animation video:hover {
  transform: scale(1.01);
}

/* Final Animation - Large Display */
.final-animation {
  background: rgba(90, 115, 89, 0.1);
  border: 2px solid rgba(90, 115, 89, 0.3);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 50px;
  transition: all 0.3s ease;
}

.final-animation:hover {
  border-color: #5a7359;
  transform: translateY(-5px);
}

.final-animation h3 {
  font-size: 1.8em;
  color: #5a7359;
  margin-bottom: 20px;
  font-weight: 700;
}

.final-animation video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.final-animation video:hover {
  transform: scale(1.02);
}

/* Process Videos Grid - 2x2 Equal Sizes */
.animation-process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.animation-process-grid .process-box {
  background: rgba(90, 115, 89, 0.1);
  border: 2px solid rgba(90, 115, 89, 0.3);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.animation-process-grid .process-box:hover {
  border-color: #5a7359;
  transform: translateY(-5px);
}

.animation-process-grid .process-box h3 {
  font-size: 1.2em;
  color: #5a7359;
  margin-bottom: 15px;
}

.animation-process-grid .process-box video {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.animation-process-grid .process-box video:hover {
  transform: scale(1.05);
}

/* OLD STYLES - keeping for backwards compatibility but not used */
.animation-process-3col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.process-column-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-box-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-box-right .process-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.process-column-left .process-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.process-box {
  background: rgba(90, 115, 89, 0.1);
  border: 2px solid rgba(90, 115, 89, 0.3);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

.process-box:hover {
  border-color: #5a7359;
  transform: translateY(-5px);
}

.process-box h3 {
  font-size: 1.2em;
  color: #5a7359;
  margin-bottom: 15px;
}

.process-box video {
  flex: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.process-box video:hover {
  transform: scale(1.05);
}

/* Project Divider - SOLID BOLD LINE */
.project-divider {
  width: 100%;
  height: 4px;
  background: #5a7359;
  margin: 80px 0;
  border-radius: 2px;
}

/* Animation Page Lightbox */
.animation-content .lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 80px 40px 40px 40px;
}

.animation-content .lightbox.active {
  display: flex;
}

.animation-content .lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.animation-content #lightbox-video {
  width: 85vw;
  height: auto;
  max-height: 85vh;
}

.animation-content #lightbox-img {
  width: auto;
  height: auto;
  max-width: 85vw;
  max-height: 85vh;
}

.animation-content .lightbox-close {
  position: fixed;
  top: 40px;
  right: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid #ffffff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  z-index: 1001;
}

.animation-content .lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}

.animation-content .lightbox-close svg {
  color: #ffffff;
  width: 36px;
  height: 36px;
}

/* ===== PRODUCTION PAGE ===== */
.production-content {
  padding: 180px 80px 80px;
  max-width: 1600px;
  margin: 0 auto;
}

.production-content h1 {
  font-size: 3em;
  color: #de6f5f;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 800;
  font-family: 'zeitung-pro-variable', Arial, sans-serif;
}

/* Project Description */
.project-description {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 30px;
  background: rgba(222, 111, 95, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(222, 111, 95, 0.2);
}

.project-description p {
  font-size: 1.3em;
  line-height: 1.8;
  color: #2a2a2a;
  font-weight: 400;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 400px);
  gap: 30px;
}

.production-item {
  background: rgba(222, 111, 95, 0.1);
  border: 2px solid rgba(222, 111, 95, 0.3);
  border-radius: 8px;
  padding: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.production-item:hover {
  border-color: #de6f5f;
  transform: translateY(-5px);
}

.production-item h3 {
  font-size: 1.3em;
  color: #de6f5f;
  margin-bottom: 15px;
}

.production-item img {
  width: 100%;
  height: calc(100% - 50px);
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.production-item img:hover {
  transform: scale(1.05);
}

.ad-video {
  grid-row: span 1;
}

.ad-video video {
  width: 100%;
  height: calc(100% - 50px);
  object-fit: cover;
  border-radius: 4px;
}

.ad-video .video-container {
  height: calc(100% - 50px);
  padding-bottom: 0;
}

.production-item video {
  width: 100%;
  height: calc(100% - 50px);
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.production-item video:hover {
  transform: scale(1.05);
}

/* PDF Viewer Styles */
.pdf-viewer-section {
  margin-top: 80px;
  padding: 50px;
  background: linear-gradient(135deg, rgba(222, 111, 95, 0.05), rgba(222, 111, 95, 0.1));
  border-radius: 16px;
  border: 2px solid rgba(222, 111, 95, 0.2);
}

.pdf-viewer-section h2 {
  font-size: 2.8em;
  color: #de6f5f;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 800;
  letter-spacing: 2px;
}

.pdf-embed-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(222, 111, 95, 0.3);
}

.pdf-embed-container iframe {
  display: block;
  width: 100%;
  min-height: 800px;
  border: none;
}

.pdf-fallback {
  text-align: center;
  padding: 25px;
  background: rgba(222, 111, 95, 0.08);
  color: #2a2a2a;
  font-size: 1.1em;
}

.pdf-fallback a {
  color: #de6f5f;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #de6f5f;
  transition: all 0.3s ease;
  padding: 2px 0;
}

.pdf-fallback a:hover {
  color: #c45a4d;
  border-bottom-color: #c45a4d;
  padding-bottom: 4px;
}

.production-content .pdf-fallback a {
  color: #de6f5f;
  border-bottom-color: #de6f5f;
}

.production-content .pdf-fallback a:hover {
  color: #c45a4d;
  border-bottom-color: #c45a4d;
}

/* Production Videos Grid - 2 Videos Side by Side */
.production-videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.production-video-item {
  background: rgba(222, 111, 95, 0.1);
  border: 2px solid rgba(222, 111, 95, 0.3);
  border-radius: 12px;
  padding: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.production-video-item:hover {
  border-color: #de6f5f;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(222, 111, 95, 0.2);
}

.production-video-item h3 {
  font-size: 1.5em;
  color: #de6f5f;
  margin-bottom: 20px;
  font-weight: 700;
}

.production-video-item video {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.production-video-item video:hover {
  transform: scale(1.02);
}

/* PDF Viewer Styles - Hide Sidebar */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 80px 40px 40px 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

#lightbox-video {
  width: 85vw;
  height: auto;
  max-height: 85vh;
}

#lightbox-img {
  width: auto;
  height: auto;
  max-width: 85vw;
  max-height: 85vh;
}

.lightbox-close {
  position: fixed;
  top: 40px;
  right: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid #ffffff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  z-index: 1001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}

.lightbox-close svg {
  color: #ffffff;
  width: 36px;
  height: 36px;
}

/* ===== RESUME PAGE ===== */
.resume-content {
  padding: 180px 80px 80px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.resume-container {
  background: rgba(131, 97, 144, 0.1);
  border: 2px solid rgba(131, 97, 144, 0.3);
  border-radius: 12px;
  padding: 40px;
}

.resume-pdf-viewer {
  display: none;
}

.resume-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  display: block;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: #836190;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1em;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #9b73a8;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(131, 97, 144, 0.4);
}

/* ===== FINE ARTS PAGE ===== */
.page-fine-arts .scene-light {
  background: linear-gradient(135deg, #ffefcc 0%, #fff8e6 100%);
}

.fine-arts-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 200px 60px 100px;
}

.fine-arts-content h1 {
  font-size: 3.5em;
  color: rgb(234, 190, 123);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: 3px;
}

/* PDF Slideshow */
.pdf-slideshow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

/* Scrapbook Container */
.scrapbook-container {
  position: relative;
  width: 75%;
  max-width: 1000px;
  margin: -250px auto 0;
}

.scrapbook-background {
  width: 100%;
  height: auto;
  display: block;
}

.scrapbook-slideshows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  padding: 37% 8% 8% 8%;
  z-index: 1;
}

.scrapbook-slideshow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scrapbook-slideshow h2 {
  display: none;
}

.scrapbook-pdf-display {
  position: relative;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  aspect-ratio: 8.5 / 11;
  width: 100%;
  flex: none;
}

.scrapbook-fullscreen {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(234, 190, 123, 0.9);
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.scrapbook-pdf-display:hover .scrapbook-fullscreen {
  opacity: 1;
}

.scrapbook-pdf-display iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  display: block;
}

.scrapbook-slideshow.slideshow-active .scrapbook-pdf-display {
  box-shadow: 0 0 0 3px rgb(234, 190, 123), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scrapbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
}

.scrapbook-nav {
  background: rgba(234, 190, 123, 0.2);
  border: 2px solid rgb(234, 190, 123);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgb(234, 190, 123);
}

.scrapbook-nav:hover:not(:disabled) {
  background: rgb(234, 190, 123);
  color: #fff;
  transform: scale(1.1);
}

.scrapbook-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #ccc;
  color: #999;
}

.scrapbook-nav svg {
  width: 18px;
  height: 18px;
}

.scrapbook-counter {
  font-size: 1em;
  color: rgb(234, 190, 123);
  font-weight: 700;
  min-width: 60px;
  text-align: center;
}

/* Active slideshow highlight */
.scrapbook-slideshow.slideshow-active .scrapbook-pdf-display {
  box-shadow: 0 0 0 3px rgb(234, 190, 123), 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pdf-display {
  flex: 1;
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(234, 190, 123, 0.3);
  border: 3px solid rgba(234, 190, 123, 0.4);
}

.pdf-display iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
}

.pdf-fallback {
  text-align: center;
  padding: 25px;
  background: rgba(234, 190, 123, 0.1);
  color: #2a2a2a;
  font-size: 1.1em;
}

.pdf-fallback a {
  color: rgb(234, 190, 123);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgb(234, 190, 123);
  transition: all 0.3s ease;
}

.pdf-fallback a:hover {
  color: rgb(214, 170, 103);
  border-bottom-color: rgb(214, 170, 103);
}

/* Navigation Arrows */
.slide-nav {
  background: rgba(234, 190, 123, 0.15);
  border: 3px solid rgb(234, 190, 123);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgb(234, 190, 123);
  flex-shrink: 0;
}

.slide-nav:hover:not(:disabled) {
  background: rgb(234, 190, 123);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(234, 190, 123, 0.4);
}

.slide-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #ccc;
  color: #999;
}

.slide-nav svg {
  width: 40px;
  height: 40px;
}

/* Slideshow Controls */
.slideshow-controls {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.slide-counter {
  font-size: 1.8em;
  color: rgb(234, 190, 123);
  font-weight: 700;
  letter-spacing: 2px;
}

/* Thumbnail Navigation */
.thumbnail-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.thumbnail {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(234, 190, 123, 0.4);
  border-radius: 8px;
  background: rgba(234, 190, 123, 0.1);
  color: rgb(234, 190, 123);
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail:hover {
  background: rgba(234, 190, 123, 0.3);
  border-color: rgb(234, 190, 123);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(234, 190, 123, 0.3);
}

.thumbnail.active {
  background: rgb(234, 190, 123);
  color: #fff;
  border-color: rgb(234, 190, 123);
  box-shadow: 0 5px 20px rgba(234, 190, 123, 0.5);
}

/* ===== ABOUT PAGE ===== */
.about-content {
  padding: 180px 80px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
}

.about-photo {
  position: relative;
  border-radius: 12px;
  overflow: visible;
  border: none;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.about-photo {
  position: relative;
}

.about-sketch {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 80px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.2));
}

.about-bio {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-bio p {
  font-size: 1.2em;
  line-height: 1.8;
  color: #2a2a2a;
  margin-bottom: 20px;
}

.contact-section {
  text-align: center;
}

.contact-section h2 {
  font-size: 2em;
  color: #6f6dac;
  margin-bottom: 30px;
}

.contact-box {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 25px 50px;
  background: rgba(111, 109, 172, 0.1);
  border: 2px solid rgba(111, 109, 172, 0.3);
  border-radius: 12px;
  color: #6f6dac;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-box:hover {
  border-color: #6f6dac;
  background: rgba(111, 109, 172, 0.2);
  transform: translateY(-3px);
}

/* Hamburger menu button styles */
.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 239, 204, 0.3);
  border: 2px solid var(--color-offwhite);
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
  pointer-events: auto;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-offwhite);
  display: block;
  transition: 0.3s;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .menu-toggle {
    display: flex;
  }

  /* Navbar - keep logo and contact info visible */
  .navbar {
    flex-direction: column;
    padding: 15px 20px;
    align-items: flex-start;
    z-index: 10;
  }

  .nav-logo {
    display: block;
    margin-bottom: 10px;
  }

  .nav-logo img {
    height: 80px;
  }

  .nav-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-top: 10px;
  }

  .nav-contact {
    font-size: 0.75em;
  }

  /* Navigation links dropdown */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--color-green);
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 0;
    transition: right 0.4s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .nav-links.menu-open {
    right: 0;
  }

  .nav-item {
    width: 100%;
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 239, 204, 0.2);
  }

  /* Home page adjustments */
  .home-prompt {
    top: 50%;
    left: 60%;
    padding: 0 20px;
  }

  .home-prompt h1 {
    font-size: 2em;
  }

  .home-prompt p {
    font-size: 1.2em;
  }

  .play-button {
    width: 80px;
    height: 80px;
  }

  .play-button svg {
    width: 50px;
    height: 50px;
  }

  /* Lamp repositioned on mobile */
  .lamp-home-container {
    width: 350px;
    height: 550px;
    left: 30%;
    top: 55%;
  }

  /* Animation page mobile */
  .animation-content {
    padding: 180px 20px 50px;
  }

  .animation-project h2 {
    font-size: 1.8em;
  }

  /* Show rendered animation on mobile */
  .rendered-animation {
    padding: 25px;
    margin-bottom: 40px;
  }

  .rendered-animation h3 {
    font-size: 1.6em;
  }

  /* Make process grid single column on mobile */
  .animation-process-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .animation-process-grid .process-box video {
    min-height: 250px;
  }

  /* Create collapsible sections for process videos */
  .animation-process-grid .process-box {
    position: relative;
  }

  .animation-process-grid .process-box h3 {
    cursor: pointer;
    padding-right: 30px;
    position: relative;
  }

  .animation-process-grid .process-box h3:after {
    content: '▼';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
  }

  .animation-process-grid .process-box.collapsed h3:after {
    transform: rotate(-90deg);
  }

  .animation-process-grid .process-box.collapsed video {
    display: none;
  }

  .animation-process-3col {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .process-column-left,
  .process-box-right {
    gap: 15px;
  }

  .project-divider {
    margin: 60px 0;
  }

  /* Production page mobile */
  .production-content {
    padding: 180px 20px 50px;
  }

  .production-content h1 {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .project-description {
    padding: 20px;
    margin-bottom: 40px;
  }

  .project-description p {
    font-size: 1em;
  }

  .production-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .production-videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .production-video-item video {
    min-height: 300px;
  }

  .ad-video {
    grid-row: span 1;
  }

  .pdf-viewer-section {
    padding: 20px;
    margin-top: 60px;
  }

  .pdf-viewer-section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .pdf-embed-container iframe {
    min-height: 600px;
  }

  /* Resume page mobile */
  .resume-content {
    padding: 180px 20px 50px;
  }

  .resume-container {
    padding: 20px;
  }

  /* Fine Arts page mobile */
  .fine-arts-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 60px 40px;
}

  .fine-arts-content h1 {
    font-size: 2em;
    margin-bottom: 10px;
  }

  /* Scrapbook mobile - stack slideshows vertically */
  .scrapbook-background {
    display: none;
  }

  .scrapbook-slideshows {
    position: static;
    grid-template-columns: 1fr;
    padding: 0;
    gap: 40px;
  }

  .scrapbook-pdf-display iframe {
    min-height: 400px;
  }

  .pdf-slideshow {
    flex-direction: column;
    gap: 20px;
  }

  .pdf-display iframe {
    height: 500px;
  }

  .slide-nav {
    width: 60px;
    height: 60px;
  }

  .slide-nav svg {
    width: 30px;
    height: 30px;
  }

  .slideshow-controls {
    gap: 20px;
  }

  .slide-counter {
    font-size: 1.4em;
  }

  .thumbnail {
    width: 45px;
    height: 45px;
    font-size: 1em;
  }

  /* About page mobile */
  .about-content {
    padding: 180px 20px 50px;
  }

  .about-section {
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
  }

  .about-photo img {
    width: 100%;
  }

  .about-bio p {
    font-size: 0.9em;
    line-height: 1.6;
  }

  .contact-box {
    font-size: 1.1em;
    padding: 20px 35px;
  }

  /* Lightbox mobile */
  .lightbox-close,
  .close-reel {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .lightbox-close svg,
  .close-reel svg {
    width: 24px;
    height: 24px;
  }

  #lightbox-video,
  .animation-content #lightbox-video {
    width: 95vw;
    max-height: 80vh;
  }

  #lightbox-img,
  .animation-content #lightbox-img {
    max-width: 95vw;
    max-height: 80vh;
  }

  /* Demo reel mobile */
  .demoreel-container {
    width: 95vw;
  }

  .download-btn {
    font-size: 1em;
    padding: 12px 30px;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .home-prompt {
    left: 65%;
  }

  .home-prompt h1 {
    font-size: 1.5em;
  }

  .home-prompt p {
    font-size: 1em;
  }

  .play-button {
    width: 70px;
    height: 70px;
  }

  .play-button svg {
    width: 40px;
    height: 40px;
  }

  .animation-project h2 {
    font-size: 1.5em;
  }

  .production-content h1 {
    font-size: 1.8em;
  }

  .pdf-viewer-section h2 {
    font-size: 1.5em;
  }

  .pdf-embed-container iframe {
    min-height: 500px;
  }

  /* Lamp repositioned for small phones */
  .lamp-home-container {
    width: 280px;
    height: 450px;
    left: 30%;
  }

  .process-box h3 {
    font-size: 1em;
  }

  .nav-logo img {
    height: 60px;
  }

  .rendered-animation {
    padding: 20px;
  }

  .rendered-animation h3 {
    font-size: 1.4em;
  }
}