/* Service pages — work carousel (scripts/work-carousel.js) */
.wc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.wc-head h2 { margin-bottom: 24px; }
.wc-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.wc-count { font-size: .75rem; color: var(--text-dim); margin-right: 6px; }
.wc-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-2); background: transparent; color: var(--text); font-size: 1.05rem; cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
.wc-arrow:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); }
.wc-arrow:disabled { opacity: .35; cursor: default; }
.wc-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; border-radius: 12px;
}
.wc-track::-webkit-scrollbar { display: none; }
.wc-track:focus-visible, .wc-arrow:focus-visible, .wc-dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wc-slide { scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 2px; min-width: 0; }
.wc-shot { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border-2); border-radius: 10px; background: var(--surface); }
.wc-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.wc-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); }
.wc-bar span { margin-left: 8px; font: .62rem var(--mono); color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wc-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.wc-shot:hover img { transform: scale(1.02); }
.wc-copy { display: grid; gap: 12px; justify-items: start; }
.wc-copy .mono { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text, var(--accent)); }
.wc-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -.04em; line-height: 1.05; }
.wc-copy p:not(.mono) { color: var(--text-mid); line-height: 1.7; max-width: 46ch; }
.wc-copy .btn { margin-top: 8px; }
.wc-dots { display: flex; justify-content: center; gap: 4px; margin-top: 22px; }
.wc-dots button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.wc-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--border-2); transition: width .3s var(--ease), background .3s; }
.wc-dots button[aria-current="true"]::before { width: 22px; background: var(--accent); }
@media (max-width: 760px) {
  .wc-slide { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .wc-nav { margin-bottom: 18px; }
  .wc-head h2 { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .wc-shot img { transition: none; } }

/* client / concept switch: a segmented control with a sliding thumb */
.wc-switch {
  --i: 0;
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  width: min(100%, 620px); margin: 4px 0 28px; padding: 6px;
  border: 1px solid var(--border-2); border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2, var(--surface)));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 40px -28px #000;
}
.wc-thumb {
  position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 13px;
  background: var(--accent);
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.35);
  transform: translateX(calc(var(--i) * 100%)); transition: transform .5s cubic-bezier(.3, 1.3, .5, 1);
}
.wc-switch button {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px;
  border: 0; border-radius: 13px; background: transparent; color: var(--text-mid); text-align: left;
  font-family: var(--font); cursor: pointer; transition: color .3s;
  -webkit-tap-highlight-color: transparent;
}
.wc-switch button:hover { color: var(--text); }
.wc-switch button[aria-pressed="true"] { color: var(--accent-ink); }
.wc-switch button:active { transform: scale(.985); }
.wc-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wc-ico { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--border); transition: background .3s; }
.wc-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wc-switch button[aria-pressed="true"] .wc-ico { background: color-mix(in srgb, var(--accent-ink) 12%, transparent); }
.wc-txt { display: grid; gap: 2px; min-width: 0; }
.wc-txt strong { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
.wc-txt em { font: 600 .68rem/1 var(--mono); font-style: normal; padding: 4px 7px; border-radius: 99px; background: var(--border); color: var(--text-dim); transition: background .3s, color .3s; }
.wc-switch button[aria-pressed="true"] em { background: var(--accent-ink); color: var(--accent); }
.wc-txt small { font-size: .78rem; line-height: 1.3; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.wc-switch button[aria-pressed="true"] small { color: color-mix(in srgb, var(--accent-ink) 72%, transparent); }

/* controls live under the slide, where the thumb already is */
.wc-head h2 { margin-bottom: 18px; }
.wc-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.wc-foot .wc-dots { margin: 0; justify-content: flex-start; }
.wc-foot .wc-nav { margin: 0; }
.wc-slide[hidden] { display: none; }
.wc-track.wc-swap .wc-slide:not([hidden]) { animation: wc-swap .45s var(--ease) both; }
@keyframes wc-swap { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
/* one slide in the group: nothing to page through */
.wc-single .wc-foot { display: none; }
@media (max-width: 760px) {
  .wc-switch { width: 100%; margin-bottom: 20px; padding: 5px; border-radius: 16px; }
  .wc-thumb { top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 12px; }
  .wc-switch button { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 12px 12px 13px; }
  .wc-ico { width: 32px; height: 32px; border-radius: 9px; }
  .wc-ico svg { width: 18px; height: 18px; }
  .wc-txt strong { font-size: .95rem; }
  .wc-txt small { white-space: normal; font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wc-thumb { transition: none; }
  .wc-track.wc-swap .wc-slide:not([hidden]) { animation: none; }
}
