/* The Work — before & after gallery. Sits on top of /cities/city-styles.css (navy, gold, champagne). */
.work { max-width: var(--container-wide); margin: 0 auto; padding: 1.25rem 1rem 3.5rem; }
.breadcrumb { font-family: var(--font-subhead); font-size: .8rem; letter-spacing: .04em; color: var(--champagne-dim); opacity: .8; margin-bottom: 1rem; }
.breadcrumb .sep { margin: 0 .5rem; opacity: .5; }
.breadcrumb a:hover { color: var(--gold-light); }

.work-hero { max-width: var(--container); margin: 0 auto 1.6rem; text-align: center; }
.eyebrow { font-family: var(--font-subhead); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.work-hero h1 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.05; margin: .35rem 0 .9rem; color: var(--white); text-wrap: balance; }
.lede { font-size: 1.05rem; line-height: 1.65; color: var(--champagne); max-width: 62ch; margin: 0 auto .6rem; }
.lede-sub { font-size: .92rem; color: var(--champagne-dim); max-width: 62ch; margin: 0 auto; opacity: .85; }

.filters { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem 0 .9rem; margin: 0 -1rem 1rem; padding-inline: 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; appearance: none; border: 1px solid rgba(212,175,55,.45); background: transparent; color: var(--champagne); font-family: var(--font-subhead); font-weight: 600; font-size: .8rem; letter-spacing: .03em; padding: .55rem .95rem; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--gold); }
.chip:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.chip.is-on { background: var(--gold-gradient-btn); color: #14110A; border-color: transparent; }

.group { margin-top: 1.6rem; }
.group[hidden] { display: none; }
.group-label { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.15rem, 3.6vw, 1.45rem); color: var(--white); margin: 0 0 .8rem; padding-bottom: .45rem; border-bottom: 1px solid rgba(212,175,55,.35); display: flex; align-items: baseline; gap: .6rem; }
.group-count { font-family: var(--font-subhead); font-size: .7rem; font-weight: 700; color: var(--gold); letter-spacing: .08em; }
.jobs { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .jobs { grid-template-columns: repeat(2, 1fr); } .job--featured { grid-column: span 2; } }
@media (min-width: 1000px) { .jobs { grid-template-columns: repeat(3, 1fr); } .job--featured { grid-column: span 1; } .job--featured .ba { aspect-ratio: 3 / 4; }
.job--featured .ba[data-ar="l"] { aspect-ratio: 4 / 3; } }

.job { margin: 0; background: var(--navy-light); border: 1px solid rgba(212,175,55,.18); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.job[hidden], .done[hidden] { display: none; }
.ba[data-ar="l"] { aspect-ratio: 4 / 3; }
.ba { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #000; user-select: none; touch-action: pan-y; }
.job--featured .ba { aspect-ratio: 3 / 4; }
@media (min-width: 640px) and (max-width: 999px) { .job--featured .ba { aspect-ratio: 16 / 12; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ba-before-wrap { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-tag { position: absolute; top: .6rem; font-family: var(--font-subhead); font-weight: 700; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 4px; pointer-events: none; }
.ba-tag--before { left: .6rem; background: rgba(11,22,42,.82); color: var(--champagne); }
.ba-tag--after { right: .6rem; background: var(--gold); color: #14110A; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--gold); transform: translateX(-1px); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--gold); box-shadow: 0 2px 10px rgba(0,0,0,.5); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.ba-handle span::before { left: 8px; border-right-color: #14110A; }
.ba-handle span::after { right: 8px; border-left-color: #14110A; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; }
.ba-range::-moz-range-thumb { width: 44px; height: 100%; border: 0; background: transparent; }
.ba-range:focus-visible + .ba-handle, .ba:focus-within .ba-handle { outline: none; }
.ba:focus-within .ba-handle span { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--gold-light); }

.job figcaption { padding: .85rem .95rem 1rem; }
.job h3 { font-family: var(--font-subhead); font-weight: 700; font-size: .98rem; color: var(--white); margin: 0 0 .35rem; line-height: 1.3; }
.job p { font-size: .86rem; line-height: 1.55; color: var(--champagne-dim); margin: 0 0 .5rem; }
.job p b { color: var(--gold-light); font-weight: 600; font-family: var(--font-subhead); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-right: .25rem; }
.job p b + b, .job p b:nth-of-type(2) { margin-left: .35rem; }
.city { display: inline-block; font-family: var(--font-subhead); font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212,175,55,.35); border-radius: 999px; padding: .2rem .55rem; }
.empty { text-align: center; color: var(--champagne-dim); padding: 2rem 0; }

.finished { margin-top: 3rem; }
.finished h2, .work-cta h2 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.4rem, 4.5vw, 1.9rem); color: var(--white); text-align: center; margin: 0 0 .4rem; }
.section-note { text-align: center; color: var(--champagne-dim); font-size: .92rem; margin: 0 0 1.2rem; }
.done-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (min-width: 640px) { .done-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .done-grid { grid-template-columns: repeat(6, 1fr); } }
.done { margin: 0; background: var(--navy-light); border: 1px solid rgba(212,175,55,.18); border-radius: var(--radius-sm); overflow: hidden; }
.done img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.done figcaption { font-size: .78rem; line-height: 1.45; color: var(--champagne-dim); padding: .6rem .7rem .7rem; }
.done .city { display: block; width: max-content; margin-top: .4rem; font-size: .62rem; }

.work-cta { margin: 3.2rem auto 0; max-width: var(--container); text-align: center; background: var(--navy-light); border: 1px solid rgba(212,175,55,.3); border-radius: var(--radius); padding: 2rem 1.25rem; }
.work-cta p { color: var(--champagne); max-width: 56ch; margin: .5rem auto 1.2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.btn-gold { display: inline-block; background: var(--gold-gradient-btn); color: #14110A; font-family: var(--font-subhead); font-weight: 700; padding: .85rem 1.4rem; border-radius: var(--radius-sm); letter-spacing: .02em; }
.btn-line { display: inline-block; border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--font-subhead); font-weight: 600; padding: .85rem 1.4rem; border-radius: var(--radius-sm); }
.btn-gold:focus-visible, .btn-line:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.cta-links { font-size: .85rem; color: var(--champagne-dim); margin-bottom: 0 !important; }
.cta-links a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .chip { transition: none; } }
