/* ── CC Étterem · Filozofia ── editorial triptych ── */

.cc-fil {
  background: #F7F2EC;
  padding: 96px 0 0;
  font-family: 'Jost', sans-serif;
  overflow: hidden;
}

.cc-fil__wrap {
  max-width: 100%;
}

/* ── Header ── */
.cc-fil__header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 64px;
}

.cc-fil__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #A8957A;
  margin: 0 0 22px;
}

.cc-fil__eyebrow-rule {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(168, 149, 122, 0.5);
  flex-shrink: 0;
}

.cc-fil__heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(30px, 4vw, 52px);
  color: #1C1812;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ── Three-panel grid ── */
.cc-fil__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(168, 149, 122, 0.18);
}

/* ── Individual panel ── */
.cc-fil__panel {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(168, 149, 122, 0.18);
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s);
}

.cc-fil__panel:last-child {
  border-right: none;
}

.cc-fil__panel.cc-fil--in {
  opacity: 1;
  transform: none;
}

/* ── Image ── */
.cc-fil__img-wrap {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #E8E3DC;
  position: relative;
}

.cc-fil__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.cc-fil__panel:hover .cc-fil__img {
  transform: scale(1.05);
}

/* Subtle warm vignette at bottom of image */
.cc-fil__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(28, 24, 18, 0.28), transparent);
  pointer-events: none;
}

/* ── Text block ── */
.cc-fil__text {
  padding: 28px 36px 48px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #F7F2EC;
}

/* Gold italic number */
.cc-fil__num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: rgba(168, 149, 122, 0.8);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

/* Thin gold rule under number */
.cc-fil__rule-thin {
  width: 24px;
  height: 1px;
  background: rgba(168, 149, 122, 0.45);
  margin-bottom: 16px;
}

/* Title in tight small caps */
.cc-fil__title {
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1C1812;
  margin: 0 0 14px;
  line-height: 1.55;
}

/* Body text — minimal, supporting role */
.cc-fil__body {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(28, 24, 18, 0.62);
  margin: 0;
}

/* ── Tablet ── */
@media (max-width: 900px) {
  .cc-fil { padding: 80px 0 0; }
  .cc-fil__grid {
    grid-template-columns: 1fr;
    border-top: none;
  }
  .cc-fil__panel {
    border-right: none;
    border-top: 1px solid rgba(168, 149, 122, 0.18);
  }
  .cc-fil__img-wrap {
    aspect-ratio: 16 / 9;
  }
  .cc-fil__text { padding: 28px 28px 40px; }
}

@media (max-width: 480px) {
  .cc-fil { padding: 72px 0 0; }
  .cc-fil__header { padding: 0 20px; margin-bottom: 48px; }
  .cc-fil__img-wrap { aspect-ratio: 4 / 3; }
  .cc-fil__text { padding: 24px 20px 36px; }
}
