/* ============================================
   MAY'MENTO MORI - COMPLETE STYLES v3
   ============================================ */

:root {
  /* Couleurs */
  --court-green: #6B7F6D;
  --card-green: #5A6C5C;
  --pine: #294122;
  --sacramento: #162114;
  --clay-orange: #E85D35;
  --tangerine: #EB3D00;
  --chiffon: #FFEDD2;
  --cream: #FAF7F2;
  --text-white: #ffffff;
  
  /* Typographies */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Animations */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-image: url('img/bgentier.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.0rem 2rem;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--clay-orange);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  opacity: 0.85;
  transition: opacity 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clay-orange);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-white);
  cursor: pointer;
  border-radius: 100px;
}

/* ============================================
   ENTRY VIEW (HERO)
   ============================================ */
.entryview {
  min-height: auto;
  padding: calc(100px + var(--space-md)) var(--space-md) var(--space-lg);
}

.entryview-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: center;
}

.entryview-content {
  z-index: 2;
}

/* Badge */
.entryview-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.entryview h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.entryview h1 em {
  font-style: italic;
}

.entryview h1 .mori {
  display: block;
  font-size: 0.28em;
  font-family: var(--font-mono);
  font-style: normal;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay-orange);
  margin-top: 0.5rem;
}

.entryview-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 400px;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.entryview-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ============================================
   MOODBOARD - 4 Pins côte à côte avec rotations
   ============================================ */
   
.entryview-moodboard {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
}

.moodboard-pin {
  background: white;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
}

.moodboard-pin:hover {
  transform: translateY(-10px) rotate(0deg) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

/* Pin icon (punaise) */
.pin-icon {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #C41E3A;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.pin-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  background: #888;
}

.moodboard-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Pin 1 - Penché gauche */
.moodboard-pin-1 {
  width: 140px;
  height: 200px;
  transform: rotate(-5deg);
  margin-top: 20px;
}

/* Pin 2 - Légèrement penché droite, plus haut */
.moodboard-pin-2 {
  width: 150px;
  height: 220px;
  transform: rotate(3deg);
  margin-top: -10px;
}

/* Pin 3 - Penché gauche, plus bas */
.moodboard-pin-3 {
  width: 140px;
  height: 190px;
  transform: rotate(-3deg);
  margin-top: 30px;
}

/* Pin 4 - Penché droite */
.moodboard-pin-4 {
  width: 150px;
  height: 210px;
  transform: rotate(5deg);
  margin-top: 5px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .entryview-moodboard {
    gap: 0.8rem;
  }
  
  .moodboard-pin-1,
  .moodboard-pin-2,
  .moodboard-pin-3,
  .moodboard-pin-4 {
    width: 110px;
    height: 160px;
  }
}

@media (max-width: 600px) {
  .entryview-moodboard {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .moodboard-pin-1,
  .moodboard-pin-2,
  .moodboard-pin-3,
  .moodboard-pin-4 {
    width: 130px;
    height: 180px;
    margin-top: 0;
  }
  
  /* Cache 2 pins sur mobile */
  .moodboard-pin-3,
  .moodboard-pin-4 {
    display: none;
  }
}
/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--clay-orange);
  color: var(--text-white);
  border-color: var(--clay-orange);
}

.btn-primary:hover {
  background: var(--text-white);
  color: var(--clay-orange);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--sacramento);
  border-color: var(--text-white);
}

.btn-pill {
  background: var(--text-white);
  color: var(--clay-orange);
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s var(--ease-out-expo);
}

.btn-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.btn-container {
  margin-top: var(--space-md);
  display: flex;
  justify-content: center;
}

/* ============================================
   SECTION STYLES - PADDING RÉDUIT
   ============================================ */
section {
  padding: var(--space-lg) var(--space-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.title-serif {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.title-serif em {
  font-style: italic;
  color: var(--clay-orange);
}

.section-header p {
  font-size: 1rem;
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   TEMPLATES SECTION - FOLDERS CORRIGÉS
   ============================================ */
.templates-section {
  max-width: 1100px;
  margin: 0 auto;
}

.folder-grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.folder-wrapper {
  cursor: pointer;
  width: 260px;
  height: 280px;
}

.folder-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Carte fichier - positionnée devant au hover */
.file-card {
  position: absolute;
  top: 20px;
  left: 15px;
  right: 15px;
  background: var(--card-green);
  padding: 1rem;
  border-radius: 8px;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s var(--ease-bounce), opacity 0.3s ease, z-index 0s 0.1s;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0;
}

/* Dossier fermé - visible par défaut */
.folder-closed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.25));
  transition: opacity 0.3s ease;
  opacity: 1;
}

/* Dossier ouvert - caché par défaut */
.folder-open {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.25));
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-bounce);
}

/* Animation au hover */
.folder-wrapper:hover .folder-closed {
  opacity: 0;
}

.folder-wrapper:hover .folder-open {
  opacity: 1;
  transform: translateY(70px);
}

.folder-wrapper:hover .file-card {
  transform: translateY(0px);
  opacity: 1;
  z-index: 5;
}

.file-tag {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2px 6px;
  width: fit-content;
  opacity: 0.9;
}

.file-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  margin-top: 0.2rem;
}

.file-card p {
  font-size: 0.65rem;
  line-height: 1.4;
  opacity: 0.85;
}

.file-btn {
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.8;
  align-self: flex-end;
  margin-top: auto;
  transition: opacity 0.3s ease;
}

.file-btn:hover {
  opacity: 1;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: var(--space-md) var(--space-md);
  margin: var(--space-sm) 0;
}

.stats-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--text-white);
}

.stat-item p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
  opacity: 0.7;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   TUTORIALS SECTION (POLAROIDS)
   ============================================ */
.tutorials-section {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: var(--space-md);
}

.video-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.polaroid-card {
  background: var(--text-white);
  padding: 10px 10px 18px 10px;
  width: 280px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transition: all 0.5s var(--ease-out-expo);
  transform: rotate(-1deg);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.polaroid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 10;
  pointer-events: none;
}

.polaroid-card:nth-child(2) {
  transform: rotate(1.5deg);
  margin-top: -15px;
}

.polaroid-card:nth-child(3) {
  transform: rotate(-0.5deg);
}

.polaroid-card:hover {
  transform: scale(1.08) rotate(0deg) translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.polaroid-card:hover::before {
  left: 100%;
}

.polaroid-card:hover .polaroid-img-container img {
  transform: scale(1.05);
}

.polaroid-img-container {
  position: relative;
  width: 100%;
  height: 180px;
  background: #000;
  margin-bottom: 12px;
  overflow: hidden;
}

.polaroid-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}

.video-time {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 6px;
  border-radius: 3px;
}

.polaroid-caption {
  text-align: left;
  color: var(--sacramento);
  padding: 0 5px;
}

.polaroid-caption h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.polaroid-caption p {
  font-size: 0.7rem;
  color: #666;
}

/* ============================================
   POSTS SECTION (NOTES APP)
   ============================================ */
.posts-section {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: var(--space-sm);
}

.notes-app-container {
  display: flex;
  justify-content: center;
}

.ios-note {
  background: var(--text-white);
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  color: var(--sacramento);
}

.note-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee;
}

.back-link {
  color: #E6B800;
  font-weight: 600;
  font-size: 1rem;
}

.note-toolbar-icon {
  height: 22px;
  width: auto;
  opacity: 0.7;
}

.note-content {
  padding: 3rem 2rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.handwritten-title {
  font-family: var(--font-display);
  color: #D4AF37;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.handwritten-text {
  font-family: var(--font-display);
  font-style: italic;
  color: #888;
  font-size: 1.1rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  max-width: 900px;
  margin: 0 auto;
  padding-top: var(--space-sm);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.about-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--space-md);
}

.about-card-main {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-lg);
}

/* Avatar */
.about-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--court-green), var(--pine));
  border-radius: 50%;
  margin: 0 auto var(--space-sm);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-avatar::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--clay-orange);
  border-radius: 50%;
  top: 15px;
}

.about-avatar::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 35px;
  background: var(--clay-orange);
  border-radius: 50% 50% 0 0;
  bottom: 0;
}

/* Icons pour les cartes about */
.about-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: var(--space-sm);
}

.about-icon-name {
  background: linear-gradient(135deg, var(--court-green), var(--pine));
  position: relative;
}

.about-icon-name::before {
  content: '♥';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-white);
  font-size: 1.2rem;
}

.about-icon-mission {
  background: linear-gradient(135deg, var(--clay-orange), var(--tangerine));
  position: relative;
}

.about-icon-mission::before {
  content: '→';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-white);
  font-size: 1.2rem;
  font-weight: bold;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.about-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: var(--space-lg) var(--space-md) var(--space-md);
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  margin-top: var(--space-lg);
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: var(--space-md);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--space-md);
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out-expo);
}

.social-links a:hover {
  background: var(--clay-orange);
  border-color: var(--clay-orange);
  transform: translateY(-3px);
}

/* Social icons en CSS */
.social-icon {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}

.social-tiktok {
  background-color: var(--text-white);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.59 6.69a4.83 4.83 0 01-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 01-5.2 1.74 2.89 2.89 0 012.31-4.64 2.93 2.93 0 01.88.13V9.4a6.84 6.84 0 00-1-.05A6.33 6.33 0 005 20.1a6.34 6.34 0 0010.86-4.43v-7a8.16 8.16 0 004.77 1.52v-3.4a4.85 4.85 0 01-1-.1z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.59 6.69a4.83 4.83 0 01-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 01-5.2 1.74 2.89 2.89 0 012.31-4.64 2.93 2.93 0 01.88.13V9.4a6.84 6.84 0 00-1-.05A6.33 6.33 0 005 20.1a6.34 6.34 0 0010.86-4.43v-7a8.16 8.16 0 004.77 1.52v-3.4a4.85 4.85 0 01-1-.1z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.social-twitter {
  background-color: var(--text-white);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.social-github {
  background-color: var(--text-white);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.social-strava {
  background-color: var(--text-white);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.387 17.944l-2.089-4.116h-3.065L15.387 24l5.15-10.172h-3.066m-7.008-5.599l2.836 5.598h4.172L10.463 0l-7 13.828h4.169'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.387 17.944l-2.089-4.116h-3.065L15.387 24l5.15-10.172h-3.066m-7.008-5.599l2.836 5.598h4.172L10.463 0l-7 13.828h4.169'/%3E%3C/svg%3E") center/contain no-repeat;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.5;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .entryview-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .entryview-content {
    order: 2;
  }

  .entryview-moodboard {
    order: 1;
    justify-content: center;
    margin-bottom: var(--space-md);
  }

  .entryview-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .entryview-cta {
    justify-content: center;
  }

  .moodboard-pin-1,
  .moodboard-text-pin {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-card-main {
    grid-column: 1;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex-basis: 40%;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .entryview h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .folder-grid {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .video-grid {
    flex-direction: column;
    align-items: center;
  }

  .polaroid-card {
    width: 100%;
    max-width: 320px;
    transform: none !important;
    margin-top: 0 !important;
  }

  .title-serif {
    font-size: 2rem;
  }

  .entryview-moodboard {
    gap: 0.5rem;
  }

  .moodboard-pin-2,
  .moodboard-pin-3 {
    width: 120px;
    height: 160px;
  }
}