.athleta-work {
  --athleta-work-pad: var(--athleta-pad, clamp(22px, 3.75vw, 58px));
  --athleta-work-cream: var(--athleta-cream, #F2EBE3);
  --athleta-work-black: var(--athleta-black, #000000);
  --athleta-work-hair: var(--athleta-hair, rgba(0, 0, 0, 0.24));
  background: var(--athleta-work-cream);
  color: var(--athleta-work-black);
  padding: 112px 0 110px;
  overflow: hidden;
}
.athleta-work__head {
  padding: 0 var(--athleta-work-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 70px;
  align-items: end;
  margin-bottom: 30px;
}
.athleta-work__title {
  font-family: var(--wp--preset--font-family--display, "Druk XCondensed", "Arial Narrow", Impact, sans-serif);
  font-weight: 950;
  font-synthesis: none;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}
.athleta-project-card h3 {
  font-family: Inter, Arial, sans-serif;
  font-weight: 850;
  font-synthesis: none;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.athleta-work__title { margin: 0; font-size: clamp(74px, 8vw, 130px); line-height: .8; }
.athleta-work__intro { margin: 0 0 8px; font-size: clamp(15px, 1.18vw, 17px); line-height: 1.52; letter-spacing: -.015em; }
.athleta-work__filters {
  margin: 0 var(--athleta-work-pad);
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--athleta-work-hair);
  border-bottom: 1px solid var(--athleta-work-hair);
  min-height: 56px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.athleta-work__filters::-webkit-scrollbar,
.athleta-work__track::-webkit-scrollbar { display: none; }
.athleta-work__filter {
  border: 0;
  background: none;
  padding: 18px 0 17px;
  white-space: nowrap;
  cursor: pointer;
  opacity: .45;
  transition: opacity .25s ease;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .145em;
  text-transform: uppercase;
}
.athleta-work__filter:hover,
.athleta-work__filter.is-active { opacity: 1; }
.athleta-work__filter.is-active { text-decoration: underline; text-underline-offset: 6px; }
.athleta-work__stage { position: relative; padding: 28px 0 34px; }
.athleta-work__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--athleta-work-pad);
  scroll-behavior: smooth;
  padding: 0 calc(var(--athleta-work-pad) + 1px) 12px;
  scrollbar-width: none;
  outline: none;
}
.athleta-project-card {
  flex: 0 0 clamp(240px, 21vw, 320px);
  scroll-snap-align: start;
}
.athleta-project-card[hidden] { display: none; }
.athleta-project-card__link { color: inherit; text-decoration: none; display: block; }
.athleta-project-card__media { aspect-ratio: 2 / 3; position: relative; overflow: hidden; background: #ddd; }
.athleta-project-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s cubic-bezier(.2,.6,.2,1); }
.athleta-project-card:hover .athleta-project-card__media img { transform: scale(1.025); }
.athleta-project-card__caption {
  padding: 14px 0 4px;
  border-top: 1px solid var(--athleta-work-hair);
  margin-top: 10px;
  min-height: 78px;
  overflow: visible;
}
.athleta-project-card h3 {
  margin: 0;
  padding: 2px 0 3px;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1;
  white-space: normal;
  overflow-wrap: anywhere;
}
.athleta-project-card p { margin: 9px 0 0; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.athleta-work__arrow {
  position: absolute;
  z-index: 8;
  top: 44%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.27);
  background: rgba(242,235,227,.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity .25s ease, transform .25s ease;
}
.athleta-work__arrow:hover { transform: scale(1.05); }
.athleta-work__arrow--prev { left: 18px; opacity: 0; pointer-events: none; }
.athleta-work__arrow--prev.is-visible { opacity: 1; pointer-events: auto; }
.athleta-work__arrow--next { right: 18px; }
.athleta-work__arrow.is-disabled { opacity: .3; }
.athleta-work__arrow svg { width: 22px; height: 22px; }
.athleta-work__progress {
  padding: 0 var(--athleta-work-pad);
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .145em;
  text-transform: uppercase;
}
.athleta-work__progress-line { width: 120px; height: 1px; background: rgba(0,0,0,.18); position: relative; }
.athleta-work__progress-line span { position: absolute; inset: 0 auto 0 0; background: #000; width: 0; transition: width .2s ease; }
.athleta-work__empty { padding: 70px var(--athleta-work-pad); font-family: var(--wp--preset--font-family--display, "Druk XCondensed", Impact, sans-serif); font-weight: 950; font-synthesis: none; font-size: 48px; text-transform: uppercase; }
.athleta-work-editor-placeholder { border: 1px dashed #777; padding: 40px; background: #F2EBE3; color: #000; }
.athleta-work-editor-placeholder strong { font-family: var(--wp--preset--font-family--display, "Druk XCondensed", Impact, sans-serif); font-weight: 950; font-synthesis: none; font-size: 54px; }
@media (max-width: 900px) {
  .athleta-work__head { grid-template-columns: 1fr; gap: 28px; }
  .athleta-project-card { flex-basis: 74vw; max-width: 340px; }
  .athleta-work__arrow { display: none; }
}

/* v0.1.3 — WORK is Druk, with optical tracking suited to the word. */
.athleta-work__title {
  font-family: var(--wp--preset--font-family--display, "Druk XCondensed", "Arial Narrow", Impact, sans-serif) !important;
  font-weight: 950 !important;
  font-synthesis: none;
  letter-spacing: 0.035em !important;
  line-height: 0.84;
}

/* Project names are intentionally Inter, not Druk. */
.athleta-project-card h3 {
  font-family: Inter, Arial, sans-serif !important;
  font-weight: 800 !important;
  font-synthesis: none;
  letter-spacing: -0.03em !important;
  line-height: 1.02;
}

/* v0.1.4 — Project cards may point to an external editorial destination. */
.athleta-project-card.has-link .athleta-project-card__link { cursor: pointer; }
.athleta-project-card.has-no-link .athleta-project-card__link { cursor: default; }
.athleta-project-card.has-link:hover .athleta-project-card__media img { transform: scale(1.025); }
.athleta-project-card.has-no-link:hover .athleta-project-card__media img { transform: none; }
