/* Cade Studio — Past work portfolio page */
.work-page {
  --work-nav-offset: 72px;
  background: var(--cream);
  min-height: 100vh;
}

.work-hero {
  position: relative;
  padding: 8rem 0 3.5rem;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}
.work-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(212, 168, 83, 0.15), transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(165, 54, 35, 0.12), transparent 50%);
  pointer-events: none;
}
.work-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.work-hero .section-label { color: var(--gold); }
.work-hero-title {
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 0.95;
  margin: 0.5rem 0 1rem;
}
.work-hero-sub {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 52ch;
}
.work-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.work-hero-actions a {
  text-decoration: none;
}

.work-sticky-sentinel {
  height: 1px;
  margin: 0;
  pointer-events: none;
  visibility: hidden;
}
.work-sticky-bar {
  position: sticky;
  top: var(--work-nav-offset);
  z-index: 40;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 45, 45, 0.08);
  padding: 0.85rem 0;
  transition:
    padding 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s;
}
/* Slimmer when stuck — flush under main nav, no gap */
.work-sticky-bar.is-stuck {
  top: var(--work-nav-offset);
  padding: 0.45rem 0;
  transform: none;
  margin-top: 0;
  background: rgba(247, 244, 239, 0.96);
  box-shadow: 0 4px 20px rgba(45, 45, 45, 0.06);
}
.work-sticky-bar.is-stuck .work-main-nav a {
  padding: 0.42rem 0.85rem;
  font-size: 0.62rem;
}
.work-main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.work-main-nav a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(45, 45, 45, 0.12);
  color: var(--charcoal-soft);
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.work-main-nav a:hover,
.work-main-nav a.is-active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.work-body { padding: 0 0 5rem; }

/* Three service blocks — full-width bands */
.work-categories {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.work-category {
  scroll-margin-top: calc(var(--work-nav-offset) + 4.75rem);
  border-bottom: 1px solid rgba(45, 45, 45, 0.1);
}
.work-category:last-child {
  border-bottom: none;
}

.work-category-band {
  padding: 2.75rem 0 1.5rem;
}
.work-category--media .work-category-band {
  background: linear-gradient(180deg, #ebe6dc 0%, var(--cream) 100%);
  border-bottom: 3px solid rgba(165, 54, 35, 0.2);
}
.work-category--social .work-category-band {
  background: linear-gradient(180deg, rgba(197, 213, 208, 0.45) 0%, rgba(197, 213, 208, 0.15) 100%);
  border-bottom: 3px solid rgba(212, 168, 83, 0.45);
}
.work-category--web .work-category-band {
  background: var(--charcoal);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}
.work-category--web .work-category-desc {
  color: rgba(255, 255, 255, 0.7);
}
.work-category--web .work-category-num {
  color: var(--gold);
}
.work-category--web .work-sub-nav a {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.work-category--web .work-sub-nav a:hover {
  background: rgba(212, 168, 83, 0.2);
  color: var(--gold);
  border-color: rgba(212, 168, 83, 0.35);
}

.work-category-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
}
.work-category-num {
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 0.9;
  color: var(--terracotta);
  opacity: 0.35;
  letter-spacing: 0.05em;
}
.work-category--web .work-category-num {
  opacity: 0.55;
}
.work-category-title {
  font-size: clamp(2rem, 5vw, 2.85rem);
  margin: 0 0 0.5rem;
  line-height: 0.95;
}
.work-category-desc {
  color: var(--charcoal-soft);
  line-height: 1.7;
  max-width: 62ch;
  margin: 0;
}

.work-category-body {
  padding: 2rem 0 3.5rem;
}
.work-category--media .work-category-body {
  background: var(--cream);
}
.work-category--social .work-category-body {
  background: #f4f7f6;
}
.work-category--web .work-category-body {
  background: linear-gradient(180deg, #353535 0%, var(--charcoal) 100%);
}

.work-sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.25rem;
}
.work-sub-nav a {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(45, 45, 45, 0.1);
  color: var(--charcoal-soft);
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.work-sub-nav a:hover {
  background: rgba(165, 54, 35, 0.12);
  color: var(--terracotta);
  border-color: rgba(165, 54, 35, 0.25);
}

.work-subsections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.work-subsection {
  scroll-margin-top: 8rem;
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(45, 45, 45, 0.08);
  box-shadow: 0 12px 40px rgba(45, 45, 45, 0.05);
}
.work-category--web .work-subsection {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
.work-category--web .work-sub-title {
  color: var(--white);
}
.work-category--web .work-sub-ref {
  color: var(--gold);
}
.work-subsection:target,
.work-category:target .work-subsection:target {
  animation: work-highlight 1.2s ease;
}
@keyframes work-highlight {
  0% { box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.45); }
  100% { box-shadow: 0 12px 40px rgba(45, 45, 45, 0.05); }
}
.work-category--web .work-subsection:target {
  animation-name: work-highlight-dark;
}
@keyframes work-highlight-dark {
  0% { box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.55); }
  100% { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2); }
}

.work-sub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(45, 45, 45, 0.08);
}
.work-category--web .work-sub-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.work-sub-title {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin: 0;
}
.work-sub-ref {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  opacity: 0.9;
  text-align: right;
  max-width: 22rem;
  line-height: 1.4;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.work-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--charcoal);
  border: 1px solid rgba(45, 45, 45, 0.08);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s;
}
.work-card-btn {
  display: block;
  width: 100%;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s;
}
.work-card-btn:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  box-shadow:
    0 0 0 2px rgba(212, 168, 83, 0.5),
    0 0 24px rgba(212, 168, 83, 0.4);
}
.work-card-btn:hover {
  border-color: rgba(212, 168, 83, 0.7);
  box-shadow:
    0 0 0 2px rgba(212, 168, 83, 0.5),
    0 0 28px rgba(212, 168, 83, 0.38),
    0 0 52px rgba(165, 54, 35, 0.12),
    0 8px 32px rgba(45, 45, 45, 0.2);
}
.work-card-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}
.work-card-btn:hover .work-card-hint {
  opacity: 1;
  transform: translateY(0);
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.88), transparent 55%);
  pointer-events: none;
}
.work-card-btn.cade-watermark::after {
  z-index: 2;
}
.work-card-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.work-card-title {
  font-size: 1.15rem;
  color: var(--white);
  margin-top: 0.25rem;
}

.work-back-cta {
  margin-top: 2rem;
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(45, 45, 45, 0.1);
  text-align: center;
}
.work-back-cta p {
  color: var(--charcoal-soft);
  margin-bottom: 1rem;
}

/* Pricing deliverable → work sample button */
.pkg-include-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
}
.pkg-include-text { flex: 1; min-width: 0; }
.pkg-work-sample {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0.05rem;
  border-radius: 4px;
  border: 1px solid rgba(165, 54, 35, 0.35);
  background: rgba(165, 54, 35, 0.08);
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.pkg-work-sample:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
  transform: translateY(-1px);
}
.pkg-details-list li {
  align-items: flex-start;
}

/* Work sample lightbox */
body.work-lightbox-open {
  overflow: hidden;
}
html.lenis body.work-lightbox-open {
  overflow: hidden;
}
.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
}
.work-lightbox[hidden] { display: none; }
.work-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.88);
  backdrop-filter: blur(8px);
}
.work-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.work-lightbox-dialog--feature-sheet {
  width: min(1040px, 100%);
}
.work-lightbox-dialog--website-list {
  width: min(880px, 100%);
}
.work-lightbox-dialog--before-after {
  width: min(960px, 100%);
  max-height: min(94vh, 920px);
}
.work-compare-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.work-compare-count {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  text-align: center;
}
.work-compare-heading {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  margin: 0 0 0.65rem;
  color: var(--charcoal);
}

/* Before / after compare slider */
.work-lightbox-compare-wrap {
  margin: 0;
}
.work-lightbox-compare-wrap figcaption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  line-height: 1.55;
}
.work-compare-hint {
  margin: 0.65rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  text-align: center;
}
.work-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--charcoal);
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
}
.work-compare-handle,
.work-compare-range {
  touch-action: none;
}
.work-lightbox-dialog--before-after .work-compare-img {
  object-fit: cover;
  object-position: center center;
}
.work-lightbox-dialog--before-after .work-compare-before-clip .work-compare-before {
  object-position: center center;
}
.work-compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.work-compare-before-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
  pointer-events: none;
}
.work-compare-before-clip .work-compare-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.work-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: ew-resize;
}
.work-compare-handle-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.65);
}
.work-compare-handle-knob {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.work-compare-handle-knob::before,
.work-compare-handle-knob::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  transform: translateY(-50%);
}
.work-compare-handle-knob::before {
  left: 0.45rem;
  border-right-color: var(--charcoal);
  border-left: none;
}
.work-compare-handle-knob::after {
  right: 0.45rem;
  border-left-color: var(--charcoal);
  border-right: none;
}
.work-compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}
.work-compare-badge {
  position: absolute;
  top: 1rem;
  z-index: 3;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.72);
  color: var(--white);
  pointer-events: none;
}
.work-compare-badge--before { left: 1rem; }
.work-compare-badge--after { right: 1rem; }

.work-card-btn--compare .work-card-hint {
  opacity: 1;
  transform: none;
}

.work-website-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.work-website-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(45, 45, 45, 0.08);
  border-radius: 10px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.work-website-row:hover {
  border-color: rgba(165, 54, 35, 0.25);
  box-shadow: 0 8px 28px rgba(45, 45, 45, 0.08);
}
.work-website-name {
  font-size: 1.35rem;
  line-height: 1.05;
  margin: 0 0 0.25rem;
}
.work-website-role {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 0.65rem;
}
.work-website-quote {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--charcoal-soft);
  font-style: italic;
  border: none;
  padding: 0;
}
.work-website-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}
.work-website-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 2px;
}

.work-card-btn--websites .work-card-hint {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  .work-website-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .work-website-actions {
    align-items: stretch;
    width: 100%;
  }
  .work-website-link {
    width: 100%;
    justify-content: center;
  }
}
.work-lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(45, 45, 45, 0.92);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.work-lightbox-close:hover {
  background: var(--terracotta);
  transform: scale(1.05);
}
.work-lightbox-head {
  padding: 1.5rem 3.5rem 1rem 1.5rem;
  border-bottom: 1px solid rgba(45, 45, 45, 0.08);
  flex-shrink: 0;
}
.work-lightbox-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.work-lightbox-title {
  font-size: 1.75rem;
  margin: 0.25rem 0 0.5rem;
  line-height: 1;
}
.work-lightbox-desc {
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 58ch;
}
.work-lightbox-body {
  padding: 1.25rem 1.5rem 1.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
}
.work-lightbox-static {
  margin: 0;
}
.work-lightbox-static img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: var(--work-card-bg, #111);
}
.work-lightbox-static figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--work-muted, rgba(255, 255, 255, 0.65));
  text-align: center;
}
.work-lightbox-dialog--video {
  max-width: min(920px, 96vw);
}
.work-lightbox-video {
  margin: 0;
}
.work-lightbox-video video {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  border-radius: 10px;
  background: var(--charcoal);
  object-fit: contain;
}
.work-lightbox-video figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--work-muted, rgba(255, 255, 255, 0.65));
  text-align: center;
}
.work-card-btn--video .work-card-hint::before {
  content: '▶ ';
  opacity: 0.85;
}
.work-lightbox-dialog--static-image .work-lightbox-body {
  padding-top: 1rem;
}
.work-lightbox-carousel {
  position: relative;
  outline: none;
}
.work-lightbox-carousel-viewport {
  overflow: hidden;
  border-radius: 8px;
  touch-action: pan-y;
  cursor: grab;
}
.work-lightbox-carousel-viewport:active {
  cursor: grabbing;
}
.work-lightbox-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.35, 1);
  will-change: transform;
}
.work-lightbox-carousel-track .work-lightbox-slide {
  flex: 0 0 100%;
  margin: 0;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.work-lightbox-slide:last-child {
  margin-bottom: 0;
}
.work-lightbox-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(45, 45, 45, 0.1);
  background: #fff;
}
.work-lightbox-html-slide {
  flex: 1;
  min-height: min(62vh, 520px);
  max-height: min(62vh, 520px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid rgba(45, 45, 45, 0.1);
  background: var(--cream);
  touch-action: pan-y;
}
.work-lightbox-slide figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--charcoal-soft);
  line-height: 1.55;
  flex-shrink: 0;
}

/* Virtual feature sheet panels (portfolio demo HTML slides) */
.vf-root {
  --vf-muted: var(--charcoal-soft);
  background: #faf8f4;
  color: var(--charcoal);
  min-height: 100%;
}
.vf-root--pad {
  padding: 1rem 1.15rem 1.25rem;
}
.vf-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--charcoal);
  color: var(--white);
}
.vf-brand {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.vf-topbar-tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.vf-hero {
  position: relative;
  min-height: 220px;
}
.vf-hero-img {
  width: 100%;
  height: clamp(200px, 32vh, 320px);
  object-fit: cover;
  display: block;
}
.vf-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, transparent 20%, rgba(12, 12, 12, 0.82) 92%);
  pointer-events: none;
}
.vf-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.15rem 1.1rem;
  color: var(--white);
}
.vf-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.vf-hero-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 4.5vw, 2rem);
}
.vf-hero-lead {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 44ch;
}
.vf-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 1rem;
  list-style: none;
  border-top: 3px solid var(--gold);
  background: #fffefc;
}
.vf-flags li {
  font-size: 0.74rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(45, 45, 45, 0.1);
}
.vf-flag-label {
  color: var(--vf-muted);
  font-weight: 600;
}
.vf-flag-val {
  margin-left: 0.35rem;
  font-weight: 700;
}
.vf-flag-val--gold {
  color: var(--terracotta);
}
.vf-h {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.vf-lead {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  line-height: 1.58;
  color: var(--vf-muted);
}
.vf-statgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}
@media (max-width: 560px) {
  .vf-statgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.vf-stat {
  background: #fffefc;
  border: 1px solid rgba(45, 45, 45, 0.1);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  text-align: center;
}
.vf-stat-lbl {
  display: block;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.2rem;
}
.vf-stat-num {
  display: inline;
  font-size: 1.35rem;
}
.vf-stat-unit {
  display: block;
  font-size: 0.62rem;
  color: var(--vf-muted);
  margin-top: 0.08rem;
}
.vf-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.vf-strip img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(45, 45, 45, 0.1);
}
@media (max-width: 520px) {
  .vf-strip {
    grid-template-columns: 1fr;
  }
  .vf-strip img {
    height: 140px;
  }
}
.vf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .vf-split {
    grid-template-columns: 1fr;
  }
}
.vf-bullets {
  margin: 0;
  padding-left: 1.05rem;
  font-size: 0.82rem;
  line-height: 1.62;
}
.vf-bullets li {
  margin-bottom: 0.45rem;
}
.vf-callout {
  background: linear-gradient(145deg, rgba(197, 213, 208, 0.45), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(45, 45, 45, 0.1);
  border-radius: 8px;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
}
.vf-callout-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}
.vf-callout p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.56;
}
.vf-aside-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(45, 45, 45, 0.1);
}
.vf-root--footer {
  padding-bottom: 1.5rem;
}
.vf-agent {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.15rem;
  align-items: start;
}
@media (max-width: 640px) {
  .vf-agent {
    grid-template-columns: 1fr;
  }
}
.vf-agent-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.vf-agent-p {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  line-height: 1.6;
}
.vf-agent-meta {
  font-size: 0.78rem;
  color: var(--vf-muted);
  margin-bottom: 0.5rem;
}
.vf-agent-dot {
  padding: 0 0.25rem;
  color: rgba(45, 45, 45, 0.3);
}
.vf-phone-label {
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-right: 0.4rem;
}
.vf-phone {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.vf-micro {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.5;
  color: var(--vf-muted);
}
.vf-agent-side {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}
.vf-qr {
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 8px;
  border: 2px dashed rgba(45, 45, 45, 0.2);
  background: rgba(247, 244, 239, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.vf-qr-placeholder {
  font-family: 'Bebas Neue', var(--sans, sans-serif);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}
.vf-qr-hint {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 0.2rem;
}
.vf-footer-thumb {
  width: 100%;
  max-width: 320px;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(45, 45, 45, 0.1);
}
.work-lightbox-carousel-nav {
  position: absolute;
  top: min(38%, 240px);
  z-index: 2;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--cream);
  background: rgba(45, 45, 45, 0.75);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-lightbox-carousel-nav:hover {
  background: var(--terracotta);
  transform: translateY(-50%) scale(1.05);
}
.work-lightbox-carousel-prev {
  left: 0.5rem;
}
.work-lightbox-carousel-next {
  right: 0.5rem;
}
.work-lightbox-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(45, 45, 45, 0.08);
}
.work-lightbox-carousel-footer--single {
  border-top: none;
  margin-top: 0.35rem;
  min-height: 0;
}
.work-lightbox-carousel-footer--single .work-lightbox-carousel-counter,
.work-lightbox-carousel-footer--single .work-lightbox-carousel-dots {
  display: none;
}
.work-lightbox-carousel-counter {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}
.work-lightbox-carousel-dots {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
}
.work-lightbox-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(45, 45, 45, 0.2);
  cursor: pointer;
  transition: transform 0.25s, background 0.25s;
}
.work-lightbox-carousel-dot:hover,
.work-lightbox-carousel-dot:focus-visible {
  background: rgba(165, 54, 35, 0.55);
  outline: none;
}
.work-lightbox-carousel-dot.is-active {
  background: var(--terracotta);
  transform: scale(1.15);
}
.work-lightbox-empty {
  color: var(--charcoal-soft);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .work-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .work-hero-actions a {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .work-main-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
  }
  .work-main-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .work-page { --work-nav-offset: 60px; }
  .work-hero { padding-top: 6.5rem; }
  .work-category-head {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .work-category-num { font-size: 2.5rem; }
  .work-sub-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .work-sub-ref { text-align: left; max-width: none; }
  .work-subsection { padding: 1.15rem; }
  .work-lightbox { padding: 0.5rem; }
  .work-lightbox-dialog { max-height: 94vh; border-radius: 8px; }
}
