/* ===========================================
   Tribe Projects — Porto Rocha-Inspired Design
   Single Project View with Sidebar Navigation
   =========================================== */

/* ===========================================
   Font Face Declarations
   =========================================== */

@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFPRODISPLAYMEDIUM.OTF') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors - Light Mode */
  --color-bg: #f5f5f5;
  --color-sidebar: #f8f6f3;
  --color-card: #e8e3de;
  --color-text: #333;
  --color-text-muted: #666;
  --color-text-light: #888;
  --color-heading: #000;
  --color-border: #e5e5e5;
  --color-hover: #ddd8d2;

  /* Accent Colors */
  --pink: #FF0080;
  --yellow: #FFD600;
  --green: #00D66F;
  --red: #FF0000;
  --blue: #0047FF;

  /* Typography */
  --font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Layout */
  --sidebar-width: 25%;
  --sidebar-width-tablet: 30%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Dark Mode */
body.dark-mode {
  --color-bg: #1a1a1a;
  --color-sidebar: #1a1a1a;
  --color-card: #242424;
  --color-text: #e0e0e0;
  --color-text-muted: #a0a0a0;
  --color-text-light: #888;
  --color-heading: #ffffff;
  --color-border: #333;
  --color-hover: #333;
}

/* ===========================================
   Reset & Base
   =========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden; /* Prevent body scroll */
  height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===========================================
   Layout: Split Screen - Fixed
   =========================================== */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--color-sidebar);
  border-right: none;
  overflow-y: scroll;
  z-index: 100;
  display: block;
  transition: transform var(--transition);
  padding: 1rem 1rem 3rem 1rem;
  /* Hide scrollbar */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.sidebar::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Opera */
}

.main-content {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100% - var(--sidebar-width));
  height: 100vh;
  background: var(--color-bg);
  overflow: hidden;
}

/* ===========================================
   Project Views Container
   =========================================== */

.project-views {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  background: var(--color-bg);
}

.project-view.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Project Cards Scroll Container */
.project-cards-scroll {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  padding: 6px;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.project-cards-scroll::-webkit-scrollbar {
  display: none;
}

/* Large Project Cards */
.project-card-large {
  width: 100%;
  height: 80vh;
  border-radius: 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-card-large:last-child {
  margin-bottom: 2rem;
}

/* Video Card */
.project-card-video {
  position: relative;
}

.project-card-video iframe {
  border: none;
  border-radius: inherit;
}

/* Center a single video card */
.project-cards-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-cards-centered .project-card-large {
  margin-bottom: 0;
}

.project-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

/* ===========================================
   About Page - Bento Grid Styles
   =========================================== */

/* About page uses full height layout */
#about .project-cards-scroll {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 6px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6px;
  flex: 1;
  min-height: 0;
}

.bento-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-card {
  background: var(--color-card);
  border-radius: 12px;
  padding: 1.5rem;
}

/* Photo Card - Irregular height */
.bento-photo {
  height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.bento-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Bio Card - Takes remaining space */
.bento-bio {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
}

.bio-title {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.bio-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Current Update Card - Taller */
.bento-update {
  flex: 1.2;
}

/* Ideas Card */
.bento-ideas {
  flex: 1;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 1rem;
}

.section-text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.section-text:last-child {
  margin-bottom: 0;
}

/* Contact Card - Full Width at Bottom */
.bento-contact {
  padding: 1.25rem 1.5rem;
  margin-top: 6px;
  flex-shrink: 0;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item a,
.contact-item span:not(.contact-label) {
  font-size: 0.9rem;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.contact-item a:hover {
  color: var(--color-heading);
}

/* About page responsive */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-photo {
    height: 40vh;
  }

  .contact-row {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===========================================
   Sidebar: Top Controls
   =========================================== */

.sidebar-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 1.5rem;
}

.show-all-btn {
  background: var(--color-card);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition-fast);
  font-family: var(--font-family);
}

.show-all-btn:hover {
  background: var(--color-hover);
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 28px;
  background: var(--color-card);
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle-switch.active {
  background: var(--color-heading);
}

.toggle-switch.active::after {
  transform: translateX(20px);
}

/* ===========================================
   Sidebar: Header
   =========================================== */

.sidebar-header {
  padding: 1rem 0 2rem;
  text-align: center;
  border-bottom: none;
}

.studio-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 1.5rem;
}

.datetime {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-heading);
  line-height: 1.35;
}

.datetime .date-line {
  display: block;
}

.datetime .time-line {
  display: block;
}

#current-time {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ===========================================
   Sidebar: Content Cards
   =========================================== */

.sidebar-card {
  background: var(--color-card);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.5rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.card-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.show-more {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
  display: inline-block;
  transition: color var(--transition-fast);
}

.show-more:hover {
  color: var(--color-heading);
}

/* ===========================================
   Sidebar: Info Section
   =========================================== */

.sidebar-info {
  padding: 1rem;
}

.sidebar-info.clickable-card {
  display: block;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.sidebar-info.clickable-card:hover {
  opacity: 0.8;
}

.sidebar-info .info-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.info-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ===========================================
   Sidebar: Projects List
   =========================================== */

.sidebar-projects {
  padding: 0;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual project card wrapper */
.project-card-wrapper {
  margin-bottom: 0.5rem;
}

.project-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0;
  border-radius: 0;
  transition: opacity var(--transition-fast);
  cursor: pointer;
  background: transparent;
}

.project-card:hover {
  opacity: 0.8;
}

.project-card.active {
  background: transparent;
  box-shadow: none;
}

.project-thumb {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-thumb span {
  font-size: 1.5rem;
  font-weight: 700;
}

.project-details {
  flex: 1;
  min-width: 0;
  padding-top: 0.25rem;
}

.project-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.project-tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.4;
}

.project-card .show-more {
  display: none;
}

/* ===========================================
   Sidebar: Footer (hidden in new design)
   =========================================== */

.sidebar-footer {
  display: none;
}

/* ===========================================
   Project View: Showcase (Default/Home View)
   =========================================== */

.showcase-view {
  padding: 4rem;
  min-height: 100%;
}

.showcase-header {
  margin-bottom: 3rem;
}

.showcase-header h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.showcase-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* Isometric Grid */
.isometric-showcase {
  position: relative;
  min-height: 60vh;
  perspective: 1500px;
  margin-bottom: 4rem;
}

.isometric-grid {
  position: relative;
  width: 100%;
  height: 60vh;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(-5deg);
}

.iso-item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: rotate(var(--rotate)) translateZ(0);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.iso-item:hover {
  transform: rotate(var(--rotate)) translateZ(30px) scale(1.05);
}

.iso-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.1);
}

.iso-face.front.pink { background: var(--pink); }
.iso-face.front.yellow { background: var(--yellow); }
.iso-face.front.green { background: var(--green); }
.iso-face.front.red { background: var(--red); }
.iso-face.front.blue { background: var(--blue); }
.iso-face.front.black { background: #111; }
.iso-face.front.white { background: #fff; border: 1px solid var(--color-border); }

.iso-text {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  text-align: center;
  line-height: 1.1;
}

.iso-text.dark { color: #111; }
.iso-text.white { color: #fff; }
.iso-text.small { font-size: 0.6rem; margin-top: 0.25rem; }
.iso-text.large { font-size: 1.5rem; }
.iso-text.vertical { writing-mode: vertical-rl; text-orientation: mixed; }

/* Item Sizes */
.book-large .iso-face { width: 180px; height: 240px; font-size: 1.2rem; }
.book-medium .iso-face { width: 140px; height: 180px; font-size: 1rem; }
.folder .iso-face { width: 200px; height: 150px; font-size: 1.1rem; }
.brochure .iso-face { width: 100px; height: 200px; font-size: 0.9rem; }
.card-stack .iso-face { width: 120px; height: 120px; font-size: 1rem; }
.poster .iso-face { width: 160px; height: 220px; font-size: 1.1rem; }
.magazine .iso-face { width: 150px; height: 200px; font-size: 1rem; }
.business-card .iso-face { width: 100px; height: 60px; font-size: 0.65rem; }
.booklet .iso-face { width: 120px; height: 160px; font-size: 1.2rem; }
.envelope .iso-face { width: 140px; height: 100px; font-size: 0.9rem; }

/* Updates in Showcase */
.updates-section {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.update-card {
  background: var(--color-sidebar);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.update-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.update-image {
  height: 140px;
}

.update-content {
  padding: 1.25rem;
}

.update-date {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
  display: block;
}

.update-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.update-content p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===========================================
   Project View: Individual Project
   =========================================== */

.project-view-content {
  padding: 4rem;
  min-height: 100%;
}

.project-hero {
  margin-bottom: 4rem;
}

.project-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.project-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.project-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.5;
}

/* Project Main Image */
.project-main-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  font-weight: 500;
}

/* Project Details Grid */
.project-details-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.meta-block h3 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.meta-block p {
  font-size: 1rem;
  color: var(--color-text);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags span {
  padding: 0.5rem 1rem;
  background: var(--color-sidebar);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.project-description p {
  margin-bottom: 1.5rem;
}

/* Project Gallery */
.project-gallery {
  margin-bottom: 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

.gallery-item.full-width {
  grid-column: span 2;
  aspect-ratio: 21 / 9;
}

/* Project Footer */
.project-view-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-hint {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.back-to-overview {
  font-size: 0.85rem;
  color: var(--color-text);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: all var(--transition-fast);
  cursor: pointer;
  background: transparent;
}

.back-to-overview:hover {
  background: var(--color-heading);
  color: white;
  border-color: var(--color-heading);
}

/* ===========================================
   Mobile Menu Toggle
   =========================================== */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: var(--color-sidebar);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: var(--color-heading);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  transition: opacity var(--transition);
}

.sidebar-overlay.active {
  opacity: 1;
}

/* ===========================================
   Responsive: Tablet
   =========================================== */

@media (max-width: 1199px) {
  :root {
    --sidebar-width: 30%;
  }

  .isometric-showcase {
    min-height: 50vh;
  }

  .isometric-grid {
    height: 50vh;
  }

  .project-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .updates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.full-width {
    grid-column: span 1;
  }
}

/* ===========================================
   Responsive: Mobile
   =========================================== */

@media (max-width: 767px) {
  body {
    overflow: auto;
    height: auto;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .sidebar-overlay {
    display: block;
    pointer-events: none;
  }

  .sidebar-overlay.active {
    pointer-events: auto;
  }

  .sidebar {
    width: 85%;
    max-width: 320px;
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
  }

  .project-views {
    position: relative;
  }

  .project-view {
    position: relative;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .project-view.active {
    display: block;
  }

  .showcase-view,
  .project-view-content {
    padding: 5rem 1.5rem 2rem;
  }

  .isometric-showcase {
    min-height: 40vh;
  }

  .isometric-grid {
    height: 35vh;
    transform: rotateX(10deg) rotateY(-3deg) scale(0.6);
  }

  .project-hero h1 {
    font-size: 2rem;
  }

  .project-subtitle {
    font-size: 1rem;
  }

  .updates-grid {
    grid-template-columns: 1fr;
  }

  .project-view-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ===========================================
   Scrollbar Styling
   =========================================== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-light);
}

/* ===========================================
   Focus States (Accessibility)
   =========================================== */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.project-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

/* ===========================================
   Animations
   =========================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.project-view.active .project-view-content,
.project-view.active .showcase-view {
  animation: fadeIn 0.4s ease-out;
}

/* Print Styles */
@media print {
  .sidebar,
  .mobile-menu-toggle,
  .sidebar-overlay {
    display: none !important;
  }

  .main-content {
    position: relative !important;
    width: 100% !important;
    margin-left: 0 !important;
  }
}
