/* ═══════════════════════════════════════════════════════════════
   Archevo Design — Work page premium experience
   body.page-work · layers on style.css + header-lux.css
   ═══════════════════════════════════════════════════════════════ */

body.page-work {
  --wrk-ink: #080706;
  --wrk-cream: #f3f0ea;
  --wrk-gold: #c4a574;
  --wrk-gold-bright: #e3d4b0;
  --wrk-ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--wrk-cream);
}

body.page-work .page-hero {
  display: none;
}

.wrk-container {
  width: min(1280px, 100% - clamp(1.5rem, 5vw, 3rem));
  margin: 0 auto;
}

.wrk-section {
  padding: var(--space-section-tight, clamp(3rem, 8vw, 5rem)) 0;
}

.wrk-section--elevated {
  background: #fff;
}

.wrk-section--dark {
  background: var(--wrk-ink);
  color: #f5f2ec;
}

.wrk-section--grid {
  background: var(--wrk-cream);
}

.wrk-section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.wrk-section-head--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.wrk-section-head .section-intro {
  margin-top: 0.75rem;
  color: var(--ink-muted, #5c6370);
}

.wrk-section--dark .section-eyebrow {
  color: var(--wrk-gold-bright, #e3d4b0);
}

.wrk-section--dark .section-title {
  color: #f5f2ec;
}

.wrk-section--dark .section-intro {
  color: rgba(245, 242, 236, 0.72);
}

.wrk-section--dark .wrk-loading {
  color: rgba(245, 242, 236, 0.6);
  text-align: center;
  padding: 2rem 1rem;
}

.wrk-reveal {
  opacity: 0;
  transform: translateY(28px);
}

.wrk-reveal.is-in {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.95s var(--wrk-ease), transform 0.95s var(--wrk-ease);
}

/* CMS-injected blocks: visible immediately */
.wrk-reveal.is-ready {
  opacity: 1 !important;
  transform: none !important;
}

.wrk-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-muted, #5c6370);
}

/* —— S1: Cinematic hero —— */
.wrk-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #f5f2ec;
  overflow: hidden;
  isolation: isolate;
}

.wrk-hero__slides,
.wrk-hero__media {
  position: absolute;
  inset: 0;
  background: #141210 center / cover no-repeat;
}

.wrk-hero__slides {
  z-index: 0;
}

.wrk-hero__slide {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--wrk-ease), transform 8s linear;
}

.wrk-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.wrk-hero__media--fallback {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.wrk-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    185deg,
    rgba(6, 5, 5, 0.35) 0%,
    rgba(6, 5, 5, 0.55) 42%,
    rgba(4, 3, 2, 0.94) 100%
  );
  pointer-events: none;
}

.wrk-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.5rem);
  mask-image: radial-gradient(ellipse 95% 75% at 50% 35%, #000 15%, transparent 72%);
}

.wrk-hero__inner {
  position: relative;
  z-index: 3;
  width: min(1280px, 100% - 3rem);
  margin: 0 auto;
  padding: calc(var(--header-h, 4.5rem) + 2rem) 0 5.5rem;
}

.wrk-hero__breadcrumb {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 1.25rem;
}

.wrk-hero__breadcrumb a:hover {
  color: var(--wrk-gold-bright);
  opacity: 1;
}

.wrk-hero__kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.82;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wrk-hero__kicker::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: var(--wrk-gold);
}

.wrk-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 2rem + 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.wrk-hero__lead {
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
  line-height: 1.65;
  opacity: 0.82;
  max-width: 42ch;
  margin: 0 0 2.5rem;
}

.wrk-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  max-width: 520px;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 640px) {
  .wrk-hero__stats {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }
}

.wrk-hero-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 400;
  color: var(--wrk-gold-bright);
  line-height: 1.1;
}

.wrk-hero-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

.wrk-hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  gap: 0.35rem;
  padding: 0 1.5rem 1.25rem;
  justify-content: center;
}

.wrk-hero__dot {
  width: clamp(2rem, 8vw, 4rem);
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.wrk-hero__dot-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--wrk-gold);
  transition: width linear;
}

.wrk-hero__dot.is-active .wrk-hero__dot-fill {
  width: 100%;
}

.wrk-hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.7);
  text-decoration: none;
}

.wrk-hero__scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--wrk-gold), transparent);
  animation: wrkScrollPulse 2s ease-in-out infinite;
}

@keyframes wrkScrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* —— S2: Featured showcase —— */
.wrk-featured {
  display: grid;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  box-shadow: var(--shadow-md, 0 12px 40px rgba(8, 7, 6, 0.12));
}

@media (min-width: 900px) {
  .wrk-featured {
    grid-template-columns: 1.15fr 1fr;
    min-height: 520px;
  }
}

.wrk-featured__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #111;
}

.wrk-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 1.2s var(--wrk-ease);
  cursor: zoom-in;
}

.wrk-featured__media[data-work-open],
#wrk-featured-card [data-work-open] {
  cursor: pointer;
}

.wrk-featured__media .wrk-card__hover {
  z-index: 2;
}

.wrk-featured:hover .wrk-featured__media img {
  transform: scale(1.04);
}

.wrk-featured__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(8, 7, 6, 0.72);
  color: var(--wrk-gold-bright);
  border-radius: var(--radius-pill, 999px);
  backdrop-filter: blur(8px);
}

.wrk-featured__copy {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wrk-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted, #5c6370);
}

.wrk-featured__meta li::before {
  content: "·";
  margin-right: 0.5rem;
  color: var(--wrk-gold);
}

.wrk-featured__meta li:first-child::before {
  content: none;
  margin: 0;
}

.wrk-featured__title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 1.5rem + 1.5vw, 2.75rem);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.wrk-featured__scope {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wrk-gold);
  margin: 0 0 1.25rem;
}

.wrk-featured__story {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-muted, #5c6370);
  margin: 0 0 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wrk-featured__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wrk-ink);
  text-decoration: none;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--wrk-gold);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.wrk-featured__cta:hover {
  color: var(--wrk-gold);
}

/* —— S3: Sticky filter bar —— */
.wrk-filter-bar {
  position: sticky;
  top: calc(var(--header-h, 4.5rem) - 1px);
  z-index: 40;
  margin-bottom: 1.75rem;
  padding: 0.85rem 0;
  background: rgba(243, 240, 234, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(8, 7, 6, 0.08);
  box-shadow: 0 8px 24px rgba(8, 7, 6, 0.04);
}

.wrk-search {
  position: relative;
  display: block;
}

.wrk-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--ink-muted, #5c6370);
  pointer-events: none;
}

.wrk-search input {
  padding-left: 2.65rem !important;
  border-radius: var(--radius-pill, 999px) !important;
  border-color: rgba(8, 7, 6, 0.1) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  min-height: 48px;
}

.wrk-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.wrk-chips::-webkit-scrollbar {
  display: none;
}

.wrk-space-panel {
  display: none;
  margin-top: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(8, 7, 6, 0.08);
}

.wrk-space-panel.is-visible {
  display: block;
}

.wrk-space-panel[hidden] {
  display: none !important;
}

.wrk-space-panel__label {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(8, 7, 6, 0.55);
}

.wrk-chips--spaces {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.wrk-chip--space {
  font-size: 0.68rem !important;
  padding: 0.45rem 0.95rem !important;
}

.wrk-chip__count {
  opacity: 0.72;
  font-weight: 500;
}

.wrk-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.55rem 1.1rem !important;
  border-radius: var(--radius-pill, 999px) !important;
  border: 1px solid rgba(8, 7, 6, 0.12) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  transition: background 0.25s var(--wrk-ease), border-color 0.25s var(--wrk-ease), color 0.25s var(--wrk-ease), transform 0.2s ease !important;
}

.wrk-chip.is-active {
  background: var(--wrk-ink) !important;
  border-color: var(--wrk-ink) !important;
  color: #f5f2ec !important;
}

.wrk-chip:not(.is-active):hover {
  border-color: var(--wrk-gold) !important;
  color: var(--wrk-gold) !important;
}

.wrk-toolbar-row select {
  border-radius: var(--radius-pill, 999px) !important;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.9) !important;
}

.wrk-results-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem !important;
}

.wrk-results-count {
  font-variant-numeric: tabular-nums;
  transition: opacity 0.2s ease;
}

.wrk-results-count.is-updating {
  opacity: 0.4;
}

/* —— S4–S5: Portfolio grid + story preview —— */
/* Override style.css .work-archive columns — equal grid only */
.work-archive.wrk-masonry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .work-archive.wrk-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 960px) {
  .work-archive.wrk-masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.work-archive.wrk-masonry.is-filtering {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.work-archive.wrk-masonry .wrk-card,
.work-archive.wrk-masonry article.work-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  border: none !important;
  border-radius: var(--radius-lg, 12px) !important;
  background: #fff !important;
  box-shadow: 0 2px 16px rgba(8, 7, 6, 0.06) !important;
  overflow: hidden;
  transition: box-shadow 0.45s var(--wrk-ease), transform 0.45s var(--wrk-ease) !important;
}

.work-archive.wrk-masonry .wrk-card:hover,
.work-archive.wrk-masonry .wrk-card:focus-visible,
.work-archive.wrk-masonry article.work-card:hover,
.work-archive.wrk-masonry article.work-card:focus-visible {
  box-shadow: 0 20px 48px rgba(8, 7, 6, 0.14) !important;
  transform: translateY(-4px) !important;
}

/* Full-width spotlight — first featured card on page 1 only */
.work-archive.wrk-masonry .wrk-card--hero {
  grid-column: 1 / -1;
}

.work-archive.wrk-masonry .wrk-card--hero .wrk-card__media img {
  aspect-ratio: 21 / 9;
}

@media (max-width: 639px) {
  .work-archive.wrk-masonry .wrk-card--hero .wrk-card__media img {
    aspect-ratio: 4 / 3;
  }
}

.wrk-card__media {
  position: relative;
  overflow: hidden;
}

.wrk-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.9s var(--wrk-ease);
  cursor: pointer;
}

.work-archive.wrk-masonry .wrk-card:hover .wrk-card__media img {
  transform: scale(1.05);
}

.wrk-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(8, 7, 6, 0.7);
  color: var(--wrk-gold-bright);
  border-radius: var(--radius-pill, 999px);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.wrk-card__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(4, 3, 2, 0.75), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--wrk-ease);
  z-index: 1;
}

.work-archive.wrk-masonry .wrk-card:hover .wrk-card__hover,
.work-archive.wrk-masonry .wrk-card:focus-visible .wrk-card__hover,
.work-archive.wrk-masonry article.work-card:hover .wrk-card__hover,
.work-archive.wrk-masonry article.work-card:focus-visible .wrk-card__hover {
  opacity: 1;
}

.wrk-card__cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.work-archive.wrk-masonry .wrk-card__body {
  padding: 1.35rem 1.4rem 1.5rem !important;
  flex: 1 1 auto;
  min-width: 0;
}

.work-archive.wrk-masonry .wrk-card__body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem) !important;
  margin: 0 0 0.65rem !important;
  word-break: break-word;
}

.wrk-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted, #5c6370);
}

.wrk-card__scope {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--wrk-gold);
  margin: 0 0 0.85rem !important;
}

.wrk-card__story {
  border-top: 1px solid rgba(8, 7, 6, 0.08);
  padding-top: 0.85rem;
  margin-top: 0.25rem;
}

.wrk-card__story p {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-muted, #5c6370);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.wrk-card__story strong {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wrk-ink);
  font-weight: 600;
  margin-right: 0.35rem;
}

/* —— Pagination —— */
.wrk-pagination {
  margin-top: 2.5rem !important;
}

.wrk-pagination .work-page-num.is-active {
  background: var(--wrk-ink) !important;
  border-color: var(--wrk-ink) !important;
}

/* —— S6: Impact stats —— */
.wrk-impact {
  position: relative;
  overflow: hidden;
}

.wrk-impact__bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(196, 165, 116, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(196, 165, 116, 0.1), transparent);
}

.wrk-impact__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .wrk-impact__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.wrk-impact-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg, 12px);
  background: rgba(255, 255, 255, 0.03);
}

.wrk-impact-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  color: var(--wrk-gold-bright);
  line-height: 1;
}

.wrk-impact-stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* —— S7: Category cards —— */
.wrk-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .wrk-cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.wrk-cat-card {
  position: relative;
  min-height: 140px;
  padding: 1.25rem;
  border: none;
  border-radius: var(--radius-lg, 12px);
  background: var(--wrk-ink);
  color: #f5f2ec;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--wrk-ease), box-shadow 0.35s var(--wrk-ease);
}

.wrk-cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center / cover no-repeat var(--wrk-cat-img, none);
  opacity: 0.35;
  transition: opacity 0.4s ease, transform 0.6s var(--wrk-ease);
}

.wrk-cat-card:hover::before {
  opacity: 0.5;
  transform: scale(1.05);
}

.wrk-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(8, 7, 6, 0.2);
}

.wrk-cat-card__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  display: block;
}

.wrk-cat-card__count {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* —— S8: Testimonials —— */
.wrk-trust-track {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .wrk-trust-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wrk-testimonial {
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  border: 1px solid rgba(8, 7, 6, 0.08);
  box-shadow: 0 4px 20px rgba(8, 7, 6, 0.05);
}

.wrk-testimonial blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic;
}

.wrk-testimonial cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted, #5c6370);
}

.wrk-testimonial cite strong {
  display: block;
  color: var(--wrk-ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* —— S9: Timeline —— */
.wrk-timeline {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.wrk-timeline__year {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: clamp(100px, 18vw, 140px);
  text-align: center;
  position: relative;
  padding: 0 0.75rem;
}

.wrk-timeline__year::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(245, 242, 236, 0.2);
  margin-bottom: 1.25rem;
}

.wrk-timeline__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wrk-gold);
  margin: -5px auto 1rem;
  box-shadow: 0 0 0 4px rgba(196, 165, 116, 0.25);
}

.wrk-timeline__label {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.35rem;
  color: #f5f2ec;
}

.wrk-timeline__count {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.65);
}

.wrk-timeline--milestones {
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.wrk-timeline--milestones .wrk-timeline__year {
  min-width: clamp(120px, 20vw, 160px);
}

/* —— S11: Trust grid —— */
.wrk-trust-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .wrk-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .wrk-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wrk-trust-card {
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  border: 1px solid rgba(8, 7, 6, 0.08);
  transition: box-shadow 0.35s var(--wrk-ease), transform 0.35s var(--wrk-ease);
}

.wrk-trust-card:hover {
  box-shadow: 0 12px 36px rgba(8, 7, 6, 0.1);
  transform: translateY(-2px);
}

.wrk-trust-card__icon {
  font-size: 1.25rem;
  color: var(--wrk-gold);
  margin-bottom: 1rem;
}

.wrk-trust-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.wrk-trust-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-muted, #5c6370);
}

/* —— S12: Final CTA —— */
.wrk-cta {
  position: relative;
  padding: clamp(4rem, 12vw, 7rem) 0;
  overflow: hidden;
  color: #f5f2ec;
  text-align: center;
}

.wrk-cta__bg {
  position: absolute;
  inset: 0;
  background-color: var(--wrk-ink, #080706);
  background-image:
    linear-gradient(165deg, rgba(8, 7, 6, 0.88), rgba(20, 18, 16, 0.96)),
    var(--wrk-cta-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.wrk-cta__inner {
  position: relative;
  z-index: 1;
  width: min(720px, 100% - 3rem);
  margin: 0 auto;
}

.wrk-cta .section-eyebrow {
  color: var(--wrk-gold-bright, #e3d4b0);
}

.wrk-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  margin: 0 0 1rem;
  line-height: 1.1;
  color: #f5f2ec;
}

.wrk-cta__sub {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 1.25rem;
  line-height: 1.8;
}

.wrk-cta__lead {
  font-size: 1.05rem;
  opacity: 0.82;
  margin: 0 0 2rem;
  line-height: 1.65;
}

.wrk-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.wrk-cta .btn-primary {
  min-height: 48px;
  padding: 0.85rem 1.75rem;
}

.wrk-cta .btn-ghost {
  min-height: 48px;
  color: #f5f2ec;
  border-color: rgba(245, 242, 236, 0.35);
}

/* Mobile: let filters scroll away so project cards get full viewport */
@media (max-width: 767px) {
  .wrk-filter-bar {
    position: static;
    top: auto;
    z-index: 1;
    margin-bottom: 1rem;
    padding: 0.25rem 0 0.5rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
  }

  /* Category chips already cover filtering — hide duplicate dropdowns */
  .wrk-toolbar-row #work-category,
  .wrk-toolbar-row #work-type {
    display: none;
  }

  .wrk-toolbar-row #work-sort {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wrk-hero__slide,
  .wrk-card,
  .wrk-reveal,
  .wrk-hero__scroll-line {
    animation: none !important;
    transition: none !important;
  }
}
