/* ── Work / Portfolio Page ──────────────────────────────────────────────────
   Uses the site's existing design tokens:
   --text:#20242d  --gold:#c9a84c  --gold-dark:#b0872c  --muted:#606775
   Red accent: #c74242
   Fonts: Cormorant Garamond + DM Sans
   ─────────────────────────────────────────────────────────────────────────── */

/* ── HERO ─────────────────────────────────────────────────────────────────── */

.work-hero-section {
  padding-top: 32px;
  min-height: 100vh;
}

/* hero image — fills the .hero-media container exactly like video on other pages */
.work-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 130px 64px 90px;
  text-align: center;
  color: #f7f7f7;
}

.work-hero-inner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin: 0 auto 20px;
  max-width: 900px;
  animation: fadeUp .8s .1s ease both;
}

.work-hero-inner h1 em {
  color: var(--gold-dark);
  font-style: italic;
}

/* ── HERO STATS ROW ───────────────────────────────────────────────────────── */
.work-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.12);
  animation: fadeUp .8s .4s ease both;
}

.whs-item {
  text-align: center;
  padding: 4px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.whs-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.15);
}

.whs-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.whs-plus {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-left: 2px;
  line-height: 1;
  display: inline;
}

.whs-item {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.whs-num, .whs-plus {
  align-self: baseline;
}
.whs-label {
  flex: 0 0 100%;
  font-size: 12px;
  color: rgba(255,255,255,.52);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
}

/* ── SECTION HEAD ─────────────────────────────────────────────────────────── */
.work-section-head {
  text-align: center;
  padding-bottom: 0 !important;
}

.work-section-head .section-eyebrow {
  justify-content: center;
}

.work-section-head .section-eyebrow::before {
  display: none;
}

.work-section-head .section-title {
  margin-top: 12px;
}

.work-section-head .section-sub {
  margin: 14px auto 0;
  text-align: center;
}

/* ── FILTER BAR ───────────────────────────────────────────────────────────── */
.work-filter-wrap {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 0 64px;
}

.work-filter-wrap .filter-row {
  justify-content: center;
  margin-bottom: 0;
}

/* ── CARDS OUTER ──────────────────────────────────────────────────────────── */
.work-cards-outer {
  background: linear-gradient(180deg, #f8f6f2 0%, #ffffff 60%, #f4f2ec 100%);
  padding: 96px 0 100px;
}

.work-grid-wrap {
  max-width: 1280px;
  margin: 48px auto 0;
  padding: 0 64px;
}

/* ── CARDS GRID ───────────────────────────────────────────────────────────── */
.work-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── SINGLE CARD ──────────────────────────────────────────────────────────── */
.work-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  overflow: hidden;
  position: relative;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  opacity: 0;
}

.work-card.card-in {
  animation: workCardIn .45s ease both;
}

@keyframes workCardIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0,0,0,.12);
  border-color: rgba(199,66,66,.2);
}

/* ── CARD IMAGE ───────────────────────────────────────────────────────────── */
.work-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.work-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.work-card:hover .work-card-img-wrap img {
  transform: scale(1.06);
}

/* gradient scrim so overlaid tags stay legible */
.work-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}

/* tag sits bottom-left over the image */
.work-card-img-wrap .work-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  /* override the light bg variants for better contrast on images */
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-color: transparent !important;
  color: var(--text) !important;
  font-size: 10px;
}

/* pax pill sits bottom-right over the image */
.work-card-img-wrap .work-card-pax {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.work-card-inner {
  padding: 20px 20px 24px;
}

/* remove the old accent bar — image replaces it */
.work-card-accent { display: none; }


.work-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
}

.wt-corporate {
  background: rgba(199,66,66,.08);
  color: #c74242;
  border: 1px solid rgba(199,66,66,.2);
}

.wt-leadership {
  background: rgba(168,85,247,.08);
  color: #9b40e8;
  border: 1px solid rgba(168,85,247,.18);
}

.wt-private {
  background: rgba(201,168,76,.12);
  color: #9a6f1f;
  border: 1px solid rgba(201,168,76,.28);
}

.wt-international {
  background: rgba(20,184,166,.09);
  color: #0a8a7c;
  border: 1px solid rgba(20,184,166,.2);
}

.work-card-pax {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #f5f4f0;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.work-card-client {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c74242;
  margin-bottom: 6px;
}

.work-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 16px;
}

.work-card-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid rgba(0,0,0,.05);
  padding-top: 14px;
  margin-top: 4px;
}

.work-meta-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.work-meta-row svg {
  width: 14px;
  height: 14px;
  fill: var(--gold-dark);
  flex-shrink: 0;
}

/* ── EMPTY STATE ──────────────────────────────────────────────────────────── */
.work-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 72px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.work-empty-icon {
  font-size: 28px;
  color: #c74242;
  opacity: .4;
}

/* ── LOGO STRIP ───────────────────────────────────────────────────────────── */
.work-logo-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 48px;
  overflow: hidden;
}

.work-logos-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
}

.work-logo-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeX 28s linear infinite;
}

.work-logo-track:hover {
  animation-play-state: paused;
}

.work-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  border-right: 1px solid var(--border);
  height: 64px;
  transition: opacity .2s;
}

.work-logo-item:hover {
  opacity: 1 !important;
}

.work-logo-item img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  opacity: .8;
  transition: opacity .3s;
}

.work-logo-item:hover img {
  opacity: 1;
}

/* ── CTA BANNER ───────────────────────────────────────────────────────────── */
.cta-banner.luxe .cta-copy h4 em {
  font-style: italic;
  color: var(--gold-dark);
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .work-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-filter-wrap {
    padding: 0 32px;
  }

  .work-grid-wrap {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .work-hero-inner {
    padding: 120px 28px 72px;
  }

  .whs-item {
    padding: 4px 20px;
  }

  .whs-divider {
    height: 36px;
  }

  .work-filter-wrap {
    padding: 0 20px;
  }

  .work-filter-wrap .filter-row {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .work-filter-wrap .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .work-cards-grid {
    grid-template-columns: 1fr;
  }

  .work-grid-wrap {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .whs-divider {
    display: none;
  }

  .work-hero-stats {
    gap: 8px 0;
  }

  .whs-item {
    flex: 1 1 45%;
    padding: 8px 12px;
  }
}
