/* ================================================
   Step Up — works.css
   Works / Portfolio page styles
   Rules: px only · no rem · no :root variables
   ================================================ */

/* ------------------------------------------------
   PAGE HERO
   ------------------------------------------------ */
.page-hero {
  padding: 80px 48px 56px;
  max-width: 760px;
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 20px;
  padding: 5px 14px;
  background: rgba(201, 168, 76, 0.07);
}

.page-hero-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.page-hero-title em {
  font-style: normal;
  color: #c9a84c;
}

.page-hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 28px;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.03);
}

.meta-pill i { font-size: 13px; }

/* ------------------------------------------------
   FILTER BAR
   ------------------------------------------------ */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: center;
  gap: 5px;
  padding: 20px 48px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.filter-btn:hover {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.filter-btn.active {
  color: #0d0d0d;
  background: #c9a84c;
  border-color: #c9a84c;
}

/* ------------------------------------------------
   WORKS GRID
   ------------------------------------------------ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 30px;
}

.work-card {
  display: flex;
  flex-direction: column;
  background: #111111;
  transition: background 0.18s;
  border-radius: 15px;
}

.work-card:hover { background: #161616; }

.work-card.hidden { display: none; }

/* ------------------------------------------------
   WORK PREVIEW TILE
   ------------------------------------------------ */
.work-preview {
  position: relative;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  border-radius: 15px;
}

.work-preview::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(40px);
  pointer-events: none;
}

/* Shimmer sweep on hover */
.preview-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.work-card:hover .preview-shimmer { transform: translateX(100%); }



/* Large icon in preview */
.preview-icon-wrap {
  font-size: 36px;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

.work-card:hover .preview-icon-wrap { transform: scale(1.1) translateY(-3px); }

.preview-envelope {
  font-size: 40px;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

.work-card:hover .preview-envelope { transform: scale(1.1) translateY(-3px); }

/* Mock lines */
.preview-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100px;
  position: relative;
  z-index: 1;
}

.pl {
  display: block;
  height: 4px;
  border-radius: 2px;
  opacity: 0.18;
}

.pl.long  { width: 100%; }
.pl.mid   { width: 70%; }
.pl.short { width: 45%; }

/* ── Color themes ── */
.preview--rose   { background: linear-gradient(135deg, #1a1010 0%, #100c0c 100%); }
.preview--rose::before { background: #e8a0a0; }
.preview--rose .preview-envelope,
.preview--rose .preview-icon-wrap { color: #e8a0a0; }
.preview--rose .pl { background: #e8a0a0; }

.preview--wedding { background: linear-gradient(135deg, #180f12 0%, #0f0b0d 100%); }
.preview--wedding::before { background: #e8a0c8; }
.preview--wedding .preview-icon-wrap { color: #e8a0c8; }
.preview--wedding .pl { background: #e8a0c8; }

.preview--gold   { background: linear-gradient(135deg, #171410 0%, #0f0d09 100%); }
.preview--gold::before { background: #c9a84c; }
.preview--gold .preview-icon-wrap { color: #c9a84c; }
.preview--gold .pl { background: #c9a84c; }

.preview--purple { background: linear-gradient(135deg, #130f1a 0%, #0d0a12 100%); }
.preview--purple::before { background: #bc99f5; }
.preview--purple .preview-icon-wrap { color: #bc99f5; }
.preview--purple .pl { background: #bc99f5; }

.preview--orange { background: linear-gradient(135deg, #181209 0%, #110d07 100%); }
.preview--orange::before { background: #f5aa7a; }
.preview--orange .preview-icon-wrap { color: #f5aa7a; }
.preview--orange .pl { background: #f5aa7a; }

/* ------------------------------------------------
   WORK INFO
   ------------------------------------------------ */
.work-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
  flex: 1;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.work-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 3px 8px;
}

.badge--rose        { color: #e8a0a0; background: rgba(232,160,160,0.1); border: 1px solid rgba(232,160,160,0.2); }
.badge--gold        { color: #c9a84c; background: rgba(201,168,76,0.1);  border: 1px solid rgba(201,168,76,0.2); }
.badge--purple      { color: #bc99f5; background: rgba(188,153,245,0.1); border: 1px solid rgba(188,153,245,0.2); }
.badge--orange      { color: #f5aa7a; background: rgba(245,170,122,0.1); border: 1px solid rgba(245,170,122,0.2); }

.work-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.1);
}

.work-title {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.3;
}

.work-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  flex: 1;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.work-tags span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  padding: 3px 8px;
}

.work-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 9px 16px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.work-cta:hover {
  color: #c9a84c;
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.04);
}

.work-cta i { font-size: 14px; }

/* ------------------------------------------------
   EMPTY STATE
   ------------------------------------------------ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 48px;
  text-align: center;
}

.empty-icon { font-size: 40px; color: rgba(255,255,255,0.12); }
.empty-text { font-size: 14px; color: rgba(255,255,255,0.28); }

/* ------------------------------------------------
   MODAL OVERLAY
   ------------------------------------------------ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(6px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(16px);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-box--wide { max-width: 600px; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  z-index: 10;
}

.modal-close:hover { background: rgba(255,255,255,0.1); color: #ffffff; }

.modal-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  padding: 20px 24px 0;
}

.modal-content {
  padding: 20px 24px;
  flex: 1;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.modal-price {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

/* ------------------------------------------------
   GREETING DEMO
   ------------------------------------------------ */
.greeting-demo {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gd-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

/* Envelope */
.gd-envelope {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.2s;
}


.gd-env-body {
  width: 120px;
  height: 80px;
  background: #1a1a14;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gd-seal {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #c9a84c;
  color: #0d0d0d;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gd-flap {
  position: absolute;
  left: 180px;
  right: 180px;
  height: 40px;
  background: rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.5s ease;
}

.gd-envelope.opening .gd-flap { transform: rotateX(160deg); }

.gd-tap {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  animation: gdBlink 2s ease infinite;
}

@keyframes gdBlink {
  0%, 100% { opacity: 0.25; }
  50%       { opacity: 0.6; }
}

/* Card */
.gd-card {
  display: none;
  flex-direction: column;
  background: #16140e;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  animation: gdReveal 0.6s ease both;
}

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

.gd-stripe {
  height: 2px;
  background: linear-gradient(to right, transparent, #c9a84c, transparent);
}

.gd-inner {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.gd-ornament { font-size: 18px; color: #c9a84c; opacity: 0.5; }
.gd-to { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.25); }
.gd-name { font-size: 30px; font-weight: 300; color: #ffffff; font-style: italic; letter-spacing: 1px; }

.gd-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.gd-rule span {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

.gd-diamond {
  width: 5px;
  height: 5px;
  background: #c9a84c;
  transform: rotate(45deg);
  opacity: 0.4;
  flex-shrink: 0;
}

.gd-message {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

.gd-message em { font-style: italic; color: #c9a84c; }

.gd-from-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.gd-from { font-size: 16px; color: #c9a84c; letter-spacing: 1px; }

/* ------------------------------------------------
   WEDDING DEMO
   ------------------------------------------------ */
.wedding-demo {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #0f0c0e;
  border: 1px solid rgba(232,160,200,0.12);
  border-radius: 6px;
  padding: 28px 24px;
  text-align: center;
}

.wd-top { display: flex; flex-direction: column; gap: 6px; }
.wd-eyebrow { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(232,160,200,0.5); }
.wd-names { font-size: 32px; font-weight: 300; color: #ffffff; letter-spacing: 1px; font-style: italic; }
.wd-names span { color: rgba(232,160,200,0.6); font-size: 22px; }
.wd-invite { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 1px; }
.wd-event { font-size: 14px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: #e8a0c8; }

.wd-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wd-divider span {
  flex: 1;
  height: 1px;
  background: rgba(232,160,200,0.12);
}

.wd-divider i { color: rgba(232,160,200,0.4); font-size: 14px; }

.wd-details { display: flex; flex-direction: column; gap: 10px; text-align: left; }

.wd-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wd-detail i { font-size: 16px; color: rgba(232,160,200,0.5); flex-shrink: 0; margin-top: 1px; }

.wd-dl { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 2px; }
.wd-dv { font-size: 13px; color: rgba(255,255,255,0.65); }

.wd-countdown-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.2); }

.wd-countdown {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}

.wd-cd-unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.wd-cd-num {
  font-size: 28px;
  font-weight: 500;
  color: #e8a0c8;
  background: rgba(232,160,200,0.06);
  border: 1px solid rgba(232,160,200,0.12);
  border-radius: 4px;
  padding: 6px 10px;
  min-width: 54px;
  text-align: center;
  line-height: 1;
}

.wd-cd-lbl { font-size: 8px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.wd-cd-sep { font-size: 20px; color: rgba(255,255,255,0.1); padding-bottom: 14px; }

.wd-rsvp {
  display: inline-block;
  padding: 12px 28px;
  background: rgba(232,160,200,0.1);
  border: 1px solid rgba(232,160,200,0.25);
  border-radius: 3px;
  color: #e8a0c8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.wd-rsvp:hover { background: rgba(232,160,200,0.18); }

/* ------------------------------------------------
   CEREMONY DEMO
   ------------------------------------------------ */
.ceremony-demo {
  background: #0d0c09;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 6px;
  overflow: hidden;
}

.cd-slides { position: relative; min-height: 280px; }

.cd-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 32px 28px;
}

.cd-slide.active { display: flex; animation: cdFadeIn 0.4s ease both; }

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

.cd-slide-eyebrow { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: rgba(201,168,76,0.5); }
.cd-slide-title { font-size: 26px; font-weight: 400; color: #ffffff; font-style: italic; letter-spacing: 1px; }
.cd-slide-sub { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 1px; }

.cd-slide-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 200px;
}

.cd-slide-rule span { flex: 1; height: 1px; background: rgba(201,168,76,0.15); }
.cd-slide-rule i { color: rgba(201,168,76,0.4); font-size: 13px; }

.cd-slide-body { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.75; max-width: 340px; }

/* Program list */
.cd-program-list { display: flex; flex-direction: column; gap: 0; width: 100%; }

.cd-prog-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-align: left;
}

.cd-prog-item:last-child { border-bottom: none; }

.cd-prog-time { font-size: 11px; color: #c9a84c; min-width: 58px; font-weight: 500; }
.cd-prog-name { font-size: 12px; color: rgba(255,255,255,0.6); }

/* Sponsors */
.cd-sponsors { display: flex; flex-direction: column; gap: 8px; width: 100%; }

.cd-sponsor-pair {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 8px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
}

/* Slide nav */
.cd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cd-nav-btn {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  font-family: inherit;
}

.cd-nav-btn:hover { background: rgba(255,255,255,0.09); color: #ffffff; }

.cd-dots { display: flex; gap: 6px; }

.cd-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s;
}

.cd-dot.active { background: #c9a84c; }

/* ------------------------------------------------
   WHEEL DEMO
   ------------------------------------------------ */

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.wheel-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.wheel-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
}

.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  color: #c9a84c;
  z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(201,168,76,0.5));
}

#wheelCanvas {
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.25);
  box-shadow: 0 0 24px rgba(201,168,76,0.1);
  transition: transform 0.1s;
}

.wheel-winner {
  font-size: 16px;
  font-weight: 500;
  color: #c9a84c;
  min-height: 24px;
  text-align: center;
  letter-spacing: 0.5px;
}

.wheel-spin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #c9a84c;
  color: #0d0d0d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.wheel-spin-btn:hover { opacity: 0.88; }
.wheel-spin-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ------------------------------------------------
   CTA BANNER
   ------------------------------------------------ */
.cta-banner {
  margin: 64px 48px 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
  background: #111111;
}

.cta-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 52px 56px;
  gap: 48px;
}

.cta-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cta-heading { font-size: 26px; font-weight: 500; color: #ffffff; margin-bottom: 10px; line-height: 1.3; }
.cta-sub { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.65; max-width: 380px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* ------------------------------------------------
   RESPONSIVE — Tablet <= 1024px
   ------------------------------------------------ */
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }

      .filter-bar {
    padding: 16px 20px;
    gap: 6px;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------------
   RESPONSIVE — Mobile <= 768px
   ------------------------------------------------ */
@media (max-width: 768px) {
  .page-hero {
    padding: 48px 20px 36px;
  }

  .page-hero-title {
    font-size: 32px;
  }

  .filter-bar {
    padding: 16px 20px;
    gap: 6px;
    grid-template-columns: repeat(3, 1fr);
  }

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

  .work-preview {
    height: 160px;
  }

  .cta-banner {
    margin: 48px 20px 0;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 28px;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .modal-box {
    max-width: 100%;
    max-height: 85vh;
  }
}

/* ------------------------------------------------
   RESPONSIVE — Small <= 480px
   ------------------------------------------------ */
@media (max-width: 480px) {
  .page-hero-title {
    font-size: 26px;
  }

  .wd-names {
    font-size: 24px;
  }

  .cd-slide-title {
    font-size: 20px;
  }

  .gd-name {
    font-size: 24px;
  }
    .filter-bar {
    padding: 16px 20px;
    gap: 6px;
    grid-template-columns: repeat(2, 1fr);
  }

}