
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;1,400&display=swap');

:root { --muted:#666; }

* { box-sizing: border-box; }

body {
  margin:0; padding:0;
  background:#fff;
  font-family:'Cormorant Garamond', serif;
  color:#111;
}

.container {
  max-width:1200px;
  margin:40px auto 80px auto;
  padding:0 24px;
}

h1 {
  font-size:70px;
  text-transform:uppercase;
  font-style:italic;
  font-weight:400;
  letter-spacing:0.08em;
  margin:0 0 6px 0;
}

.didactic {
  font-size:20px;
  color:var(--muted);
  margin-bottom:28px;
}

/* Grid: 3–4 per row responsive */
.grid {
  display:grid;
  gap:28px;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
}

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

/* Label above tile */
.label {
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-size:12px;
  color:var(--muted);
}

/* Full-bleed thumbnail inside tile with consistent footprint */
.thumb {
  position:relative;
  width:100%;
  aspect-ratio: 4 / 3; /* steady grid shape */
  overflow:hidden;
}

.thumb img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;   /* full-bleed */
  display:block;
  -webkit-user-drag: none;
}

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

/* Video page */
.video-page {
  max-width:900px;
}

.back { text-decoration:none; color:#111; }
.back:hover { text-decoration:underline; }

.player-wrap {
  border:1px solid #eaeaea;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 8px 30px rgba(0,0,0,0.04);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
}

.player-wrap video {
  max-width:100%;
  max-height:80vh;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  background:#fff;
}
/* FIX FOR LABELS DISAPPEARING */
.thumb-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

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