

.portfolio-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.portfolio-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.portfolio-link:hover {
  color: var(--accent-light);
  text-decoration-line: underline;
  text-decoration-color: var(--accent-light);
}

.media-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.15);
}

.social-grid-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(180, 165, 199, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.social-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.category-badge {
  background: linear-gradient(135deg,  var(--accent-light), var(--accent));
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.font-display {
  font-family: Georgia, serif;
}

.horizontal-media-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 2rem;
}

.horizontal-media-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.reel-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
}

.reel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* Your existing carousel styles */
.carousel-container {
  max-width: 400px;
  width: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.carousel-container:hover .carousel-nav {
  opacity: 1;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-nav.prev {
  left: 16px;
}

.carousel-nav.next {
  right: 16px;
}

.carousel-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}

.carousel-wrapper {
  touch-action: pan-y;
}

.carousel-track.dragging {
  transition: none;
}

.tweet-carousel-container {
  max-width: 850px;
  width: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.tweet-carousel-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.tweet-carousel-track {
  display: flex;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.tweet-carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.tweet-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.tweet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(29, 161, 242, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tweet-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.tweet-carousel-container:hover .tweet-carousel-nav {
  opacity: 1;
}

.tweet-carousel-nav.prev {
  left: 16px;
}

.tweet-carousel-nav.next {
  right: 16px;
}

.tweet-carousel-track.dragging {
  transition: none;
}

.folder-wrap {
  background: #f0e9df;
  border-radius: 16px 16px 0 0;
  padding: 0 2.5rem;
  display: flex;
  gap: 6px;
  align-items: flex-end;
  max-width: 90rem;
  margin: 0 auto;
}

.folder-tab {
  position: relative;
  padding: 14px 36px;
  border-radius: 10px 10px 0 0;
  font-family: 'Marion', 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  background: #e8ddd1;
  color: #9a8878;
  border: 1px solid #d9cfc4;
  border-bottom: none;
  bottom: -1px;
}

.folder-tab:hover {
  background: #f5f0ea;
  color: #4a3728;
}

.folder-tab.active {
  background: #f5f0ea;
  color: var(--accent);
  font-weight: 600;
  z-index: 2;
  padding-top: 16px;
  border-color: #ddd4c8;
  border-bottom: 1px solid #f5f0ea;
}

.folder-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #f5f0ea;
}

.folder-body {
  background: #f5f0ea;
  border: 1px solid #ddd4c8;
  border-radius: 0 16px 16px 16px;
  max-width: 90rem;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(74, 55, 40, 0.07);
  overflow: hidden;
}

.folder-intro {
  padding: 3rem 3.5rem 2.5rem;
  border-bottom: 1px solid #ddd4c8;
}

.tab-section {
  animation: fadeInTab 0.35s ease;
}

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

.folder-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.folder-body-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 640px;
}

/* --- Folder tabs: extras ------------------------------------------------ */
.folder-tab:hover { color: var(--accent); }
.folder-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Section pills under the intro text */
.tab-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.25rem; }
.tab-pills .pill {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent);
  text-decoration: none; transition: background .2s ease, color .2s ease;
}
.tab-pills .pill:hover { background: var(--accent); color: #fff; }

/* Anchors inside the folder land below the sticky nav + tab bar */
.folder-body [id] { scroll-margin-top: 170px; }

@media (max-width: 640px) {
  .folder-wrap { padding: 0 1rem; }
  .folder-tab { padding: 12px 18px; font-size: .9rem; letter-spacing: .04em; }
  .folder-tab.active { padding-top: 14px; }
  .folder-intro { padding: 2rem 1.25rem 1.75rem; }
  .folder-body [id] { scroll-margin-top: 150px; }
}
