/* R�alisations � editorial portfolio */

.wn-works {
  --gold: #f5b400;
  --ink: #0c0c0d;
  overflow-x: clip;
  color: #fff;
}

.wn-works * {
  box-sizing: border-box;
}

.wn-works-kicker {
  display: inline-block;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.wn-works-hero {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding: clamp(6.5rem, 12vh, 9rem) 24px 4.5rem;
  background:
    radial-gradient(1200px 500px at 12% -10%, rgba(245, 180, 0, 0.14), transparent 60%),
    #0c0c0d;
}

.wn-works-hero-inner {
  width: min(1100px, calc(100% - 8px));
  margin: 0 auto;
}

.wn-works-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.4rem, 11vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: #fff;
}

.wn-works-hero p {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.wn-works-feature + .wn-works-feature,
.wn-works-feature + .wn-works-feature .wn-works-feature-inner {
  min-height: min(76vh, 720px);
}

.wn-works-feature.is-brand {
  background: #264581;
}

.wn-works-feature.is-ldc {
  background:
    radial-gradient(circle at 82% 20%, rgba(119, 204, 231, 0.22), transparent 34%),
    #264581;
}

.wn-works-feature.is-brand::after {
  display: none;
}

.wn-works-feature.is-brand img {
  inset: auto;
  right: 6%;
  top: 50%;
  width: min(34vw, 340px);
  height: auto;
  object-fit: contain;
  transform: translateY(-50%);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
}

.wn-works-feature.is-brand:hover img {
  transform: translateY(-50%) scale(1.04);
}

.wn-works-feature.is-ldc .wn-works-kicker {
  color: #77cce7;
}

.wn-works-feature.is-ldc .wn-works-go {
  background: #d84848;
  color: #fff;
}

.wn-works-feature {
  position: relative;
  display: block;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  min-height: min(88vh, 860px);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.wn-works-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.1s ease;
}

.wn-works-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 8, 10, 0.82) 0%,
    rgba(8, 8, 10, 0.35) 48%,
    rgba(8, 8, 10, 0.2) 100%
  );
}

.wn-works-feature-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(88vh, 860px);
}

.wn-works-feature h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 14ch;
  color: #fff;
}

.wn-works-feature p {
  margin: 0 0 1.4rem;
  max-width: 32rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.wn-works-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.wn-works-tags li {
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wn-works-go {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.2rem;
  background: var(--gold);
  color: #1a1400;
  font-weight: 700;
  border-radius: 6px;
}

.wn-works-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.wn-works-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 5rem 0 1.75rem;
}

.wn-works-toolbar h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.wn-works-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.wn-works-filters button {
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.wn-works-filters button.is-on {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.wn-works-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 0.85rem;
}

.wn-works-card {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  background: #111;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  grid-column: span 4;
  grid-row: span 2;
}

.wn-works-card.is-lg {
  grid-column: span 8;
  grid-row: span 3;
}

.wn-works-card.is-tall {
  grid-row: span 3;
}

.wn-works-card.is-wide {
  grid-column: span 8;
}

.wn-works-card[hidden] {
  display: none;
}

.wn-works-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wn-works-card-meta {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 3.4rem 1.15rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.88));
}

.wn-works-card-meta span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.28rem;
}

.wn-works-card-meta strong {
  display: block;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.wn-works-card-meta em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}

.wn-works-pods {
  padding-bottom: 1rem;
}

.wn-works-more {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.wn-works-podgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.wn-works-pod {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.wn-works-pod img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  background: #111;
}

.wn-works-pod span {
  font-weight: 600;
  line-height: 1.3;
}

.wn-works-cta {
  margin: 5rem calc(50% - 50vw) 0;
  width: 100vw;
  padding: 5.5rem 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.55), rgba(8, 8, 10, 0.86)),
    url("https://www.wenov.ca/wp-content/uploads/2026/09/ph-soleil.jpg") center / cover no-repeat;
}

.wn-works-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}

.wn-works-cta p {
  margin: 0 auto 1.6rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.8);
}

.wn-works-cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wn-works-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 6px;
  background: var(--gold);
  color: #1a1400;
  font-weight: 700;
  text-decoration: none;
}

.wn-works-btn.is-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (hover: hover) {
  .wn-works-feature:hover img {
    transform: scale(1.04);
  }
}

@media (max-width: 900px) {
  .wn-works-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 3.5rem;
  }

  .wn-works-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .wn-works-card,
  .wn-works-card.is-lg,
  .wn-works-card.is-tall,
  .wn-works-card.is-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .wn-works-podgrid {
    grid-template-columns: 1fr;
  }

  .wn-works-feature,
  .wn-works-feature-inner {
    min-height: 78vh;
  }

  .wn-works-feature.is-brand img {
    width: min(42vw, 180px);
    right: 8%;
    top: 22%;
    opacity: 0.95;
  }

  .wn-works-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wn-works-feature img,
  .wn-works-card img {
    transition: none;
  }
}
