/* ==========================================================================
   Jolly Good Production — theme styles
   Consolidated from the original static pages. Tailwind (Play CDN) handles
   utility classes; this file carries the bespoke cinematic components.
   ========================================================================== */

html {
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: #0c0805;
  color: #f4ece2;
}

/* Cinematic grain overlay */
.grain::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.rule-top {
  border-top: 1px solid rgba(244, 236, 226, 0.1);
}

/* ============== Nav link — wipe-in brass underline ============== */
.nav-link {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.35s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: #c69a4c;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-link:hover,
.nav-link.is-active {
  color: #c69a4c;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ============== Shared fixed page backdrop (inner pages) ============== */
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #0c0805;
}
.page-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 52%;
  transform: scale(1.55);
  transform-origin: 28% 52%;
  filter: brightness(0.4) contrast(1.05) saturate(0.85);
}
.page-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 30% 40%,
      rgba(198, 154, 76, 0.08),
      rgba(12, 8, 5, 0) 60%
    ),
    linear-gradient(
      180deg,
      rgba(12, 8, 5, 0.55) 0%,
      rgba(12, 8, 5, 0.8) 60%,
      rgba(12, 8, 5, 0.94) 100%
    );
}

/* ============== Ornamental brass divider ============== */
.ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.ornament i {
  display: block;
  width: clamp(40px, 8vw, 88px);
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(198, 154, 76, 0) 0%,
    rgba(198, 154, 76, 0.7) 50%,
    rgba(198, 154, 76, 0) 100%
  );
}
.ornament-dot {
  width: 6px;
  height: 6px;
  background: #c69a4c;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(198, 154, 76, 0.6);
}

/* ============== Staggered entrance ============== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* ============== Hero (home) ============== */
.title-brown-music {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-style: italic;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 100;
  letter-spacing: -0.035em;
  line-height: 0.85;
}
.hero-picture {
  aspect-ratio: 4 / 5;
}
.hero-picture img {
  object-position: 78% center;
}
@media (min-width: 768px) {
  .hero-picture {
    aspect-ratio: 2692 / 1207;
  }
  .hero-picture img {
    object-position: center;
  }
}
.hero-vignette {
  background: radial-gradient(
    ellipse at 70% 50%,
    transparent 0%,
    rgba(12, 8, 5, 0.35) 60%,
    rgba(12, 8, 5, 0.85) 100%
  );
}

/* ============== Home content section: theatrical treatment ============== */
.content-section {
  background: #0c0805;
}
.section-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.section-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 52%;
  transform: scale(1.55);
  transform-origin: 28% 52%;
  filter: brightness(0.42) contrast(1.05) saturate(0.85);
}
.section-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 30% 40%,
      rgba(198, 154, 76, 0.1),
      rgba(12, 8, 5, 0) 60%
    ),
    linear-gradient(
      180deg,
      rgba(12, 8, 5, 0.55) 0%,
      rgba(12, 8, 5, 0.8) 60%,
      rgba(12, 8, 5, 0.92) 100%
    );
}

/* ============== CTA pill ============== */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  border: 1px solid rgba(198, 154, 76, 0.55);
  border-radius: 999px;
  color: #f4ece2;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: inherit;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
  backdrop-filter: blur(2px);
}
.cta-link:hover {
  background: #c69a4c;
  border-color: #c69a4c;
  color: #0c0805;
  transform: translateY(-1px);
}
.cta-link .cta-arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cta-link:hover .cta-arrow {
  transform: translateX(5px);
}
.cta-primary {
  background: #c69a4c;
  border-color: #c69a4c;
  color: #0c0805;
  padding: 20px 38px;
  font-size: 13px;
  letter-spacing: 0.32em;
  box-shadow:
    0 20px 40px -18px rgba(198, 154, 76, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.cta-primary:hover {
  background: #d7a757;
  border-color: #d7a757;
  color: #0c0805;
  transform: translateY(-2px);
  box-shadow:
    0 28px 52px -20px rgba(198, 154, 76, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ============== Cast slider (Swiper) ============== */
.tracks-swiper {
  padding: 0 clamp(16px, 4vw, 56px);
}
.tracks-swiper .swiper-button-prev,
.tracks-swiper .swiper-button-next {
  color: #f4ece2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 236, 226, 0.18);
  border-radius: 999px;
  background: rgba(12, 8, 5, 0.55);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}
.tracks-swiper .swiper-button-prev:hover,
.tracks-swiper .swiper-button-next:hover {
  border-color: #c69a4c;
  color: #c69a4c;
}
.tracks-swiper .swiper-button-prev::after,
.tracks-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

/* Cast reel card */
.reel-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #1a1109;
  box-shadow:
    0 10px 24px -18px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(244, 236, 226, 0.06);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reel-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 44px -20px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(198, 154, 76, 0.5);
}
.reel-card .reel-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%) brightness(0.88) contrast(1.02);
  transition:
    transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.6s ease;
}
.reel-card:hover .reel-poster {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1.02) contrast(1.05);
}
.reel-card .reel-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  overflow: hidden;
  background: #000;
  transition: opacity 0.45s ease;
}
.reel-card .reel-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 178%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.reel-card.is-playing .reel-media {
  opacity: 1;
}
.reel-card .reel-fade {
  position: absolute;
  inset: 40% 0 0 0;
  background: linear-gradient(
    to top,
    rgba(12, 8, 5, 0.95) 0%,
    rgba(12, 8, 5, 0.55) 45%,
    rgba(12, 8, 5, 0) 100%
  );
  pointer-events: none;
}
.reel-play {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(244, 236, 226, 0.35);
  background: rgba(12, 8, 5, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4ece2;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.35s ease,
    background 0.35s ease;
  pointer-events: none;
}
.reel-card.is-playing .reel-play {
  opacity: 0;
  transform: scale(0.85);
}
.reel-play svg {
  transform: translateX(1px);
}
.reel-card .card-info {
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reel-card:hover .card-info {
  transform: translateY(-4px);
}
.reel-card .accent {
  width: 0;
  transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reel-card:hover .accent {
  width: 36px;
}

/* ============== Video modal ============== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(12, 8, 5, 0.88);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.video-modal.is-open {
  display: flex;
  opacity: 1;
}
.modal-player {
  position: relative;
  width: min(1200px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(198, 154, 76, 0.35);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.video-modal.is-open .modal-player {
  transform: translateY(0) scale(1);
}
.modal-mount {
  width: 100%;
  height: 100%;
  background: #000;
  position: relative;
}
.modal-mount iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.modal-close {
  position: absolute;
  top: -56px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(244, 236, 226, 0.25);
  background: rgba(12, 8, 5, 0.6);
  color: #f4ece2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
  backdrop-filter: blur(6px);
}
.modal-close:hover {
  border-color: #c69a4c;
  color: #c69a4c;
}
.modal-caption {
  position: absolute;
  left: 0;
  bottom: -52px;
  color: #f4ece2;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.modal-caption .eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #c69a4c;
}
.modal-caption .name {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 22px);
}
@media (max-width: 640px) {
  .modal-close {
    top: -48px;
    width: 38px;
    height: 38px;
  }
  .modal-caption {
    bottom: -44px;
  }
  .modal-caption .name {
    font-size: 15px;
  }
}

/* ============== Hero scroll cue ============== */
.scroll-cue {
  position: absolute;
  right: clamp(18px, 2.4vw, 44px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: rgba(244, 236, 226, 0.6);
  pointer-events: none;
}
.scroll-cue span {
  font-size: 10px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  line-height: 1;
}
.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: clamp(84px, 16vh, 150px);
  background: rgba(244, 236, 226, 0.18);
  overflow: hidden;
}
.scroll-cue i::before {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(198, 154, 76, 0),
    #c69a4c 50%,
    rgba(198, 154, 76, 0)
  );
  animation: scrollCue 2.4s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
@keyframes scrollCue {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

/* ============== Trailer stage ============== */
.trailer-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(198, 154, 76, 0.25);
  cursor: pointer;
}
@media (min-width: 768px) {
  .trailer-stage {
    aspect-ratio: 2692 / 1207;
  }
}
.trailer-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  transition:
    transform 9s ease,
    filter 0.6s ease;
}
@media (min-width: 768px) {
  .trailer-poster {
    object-position: center;
  }
}
.trailer-title {
  position: absolute;
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 70%;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.trailer-title img {
  width: 100%;
  max-width: 240px;
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55));
}
@media (min-width: 768px) {
  .trailer-title {
    top: 50%;
    left: clamp(24px, 5vw, 64px);
    transform: translateY(-50%);
    max-width: 38%;
    text-align: left;
  }
  .trailer-title img {
    max-width: 240px;
  }
}
@media (min-width: 1024px) {
  .trailer-title img {
    max-width: 320px;
  }
}
@media (min-width: 1280px) {
  .trailer-title img {
    max-width: 400px;
  }
}
.trailer-stage.is-playing .trailer-title {
  opacity: 0;
  pointer-events: none;
}
.trailer-stage:hover .trailer-poster {
  transform: scale(1.04);
  filter: brightness(1.04);
}
.trailer-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(12, 8, 5, 0.35) 0%,
      rgba(12, 8, 5, 0) 25%,
      rgba(12, 8, 5, 0) 70%,
      rgba(12, 8, 5, 0.55) 100%
    ),
    radial-gradient(
      ellipse 70% 60% at 50% 55%,
      rgba(12, 8, 5, 0) 0%,
      rgba(12, 8, 5, 0.55) 100%
    );
}
.trailer-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(84px, 9vw, 116px);
  height: clamp(84px, 9vw, 116px);
  border-radius: 999px;
  color: #f4ece2;
  background: rgba(12, 8, 5, 0.4);
  border: 1px solid rgba(244, 236, 226, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.trailer-play::before,
.trailer-play::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(198, 154, 76, 0.55);
  animation: playRing 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}
.trailer-play::after {
  animation-delay: -1.3s;
}
@keyframes playRing {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.trailer-play svg {
  width: 28px;
  height: 28px;
  transform: translateX(2px);
}
.trailer-stage:hover .trailer-play {
  background: rgba(198, 154, 76, 0.95);
  border-color: #c69a4c;
  color: #0c0805;
  transform: translate(-50%, -50%) scale(1.06);
}
.trailer-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(14px, 2.5vw, 26px) clamp(18px, 3.5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(244, 236, 226, 0.85);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  pointer-events: none;
}
.trailer-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c69a4c;
}
.trailer-meta .group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trailer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  background: #000;
}
.trailer-stage.is-playing .trailer-poster,
.trailer-stage.is-playing .trailer-vignette,
.trailer-stage.is-playing .trailer-play,
.trailer-stage.is-playing .trailer-meta {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.trailer-stage.is-playing .trailer-video {
  opacity: 1;
  pointer-events: auto;
}
.trailer-stage.is-playing {
  cursor: default;
}

/* ============== Brown Music (Projects) page ============== */
.title-art {
  position: relative;
  display: inline-block;
}
.title-art img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.5));
}
@media (min-width: 768px) {
  .title-art img {
    max-width: 380px;
  }
}
.title-art .tm {
  position: absolute;
  top: 8%;
  right: -14px;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.02em;
  color: #c69a4c;
}
.release-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border: 1px solid rgba(198, 154, 76, 0.45);
  border-radius: 2px;
  background: rgba(26, 17, 9, 0.55);
  backdrop-filter: blur(8px);
}
.release-ribbon .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c69a4c;
  box-shadow: 0 0 10px rgba(198, 154, 76, 0.8);
  animation: ribbonPulse 2.2s ease-in-out infinite;
}
@keyframes ribbonPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.release-ribbon .label {
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(244, 236, 226, 0.7);
}
.release-ribbon .date {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: #f4ece2;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.01em;
}
.prose-fluid {
  text-align: left;
}
.prose-fluid p {
  font-size: clamp(16px, 1.12vw, 18px);
  line-height: 1.88;
  color: rgba(244, 236, 226, 0.85);
  letter-spacing: 0.003em;
}
.prose-fluid p + p {
  margin-top: 1.9em;
  position: relative;
}
.prose-fluid p + p::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  background: #c69a4c;
  transform: rotate(45deg);
  margin: 0 auto 1.9em;
  opacity: 0.55;
  box-shadow: 0 0 6px rgba(198, 154, 76, 0.45);
}
.prose-fluid .lead {
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.82;
  color: rgba(244, 236, 226, 0.95);
}
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(26, 17, 9, 0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(198, 154, 76, 0.2);
  box-shadow:
    0 50px 100px -50px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(244, 236, 226, 0.04);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(198, 154, 76, 0.15),
    rgba(12, 8, 5, 0) 70%
  );
  pointer-events: none;
}

/* ============== Projects listing cards ============== */
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(26, 17, 9, 0.55);
  border: 1px solid rgba(244, 236, 226, 0.08);
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.8);
  transition:
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.5s ease;
}
a.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 154, 76, 0.45);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.85);
}
/* Media: fixed 16:10 window, image always covers — never stretches */
.project-card .pc-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(198, 154, 76, 0.12), rgba(12, 8, 5, 0) 70%),
    #120c07;
}
.project-card .pc-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.94) contrast(1.02);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
a.project-card:hover .pc-thumb {
  transform: scale(1.05);
}
/* Fallback (no photo set): center a contained logo instead of stretching */
.project-card .pc-thumb.is-fallback {
  object-fit: contain;
  padding: 22% 18%;
  filter: none;
  opacity: 0.9;
}
.project-card .pc-body {
  padding: 20px 22px 24px;
}
.project-card .pc-accent {
  width: 0;
  height: 1px;
  background: #c69a4c;
  margin-bottom: 14px;
  transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
a.project-card:hover .pc-accent {
  width: 40px;
}
.project-card .pc-title {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: #f4ece2;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.15;
}
.project-card .pc-desc {
  margin-top: 10px;
  color: rgba(244, 236, 226, 0.7);
  font-size: 14px;
  line-height: 1.65;
}
.project-card .pc-more {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c69a4c;
}
.project-card .pc-more .pc-arrow {
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
a.project-card:hover .pc-more .pc-arrow {
  transform: translateX(5px);
}
.project-card.is-soon {
  opacity: 0.85;
}
.project-card.is-soon .pc-media {
  filter: grayscale(65%) brightness(0.6);
}
.project-card .pc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c69a4c;
  border: 1px solid rgba(198, 154, 76, 0.5);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(12, 8, 5, 0.55);
  backdrop-filter: blur(4px);
}

/* ============== Trailers carousel ============== */
.trailers-swiper {
  padding: 0 clamp(0px, 2vw, 20px);
}
/* Controls sit BELOW the video, never over it */
.trailer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
}
.trailer-controls .swiper-button-prev,
.trailer-controls .swiper-button-next {
  position: static;
  margin: 0;
  top: auto;
  left: auto;
  right: auto;
  color: #f4ece2;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(244, 236, 226, 0.2);
  border-radius: 999px;
  background: rgba(12, 8, 5, 0.6);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}
.trailer-controls .swiper-button-prev:hover,
.trailer-controls .swiper-button-next:hover {
  border-color: #c69a4c;
  color: #c69a4c;
}
.trailer-controls .swiper-button-prev::after,
.trailer-controls .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}
.trailer-controls .swiper-pagination {
  position: static;
  width: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trailer-controls .swiper-pagination-bullet {
  background: #f4ece2;
  opacity: 0.35;
}
.trailer-controls .swiper-pagination-bullet-active {
  background: #c69a4c;
  opacity: 1;
}
.trailer-caption {
  margin-top: 20px;
  text-align: center;
}
.trailer-caption .t-name {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: #f4ece2;
  font-size: clamp(20px, 2.4vw, 28px);
}
/* YouTube mount inside a trailer stage */
.trailer-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background: #000;
  transition: opacity 0.45s ease;
}
.trailer-mount iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.trailer-stage.is-playing .trailer-mount {
  opacity: 1;
  pointer-events: auto;
}

/* ============== Contact page ============== */
.form-card {
  background: rgba(26, 17, 9, 0.6);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border: 1px solid rgba(244, 236, 226, 0.08);
  border-radius: 8px;
  box-shadow:
    0 40px 80px -40px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(244, 236, 226, 0.04);
}
.field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 236, 226, 0.55);
  margin-bottom: 10px;
}
.field .input-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(244, 236, 226, 0.18);
  transition: border-color 0.35s ease;
}
.field .input-shell:focus-within {
  border-bottom-color: #c69a4c;
}
.field .input-icon {
  color: rgba(244, 236, 226, 0.5);
  flex: 0 0 auto;
}
.field .input-prefix {
  color: rgba(244, 236, 226, 0.75);
  font-size: 15px;
  padding-right: 10px;
  border-right: 1px solid rgba(244, 236, 226, 0.12);
  line-height: 1;
}
.field input,
.field textarea {
  flex: 1 1 auto;
  width: 100%;
  background: transparent;
  border: none;
  color: #f4ece2;
  padding: 10px 0;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.field textarea {
  resize: none;
}
.field input:focus,
.field textarea:focus {
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(244, 236, 226, 0.35);
}
.field .counter {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 236, 226, 0.45);
}
.info-tile {
  position: relative;
  padding: 28px 0 0;
}
.info-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 1px;
  background: #c69a4c;
}
.form-success {
  display: none;
}
.form-card.is-sent form {
  display: none;
}
.form-card.is-sent .form-success {
  display: block;
}
.form-error {
  color: #e7b27a;
  font-size: 13px;
  margin-top: 6px;
}

/* Hide Tailwind CDN dev warning */
.tw-warn {
  display: none !important;
}
